22#define _COM_NO_STANDARD_GUIDS_
32#define SAFE_RELEASE(p) \
33 do { if ((p)) { (p)->Release(); (p) = NULL; } } while (0)
46 template<
typename T>
void** IID_PPV_ARGS_Helper(
T** pp)
49 return reinterpret_cast<void**
>(pp);
53#define IID_PPV_ARGS(ppType) __uuidof(**(ppType)), IID_PPV_ARGS_Helper(ppType)
58# define IID_PPV_ARG(Itype, ppType) IID_##Itype, reinterpret_cast<void**>((static_cast<Itype**>(ppType)))
59# define IID_NULL_PPV_ARG(Itype, ppType) IID_##Itype, NULL, reinterpret_cast<void**>((static_cast<Itype**>(ppType)))
61# define IID_PPV_ARG(Itype, ppType) IID_##Itype, (void**)(ppType)
62# define IID_NULL_PPV_ARG(Itype, ppType) IID_##Itype, NULL, (void**)(ppType)
BOOL LoadXMLDocumentFromFile(IXMLDOMDocument *pXMLDom, LPCWSTR lpszFilename, BOOL bIgnoreErrorsIfNonExistingFile=FALSE)
HRESULT CreateAndInitXMLDOMDocument(IXMLDOMDocument **ppDoc)
BOOL LoadXMLDocumentFromResource(IXMLDOMDocument *pXMLDom, LPCWSTR lpszXMLResName)
void UninitXMLDOMParser(void)
HRESULT InitXMLDOMParser(void)