source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/activation.h@ 1170

Last change on this file since 1170 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 4.6 KB
Line 
1/*** Autogenerated by WIDL 6.4 from include/activation.idl - Do not edit ***/
2
3#ifdef _WIN32
4#ifndef __REQUIRED_RPCNDR_H_VERSION__
5#define __REQUIRED_RPCNDR_H_VERSION__ 475
6#endif
7#include <rpc.h>
8#include <rpcndr.h>
9#endif
10
11#ifndef COM_NO_WINDOWS_H
12#include <windows.h>
13#include <ole2.h>
14#endif
15
16#ifndef __activation_h__
17#define __activation_h__
18
19/* Forward declarations */
20
21#ifndef __IActivationFactory_FWD_DEFINED__
22#define __IActivationFactory_FWD_DEFINED__
23typedef interface IActivationFactory IActivationFactory;
24#ifdef __cplusplus
25interface IActivationFactory;
26#endif /* __cplusplus */
27#endif
28
29/* Headers for imported files */
30
31#include <inspectable.h>
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37/*****************************************************************************
38 * IActivationFactory interface
39 */
40#ifndef __IActivationFactory_INTERFACE_DEFINED__
41#define __IActivationFactory_INTERFACE_DEFINED__
42
43DEFINE_GUID(IID_IActivationFactory, 0x00000035, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
44#if defined(__cplusplus) && !defined(CINTERFACE)
45MIDL_INTERFACE("00000035-0000-0000-c000-000000000046")
46IActivationFactory : public IInspectable
47{
48 virtual HRESULT STDMETHODCALLTYPE ActivateInstance(
49 IInspectable **instance) = 0;
50
51};
52#ifdef __CRT_UUID_DECL
53__CRT_UUID_DECL(IActivationFactory, 0x00000035, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
54#endif
55#else
56typedef struct IActivationFactoryVtbl {
57 BEGIN_INTERFACE
58
59 /*** IUnknown methods ***/
60 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
61 IActivationFactory *This,
62 REFIID riid,
63 void **ppvObject);
64
65 ULONG (STDMETHODCALLTYPE *AddRef)(
66 IActivationFactory *This);
67
68 ULONG (STDMETHODCALLTYPE *Release)(
69 IActivationFactory *This);
70
71 /*** IInspectable methods ***/
72 HRESULT (STDMETHODCALLTYPE *GetIids)(
73 IActivationFactory *This,
74 ULONG *iidCount,
75 IID **iids);
76
77 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
78 IActivationFactory *This,
79 HSTRING *className);
80
81 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
82 IActivationFactory *This,
83 TrustLevel *trustLevel);
84
85 /*** IActivationFactory methods ***/
86 HRESULT (STDMETHODCALLTYPE *ActivateInstance)(
87 IActivationFactory *This,
88 IInspectable **instance);
89
90 END_INTERFACE
91} IActivationFactoryVtbl;
92
93interface IActivationFactory {
94 CONST_VTBL IActivationFactoryVtbl* lpVtbl;
95};
96
97#ifdef COBJMACROS
98#ifndef WIDL_C_INLINE_WRAPPERS
99/*** IUnknown methods ***/
100#define IActivationFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
101#define IActivationFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
102#define IActivationFactory_Release(This) (This)->lpVtbl->Release(This)
103/*** IInspectable methods ***/
104#define IActivationFactory_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
105#define IActivationFactory_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
106#define IActivationFactory_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
107/*** IActivationFactory methods ***/
108#define IActivationFactory_ActivateInstance(This,instance) (This)->lpVtbl->ActivateInstance(This,instance)
109#else
110/*** IUnknown methods ***/
111static FORCEINLINE HRESULT IActivationFactory_QueryInterface(IActivationFactory* This,REFIID riid,void **ppvObject) {
112 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
113}
114static FORCEINLINE ULONG IActivationFactory_AddRef(IActivationFactory* This) {
115 return This->lpVtbl->AddRef(This);
116}
117static FORCEINLINE ULONG IActivationFactory_Release(IActivationFactory* This) {
118 return This->lpVtbl->Release(This);
119}
120/*** IInspectable methods ***/
121static FORCEINLINE HRESULT IActivationFactory_GetIids(IActivationFactory* This,ULONG *iidCount,IID **iids) {
122 return This->lpVtbl->GetIids(This,iidCount,iids);
123}
124static FORCEINLINE HRESULT IActivationFactory_GetRuntimeClassName(IActivationFactory* This,HSTRING *className) {
125 return This->lpVtbl->GetRuntimeClassName(This,className);
126}
127static FORCEINLINE HRESULT IActivationFactory_GetTrustLevel(IActivationFactory* This,TrustLevel *trustLevel) {
128 return This->lpVtbl->GetTrustLevel(This,trustLevel);
129}
130/*** IActivationFactory methods ***/
131static FORCEINLINE HRESULT IActivationFactory_ActivateInstance(IActivationFactory* This,IInspectable **instance) {
132 return This->lpVtbl->ActivateInstance(This,instance);
133}
134#endif
135#endif
136
137#endif
138
139
140#endif /* __IActivationFactory_INTERFACE_DEFINED__ */
141
142/* Begin additional prototypes for all interfaces */
143
144
145/* End additional prototypes */
146
147#ifdef __cplusplus
148}
149#endif
150
151#endif /* __activation_h__ */
Note: See TracBrowser for help on using the repository browser.