regbag.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /*** Autogenerated by WIDL 7.7 from include/regbag.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __regbag_h__
  14. #define __regbag_h__
  15. /* Forward declarations */
  16. #ifndef __ICreatePropBagOnRegKey_FWD_DEFINED__
  17. #define __ICreatePropBagOnRegKey_FWD_DEFINED__
  18. typedef interface ICreatePropBagOnRegKey ICreatePropBagOnRegKey;
  19. #ifdef __cplusplus
  20. interface ICreatePropBagOnRegKey;
  21. #endif /* __cplusplus */
  22. #endif
  23. /* Headers for imported files */
  24. #include <objidl.h>
  25. #include <oaidl.h>
  26. #include <ocidl.h>
  27. #ifdef __cplusplus
  28. extern "C" {
  29. #endif
  30. #include <winapifamily.h>
  31. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  32. /*****************************************************************************
  33. * ICreatePropBagOnRegKey interface
  34. */
  35. #ifndef __ICreatePropBagOnRegKey_INTERFACE_DEFINED__
  36. #define __ICreatePropBagOnRegKey_INTERFACE_DEFINED__
  37. DEFINE_GUID(IID_ICreatePropBagOnRegKey, 0x8a674b48, 0x1f63, 0x11d3, 0xb6,0x4c, 0x00,0xc0,0x4f,0x79,0x49,0x8e);
  38. #if defined(__cplusplus) && !defined(CINTERFACE)
  39. MIDL_INTERFACE("8a674b48-1f63-11d3-b64c-00c04f79498e")
  40. ICreatePropBagOnRegKey : public IUnknown
  41. {
  42. virtual HRESULT STDMETHODCALLTYPE Create(
  43. HKEY hkey,
  44. LPCOLESTR subkey,
  45. DWORD ulOptions,
  46. DWORD samDesired,
  47. REFIID iid,
  48. LPVOID *ppBag) = 0;
  49. };
  50. #ifdef __CRT_UUID_DECL
  51. __CRT_UUID_DECL(ICreatePropBagOnRegKey, 0x8a674b48, 0x1f63, 0x11d3, 0xb6,0x4c, 0x00,0xc0,0x4f,0x79,0x49,0x8e)
  52. #endif
  53. #else
  54. typedef struct ICreatePropBagOnRegKeyVtbl {
  55. BEGIN_INTERFACE
  56. /*** IUnknown methods ***/
  57. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  58. ICreatePropBagOnRegKey *This,
  59. REFIID riid,
  60. void **ppvObject);
  61. ULONG (STDMETHODCALLTYPE *AddRef)(
  62. ICreatePropBagOnRegKey *This);
  63. ULONG (STDMETHODCALLTYPE *Release)(
  64. ICreatePropBagOnRegKey *This);
  65. /*** ICreatePropBagOnRegKey methods ***/
  66. HRESULT (STDMETHODCALLTYPE *Create)(
  67. ICreatePropBagOnRegKey *This,
  68. HKEY hkey,
  69. LPCOLESTR subkey,
  70. DWORD ulOptions,
  71. DWORD samDesired,
  72. REFIID iid,
  73. LPVOID *ppBag);
  74. END_INTERFACE
  75. } ICreatePropBagOnRegKeyVtbl;
  76. interface ICreatePropBagOnRegKey {
  77. CONST_VTBL ICreatePropBagOnRegKeyVtbl* lpVtbl;
  78. };
  79. #ifdef COBJMACROS
  80. #ifndef WIDL_C_INLINE_WRAPPERS
  81. /*** IUnknown methods ***/
  82. #define ICreatePropBagOnRegKey_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  83. #define ICreatePropBagOnRegKey_AddRef(This) (This)->lpVtbl->AddRef(This)
  84. #define ICreatePropBagOnRegKey_Release(This) (This)->lpVtbl->Release(This)
  85. /*** ICreatePropBagOnRegKey methods ***/
  86. #define ICreatePropBagOnRegKey_Create(This,hkey,subkey,ulOptions,samDesired,iid,ppBag) (This)->lpVtbl->Create(This,hkey,subkey,ulOptions,samDesired,iid,ppBag)
  87. #else
  88. /*** IUnknown methods ***/
  89. static FORCEINLINE HRESULT ICreatePropBagOnRegKey_QueryInterface(ICreatePropBagOnRegKey* This,REFIID riid,void **ppvObject) {
  90. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  91. }
  92. static FORCEINLINE ULONG ICreatePropBagOnRegKey_AddRef(ICreatePropBagOnRegKey* This) {
  93. return This->lpVtbl->AddRef(This);
  94. }
  95. static FORCEINLINE ULONG ICreatePropBagOnRegKey_Release(ICreatePropBagOnRegKey* This) {
  96. return This->lpVtbl->Release(This);
  97. }
  98. /*** ICreatePropBagOnRegKey methods ***/
  99. static FORCEINLINE HRESULT ICreatePropBagOnRegKey_Create(ICreatePropBagOnRegKey* This,HKEY hkey,LPCOLESTR subkey,DWORD ulOptions,DWORD samDesired,REFIID iid,LPVOID *ppBag) {
  100. return This->lpVtbl->Create(This,hkey,subkey,ulOptions,samDesired,iid,ppBag);
  101. }
  102. #endif
  103. #endif
  104. #endif
  105. #endif /* __ICreatePropBagOnRegKey_INTERFACE_DEFINED__ */
  106. #endif
  107. /* Begin additional prototypes for all interfaces */
  108. /* End additional prototypes */
  109. #ifdef __cplusplus
  110. }
  111. #endif
  112. #endif /* __regbag_h__ */