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