ReactOS 0.4.16-dev-306-g647d351
precomp.h
Go to the documentation of this file.
1#ifndef _ZIPFLDR_APITEST_PRECOMP_H_
2#define _ZIPFLDR_APITEST_PRECOMP_H_
3
4#define WIN32_NO_STATUS
5#define _INC_WINDOWS
6#define COM_NO_WINDOWS_H
7
8
9#include <windef.h>
10#include <winbase.h>
11#include <shlobj.h>
12#include <atlbase.h>
13#include <atlcom.h> // gcc needs to resolve unused template content
14#include <shellapi.h>
15#include <shlwapi.h>
16#include <strsafe.h>
17
18#include <shellutils.h>
19
20#include <apitest.h>
21
22#include "resource.h"
23
24BOOL extract_resource(WCHAR* Filename, LPCWSTR ResourceName, WCHAR* ParentFolder);
25#define InitializeShellFolder(Filename, pFolder) InitializeShellFolder_(__FILE__, __LINE__, Filename, pFolder)
26bool InitializeShellFolder_(const char* file, int line, const WCHAR* Filename, CComPtr<IShellFolder>& spFolder);
27
28#define IsFormatAdvertised(pDataObj, cfFormat, tymed) IsFormatAdvertised_(__FILE__, __LINE__, pDataObj, cfFormat, tymed)
29bool IsFormatAdvertised_(const char* file, int line, IDataObject* pDataObj, CLIPFORMAT cfFormat, TYMED tymed);
30
31#define ok_displayname(pFolder, pidl, Flags, Name) ok_displayname_(__FILE__, __LINE__, pFolder, pidl, Flags, Name)
32void ok_displayname_(const char* file, int line, IShellFolder* pFolder, PCUITEMID_CHILD pidl, SHGDNF Flags, LPCWSTR Name);
33
34#endif /* _ZIPFLDR_APITEST_PRECOMP_H_ */
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
Definition: fatprocs.h:940
unsigned int BOOL
Definition: ntddk_ex.h:94
void ok_displayname_(const char *file, int line, IShellFolder *pFolder, PCUITEMID_CHILD pidl, SHGDNF Flags, LPCWSTR Name)
Definition: EnumObjects.cpp:12
BOOL extract_resource(WCHAR *Filename, LPCWSTR ResourceName, WCHAR *ParentFolder)
Definition: IDataObject.cpp:39
bool InitializeShellFolder_(const char *file, int line, const WCHAR *Filename, CComPtr< IShellFolder > &spFolder)
Definition: IDataObject.cpp:74
bool IsFormatAdvertised_(const char *file, int line, IDataObject *pDataObj, CLIPFORMAT cfFormat, TYMED tymed)
static DWORD tymed
Definition: url.c:174
const ITEMID_CHILD UNALIGNED * PCUITEMID_CHILD
Definition: shtypes.idl:70
Definition: fci.c:127
Definition: parser.c:49
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
__wchar_t WCHAR
Definition: xmlstorage.h:180
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185