| 1 |
/*** Autogenerated by WIDL 11.5 from include/windows.media.core.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 __windows_media_core_h__ |
| 17 |
#define __windows_media_core_h__ |
| 18 |
|
| 19 |
/* Forward declarations */ |
| 20 |
|
| 21 |
#ifndef ____x_ABI_CWindows_CMedia_CCore_CIMediaSource_FWD_DEFINED__ |
| 22 |
#define ____x_ABI_CWindows_CMedia_CCore_CIMediaSource_FWD_DEFINED__ |
| 23 |
typedef interface __x_ABI_CWindows_CMedia_CCore_CIMediaSource __x_ABI_CWindows_CMedia_CCore_CIMediaSource; |
| 24 |
#ifdef __cplusplus |
| 25 |
#define __x_ABI_CWindows_CMedia_CCore_CIMediaSource ABI::Windows::Media::Core::IMediaSource |
| 26 |
namespace ABI { |
| 27 |
namespace Windows { |
| 28 |
namespace Media { |
| 29 |
namespace Core { |
| 30 |
interface IMediaSource; |
| 31 |
} |
| 32 |
} |
| 33 |
} |
| 34 |
} |
| 35 |
#endif /* __cplusplus */ |
| 36 |
#endif |
| 37 |
|
| 38 |
/* Headers for imported files */ |
| 39 |
|
| 40 |
#include <inspectable.h> |
| 41 |
#include <asyncinfo.h> |
| 42 |
#include <eventtoken.h> |
| 43 |
#include <windowscontracts.h> |
| 44 |
#include <windows.foundation.h> |
| 45 |
#include <windows.graphics.directx.direct3d11.h> |
| 46 |
#include <windows.graphics.imaging.h> |
| 47 |
#include <windows.media.h> |
| 48 |
#include <windows.media.capture.h> |
| 49 |
#include <windows.media.devices.h> |
| 50 |
#include <windows.media.effects.h> |
| 51 |
#include <windows.media.faceanalysis.h> |
| 52 |
#include <windows.media.mediaproperties.h> |
| 53 |
#include <windows.storage.h> |
| 54 |
#include <windows.storage.fileproperties.h> |
| 55 |
#include <windows.storage.streams.h> |
| 56 |
#include <windows.ui.h> |
| 57 |
|
| 58 |
#ifdef __cplusplus |
| 59 |
extern "C" { |
| 60 |
#endif |
| 61 |
|
| 62 |
#ifndef ____x_ABI_CWindows_CMedia_CCore_CIMediaSource_FWD_DEFINED__ |
| 63 |
#define ____x_ABI_CWindows_CMedia_CCore_CIMediaSource_FWD_DEFINED__ |
| 64 |
typedef interface __x_ABI_CWindows_CMedia_CCore_CIMediaSource __x_ABI_CWindows_CMedia_CCore_CIMediaSource; |
| 65 |
#ifdef __cplusplus |
| 66 |
#define __x_ABI_CWindows_CMedia_CCore_CIMediaSource ABI::Windows::Media::Core::IMediaSource |
| 67 |
namespace ABI { |
| 68 |
namespace Windows { |
| 69 |
namespace Media { |
| 70 |
namespace Core { |
| 71 |
interface IMediaSource; |
| 72 |
} |
| 73 |
} |
| 74 |
} |
| 75 |
} |
| 76 |
#endif /* __cplusplus */ |
| 77 |
#endif |
| 78 |
|
| 79 |
/***************************************************************************** |
| 80 |
* IMediaSource interface |
| 81 |
*/ |
| 82 |
#if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION) |
| 83 |
#define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000 |
| 84 |
#endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION) |
| 85 |
|
| 86 |
#if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 |
| 87 |
#ifndef ____x_ABI_CWindows_CMedia_CCore_CIMediaSource_INTERFACE_DEFINED__ |
| 88 |
#define ____x_ABI_CWindows_CMedia_CCore_CIMediaSource_INTERFACE_DEFINED__ |
| 89 |
|
| 90 |
DEFINE_GUID(IID___x_ABI_CWindows_CMedia_CCore_CIMediaSource, 0xe7bfb599, 0xa09d, 0x4c21, 0xbc,0xdf, 0x20,0xaf,0x4f,0x86,0xb3,0xd9); |
| 91 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 92 |
} /* extern "C" */ |
| 93 |
namespace ABI { |
| 94 |
namespace Windows { |
| 95 |
namespace Media { |
| 96 |
namespace Core { |
| 97 |
MIDL_INTERFACE("e7bfb599-a09d-4c21-bcdf-20af4f86b3d9") |
| 98 |
IMediaSource : public IInspectable |
| 99 |
{ |
| 100 |
}; |
| 101 |
} |
| 102 |
} |
| 103 |
} |
| 104 |
} |
| 105 |
extern "C" { |
| 106 |
#ifdef __CRT_UUID_DECL |
| 107 |
__CRT_UUID_DECL(__x_ABI_CWindows_CMedia_CCore_CIMediaSource, 0xe7bfb599, 0xa09d, 0x4c21, 0xbc,0xdf, 0x20,0xaf,0x4f,0x86,0xb3,0xd9) |
| 108 |
#endif |
| 109 |
#else |
| 110 |
typedef struct __x_ABI_CWindows_CMedia_CCore_CIMediaSourceVtbl { |
| 111 |
BEGIN_INTERFACE |
| 112 |
|
| 113 |
/*** IUnknown methods ***/ |
| 114 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 115 |
__x_ABI_CWindows_CMedia_CCore_CIMediaSource *This, |
| 116 |
REFIID riid, |
| 117 |
void **ppvObject); |
| 118 |
|
| 119 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 120 |
__x_ABI_CWindows_CMedia_CCore_CIMediaSource *This); |
| 121 |
|
| 122 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 123 |
__x_ABI_CWindows_CMedia_CCore_CIMediaSource *This); |
| 124 |
|
| 125 |
/*** IInspectable methods ***/ |
| 126 |
HRESULT (STDMETHODCALLTYPE *GetIids)( |
| 127 |
__x_ABI_CWindows_CMedia_CCore_CIMediaSource *This, |
| 128 |
ULONG *iidCount, |
| 129 |
IID **iids); |
| 130 |
|
| 131 |
HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)( |
| 132 |
__x_ABI_CWindows_CMedia_CCore_CIMediaSource *This, |
| 133 |
HSTRING *className); |
| 134 |
|
| 135 |
HRESULT (STDMETHODCALLTYPE *GetTrustLevel)( |
| 136 |
__x_ABI_CWindows_CMedia_CCore_CIMediaSource *This, |
| 137 |
TrustLevel *trustLevel); |
| 138 |
|
| 139 |
END_INTERFACE |
| 140 |
} __x_ABI_CWindows_CMedia_CCore_CIMediaSourceVtbl; |
| 141 |
|
| 142 |
interface __x_ABI_CWindows_CMedia_CCore_CIMediaSource { |
| 143 |
CONST_VTBL __x_ABI_CWindows_CMedia_CCore_CIMediaSourceVtbl* lpVtbl; |
| 144 |
}; |
| 145 |
|
| 146 |
#ifdef COBJMACROS |
| 147 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 148 |
/*** IUnknown methods ***/ |
| 149 |
#define __x_ABI_CWindows_CMedia_CCore_CIMediaSource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 150 |
#define __x_ABI_CWindows_CMedia_CCore_CIMediaSource_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 151 |
#define __x_ABI_CWindows_CMedia_CCore_CIMediaSource_Release(This) (This)->lpVtbl->Release(This) |
| 152 |
/*** IInspectable methods ***/ |
| 153 |
#define __x_ABI_CWindows_CMedia_CCore_CIMediaSource_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids) |
| 154 |
#define __x_ABI_CWindows_CMedia_CCore_CIMediaSource_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className) |
| 155 |
#define __x_ABI_CWindows_CMedia_CCore_CIMediaSource_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel) |
| 156 |
#else |
| 157 |
/*** IUnknown methods ***/ |
| 158 |
static inline HRESULT __x_ABI_CWindows_CMedia_CCore_CIMediaSource_QueryInterface(__x_ABI_CWindows_CMedia_CCore_CIMediaSource* This,REFIID riid,void **ppvObject) { |
| 159 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 160 |
} |
| 161 |
static inline ULONG __x_ABI_CWindows_CMedia_CCore_CIMediaSource_AddRef(__x_ABI_CWindows_CMedia_CCore_CIMediaSource* This) { |
| 162 |
return This->lpVtbl->AddRef(This); |
| 163 |
} |
| 164 |
static inline ULONG __x_ABI_CWindows_CMedia_CCore_CIMediaSource_Release(__x_ABI_CWindows_CMedia_CCore_CIMediaSource* This) { |
| 165 |
return This->lpVtbl->Release(This); |
| 166 |
} |
| 167 |
/*** IInspectable methods ***/ |
| 168 |
static inline HRESULT __x_ABI_CWindows_CMedia_CCore_CIMediaSource_GetIids(__x_ABI_CWindows_CMedia_CCore_CIMediaSource* This,ULONG *iidCount,IID **iids) { |
| 169 |
return This->lpVtbl->GetIids(This,iidCount,iids); |
| 170 |
} |
| 171 |
static inline HRESULT __x_ABI_CWindows_CMedia_CCore_CIMediaSource_GetRuntimeClassName(__x_ABI_CWindows_CMedia_CCore_CIMediaSource* This,HSTRING *className) { |
| 172 |
return This->lpVtbl->GetRuntimeClassName(This,className); |
| 173 |
} |
| 174 |
static inline HRESULT __x_ABI_CWindows_CMedia_CCore_CIMediaSource_GetTrustLevel(__x_ABI_CWindows_CMedia_CCore_CIMediaSource* This,TrustLevel *trustLevel) { |
| 175 |
return This->lpVtbl->GetTrustLevel(This,trustLevel); |
| 176 |
} |
| 177 |
#endif |
| 178 |
#ifdef WIDL_using_Windows_Media_Core |
| 179 |
#define IID_IMediaSource IID___x_ABI_CWindows_CMedia_CCore_CIMediaSource |
| 180 |
#define IMediaSourceVtbl __x_ABI_CWindows_CMedia_CCore_CIMediaSourceVtbl |
| 181 |
#define IMediaSource __x_ABI_CWindows_CMedia_CCore_CIMediaSource |
| 182 |
#define IMediaSource_QueryInterface __x_ABI_CWindows_CMedia_CCore_CIMediaSource_QueryInterface |
| 183 |
#define IMediaSource_AddRef __x_ABI_CWindows_CMedia_CCore_CIMediaSource_AddRef |
| 184 |
#define IMediaSource_Release __x_ABI_CWindows_CMedia_CCore_CIMediaSource_Release |
| 185 |
#define IMediaSource_GetIids __x_ABI_CWindows_CMedia_CCore_CIMediaSource_GetIids |
| 186 |
#define IMediaSource_GetRuntimeClassName __x_ABI_CWindows_CMedia_CCore_CIMediaSource_GetRuntimeClassName |
| 187 |
#define IMediaSource_GetTrustLevel __x_ABI_CWindows_CMedia_CCore_CIMediaSource_GetTrustLevel |
| 188 |
#endif /* WIDL_using_Windows_Media_Core */ |
| 189 |
#endif |
| 190 |
|
| 191 |
#endif |
| 192 |
|
| 193 |
#endif /* ____x_ABI_CWindows_CMedia_CCore_CIMediaSource_INTERFACE_DEFINED__ */ |
| 194 |
#endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */ |
| 195 |
|
| 196 |
/* Begin additional prototypes for all interfaces */ |
| 197 |
|
| 198 |
|
| 199 |
/* End additional prototypes */ |
| 200 |
|
| 201 |
#ifdef __cplusplus |
| 202 |
} |
| 203 |
#endif |
| 204 |
|
| 205 |
#endif /* __windows_media_core_h__ */ |