


It's used to convert short path name to long path name. I replace them with MessageBoxA.Īs for GetLongPathName, GetLongPathName would only be called after GetFullPathName, and the same variable is used before and after this call. Remove these two import functions is as easy as IsDebuggerPresent. Use IDA to find the block of code that would call MonitorFromWindow and GetMonitorInfoA, and remove them in WinHex. It shows that these two functions will not be used if it's not compiled for Windows NT series. MonitorFromWindow, GetMonitorInfoA, GetLongPathNameĪfter reading Notepad++ source code, there is a commented #ifdef related to MonitorFromWindow and GetMonitorInfoA. Then use Dependency Walker to check which import functions are missing.
