13#define SHLWAPI_ISHELLFOLDER_HELPERS
24 static void *
operator new(
size_t size)
28 static void operator delete(
void *
ptr)
32 static void operator delete(
void *
ptr,
size_t size)
63 ULONG *pdwAttributes)
override
73 LPENUMIDLIST *ppEnumIDList)
override
131 DWORD *rgfInOut)
override
212 SHGDN_FOREDITING | SHGDN_FORADDRESSBAR | SHGDN_FORPARSING | SHGDN_INFOLDER,
221 SHGDN_FOREDITING | SHGDN_FORADDRESSBAR | SHGDN_INFOLDER,
228 skip(
"s_nStep value is wrong\n");
263 fnIShellFolder_CompareIDs =
270 ok(fnIShellFolder_CompareIDs ==
NULL,
"Vista+ has no IShellFolder_CompareIDs\n");
278 hr = fnIShellFolder_CompareIDs(
287 hr = fnIShellFolder_CompareIDs(
static void Test_CompareIDs(void)
static void Test_ParseDisplayName(void)
HRESULT(WINAPI * FN_IShellFolder_CompareIDs)(_In_ IShellFolder *psf, _In_ LPARAM lParam, _In_ PCUIDLIST_RELATIVE pidl1, _In_ PCUIDLIST_RELATIVE pidl2)
static void Test_GetDisplayNameOf(void)
#define ok_long(expression, result)
#define ok_int(expression, result)
#define ok_ptr(expression, result)
STDMETHOD() GetDisplayNameOf(PCUITEMID_CHILD pidl, DWORD dwFlags, LPSTRRET strRet) override
STDMETHOD_(ULONG, Release)() override
STDMETHOD_(ULONG, AddRef)() override
STDMETHOD() GetUIObjectOf(HWND hwndOwner, UINT cidl, PCUITEMID_CHILD_ARRAY apidl, REFIID riid, UINT *prgfInOut, LPVOID *ppvOut) override
virtual ~CTestShellFolder()
STDMETHOD() CreateViewObject(HWND hwndOwner, REFIID riid, LPVOID *ppvOut) override
STDMETHOD() BindToStorage(PCUIDLIST_RELATIVE pidl, LPBC pbcReserved, REFIID riid, LPVOID *ppvOut) override
STDMETHOD() BindToObject(PCUIDLIST_RELATIVE pidl, LPBC pbcReserved, REFIID riid, LPVOID *ppvOut) override
STDMETHOD() CompareIDs(LPARAM lParam, PCUIDLIST_RELATIVE pidl1, PCUIDLIST_RELATIVE pidl2) override
STDMETHOD() GetAttributesOf(UINT cidl, PCUITEMID_CHILD_ARRAY apidl, DWORD *rgfInOut) override
STDMETHOD() EnumObjects(HWND hwndOwner, DWORD dwFlags, LPENUMIDLIST *ppEnumIDList) override
STDMETHOD() SetNameOf(HWND hwndOwner, PCUITEMID_CHILD pidl, LPCOLESTR lpName, DWORD dwFlags, PITEMID_CHILD *pPidlOut) override
STDMETHOD() QueryInterface(REFIID riid, void **ppvObject) override
#define GetProcAddress(x, y)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
#define IShellFolder_ParseDisplayName
#define IShellFolder_GetDisplayNameOf
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
static IParseDisplayName ParseDisplayName
interface IBindCtx * LPBC
#define IsEqualGUID(rguid1, rguid2)
ITEMIDLIST UNALIGNED * LPITEMIDLIST
const PCUITEMID_CHILD * PCUITEMID_CHILD_ARRAY
const ITEMID_CHILD UNALIGNED * PCUITEMID_CHILD
const ITEMIDLIST_RELATIVE UNALIGNED * PCUIDLIST_RELATIVE
VERSIONHELPERAPI IsWindowsVistaOrGreater()
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
#define MAKEINTRESOURCEA(i)