Home | History | Annotate | Download | only in include
      1 /*** Autogenerated by WIDL 1.6 from include/regbag.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 __regbag_h__
     16 #define __regbag_h__
     17 
     18 /* Forward declarations */
     19 
     20 #ifndef __ICreatePropBagOnRegKey_FWD_DEFINED__
     21 #define __ICreatePropBagOnRegKey_FWD_DEFINED__
     22 typedef interface ICreatePropBagOnRegKey ICreatePropBagOnRegKey;
     23 #endif
     24 
     25 /* Headers for imported files */
     26 
     27 #include <objidl.h>
     28 #include <oaidl.h>
     29 #include <ocidl.h>
     30 
     31 #ifdef __cplusplus
     32 extern "C" {
     33 #endif
     34 
     35 #include <winapifamily.h>
     36 
     37 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
     38 /*****************************************************************************
     39  * ICreatePropBagOnRegKey interface
     40  */
     41 #ifndef __ICreatePropBagOnRegKey_INTERFACE_DEFINED__
     42 #define __ICreatePropBagOnRegKey_INTERFACE_DEFINED__
     43 
     44 DEFINE_GUID(IID_ICreatePropBagOnRegKey, 0x8a674b48, 0x1f63, 0x11d3, 0xb6,0x4c, 0x00,0xc0,0x4f,0x79,0x49,0x8e);
     45 #if defined(__cplusplus) && !defined(CINTERFACE)
     46 MIDL_INTERFACE("8a674b48-1f63-11d3-b64c-00c04f79498e")
     47 ICreatePropBagOnRegKey : public IUnknown
     48 {
     49     virtual HRESULT STDMETHODCALLTYPE Create(
     50         HKEY hkey,
     51         LPCOLESTR subkey,
     52         DWORD ulOptions,
     53         DWORD samDesired,
     54         REFIID iid,
     55         LPVOID *ppBag) = 0;
     56 
     57 };
     58 #ifdef __CRT_UUID_DECL
     59 __CRT_UUID_DECL(ICreatePropBagOnRegKey, 0x8a674b48, 0x1f63, 0x11d3, 0xb6,0x4c, 0x00,0xc0,0x4f,0x79,0x49,0x8e)
     60 #endif
     61 #else
     62 typedef struct ICreatePropBagOnRegKeyVtbl {
     63     BEGIN_INTERFACE
     64 
     65     /*** IUnknown methods ***/
     66     HRESULT (STDMETHODCALLTYPE *QueryInterface)(
     67         ICreatePropBagOnRegKey* This,
     68         REFIID riid,
     69         void **ppvObject);
     70 
     71     ULONG (STDMETHODCALLTYPE *AddRef)(
     72         ICreatePropBagOnRegKey* This);
     73 
     74     ULONG (STDMETHODCALLTYPE *Release)(
     75         ICreatePropBagOnRegKey* This);
     76 
     77     /*** ICreatePropBagOnRegKey methods ***/
     78     HRESULT (STDMETHODCALLTYPE *Create)(
     79         ICreatePropBagOnRegKey* This,
     80         HKEY hkey,
     81         LPCOLESTR subkey,
     82         DWORD ulOptions,
     83         DWORD samDesired,
     84         REFIID iid,
     85         LPVOID *ppBag);
     86 
     87     END_INTERFACE
     88 } ICreatePropBagOnRegKeyVtbl;
     89 interface ICreatePropBagOnRegKey {
     90     CONST_VTBL ICreatePropBagOnRegKeyVtbl* lpVtbl;
     91 };
     92 
     93 #ifdef COBJMACROS
     94 #ifndef WIDL_C_INLINE_WRAPPERS
     95 /*** IUnknown methods ***/
     96 #define ICreatePropBagOnRegKey_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
     97 #define ICreatePropBagOnRegKey_AddRef(This) (This)->lpVtbl->AddRef(This)
     98 #define ICreatePropBagOnRegKey_Release(This) (This)->lpVtbl->Release(This)
     99 /*** ICreatePropBagOnRegKey methods ***/
    100 #define ICreatePropBagOnRegKey_Create(This,hkey,subkey,ulOptions,samDesired,iid,ppBag) (This)->lpVtbl->Create(This,hkey,subkey,ulOptions,samDesired,iid,ppBag)
    101 #else
    102 /*** IUnknown methods ***/
    103 static FORCEINLINE HRESULT ICreatePropBagOnRegKey_QueryInterface(ICreatePropBagOnRegKey* This,REFIID riid,void **ppvObject) {
    104     return This->lpVtbl->QueryInterface(This,riid,ppvObject);
    105 }
    106 static FORCEINLINE ULONG ICreatePropBagOnRegKey_AddRef(ICreatePropBagOnRegKey* This) {
    107     return This->lpVtbl->AddRef(This);
    108 }
    109 static FORCEINLINE ULONG ICreatePropBagOnRegKey_Release(ICreatePropBagOnRegKey* This) {
    110     return This->lpVtbl->Release(This);
    111 }
    112 /*** ICreatePropBagOnRegKey methods ***/
    113 static FORCEINLINE HRESULT ICreatePropBagOnRegKey_Create(ICreatePropBagOnRegKey* This,HKEY hkey,LPCOLESTR subkey,DWORD ulOptions,DWORD samDesired,REFIID iid,LPVOID *ppBag) {
    114     return This->lpVtbl->Create(This,hkey,subkey,ulOptions,samDesired,iid,ppBag);
    115 }
    116 #endif
    117 #endif
    118 
    119 #endif
    120 
    121 HRESULT STDMETHODCALLTYPE ICreatePropBagOnRegKey_Create_Proxy(
    122     ICreatePropBagOnRegKey* This,
    123     HKEY hkey,
    124     LPCOLESTR subkey,
    125     DWORD ulOptions,
    126     DWORD samDesired,
    127     REFIID iid,
    128     LPVOID *ppBag);
    129 void __RPC_STUB ICreatePropBagOnRegKey_Create_Stub(
    130     IRpcStubBuffer* This,
    131     IRpcChannelBuffer* pRpcChannelBuffer,
    132     PRPC_MESSAGE pRpcMessage,
    133     DWORD* pdwStubPhase);
    134 
    135 #endif  /* __ICreatePropBagOnRegKey_INTERFACE_DEFINED__ */
    136 
    137 #endif
    138 /* Begin additional prototypes for all interfaces */
    139 
    140 
    141 /* End additional prototypes */
    142 
    143 #ifdef __cplusplus
    144 }
    145 #endif
    146 
    147 #endif /* __regbag_h__ */
    148