15#define INVALID_POINTER ((PVOID)(ULONG_PTR)0xdeadbeefdeadbeefULL)
23 CComPtr<IDropTarget> pdt;
24 CComPtr<IDropTarget> pdt_2;
25 CComPtr<IContextMenu> pcm;
26 CComPtr<IContextMenu> pcm_2;
27 CComPtr<IShellView> psv;
28 CComPtr<IShellView> psv_2;
35 ok(pdt != pdt_2,
"Expected %p != %p\n",
static_cast<PVOID>(pdt),
static_cast<PVOID>(pdt_2));
42 ok(pcm != pcm_2,
"Expected %p != %p\n",
static_cast<PVOID>(pcm),
static_cast<PVOID>(pcm_2));
49 ok(psv != psv_2,
"Expected %p != %p\n",
static_cast<PVOID>(psv),
static_cast<PVOID>(psv_2));
54 CComPtr<IPersistFolder2> ppf2;
58 hr = ppf2->Initialize(
NULL);
68 CComHeapPtr<ITEMIDLIST> pidl;
69 hr = ppf2->GetCurFolder(&pidl);
72 ok(pidl->mkid.cb == 0x14,
"expected empty pidl got cb = %x\n", pidl->mkid.cb);
78 CComPtr<IShellFolder2> psf2;
79 CComPtr<IShellFolder2> psf2_2;
80 CComPtr<IShellFolder> psf;
91 skip(
"Could not instantiate CShellDesktop\n");
101 ok(psf2 == psf2_2,
"Expected %p == %p\n",
static_cast<PVOID>(psf2),
static_cast<PVOID>(psf2_2));
static VOID TestShellFolder(_In_ IShellFolder2 *psf2)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT WINAPI DECLSPEC_HOTPATCH CoInitializeEx(LPVOID lpReserved, DWORD dwCoInit)
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
@ COINIT_APARTMENTTHREADED
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
#define IID_PPV_ARG(Itype, ppType)