| 1 |
/*** Autogenerated by WIDL 11.5 from include/windows.graphics.capture.interop.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_graphics_capture_interop_h__ |
| 17 |
#define __windows_graphics_capture_interop_h__ |
| 18 |
|
| 19 |
/* Forward declarations */ |
| 20 |
|
| 21 |
#ifndef __IGraphicsCaptureItemInterop_FWD_DEFINED__ |
| 22 |
#define __IGraphicsCaptureItemInterop_FWD_DEFINED__ |
| 23 |
typedef interface IGraphicsCaptureItemInterop IGraphicsCaptureItemInterop; |
| 24 |
#ifdef __cplusplus |
| 25 |
namespace ABI { |
| 26 |
interface IGraphicsCaptureItemInterop; |
| 27 |
} |
| 28 |
#endif /* __cplusplus */ |
| 29 |
#endif |
| 30 |
|
| 31 |
/* Headers for imported files */ |
| 32 |
|
| 33 |
#include <windows.ui.composition.h> |
| 34 |
#include <windows.graphics.capture.h> |
| 35 |
#include <sdkddkver.h> |
| 36 |
|
| 37 |
#ifdef __cplusplus |
| 38 |
extern "C" { |
| 39 |
#endif |
| 40 |
|
| 41 |
/***************************************************************************** |
| 42 |
* IGraphicsCaptureItemInterop interface |
| 43 |
*/ |
| 44 |
#ifndef __IGraphicsCaptureItemInterop_INTERFACE_DEFINED__ |
| 45 |
#define __IGraphicsCaptureItemInterop_INTERFACE_DEFINED__ |
| 46 |
|
| 47 |
DEFINE_GUID(IID_IGraphicsCaptureItemInterop, 0x3628e81b, 0x3cac, 0x4c60, 0xb7,0xf4, 0x23,0xce,0x0e,0x0c,0x33,0x56); |
| 48 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 49 |
MIDL_INTERFACE("3628e81b-3cac-4c60-b7f4-23ce0e0c3356") |
| 50 |
IGraphicsCaptureItemInterop : public IUnknown |
| 51 |
{ |
| 52 |
virtual HRESULT STDMETHODCALLTYPE CreateForWindow( |
| 53 |
HWND window, |
| 54 |
REFIID iid, |
| 55 |
void **result) = 0; |
| 56 |
|
| 57 |
virtual HRESULT STDMETHODCALLTYPE CreateForMonitor( |
| 58 |
HMONITOR monitor, |
| 59 |
REFIID iid, |
| 60 |
void **result) = 0; |
| 61 |
|
| 62 |
}; |
| 63 |
#ifdef __CRT_UUID_DECL |
| 64 |
__CRT_UUID_DECL(IGraphicsCaptureItemInterop, 0x3628e81b, 0x3cac, 0x4c60, 0xb7,0xf4, 0x23,0xce,0x0e,0x0c,0x33,0x56) |
| 65 |
#endif |
| 66 |
#else |
| 67 |
typedef struct IGraphicsCaptureItemInteropVtbl { |
| 68 |
BEGIN_INTERFACE |
| 69 |
|
| 70 |
/*** IUnknown methods ***/ |
| 71 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 72 |
IGraphicsCaptureItemInterop *This, |
| 73 |
REFIID riid, |
| 74 |
void **ppvObject); |
| 75 |
|
| 76 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 77 |
IGraphicsCaptureItemInterop *This); |
| 78 |
|
| 79 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 80 |
IGraphicsCaptureItemInterop *This); |
| 81 |
|
| 82 |
/*** IGraphicsCaptureItemInterop methods ***/ |
| 83 |
HRESULT (STDMETHODCALLTYPE *CreateForWindow)( |
| 84 |
IGraphicsCaptureItemInterop *This, |
| 85 |
HWND window, |
| 86 |
REFIID iid, |
| 87 |
void **result); |
| 88 |
|
| 89 |
HRESULT (STDMETHODCALLTYPE *CreateForMonitor)( |
| 90 |
IGraphicsCaptureItemInterop *This, |
| 91 |
HMONITOR monitor, |
| 92 |
REFIID iid, |
| 93 |
void **result); |
| 94 |
|
| 95 |
END_INTERFACE |
| 96 |
} IGraphicsCaptureItemInteropVtbl; |
| 97 |
|
| 98 |
interface IGraphicsCaptureItemInterop { |
| 99 |
CONST_VTBL IGraphicsCaptureItemInteropVtbl* lpVtbl; |
| 100 |
}; |
| 101 |
|
| 102 |
#ifdef COBJMACROS |
| 103 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 104 |
/*** IUnknown methods ***/ |
| 105 |
#define IGraphicsCaptureItemInterop_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 106 |
#define IGraphicsCaptureItemInterop_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 107 |
#define IGraphicsCaptureItemInterop_Release(This) (This)->lpVtbl->Release(This) |
| 108 |
/*** IGraphicsCaptureItemInterop methods ***/ |
| 109 |
#define IGraphicsCaptureItemInterop_CreateForWindow(This,window,iid,result) (This)->lpVtbl->CreateForWindow(This,window,iid,result) |
| 110 |
#define IGraphicsCaptureItemInterop_CreateForMonitor(This,monitor,iid,result) (This)->lpVtbl->CreateForMonitor(This,monitor,iid,result) |
| 111 |
#else |
| 112 |
/*** IUnknown methods ***/ |
| 113 |
static inline HRESULT IGraphicsCaptureItemInterop_QueryInterface(IGraphicsCaptureItemInterop* This,REFIID riid,void **ppvObject) { |
| 114 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 115 |
} |
| 116 |
static inline ULONG IGraphicsCaptureItemInterop_AddRef(IGraphicsCaptureItemInterop* This) { |
| 117 |
return This->lpVtbl->AddRef(This); |
| 118 |
} |
| 119 |
static inline ULONG IGraphicsCaptureItemInterop_Release(IGraphicsCaptureItemInterop* This) { |
| 120 |
return This->lpVtbl->Release(This); |
| 121 |
} |
| 122 |
/*** IGraphicsCaptureItemInterop methods ***/ |
| 123 |
static inline HRESULT IGraphicsCaptureItemInterop_CreateForWindow(IGraphicsCaptureItemInterop* This,HWND window,REFIID iid,void **result) { |
| 124 |
return This->lpVtbl->CreateForWindow(This,window,iid,result); |
| 125 |
} |
| 126 |
static inline HRESULT IGraphicsCaptureItemInterop_CreateForMonitor(IGraphicsCaptureItemInterop* This,HMONITOR monitor,REFIID iid,void **result) { |
| 127 |
return This->lpVtbl->CreateForMonitor(This,monitor,iid,result); |
| 128 |
} |
| 129 |
#endif |
| 130 |
#endif |
| 131 |
|
| 132 |
#endif |
| 133 |
|
| 134 |
#endif /* __IGraphicsCaptureItemInterop_INTERFACE_DEFINED__ */ |
| 135 |
|
| 136 |
/* Begin additional prototypes for all interfaces */ |
| 137 |
|
| 138 |
ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *); |
| 139 |
unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *); |
| 140 |
unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *); |
| 141 |
void __RPC_USER HWND_UserFree (ULONG *, HWND *); |
| 142 |
ULONG __RPC_USER HMONITOR_UserSize (ULONG *, ULONG, HMONITOR *); |
| 143 |
unsigned char * __RPC_USER HMONITOR_UserMarshal (ULONG *, unsigned char *, HMONITOR *); |
| 144 |
unsigned char * __RPC_USER HMONITOR_UserUnmarshal(ULONG *, unsigned char *, HMONITOR *); |
| 145 |
void __RPC_USER HMONITOR_UserFree (ULONG *, HMONITOR *); |
| 146 |
|
| 147 |
/* End additional prototypes */ |
| 148 |
|
| 149 |
#ifdef __cplusplus |
| 150 |
} |
| 151 |
#endif |
| 152 |
|
| 153 |
#endif /* __windows_graphics_capture_interop_h__ */ |