Add a combaseapi.h header for Windows 8 COM functions git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@5864 4407c894-4637-0410-b4f5-ada5f102cad1
diff --git a/mingw-w64-headers/include/combaseapi.h b/mingw-w64-headers/include/combaseapi.h new file mode 100644 index 0000000..4802970 --- /dev/null +++ b/mingw-w64-headers/include/combaseapi.h
@@ -0,0 +1,28 @@ +/** + * This file has no copyright assigned and is placed in the Public Domain. + * This file is part of the mingw-w64 runtime package. + * No warranty is given; refer to the file DISCLAIMER.PD within this package. + */ +#include <rpc.h> +#include <rpcndr.h> + +#ifndef _COMBASEAPI_H_ +#define _COMBASEAPI_H_ + +#include <pshpack8.h> + +#include <wtypes.h> +#include <unknwn.h> +#include <objidl.h> +#include <objbase.h> +#include <guiddef.h> + +#ifndef INITGUID +#include <cguid.h> +#endif + +#if (_WIN32_WINNT >= 0x0602) +WINOLEAPI CoCreateInstanceFromApp(REFCLSID Clsid,IUnknown *punkOuter,DWORD dwClsCtx,void *reserved,DWORD dwCount,MULTI_QI *pResults); +#endif /*(_WIN32_WINNT >= 0x0602)*/ + +#endif