26 trace(
"%p\n", pShellWindows1);
27 ok(pShellWindows1 !=
NULL,
"pShellWindows1 was null\n");
30 trace(
"%p\n", pShellWindows2);
31 ok(pShellWindows2 !=
NULL,
"pShellWindows2 was null\n");
34 trace(
"%p\n", pShellWindows3);
35 ok(pShellWindows3 !=
NULL,
"pShellWindows3 was null\n");
37 ok_ptr(pShellWindows1, pShellWindows2);
38 ok_ptr(pShellWindows2, pShellWindows3);
43 HRESULT hr = pShellWindows1->get_Count(&nCount);
45 ok(nCount >= 0,
"nCount was %ld\n", nCount);
46 trace(
"%ld\n", nCount);
48 pShellWindows1->Release();
57 pShellWindows2->Release();
60 pShellWindows3->Release();
70 trace(
"%p\n", pShellWindows1);
71 ok(pShellWindows1 !=
NULL,
"pShellWindows1 was null\n");
73 IShellWindows *pShellWindows2 =
NULL;
75 IID_IShellWindows, (
LPVOID *)&pShellWindows2);
76 ok(pShellWindows2 !=
NULL,
"pShellWindows2 was null\n");
78 ok_ptr(pShellWindows1, pShellWindows2);
81 pShellWindows1->Release();
83 pShellWindows2->Release();
92 skip(
"shdocvw.dll not loaded\n");
101 skip(
"Some WinList_* functions not found: %p %p %p\n",
116 IShellWindows *pShellWindows1 =
NULL;
118 IID_IShellWindows, (
LPVOID *)&pShellWindows1);
119 ok(pShellWindows1 !=
NULL,
"pShellWindows1 was null\n");
121 IShellWindows *pShellWindows2 =
NULL;
123 IID_IShellWindows, (
LPVOID *)&pShellWindows2);
124 ok(pShellWindows2 !=
NULL,
"pShellWindows2 was null\n");
126 ok_ptr(pShellWindows1, pShellWindows2);
131 HRESULT hr = pShellWindows1->get_Count(&nCount);
133 ok(nCount >= 0,
"nCount was %ld\n", nCount);
134 trace(
"%ld\n", nCount);
136 pShellWindows1->Release();
145 pShellWindows2->Release();
static VOID TEST_SHDOCVW_WinList(VOID)
BOOL(WINAPI * FN_WinList_Init)(VOID)
VOID(WINAPI * FN_WinList_Terminate)(VOID)
static VOID TEST_WinList_Mix(VOID)
static FN_WinList_Terminate g_pWinList_Terminate
static VOID TEST_CLSID_ShellWindows(VOID)
static FN_WinList_GetShellWindows g_pWinList_GetShellWindows
static VOID TEST_WinList_GetShellWindows(VOID)
IShellWindows *(WINAPI * FN_WinList_GetShellWindows)(BOOL)
static FN_WinList_Init g_pWinList_Init
#define ok_hex(expression, result)
#define ok_int(expression, result)
#define ok_ptr(expression, result)
#define GetProcAddress(x, y)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
#define MAKEINTRESOURCEA(i)