--- mingw-w64-headers/Makefile.am | 2 + mingw-w64-headers/Makefile.in | 2 + mingw-w64-headers/include/activation.h | 132 ++++++++++++++++++++++ mingw-w64-headers/include/activation.idl | 16 +++ mingw-w64-headers/include/inspectable.h | 178 ++++++++++++++++++++++++++++++ mingw-w64-headers/include/inspectable.idl | 33 ++++++ 6 files changed, 363 insertions(+) create mode 100644 mingw-w64-headers/include/activation.h create mode 100644 mingw-w64-headers/include/activation.idl create mode 100644 mingw-w64-headers/include/inspectable.h create mode 100644 mingw-w64-headers/include/inspectable.idl
diff --git a/mingw-w64-headers/Makefile.am b/mingw-w64-headers/Makefile.am index fa1847f..c3af523 100644 --- a/mingw-w64-headers/Makefile.am +++ b/mingw-w64-headers/Makefile.am @@ -58,6 +58,7 @@ EXTRA_HEADERS = \ if HAVE_WIDL IDL_SRCS = \ + include/activation.idl \ include/audioclient.idl \ include/audiopolicy.idl \ include/ctfutb.idl \ @@ -71,6 +72,7 @@ IDL_SRCS = \ include/hstring.idl \ include/iketypes.idl \ include/inputscope.idl \ + include/inspectable.idl \ include/oaidl.idl \ include/ocidl.idl \ include/comcat.idl \ diff --git a/mingw-w64-headers/Makefile.in b/mingw-w64-headers/Makefile.in index 77b73cb..a73848c 100644 --- a/mingw-w64-headers/Makefile.in +++ b/mingw-w64-headers/Makefile.in @@ -282,6 +282,7 @@ EXTRA_HEADERS = \ ddk/include/ddk/*.h @HAVE_WIDL_TRUE@IDL_SRCS = \ +@HAVE_WIDL_TRUE@ include/activation.idl \ @HAVE_WIDL_TRUE@ include/audioclient.idl \ @HAVE_WIDL_TRUE@ include/audiopolicy.idl \ @HAVE_WIDL_TRUE@ include/ctfutb.idl \ @@ -295,6 +296,7 @@ EXTRA_HEADERS = \ @HAVE_WIDL_TRUE@ include/hstring.idl \ @HAVE_WIDL_TRUE@ include/iketypes.idl \ @HAVE_WIDL_TRUE@ include/inputscope.idl \ +@HAVE_WIDL_TRUE@ include/inspectable.idl \ @HAVE_WIDL_TRUE@ include/oaidl.idl \ @HAVE_WIDL_TRUE@ include/ocidl.idl \ @HAVE_WIDL_TRUE@ include/comcat.idl \ diff --git a/mingw-w64-headers/include/activation.h b/mingw-w64-headers/include/activation.h new file mode 100644 index 0000000..089e3dd --- /dev/null +++ b/mingw-w64-headers/include/activation.h @@ -0,0 +1,132 @@ +/*** Autogenerated by WIDL 1.5.19 from include/activation.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __activation_h__ +#define __activation_h__ + +/* Forward declarations */ + +#ifndef __IActivationFactory_FWD_DEFINED__ +#define __IActivationFactory_FWD_DEFINED__ +typedef interface IActivationFactory IActivationFactory; +#endif + +/* Headers for imported files */ + +#include <inspectable.h> + +#ifdef __cplusplus +extern "C" { +#endif + +/***************************************************************************** + * IActivationFactory interface + */ +#ifndef __IActivationFactory_INTERFACE_DEFINED__ +#define __IActivationFactory_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IActivationFactory, 0x00000035, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("00000035-0000-0000-c000-000000000046") +IActivationFactory : public IInspectable +{ +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IActivationFactory, 0x00000035, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46) +#endif +#else +typedef struct IActivationFactoryVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IActivationFactory* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IActivationFactory* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IActivationFactory* This); + + /*** IInspectable methods ***/ + HRESULT (STDMETHODCALLTYPE *GetIids)( + IActivationFactory* This, + ULONG *iidCount, + IID **iids); + + HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)( + IActivationFactory* This, + HSTRING *className); + + HRESULT (STDMETHODCALLTYPE *GetTrustLevel)( + IActivationFactory* This, + TrustLevel *trustLevel); + + END_INTERFACE +} IActivationFactoryVtbl; +interface IActivationFactory { + CONST_VTBL IActivationFactoryVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IActivationFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IActivationFactory_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IActivationFactory_Release(This) (This)->lpVtbl->Release(This) +/*** IInspectable methods ***/ +#define IActivationFactory_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids) +#define IActivationFactory_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className) +#define IActivationFactory_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IActivationFactory_QueryInterface(IActivationFactory* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IActivationFactory_AddRef(IActivationFactory* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IActivationFactory_Release(IActivationFactory* This) { + return This->lpVtbl->Release(This); +} +/*** IInspectable methods ***/ +static FORCEINLINE HRESULT IActivationFactory_GetIids(IActivationFactory* This,ULONG *iidCount,IID **iids) { + return This->lpVtbl->GetIids(This,iidCount,iids); +} +static FORCEINLINE HRESULT IActivationFactory_GetRuntimeClassName(IActivationFactory* This,HSTRING *className) { + return This->lpVtbl->GetRuntimeClassName(This,className); +} +static FORCEINLINE HRESULT IActivationFactory_GetTrustLevel(IActivationFactory* This,TrustLevel *trustLevel) { + return This->lpVtbl->GetTrustLevel(This,trustLevel); +} +#endif +#endif + +#endif + + +#endif /* __IActivationFactory_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __activation_h__ */ diff --git a/mingw-w64-headers/include/activation.idl b/mingw-w64-headers/include/activation.idl new file mode 100644 index 0000000..6caee20 --- /dev/null +++ b/mingw-w64-headers/include/activation.idl @@ -0,0 +1,16 @@ +/** + * 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. + */ + +import "inspectable.idl"; + +[ + object, + uuid(00000035-0000-0000-c000-000000000046), + pointer_default(unique) +] +interface IActivationFactory : IInspectable +{ +} diff --git a/mingw-w64-headers/include/inspectable.h b/mingw-w64-headers/include/inspectable.h new file mode 100644 index 0000000..3e6d230 --- /dev/null +++ b/mingw-w64-headers/include/inspectable.h @@ -0,0 +1,178 @@ +/*** Autogenerated by WIDL 1.5.19 from include/inspectable.idl - Do not edit ***/ + +#ifndef __REQUIRED_RPCNDR_H_VERSION__ +#define __REQUIRED_RPCNDR_H_VERSION__ 475 +#endif + +#include <rpc.h> +#include <rpcndr.h> + +#ifndef COM_NO_WINDOWS_H +#include <windows.h> +#include <ole2.h> +#endif + +#ifndef __inspectable_h__ +#define __inspectable_h__ + +/* Forward declarations */ + +#ifndef __IInspectable_FWD_DEFINED__ +#define __IInspectable_FWD_DEFINED__ +typedef interface IInspectable IInspectable; +#endif + +/* Headers for imported files */ + +#include <wtypes.h> +#include <hstring.h> +#include <unknwn.h> + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum TrustLevel { + BaseTrust = 0, + PartialTrust = 1, + FullTrust = 2 +} TrustLevel; +/***************************************************************************** + * IInspectable interface + */ +#ifndef __IInspectable_INTERFACE_DEFINED__ +#define __IInspectable_INTERFACE_DEFINED__ + +DEFINE_GUID(IID_IInspectable, 0xaf86e2e0, 0xb12d, 0x4c6a, 0x9c,0x5a, 0xd7,0xaa,0x65,0x10,0x1e,0x90); +#if defined(__cplusplus) && !defined(CINTERFACE) +MIDL_INTERFACE("af86e2e0-b12d-4c6a-9c5a-d7aa65101e90") +IInspectable : public IUnknown +{ + virtual HRESULT STDMETHODCALLTYPE GetIids( + ULONG *iidCount, + IID **iids) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetRuntimeClassName( + HSTRING *className) = 0; + + virtual HRESULT STDMETHODCALLTYPE GetTrustLevel( + TrustLevel *trustLevel) = 0; + +}; +#ifdef __CRT_UUID_DECL +__CRT_UUID_DECL(IInspectable, 0xaf86e2e0, 0xb12d, 0x4c6a, 0x9c,0x5a, 0xd7,0xaa,0x65,0x10,0x1e,0x90) +#endif +#else +typedef struct IInspectableVtbl { + BEGIN_INTERFACE + + /*** IUnknown methods ***/ + HRESULT (STDMETHODCALLTYPE *QueryInterface)( + IInspectable* This, + REFIID riid, + void **ppvObject); + + ULONG (STDMETHODCALLTYPE *AddRef)( + IInspectable* This); + + ULONG (STDMETHODCALLTYPE *Release)( + IInspectable* This); + + /*** IInspectable methods ***/ + HRESULT (STDMETHODCALLTYPE *GetIids)( + IInspectable* This, + ULONG *iidCount, + IID **iids); + + HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)( + IInspectable* This, + HSTRING *className); + + HRESULT (STDMETHODCALLTYPE *GetTrustLevel)( + IInspectable* This, + TrustLevel *trustLevel); + + END_INTERFACE +} IInspectableVtbl; +interface IInspectable { + CONST_VTBL IInspectableVtbl* lpVtbl; +}; + +#ifdef COBJMACROS +#ifndef WIDL_C_INLINE_WRAPPERS +/*** IUnknown methods ***/ +#define IInspectable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) +#define IInspectable_AddRef(This) (This)->lpVtbl->AddRef(This) +#define IInspectable_Release(This) (This)->lpVtbl->Release(This) +/*** IInspectable methods ***/ +#define IInspectable_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids) +#define IInspectable_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className) +#define IInspectable_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel) +#else +/*** IUnknown methods ***/ +static FORCEINLINE HRESULT IInspectable_QueryInterface(IInspectable* This,REFIID riid,void **ppvObject) { + return This->lpVtbl->QueryInterface(This,riid,ppvObject); +} +static FORCEINLINE ULONG IInspectable_AddRef(IInspectable* This) { + return This->lpVtbl->AddRef(This); +} +static FORCEINLINE ULONG IInspectable_Release(IInspectable* This) { + return This->lpVtbl->Release(This); +} +/*** IInspectable methods ***/ +static FORCEINLINE HRESULT IInspectable_GetIids(IInspectable* This,ULONG *iidCount,IID **iids) { + return This->lpVtbl->GetIids(This,iidCount,iids); +} +static FORCEINLINE HRESULT IInspectable_GetRuntimeClassName(IInspectable* This,HSTRING *className) { + return This->lpVtbl->GetRuntimeClassName(This,className); +} +static FORCEINLINE HRESULT IInspectable_GetTrustLevel(IInspectable* This,TrustLevel *trustLevel) { + return This->lpVtbl->GetTrustLevel(This,trustLevel); +} +#endif +#endif + +#endif + +HRESULT STDMETHODCALLTYPE IInspectable_GetIids_Proxy( + IInspectable* This, + ULONG *iidCount, + IID **iids); +void __RPC_STUB IInspectable_GetIids_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IInspectable_GetRuntimeClassName_Proxy( + IInspectable* This, + HSTRING *className); +void __RPC_STUB IInspectable_GetRuntimeClassName_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); +HRESULT STDMETHODCALLTYPE IInspectable_GetTrustLevel_Proxy( + IInspectable* This, + TrustLevel *trustLevel); +void __RPC_STUB IInspectable_GetTrustLevel_Stub( + IRpcStubBuffer* This, + IRpcChannelBuffer* pRpcChannelBuffer, + PRPC_MESSAGE pRpcMessage, + DWORD* pdwStubPhase); + +#endif /* __IInspectable_INTERFACE_DEFINED__ */ + +/* Begin additional prototypes for all interfaces */ + +ULONG __RPC_USER HSTRING_UserSize (ULONG *, ULONG, HSTRING *); +unsigned char * __RPC_USER HSTRING_UserMarshal (ULONG *, unsigned char *, HSTRING *); +unsigned char * __RPC_USER HSTRING_UserUnmarshal(ULONG *, unsigned char *, HSTRING *); +void __RPC_USER HSTRING_UserFree (ULONG *, HSTRING *); + +/* End additional prototypes */ + +#ifdef __cplusplus +} +#endif + +#endif /* __inspectable_h__ */ diff --git a/mingw-w64-headers/include/inspectable.idl b/mingw-w64-headers/include/inspectable.idl new file mode 100644 index 0000000..b6635ae --- /dev/null +++ b/mingw-w64-headers/include/inspectable.idl @@ -0,0 +1,33 @@ +/** + * 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. + */ + +import "wtypes.idl"; +import "hstring.idl"; +import "unknwn.idl"; + +typedef enum TrustLevel { + BaseTrust = 0, + PartialTrust = 1, + FullTrust = 2 +} TrustLevel; + +[ + object, + uuid(af86e2e0-b12d-4c6a-9c5a-d7aa65101e90), + pointer_default(unique) +] +interface IInspectable : IUnknown +{ + HRESULT GetIids( + [out] ULONG *iidCount, + [out, size_is(*iidCount)] IID **iids); + + HRESULT GetRuntimeClassName( + [out] HSTRING *className); + + HRESULT GetTrustLevel( + [out] TrustLevel *trustLevel); +} -- 1.8.1.2 ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public