| 1 | /*** Autogenerated by WIDL 11.6 from include/systemmediatransportcontrolsinterop.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 __systemmediatransportcontrolsinterop_h__ |
| 17 | #define __systemmediatransportcontrolsinterop_h__ |
| 18 | |
| 19 | /* Forward declarations */ |
| 20 | |
| 21 | #ifndef __ISystemMediaTransportControlsInterop_FWD_DEFINED__ |
| 22 | #define __ISystemMediaTransportControlsInterop_FWD_DEFINED__ |
| 23 | typedef interface ISystemMediaTransportControlsInterop ISystemMediaTransportControlsInterop; |
| 24 | #ifdef __cplusplus |
| 25 | interface ISystemMediaTransportControlsInterop; |
| 26 | #endif /* __cplusplus */ |
| 27 | #endif |
| 28 | |
| 29 | /* Headers for imported files */ |
| 30 | |
| 31 | #include <inspectable.h> |
| 32 | |
| 33 | #ifdef __cplusplus |
| 34 | extern "C" { |
| 35 | #endif |
| 36 | |
| 37 | /***************************************************************************** |
| 38 | * ISystemMediaTransportControlsInterop interface |
| 39 | */ |
| 40 | #ifndef __ISystemMediaTransportControlsInterop_INTERFACE_DEFINED__ |
| 41 | #define __ISystemMediaTransportControlsInterop_INTERFACE_DEFINED__ |
| 42 | |
| 43 | DEFINE_GUID(IID_ISystemMediaTransportControlsInterop, 0xddb0472d, 0xc911, 0x4a1f, 0x86,0xd9, 0xdc,0x3d,0x71,0xa9,0x5f,0x5a); |
| 44 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 45 | MIDL_INTERFACE("ddb0472d-c911-4a1f-86d9-dc3d71a95f5a") |
| 46 | ISystemMediaTransportControlsInterop : public IInspectable |
| 47 | { |
| 48 | virtual HRESULT STDMETHODCALLTYPE GetForWindow( |
| 49 | HWND appWindow, |
| 50 | REFIID riid, |
| 51 | void **mediaTransportControl) = 0; |
| 52 | |
| 53 | }; |
| 54 | #ifdef __CRT_UUID_DECL |
| 55 | __CRT_UUID_DECL(ISystemMediaTransportControlsInterop, 0xddb0472d, 0xc911, 0x4a1f, 0x86,0xd9, 0xdc,0x3d,0x71,0xa9,0x5f,0x5a) |
| 56 | #endif |
| 57 | #else |
| 58 | typedef struct ISystemMediaTransportControlsInteropVtbl { |
| 59 | BEGIN_INTERFACE |
| 60 | |
| 61 | /*** IUnknown methods ***/ |
| 62 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 63 | ISystemMediaTransportControlsInterop *This, |
| 64 | REFIID riid, |
| 65 | void **ppvObject); |
| 66 | |
| 67 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 68 | ISystemMediaTransportControlsInterop *This); |
| 69 | |
| 70 | ULONG (STDMETHODCALLTYPE *Release)( |
| 71 | ISystemMediaTransportControlsInterop *This); |
| 72 | |
| 73 | /*** IInspectable methods ***/ |
| 74 | HRESULT (STDMETHODCALLTYPE *GetIids)( |
| 75 | ISystemMediaTransportControlsInterop *This, |
| 76 | ULONG *iidCount, |
| 77 | IID **iids); |
| 78 | |
| 79 | HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)( |
| 80 | ISystemMediaTransportControlsInterop *This, |
| 81 | HSTRING *className); |
| 82 | |
| 83 | HRESULT (STDMETHODCALLTYPE *GetTrustLevel)( |
| 84 | ISystemMediaTransportControlsInterop *This, |
| 85 | TrustLevel *trustLevel); |
| 86 | |
| 87 | /*** ISystemMediaTransportControlsInterop methods ***/ |
| 88 | HRESULT (STDMETHODCALLTYPE *GetForWindow)( |
| 89 | ISystemMediaTransportControlsInterop *This, |
| 90 | HWND appWindow, |
| 91 | REFIID riid, |
| 92 | void **mediaTransportControl); |
| 93 | |
| 94 | END_INTERFACE |
| 95 | } ISystemMediaTransportControlsInteropVtbl; |
| 96 | |
| 97 | interface ISystemMediaTransportControlsInterop { |
| 98 | CONST_VTBL ISystemMediaTransportControlsInteropVtbl* lpVtbl; |
| 99 | }; |
| 100 | |
| 101 | #ifdef COBJMACROS |
| 102 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 103 | /*** IUnknown methods ***/ |
| 104 | #define ISystemMediaTransportControlsInterop_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 105 | #define ISystemMediaTransportControlsInterop_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 106 | #define ISystemMediaTransportControlsInterop_Release(This) (This)->lpVtbl->Release(This) |
| 107 | /*** IInspectable methods ***/ |
| 108 | #define ISystemMediaTransportControlsInterop_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids) |
| 109 | #define ISystemMediaTransportControlsInterop_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className) |
| 110 | #define ISystemMediaTransportControlsInterop_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel) |
| 111 | /*** ISystemMediaTransportControlsInterop methods ***/ |
| 112 | #define ISystemMediaTransportControlsInterop_GetForWindow(This,appWindow,riid,mediaTransportControl) (This)->lpVtbl->GetForWindow(This,appWindow,riid,mediaTransportControl) |
| 113 | #else |
| 114 | /*** IUnknown methods ***/ |
| 115 | static inline HRESULT ISystemMediaTransportControlsInterop_QueryInterface(ISystemMediaTransportControlsInterop* This,REFIID riid,void **ppvObject) { |
| 116 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 117 | } |
| 118 | static inline ULONG ISystemMediaTransportControlsInterop_AddRef(ISystemMediaTransportControlsInterop* This) { |
| 119 | return This->lpVtbl->AddRef(This); |
| 120 | } |
| 121 | static inline ULONG ISystemMediaTransportControlsInterop_Release(ISystemMediaTransportControlsInterop* This) { |
| 122 | return This->lpVtbl->Release(This); |
| 123 | } |
| 124 | /*** IInspectable methods ***/ |
| 125 | static inline HRESULT ISystemMediaTransportControlsInterop_GetIids(ISystemMediaTransportControlsInterop* This,ULONG *iidCount,IID **iids) { |
| 126 | return This->lpVtbl->GetIids(This,iidCount,iids); |
| 127 | } |
| 128 | static inline HRESULT ISystemMediaTransportControlsInterop_GetRuntimeClassName(ISystemMediaTransportControlsInterop* This,HSTRING *className) { |
| 129 | return This->lpVtbl->GetRuntimeClassName(This,className); |
| 130 | } |
| 131 | static inline HRESULT ISystemMediaTransportControlsInterop_GetTrustLevel(ISystemMediaTransportControlsInterop* This,TrustLevel *trustLevel) { |
| 132 | return This->lpVtbl->GetTrustLevel(This,trustLevel); |
| 133 | } |
| 134 | /*** ISystemMediaTransportControlsInterop methods ***/ |
| 135 | static inline HRESULT ISystemMediaTransportControlsInterop_GetForWindow(ISystemMediaTransportControlsInterop* This,HWND appWindow,REFIID riid,void **mediaTransportControl) { |
| 136 | return This->lpVtbl->GetForWindow(This,appWindow,riid,mediaTransportControl); |
| 137 | } |
| 138 | #endif |
| 139 | #endif |
| 140 | |
| 141 | #endif |
| 142 | |
| 143 | |
| 144 | #endif /* __ISystemMediaTransportControlsInterop_INTERFACE_DEFINED__ */ |
| 145 | |
| 146 | /* Begin additional prototypes for all interfaces */ |
| 147 | |
| 148 | ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); |
| 149 | unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); |
| 150 | unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); |
| 151 | void __RPC_USER HWND_UserFree (ULONG *, HWND *); |
| 152 | |
| 153 | /* End additional prototypes */ |
| 154 | |
| 155 | #ifdef __cplusplus |
| 156 | } |
| 157 | #endif |
| 158 | |
| 159 | #endif /* __systemmediatransportcontrolsinterop_h__ */ |