| 248 | |
| 249 | pShowWindow pOrigShowWindow = nullptr; |
| 250 | static BOOL WINAPI pNewShowWindow( |
| 251 | _In_ HWND hWnd, |
| 252 | _In_ int nCmdShow) |
| 253 | { |
| 254 | if (g_bInitVP) { |
| 255 | DLog(L"Blocking call ShowWindow() function during initialization VP"); |
| 256 | return FALSE; |
| 257 | } |
| 258 | return pOrigShowWindow(hWnd, nCmdShow); |
| 259 | } |
| 260 | |
| 261 | template <typename T> |
| 262 | inline bool HookFunc(T** ppSystemFunction, PVOID pHookFunction) |