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__
|
---|
23 | typedef interface IActivationFactory IActivationFactory;
|
---|
24 | #ifdef __cplusplus
|
---|
25 | interface IActivationFactory;
|
---|
26 | #endif /* __cplusplus */
|
---|
27 | #endif
|
---|
28 |
|
---|
29 | /* Headers for imported files */
|
---|
30 |
|
---|
31 | #include <inspectable.h>
|
---|
32 |
|
---|
33 | #ifdef __cplusplus
|
---|
34 | extern "C" {
|
---|
35 | #endif
|
---|
36 |
|
---|
37 | /*****************************************************************************
|
---|
38 | * IActivationFactory interface
|
---|
39 | */
|
---|
40 | #ifndef __IActivationFactory_INTERFACE_DEFINED__
|
---|
41 | #define __IActivationFactory_INTERFACE_DEFINED__
|
---|
42 |
|
---|
43 | DEFINE_GUID(IID_IActivationFactory, 0x00000035, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
---|
44 | #if defined(__cplusplus) && !defined(CINTERFACE)
|
---|
45 | MIDL_INTERFACE("00000035-0000-0000-c000-000000000046")
|
---|
46 | IActivationFactory : 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
|
---|
56 | typedef 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 |
|
---|
93 | interface 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 ***/
|
---|
111 | static FORCEINLINE HRESULT IActivationFactory_QueryInterface(IActivationFactory* This,REFIID riid,void **ppvObject) {
|
---|
112 | return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
---|
113 | }
|
---|
114 | static FORCEINLINE ULONG IActivationFactory_AddRef(IActivationFactory* This) {
|
---|
115 | return This->lpVtbl->AddRef(This);
|
---|
116 | }
|
---|
117 | static FORCEINLINE ULONG IActivationFactory_Release(IActivationFactory* This) {
|
---|
118 | return This->lpVtbl->Release(This);
|
---|
119 | }
|
---|
120 | /*** IInspectable methods ***/
|
---|
121 | static FORCEINLINE HRESULT IActivationFactory_GetIids(IActivationFactory* This,ULONG *iidCount,IID **iids) {
|
---|
122 | return This->lpVtbl->GetIids(This,iidCount,iids);
|
---|
123 | }
|
---|
124 | static FORCEINLINE HRESULT IActivationFactory_GetRuntimeClassName(IActivationFactory* This,HSTRING *className) {
|
---|
125 | return This->lpVtbl->GetRuntimeClassName(This,className);
|
---|
126 | }
|
---|
127 | static FORCEINLINE HRESULT IActivationFactory_GetTrustLevel(IActivationFactory* This,TrustLevel *trustLevel) {
|
---|
128 | return This->lpVtbl->GetTrustLevel(This,trustLevel);
|
---|
129 | }
|
---|
130 | /*** IActivationFactory methods ***/
|
---|
131 | static 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__ */
|
---|