| 1 |
/*** Autogenerated by WIDL 11.5 from include/windows.gaming.ui.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_gaming_ui_h__ |
| 17 |
#define __windows_gaming_ui_h__ |
| 18 |
|
| 19 |
/* Forward declarations */ |
| 20 |
|
| 21 |
#ifndef ____x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_FWD_DEFINED__ |
| 22 |
#define ____x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_FWD_DEFINED__ |
| 23 |
typedef interface __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics; |
| 24 |
#ifdef __cplusplus |
| 25 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics ABI::Windows::Gaming::UI::IGameBarStatics |
| 26 |
namespace ABI { |
| 27 |
namespace Windows { |
| 28 |
namespace Gaming { |
| 29 |
namespace UI { |
| 30 |
interface IGameBarStatics; |
| 31 |
} |
| 32 |
} |
| 33 |
} |
| 34 |
} |
| 35 |
#endif /* __cplusplus */ |
| 36 |
#endif |
| 37 |
|
| 38 |
#ifndef ____x_ABI_CWindows_CGaming_CUI_CGameBar_FWD_DEFINED__ |
| 39 |
#define ____x_ABI_CWindows_CGaming_CUI_CGameBar_FWD_DEFINED__ |
| 40 |
#ifdef __cplusplus |
| 41 |
namespace ABI { |
| 42 |
namespace Windows { |
| 43 |
namespace Gaming { |
| 44 |
namespace UI { |
| 45 |
class GameBar; |
| 46 |
} |
| 47 |
} |
| 48 |
} |
| 49 |
} |
| 50 |
#else |
| 51 |
typedef struct __x_ABI_CWindows_CGaming_CUI_CGameBar __x_ABI_CWindows_CGaming_CUI_CGameBar; |
| 52 |
#endif /* defined __cplusplus */ |
| 53 |
#endif /* defined ____x_ABI_CWindows_CGaming_CUI_CGameBar_FWD_DEFINED__ */ |
| 54 |
|
| 55 |
/* Headers for imported files */ |
| 56 |
|
| 57 |
#include <inspectable.h> |
| 58 |
#include <eventtoken.h> |
| 59 |
#include <windowscontracts.h> |
| 60 |
#include <windows.foundation.h> |
| 61 |
|
| 62 |
#ifdef __cplusplus |
| 63 |
extern "C" { |
| 64 |
#endif |
| 65 |
|
| 66 |
/***************************************************************************** |
| 67 |
* IGameBarStatics interface |
| 68 |
*/ |
| 69 |
#if !defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION) |
| 70 |
#define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION 0xe0000 |
| 71 |
#endif // defined(WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION) |
| 72 |
|
| 73 |
#if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x20000 |
| 74 |
#ifndef ____x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_INTERFACE_DEFINED__ |
| 75 |
#define ____x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_INTERFACE_DEFINED__ |
| 76 |
|
| 77 |
DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CUI_CIGameBarStatics, 0x1db9a292, 0xcc78, 0x4173, 0xbe,0x45, 0xb6,0x1e,0x67,0x28,0x3e,0xa7); |
| 78 |
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 79 |
} /* extern "C" */ |
| 80 |
namespace ABI { |
| 81 |
namespace Windows { |
| 82 |
namespace Gaming { |
| 83 |
namespace UI { |
| 84 |
MIDL_INTERFACE("1db9a292-cc78-4173-be45-b61e67283ea7") |
| 85 |
IGameBarStatics : public IInspectable |
| 86 |
{ |
| 87 |
virtual HRESULT STDMETHODCALLTYPE add_VisibilityChanged( |
| 88 |
ABI::Windows::Foundation::IEventHandler<IInspectable* > *handler, |
| 89 |
EventRegistrationToken *token) = 0; |
| 90 |
|
| 91 |
virtual HRESULT STDMETHODCALLTYPE remove_VisibilityChanged( |
| 92 |
EventRegistrationToken token) = 0; |
| 93 |
|
| 94 |
virtual HRESULT STDMETHODCALLTYPE add_IsInputRedirectedChanged( |
| 95 |
ABI::Windows::Foundation::IEventHandler<IInspectable* > *handler, |
| 96 |
EventRegistrationToken *token) = 0; |
| 97 |
|
| 98 |
virtual HRESULT STDMETHODCALLTYPE remove_IsInputRedirectedChanged( |
| 99 |
EventRegistrationToken token) = 0; |
| 100 |
|
| 101 |
virtual HRESULT STDMETHODCALLTYPE get_Visible( |
| 102 |
boolean *value) = 0; |
| 103 |
|
| 104 |
virtual HRESULT STDMETHODCALLTYPE get_IsInputRedirected( |
| 105 |
boolean *value) = 0; |
| 106 |
|
| 107 |
}; |
| 108 |
} |
| 109 |
} |
| 110 |
} |
| 111 |
} |
| 112 |
extern "C" { |
| 113 |
#ifdef __CRT_UUID_DECL |
| 114 |
__CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics, 0x1db9a292, 0xcc78, 0x4173, 0xbe,0x45, 0xb6,0x1e,0x67,0x28,0x3e,0xa7) |
| 115 |
#endif |
| 116 |
#else |
| 117 |
typedef struct __x_ABI_CWindows_CGaming_CUI_CIGameBarStaticsVtbl { |
| 118 |
BEGIN_INTERFACE |
| 119 |
|
| 120 |
/*** IUnknown methods ***/ |
| 121 |
HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 122 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This, |
| 123 |
REFIID riid, |
| 124 |
void **ppvObject); |
| 125 |
|
| 126 |
ULONG (STDMETHODCALLTYPE *AddRef)( |
| 127 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This); |
| 128 |
|
| 129 |
ULONG (STDMETHODCALLTYPE *Release)( |
| 130 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This); |
| 131 |
|
| 132 |
/*** IInspectable methods ***/ |
| 133 |
HRESULT (STDMETHODCALLTYPE *GetIids)( |
| 134 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This, |
| 135 |
ULONG *iidCount, |
| 136 |
IID **iids); |
| 137 |
|
| 138 |
HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)( |
| 139 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This, |
| 140 |
HSTRING *className); |
| 141 |
|
| 142 |
HRESULT (STDMETHODCALLTYPE *GetTrustLevel)( |
| 143 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This, |
| 144 |
TrustLevel *trustLevel); |
| 145 |
|
| 146 |
/*** IGameBarStatics methods ***/ |
| 147 |
HRESULT (STDMETHODCALLTYPE *add_VisibilityChanged)( |
| 148 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This, |
| 149 |
__FIEventHandler_1_IInspectable *handler, |
| 150 |
EventRegistrationToken *token); |
| 151 |
|
| 152 |
HRESULT (STDMETHODCALLTYPE *remove_VisibilityChanged)( |
| 153 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This, |
| 154 |
EventRegistrationToken token); |
| 155 |
|
| 156 |
HRESULT (STDMETHODCALLTYPE *add_IsInputRedirectedChanged)( |
| 157 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This, |
| 158 |
__FIEventHandler_1_IInspectable *handler, |
| 159 |
EventRegistrationToken *token); |
| 160 |
|
| 161 |
HRESULT (STDMETHODCALLTYPE *remove_IsInputRedirectedChanged)( |
| 162 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This, |
| 163 |
EventRegistrationToken token); |
| 164 |
|
| 165 |
HRESULT (STDMETHODCALLTYPE *get_Visible)( |
| 166 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This, |
| 167 |
boolean *value); |
| 168 |
|
| 169 |
HRESULT (STDMETHODCALLTYPE *get_IsInputRedirected)( |
| 170 |
__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics *This, |
| 171 |
boolean *value); |
| 172 |
|
| 173 |
END_INTERFACE |
| 174 |
} __x_ABI_CWindows_CGaming_CUI_CIGameBarStaticsVtbl; |
| 175 |
|
| 176 |
interface __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics { |
| 177 |
CONST_VTBL __x_ABI_CWindows_CGaming_CUI_CIGameBarStaticsVtbl* lpVtbl; |
| 178 |
}; |
| 179 |
|
| 180 |
#ifdef COBJMACROS |
| 181 |
#ifndef WIDL_C_INLINE_WRAPPERS |
| 182 |
/*** IUnknown methods ***/ |
| 183 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 184 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 185 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_Release(This) (This)->lpVtbl->Release(This) |
| 186 |
/*** IInspectable methods ***/ |
| 187 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids) |
| 188 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className) |
| 189 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel) |
| 190 |
/*** IGameBarStatics methods ***/ |
| 191 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_add_VisibilityChanged(This,handler,token) (This)->lpVtbl->add_VisibilityChanged(This,handler,token) |
| 192 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_remove_VisibilityChanged(This,token) (This)->lpVtbl->remove_VisibilityChanged(This,token) |
| 193 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_add_IsInputRedirectedChanged(This,handler,token) (This)->lpVtbl->add_IsInputRedirectedChanged(This,handler,token) |
| 194 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_remove_IsInputRedirectedChanged(This,token) (This)->lpVtbl->remove_IsInputRedirectedChanged(This,token) |
| 195 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_get_Visible(This,value) (This)->lpVtbl->get_Visible(This,value) |
| 196 |
#define __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_get_IsInputRedirected(This,value) (This)->lpVtbl->get_IsInputRedirected(This,value) |
| 197 |
#else |
| 198 |
/*** IUnknown methods ***/ |
| 199 |
static inline HRESULT __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_QueryInterface(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This,REFIID riid,void **ppvObject) { |
| 200 |
return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 201 |
} |
| 202 |
static inline ULONG __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_AddRef(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This) { |
| 203 |
return This->lpVtbl->AddRef(This); |
| 204 |
} |
| 205 |
static inline ULONG __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_Release(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This) { |
| 206 |
return This->lpVtbl->Release(This); |
| 207 |
} |
| 208 |
/*** IInspectable methods ***/ |
| 209 |
static inline HRESULT __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_GetIids(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This,ULONG *iidCount,IID **iids) { |
| 210 |
return This->lpVtbl->GetIids(This,iidCount,iids); |
| 211 |
} |
| 212 |
static inline HRESULT __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This,HSTRING *className) { |
| 213 |
return This->lpVtbl->GetRuntimeClassName(This,className); |
| 214 |
} |
| 215 |
static inline HRESULT __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_GetTrustLevel(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This,TrustLevel *trustLevel) { |
| 216 |
return This->lpVtbl->GetTrustLevel(This,trustLevel); |
| 217 |
} |
| 218 |
/*** IGameBarStatics methods ***/ |
| 219 |
static inline HRESULT __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_add_VisibilityChanged(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This,__FIEventHandler_1_IInspectable *handler,EventRegistrationToken *token) { |
| 220 |
return This->lpVtbl->add_VisibilityChanged(This,handler,token); |
| 221 |
} |
| 222 |
static inline HRESULT __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_remove_VisibilityChanged(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This,EventRegistrationToken token) { |
| 223 |
return This->lpVtbl->remove_VisibilityChanged(This,token); |
| 224 |
} |
| 225 |
static inline HRESULT __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_add_IsInputRedirectedChanged(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This,__FIEventHandler_1_IInspectable *handler,EventRegistrationToken *token) { |
| 226 |
return This->lpVtbl->add_IsInputRedirectedChanged(This,handler,token); |
| 227 |
} |
| 228 |
static inline HRESULT __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_remove_IsInputRedirectedChanged(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This,EventRegistrationToken token) { |
| 229 |
return This->lpVtbl->remove_IsInputRedirectedChanged(This,token); |
| 230 |
} |
| 231 |
static inline HRESULT __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_get_Visible(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This,boolean *value) { |
| 232 |
return This->lpVtbl->get_Visible(This,value); |
| 233 |
} |
| 234 |
static inline HRESULT __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_get_IsInputRedirected(__x_ABI_CWindows_CGaming_CUI_CIGameBarStatics* This,boolean *value) { |
| 235 |
return This->lpVtbl->get_IsInputRedirected(This,value); |
| 236 |
} |
| 237 |
#endif |
| 238 |
#ifdef WIDL_using_Windows_Gaming_UI |
| 239 |
#define IID_IGameBarStatics IID___x_ABI_CWindows_CGaming_CUI_CIGameBarStatics |
| 240 |
#define IGameBarStaticsVtbl __x_ABI_CWindows_CGaming_CUI_CIGameBarStaticsVtbl |
| 241 |
#define IGameBarStatics __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics |
| 242 |
#define IGameBarStatics_QueryInterface __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_QueryInterface |
| 243 |
#define IGameBarStatics_AddRef __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_AddRef |
| 244 |
#define IGameBarStatics_Release __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_Release |
| 245 |
#define IGameBarStatics_GetIids __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_GetIids |
| 246 |
#define IGameBarStatics_GetRuntimeClassName __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_GetRuntimeClassName |
| 247 |
#define IGameBarStatics_GetTrustLevel __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_GetTrustLevel |
| 248 |
#define IGameBarStatics_add_VisibilityChanged __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_add_VisibilityChanged |
| 249 |
#define IGameBarStatics_remove_VisibilityChanged __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_remove_VisibilityChanged |
| 250 |
#define IGameBarStatics_add_IsInputRedirectedChanged __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_add_IsInputRedirectedChanged |
| 251 |
#define IGameBarStatics_remove_IsInputRedirectedChanged __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_remove_IsInputRedirectedChanged |
| 252 |
#define IGameBarStatics_get_Visible __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_get_Visible |
| 253 |
#define IGameBarStatics_get_IsInputRedirected __x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_get_IsInputRedirected |
| 254 |
#endif /* WIDL_using_Windows_Gaming_UI */ |
| 255 |
#endif |
| 256 |
|
| 257 |
#endif |
| 258 |
|
| 259 |
#endif /* ____x_ABI_CWindows_CGaming_CUI_CIGameBarStatics_INTERFACE_DEFINED__ */ |
| 260 |
#endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x20000 */ |
| 261 |
|
| 262 |
/* |
| 263 |
* Class Windows.Gaming.UI.GameBar |
| 264 |
*/ |
| 265 |
#if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x20000 |
| 266 |
#ifndef RUNTIMECLASS_Windows_Gaming_UI_GameBar_DEFINED |
| 267 |
#define RUNTIMECLASS_Windows_Gaming_UI_GameBar_DEFINED |
| 268 |
#if !defined(_MSC_VER) && !defined(__MINGW32__) |
| 269 |
static const WCHAR RuntimeClass_Windows_Gaming_UI_GameBar[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','U','I','.','G','a','m','e','B','a','r',0}; |
| 270 |
#elif defined(__GNUC__) && !defined(__cplusplus) |
| 271 |
const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_UI_GameBar[] = L"Windows.Gaming.UI.GameBar"; |
| 272 |
#else |
| 273 |
extern const DECLSPEC_SELECTANY WCHAR RuntimeClass_Windows_Gaming_UI_GameBar[] = {'W','i','n','d','o','w','s','.','G','a','m','i','n','g','.','U','I','.','G','a','m','e','B','a','r',0}; |
| 274 |
#endif |
| 275 |
#endif /* RUNTIMECLASS_Windows_Gaming_UI_GameBar_DEFINED */ |
| 276 |
#endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x20000 */ |
| 277 |
|
| 278 |
/* Begin additional prototypes for all interfaces */ |
| 279 |
|
| 280 |
|
| 281 |
/* End additional prototypes */ |
| 282 |
|
| 283 |
#ifdef __cplusplus |
| 284 |
} |
| 285 |
#endif |
| 286 |
|
| 287 |
#endif /* __windows_gaming_ui_h__ */ |