| 205 | |
| 206 | pSetWindowLongA pOrigSetWindowLongA = nullptr; |
| 207 | static LONG WINAPI pNewSetWindowLongA( |
| 208 | _In_ HWND hWnd, |
| 209 | _In_ int nIndex, |
| 210 | _In_ LONG dwNewLong) |
| 211 | { |
| 212 | if (g_bInitVP) { |
| 213 | DLog(L"Blocking call SetWindowLongA() function during initialization VP"); |
| 214 | return 0L; |
| 215 | } |
| 216 | return pOrigSetWindowLongA(hWnd, nIndex, dwNewLong); |
| 217 | } |
| 218 | |
| 219 | typedef BOOL(WINAPI* pSetWindowPos)( |
| 220 | _In_ HWND hWnd, |