1 /*** Autogenerated by WIDL 1.5.25 from include/objectarray.idl - Do not edit ***/ 2 3 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 4 #define __REQUIRED_RPCNDR_H_VERSION__ 475 5 #endif 6 7 #include <rpc.h> 8 #include <rpcndr.h> 9 10 #ifndef COM_NO_WINDOWS_H 11 #include <windows.h> 12 #include <ole2.h> 13 #endif 14 15 #ifndef __objectarray_h__ 16 #define __objectarray_h__ 17 18 /* Forward declarations */ 19 20 #ifndef __IObjectArray_FWD_DEFINED__ 21 #define __IObjectArray_FWD_DEFINED__ 22 typedef interface IObjectArray IObjectArray; 23 #endif 24 25 #ifndef __IObjectCollection_FWD_DEFINED__ 26 #define __IObjectCollection_FWD_DEFINED__ 27 typedef interface IObjectCollection IObjectCollection; 28 #endif 29 30 /* Headers for imported files */ 31 32 #include <oaidl.h> 33 #include <ocidl.h> 34 35 #ifdef __cplusplus 36 extern "C" { 37 #endif 38 39 /***************************************************************************** 40 * IObjectArray interface 41 */ 42 #ifndef __IObjectArray_INTERFACE_DEFINED__ 43 #define __IObjectArray_INTERFACE_DEFINED__ 44 45 DEFINE_GUID(IID_IObjectArray, 0x92ca9dcd, 0x5622, 0x4bba, 0xa8,0x05, 0x5e,0x9f,0x54,0x1b,0xd8,0xc9); 46 #if defined(__cplusplus) && !defined(CINTERFACE) 47 MIDL_INTERFACE("92ca9dcd-5622-4bba-a805-5e9f541bd8c9") 48 IObjectArray : public IUnknown 49 { 50 virtual HRESULT STDMETHODCALLTYPE GetCount( 51 UINT *pcObjects) = 0; 52 53 virtual HRESULT STDMETHODCALLTYPE GetAt( 54 UINT uiIndex, 55 REFIID riid, 56 void **ppv) = 0; 57 58 }; 59 #ifdef __CRT_UUID_DECL 60 __CRT_UUID_DECL(IObjectArray, 0x92ca9dcd, 0x5622, 0x4bba, 0xa8,0x05, 0x5e,0x9f,0x54,0x1b,0xd8,0xc9) 61 #endif 62 #else 63 typedef struct IObjectArrayVtbl { 64 BEGIN_INTERFACE 65 66 /*** IUnknown methods ***/ 67 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 68 IObjectArray* This, 69 REFIID riid, 70 void **ppvObject); 71 72 ULONG (STDMETHODCALLTYPE *AddRef)( 73 IObjectArray* This); 74 75 ULONG (STDMETHODCALLTYPE *Release)( 76 IObjectArray* This); 77 78 /*** IObjectArray methods ***/ 79 HRESULT (STDMETHODCALLTYPE *GetCount)( 80 IObjectArray* This, 81 UINT *pcObjects); 82 83 HRESULT (STDMETHODCALLTYPE *GetAt)( 84 IObjectArray* This, 85 UINT uiIndex, 86 REFIID riid, 87 void **ppv); 88 89 END_INTERFACE 90 } IObjectArrayVtbl; 91 interface IObjectArray { 92 CONST_VTBL IObjectArrayVtbl* lpVtbl; 93 }; 94 95 #ifdef COBJMACROS 96 #ifndef WIDL_C_INLINE_WRAPPERS 97 /*** IUnknown methods ***/ 98 #define IObjectArray_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 99 #define IObjectArray_AddRef(This) (This)->lpVtbl->AddRef(This) 100 #define IObjectArray_Release(This) (This)->lpVtbl->Release(This) 101 /*** IObjectArray methods ***/ 102 #define IObjectArray_GetCount(This,pcObjects) (This)->lpVtbl->GetCount(This,pcObjects) 103 #define IObjectArray_GetAt(This,uiIndex,riid,ppv) (This)->lpVtbl->GetAt(This,uiIndex,riid,ppv) 104 #else 105 /*** IUnknown methods ***/ 106 static FORCEINLINE HRESULT IObjectArray_QueryInterface(IObjectArray* This,REFIID riid,void **ppvObject) { 107 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 108 } 109 static FORCEINLINE ULONG IObjectArray_AddRef(IObjectArray* This) { 110 return This->lpVtbl->AddRef(This); 111 } 112 static FORCEINLINE ULONG IObjectArray_Release(IObjectArray* This) { 113 return This->lpVtbl->Release(This); 114 } 115 /*** IObjectArray methods ***/ 116 static FORCEINLINE HRESULT IObjectArray_GetCount(IObjectArray* This,UINT *pcObjects) { 117 return This->lpVtbl->GetCount(This,pcObjects); 118 } 119 static FORCEINLINE HRESULT IObjectArray_GetAt(IObjectArray* This,UINT uiIndex,REFIID riid,void **ppv) { 120 return This->lpVtbl->GetAt(This,uiIndex,riid,ppv); 121 } 122 #endif 123 #endif 124 125 #endif 126 127 HRESULT STDMETHODCALLTYPE IObjectArray_GetCount_Proxy( 128 IObjectArray* This, 129 UINT *pcObjects); 130 void __RPC_STUB IObjectArray_GetCount_Stub( 131 IRpcStubBuffer* This, 132 IRpcChannelBuffer* pRpcChannelBuffer, 133 PRPC_MESSAGE pRpcMessage, 134 DWORD* pdwStubPhase); 135 HRESULT STDMETHODCALLTYPE IObjectArray_GetAt_Proxy( 136 IObjectArray* This, 137 UINT uiIndex, 138 REFIID riid, 139 void **ppv); 140 void __RPC_STUB IObjectArray_GetAt_Stub( 141 IRpcStubBuffer* This, 142 IRpcChannelBuffer* pRpcChannelBuffer, 143 PRPC_MESSAGE pRpcMessage, 144 DWORD* pdwStubPhase); 145 146 #endif /* __IObjectArray_INTERFACE_DEFINED__ */ 147 148 /***************************************************************************** 149 * IObjectCollection interface 150 */ 151 #ifndef __IObjectCollection_INTERFACE_DEFINED__ 152 #define __IObjectCollection_INTERFACE_DEFINED__ 153 154 DEFINE_GUID(IID_IObjectCollection, 0x5632b1a4, 0xe38a, 0x400a, 0x92,0x8a, 0xd4,0xcd,0x63,0x23,0x02,0x95); 155 #if defined(__cplusplus) && !defined(CINTERFACE) 156 MIDL_INTERFACE("5632b1a4-e38a-400a-928a-d4cd63230295") 157 IObjectCollection : public IObjectArray 158 { 159 virtual HRESULT STDMETHODCALLTYPE AddObject( 160 IUnknown *punk) = 0; 161 162 virtual HRESULT STDMETHODCALLTYPE AddFromArray( 163 IObjectArray *poaSource) = 0; 164 165 virtual HRESULT STDMETHODCALLTYPE RemoveObjectAt( 166 UINT uiIndex) = 0; 167 168 virtual HRESULT STDMETHODCALLTYPE Clear( 169 ) = 0; 170 171 }; 172 #ifdef __CRT_UUID_DECL 173 __CRT_UUID_DECL(IObjectCollection, 0x5632b1a4, 0xe38a, 0x400a, 0x92,0x8a, 0xd4,0xcd,0x63,0x23,0x02,0x95) 174 #endif 175 #else 176 typedef struct IObjectCollectionVtbl { 177 BEGIN_INTERFACE 178 179 /*** IUnknown methods ***/ 180 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 181 IObjectCollection* This, 182 REFIID riid, 183 void **ppvObject); 184 185 ULONG (STDMETHODCALLTYPE *AddRef)( 186 IObjectCollection* This); 187 188 ULONG (STDMETHODCALLTYPE *Release)( 189 IObjectCollection* This); 190 191 /*** IObjectArray methods ***/ 192 HRESULT (STDMETHODCALLTYPE *GetCount)( 193 IObjectCollection* This, 194 UINT *pcObjects); 195 196 HRESULT (STDMETHODCALLTYPE *GetAt)( 197 IObjectCollection* This, 198 UINT uiIndex, 199 REFIID riid, 200 void **ppv); 201 202 /*** IObjectCollection methods ***/ 203 HRESULT (STDMETHODCALLTYPE *AddObject)( 204 IObjectCollection* This, 205 IUnknown *punk); 206 207 HRESULT (STDMETHODCALLTYPE *AddFromArray)( 208 IObjectCollection* This, 209 IObjectArray *poaSource); 210 211 HRESULT (STDMETHODCALLTYPE *RemoveObjectAt)( 212 IObjectCollection* This, 213 UINT uiIndex); 214 215 HRESULT (STDMETHODCALLTYPE *Clear)( 216 IObjectCollection* This); 217 218 END_INTERFACE 219 } IObjectCollectionVtbl; 220 interface IObjectCollection { 221 CONST_VTBL IObjectCollectionVtbl* lpVtbl; 222 }; 223 224 #ifdef COBJMACROS 225 #ifndef WIDL_C_INLINE_WRAPPERS 226 /*** IUnknown methods ***/ 227 #define IObjectCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 228 #define IObjectCollection_AddRef(This) (This)->lpVtbl->AddRef(This) 229 #define IObjectCollection_Release(This) (This)->lpVtbl->Release(This) 230 /*** IObjectArray methods ***/ 231 #define IObjectCollection_GetCount(This,pcObjects) (This)->lpVtbl->GetCount(This,pcObjects) 232 #define IObjectCollection_GetAt(This,uiIndex,riid,ppv) (This)->lpVtbl->GetAt(This,uiIndex,riid,ppv) 233 /*** IObjectCollection methods ***/ 234 #define IObjectCollection_AddObject(This,punk) (This)->lpVtbl->AddObject(This,punk) 235 #define IObjectCollection_AddFromArray(This,poaSource) (This)->lpVtbl->AddFromArray(This,poaSource) 236 #define IObjectCollection_RemoveObjectAt(This,uiIndex) (This)->lpVtbl->RemoveObjectAt(This,uiIndex) 237 #define IObjectCollection_Clear(This) (This)->lpVtbl->Clear(This) 238 #else 239 /*** IUnknown methods ***/ 240 static FORCEINLINE HRESULT IObjectCollection_QueryInterface(IObjectCollection* This,REFIID riid,void **ppvObject) { 241 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 242 } 243 static FORCEINLINE ULONG IObjectCollection_AddRef(IObjectCollection* This) { 244 return This->lpVtbl->AddRef(This); 245 } 246 static FORCEINLINE ULONG IObjectCollection_Release(IObjectCollection* This) { 247 return This->lpVtbl->Release(This); 248 } 249 /*** IObjectArray methods ***/ 250 static FORCEINLINE HRESULT IObjectCollection_GetCount(IObjectCollection* This,UINT *pcObjects) { 251 return This->lpVtbl->GetCount(This,pcObjects); 252 } 253 static FORCEINLINE HRESULT IObjectCollection_GetAt(IObjectCollection* This,UINT uiIndex,REFIID riid,void **ppv) { 254 return This->lpVtbl->GetAt(This,uiIndex,riid,ppv); 255 } 256 /*** IObjectCollection methods ***/ 257 static FORCEINLINE HRESULT IObjectCollection_AddObject(IObjectCollection* This,IUnknown *punk) { 258 return This->lpVtbl->AddObject(This,punk); 259 } 260 static FORCEINLINE HRESULT IObjectCollection_AddFromArray(IObjectCollection* This,IObjectArray *poaSource) { 261 return This->lpVtbl->AddFromArray(This,poaSource); 262 } 263 static FORCEINLINE HRESULT IObjectCollection_RemoveObjectAt(IObjectCollection* This,UINT uiIndex) { 264 return This->lpVtbl->RemoveObjectAt(This,uiIndex); 265 } 266 static FORCEINLINE HRESULT IObjectCollection_Clear(IObjectCollection* This) { 267 return This->lpVtbl->Clear(This); 268 } 269 #endif 270 #endif 271 272 #endif 273 274 HRESULT STDMETHODCALLTYPE IObjectCollection_AddObject_Proxy( 275 IObjectCollection* This, 276 IUnknown *punk); 277 void __RPC_STUB IObjectCollection_AddObject_Stub( 278 IRpcStubBuffer* This, 279 IRpcChannelBuffer* pRpcChannelBuffer, 280 PRPC_MESSAGE pRpcMessage, 281 DWORD* pdwStubPhase); 282 HRESULT STDMETHODCALLTYPE IObjectCollection_AddFromArray_Proxy( 283 IObjectCollection* This, 284 IObjectArray *poaSource); 285 void __RPC_STUB IObjectCollection_AddFromArray_Stub( 286 IRpcStubBuffer* This, 287 IRpcChannelBuffer* pRpcChannelBuffer, 288 PRPC_MESSAGE pRpcMessage, 289 DWORD* pdwStubPhase); 290 HRESULT STDMETHODCALLTYPE IObjectCollection_RemoveObjectAt_Proxy( 291 IObjectCollection* This, 292 UINT uiIndex); 293 void __RPC_STUB IObjectCollection_RemoveObjectAt_Stub( 294 IRpcStubBuffer* This, 295 IRpcChannelBuffer* pRpcChannelBuffer, 296 PRPC_MESSAGE pRpcMessage, 297 DWORD* pdwStubPhase); 298 HRESULT STDMETHODCALLTYPE IObjectCollection_Clear_Proxy( 299 IObjectCollection* This); 300 void __RPC_STUB IObjectCollection_Clear_Stub( 301 IRpcStubBuffer* This, 302 IRpcChannelBuffer* pRpcChannelBuffer, 303 PRPC_MESSAGE pRpcMessage, 304 DWORD* pdwStubPhase); 305 306 #endif /* __IObjectCollection_INTERFACE_DEFINED__ */ 307 308 /* Begin additional prototypes for all interfaces */ 309 310 311 /* End additional prototypes */ 312 313 #ifdef __cplusplus 314 } 315 #endif 316 317 #endif /* __objectarray_h__ */ 318