uiviewsettingsinterop.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. /*** Autogenerated by WIDL 7.7 from include/uiviewsettingsinterop.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 __uiviewsettingsinterop_h__
  14. #define __uiviewsettingsinterop_h__
  15. /* Forward declarations */
  16. #ifndef __IUIViewSettingsInterop_FWD_DEFINED__
  17. #define __IUIViewSettingsInterop_FWD_DEFINED__
  18. typedef interface IUIViewSettingsInterop IUIViewSettingsInterop;
  19. #ifdef __cplusplus
  20. interface IUIViewSettingsInterop;
  21. #endif /* __cplusplus */
  22. #endif
  23. /* Headers for imported files */
  24. #include <inspectable.h>
  25. #ifdef __cplusplus
  26. extern "C" {
  27. #endif
  28. /*****************************************************************************
  29. * IUIViewSettingsInterop interface
  30. */
  31. #ifndef __IUIViewSettingsInterop_INTERFACE_DEFINED__
  32. #define __IUIViewSettingsInterop_INTERFACE_DEFINED__
  33. DEFINE_GUID(IID_IUIViewSettingsInterop, 0x3694dbf9, 0x8f68, 0x44be, 0x8f,0xf5, 0x19,0x5c,0x98,0xed,0xe8,0xa6);
  34. #if defined(__cplusplus) && !defined(CINTERFACE)
  35. MIDL_INTERFACE("3694dbf9-8f68-44be-8ff5-195c98ede8a6")
  36. IUIViewSettingsInterop : public IInspectable
  37. {
  38. virtual HRESULT STDMETHODCALLTYPE GetForWindow(
  39. HWND hwnd,
  40. REFIID riid,
  41. void **ppv) = 0;
  42. };
  43. #ifdef __CRT_UUID_DECL
  44. __CRT_UUID_DECL(IUIViewSettingsInterop, 0x3694dbf9, 0x8f68, 0x44be, 0x8f,0xf5, 0x19,0x5c,0x98,0xed,0xe8,0xa6)
  45. #endif
  46. #else
  47. typedef struct IUIViewSettingsInteropVtbl {
  48. BEGIN_INTERFACE
  49. /*** IUnknown methods ***/
  50. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  51. IUIViewSettingsInterop *This,
  52. REFIID riid,
  53. void **ppvObject);
  54. ULONG (STDMETHODCALLTYPE *AddRef)(
  55. IUIViewSettingsInterop *This);
  56. ULONG (STDMETHODCALLTYPE *Release)(
  57. IUIViewSettingsInterop *This);
  58. /*** IInspectable methods ***/
  59. HRESULT (STDMETHODCALLTYPE *GetIids)(
  60. IUIViewSettingsInterop *This,
  61. ULONG *iidCount,
  62. IID **iids);
  63. HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
  64. IUIViewSettingsInterop *This,
  65. HSTRING *className);
  66. HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
  67. IUIViewSettingsInterop *This,
  68. TrustLevel *trustLevel);
  69. /*** IUIViewSettingsInterop methods ***/
  70. HRESULT (STDMETHODCALLTYPE *GetForWindow)(
  71. IUIViewSettingsInterop *This,
  72. HWND hwnd,
  73. REFIID riid,
  74. void **ppv);
  75. END_INTERFACE
  76. } IUIViewSettingsInteropVtbl;
  77. interface IUIViewSettingsInterop {
  78. CONST_VTBL IUIViewSettingsInteropVtbl* lpVtbl;
  79. };
  80. #ifdef COBJMACROS
  81. #ifndef WIDL_C_INLINE_WRAPPERS
  82. /*** IUnknown methods ***/
  83. #define IUIViewSettingsInterop_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  84. #define IUIViewSettingsInterop_AddRef(This) (This)->lpVtbl->AddRef(This)
  85. #define IUIViewSettingsInterop_Release(This) (This)->lpVtbl->Release(This)
  86. /*** IInspectable methods ***/
  87. #define IUIViewSettingsInterop_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
  88. #define IUIViewSettingsInterop_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
  89. #define IUIViewSettingsInterop_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
  90. /*** IUIViewSettingsInterop methods ***/
  91. #define IUIViewSettingsInterop_GetForWindow(This,hwnd,riid,ppv) (This)->lpVtbl->GetForWindow(This,hwnd,riid,ppv)
  92. #else
  93. /*** IUnknown methods ***/
  94. static FORCEINLINE HRESULT IUIViewSettingsInterop_QueryInterface(IUIViewSettingsInterop* This,REFIID riid,void **ppvObject) {
  95. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  96. }
  97. static FORCEINLINE ULONG IUIViewSettingsInterop_AddRef(IUIViewSettingsInterop* This) {
  98. return This->lpVtbl->AddRef(This);
  99. }
  100. static FORCEINLINE ULONG IUIViewSettingsInterop_Release(IUIViewSettingsInterop* This) {
  101. return This->lpVtbl->Release(This);
  102. }
  103. /*** IInspectable methods ***/
  104. static FORCEINLINE HRESULT IUIViewSettingsInterop_GetIids(IUIViewSettingsInterop* This,ULONG *iidCount,IID **iids) {
  105. return This->lpVtbl->GetIids(This,iidCount,iids);
  106. }
  107. static FORCEINLINE HRESULT IUIViewSettingsInterop_GetRuntimeClassName(IUIViewSettingsInterop* This,HSTRING *className) {
  108. return This->lpVtbl->GetRuntimeClassName(This,className);
  109. }
  110. static FORCEINLINE HRESULT IUIViewSettingsInterop_GetTrustLevel(IUIViewSettingsInterop* This,TrustLevel *trustLevel) {
  111. return This->lpVtbl->GetTrustLevel(This,trustLevel);
  112. }
  113. /*** IUIViewSettingsInterop methods ***/
  114. static FORCEINLINE HRESULT IUIViewSettingsInterop_GetForWindow(IUIViewSettingsInterop* This,HWND hwnd,REFIID riid,void **ppv) {
  115. return This->lpVtbl->GetForWindow(This,hwnd,riid,ppv);
  116. }
  117. #endif
  118. #endif
  119. #endif
  120. #endif /* __IUIViewSettingsInterop_INTERFACE_DEFINED__ */
  121. /* Begin additional prototypes for all interfaces */
  122. ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *);
  123. unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *);
  124. unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
  125. void __RPC_USER HWND_UserFree (ULONG *, HWND *);
  126. /* End additional prototypes */
  127. #ifdef __cplusplus
  128. }
  129. #endif
  130. #endif /* __uiviewsettingsinterop_h__ */