21 ok(0,
"Unexpected EnumFunc call: %p, '%ls', %p\n",
hWnd, lpszString, hData);
39 ok(0,
"Unexpected EnumFuncEx call: %p, '%ls', %p\n",
hWnd, lpszString, hData);
47 if (!
wcscmp(lpszString,
L"PropTestAtom1"))
48 ok(hData == &
Atom1,
"EnumFuncEx: %p, '%ls', %p; expected %p\n",
hWnd, lpszString, hData, &
Atom1);
49 else if (!
wcscmp(lpszString,
L"PropTestAtom2"))
50 ok(hData == &
Atom2,
"EnumFuncEx: %p, '%ls', %p; expected %p\n",
hWnd, lpszString, hData, &
Atom2);
52 ok(0,
"Unexpected EnumFuncEx call: %p, '%ls', %p\n",
hWnd, lpszString, hData);
81 ok(
Atom == 0,
"SysICS atom is 0x%04x\n",
Atom);
87 hWnd =
CreateWindowExW(0,
L"PropTest",
NULL, 0, 10, 10, 20, 20,
NULL,
NULL, 0,
NULL);
113 ok(Prop == &
Atom3,
"GetProp returned %p, expected %p\n", Prop, &
Atom3);
117 ok(Prop == &
Atom2,
"GetProp returned %p, expected %p\n", Prop, &
Atom2);
119 ok(Prop == &
Atom2,
"GetProp returned %p, expected %p\n", Prop, &
Atom2);
121 ok(Prop == &
Atom2,
"GetProp returned %p, expected %p\n", Prop, &
Atom2);
155 ok(Prop ==
NULL,
"Window %p Prop 0x%04x = %p\n",
hWnd,
Atom, Prop);
162 ok(Prop ==
NULL,
"SysIC prop (0x%04x) is %p\n", SysICAtom, Prop);
166 ok(Prop ==
NULL,
"SysICS prop (0x%04x) is %p\n", SysICSAtom, Prop);
static BOOL CALLBACK EnumFuncEx(_In_ HWND hWnd, _In_ PWSTR lpszString, _In_ HANDLE hData, _In_ ULONG_PTR dwData)
static BOOL CALLBACK EnumFunc(_In_ HWND hWnd, _In_ PCWSTR lpszString, _In_ HANDLE hData)
ATOM WINAPI GlobalFindAtomW(LPCWSTR lpString)
ATOM WINAPI GlobalDeleteAtom(ATOM nAtom)
ATOM WINAPI GlobalAddAtomW(LPCWSTR lpString)
static HANDLE ULONG_PTR dwData
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
TW_UINT32 TW_UINT16 TW_UINT16 MSG
static __inline ATOM RegisterSimpleClass(WNDPROC lpfnWndProc, LPCWSTR lpszClassName)
DWORD WINAPI GetLastError(void)
LRESULT WINAPI DispatchMessageA(_In_ const MSG *)
HANDLE WINAPI GetPropA(_In_ HWND, _In_ LPCSTR)
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HANDLE WINAPI LoadImageW(_In_opt_ HINSTANCE hInst, _In_ LPCWSTR name, _In_ UINT type, _In_ int cx, _In_ int cy, _In_ UINT fuLoad)
int WINAPI EnumPropsW(_In_ HWND, _In_ PROPENUMPROCW)
BOOL WINAPI SetCursorPos(_In_ int, _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)
BOOL WINAPI SetPropW(_In_ HWND, _In_ LPCWSTR, _In_opt_ HANDLE)
UINT WINAPI RegisterWindowMessageW(_In_ LPCWSTR)
int WINAPI EnumPropsExW(_In_ HWND, _In_ PROPENUMPROCEXW, _In_ LPARAM lParam)
HANDLE WINAPI GetPropW(_In_ HWND, _In_ LPCWSTR)
BOOL WINAPI DestroyWindow(_In_ HWND)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO