53 ok(!
ret,
"The window %p is invalid but IsServerSideWindow() returned TRUE\n",
hWnd);
74 ok(
ret,
"The window %p is invalid or doesn't have a valid kernel-mode WndProc\n",
hWnd);
96 ok(!
ret,
"The window %p has a valid kernel-mode WndProc when it should not\n",
hWnd);
static LRESULT CALLBACK Test_WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
static const WCHAR WndClass[]
#define ok_eq_ulong(value, expected)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
unsigned __int3264 UINT_PTR
BOOL WINAPI IsServerSideWindow(HWND)
DWORD WINAPI GetLastError(void)
#define ERROR_INVALID_WINDOW_HANDLE
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
ATOM WINAPI RegisterClassExW(_In_ CONST WNDCLASSEXW *)
BOOL WINAPI UnregisterClassW(_In_ LPCWSTR, HINSTANCE)
BOOL WINAPI DestroyWindow(_In_ HWND)