CheckGamingPrivilegeWithUI function

Do not use. This API is only supported for Xbox developers.

To learn more about becoming a Xbox developer, see Developing Games for Xbox One and Windows 10.

Syntax


HRESULT WINAPI CheckGamingPrivilegeWithUI(
  _In_     UINT32                  privilegeId,
  _In_     HSTRING                 scope,
  _In_     HSTRING                 policy,
  _In_opt_ HSTRING                 friendlyMessage,
  _In_     GameUICompletionRoutine completionRoutine,
  _In_opt_ void                    *context
);

Parameters

privilegeId [in]

Type: UINT32

Do not use. This API is only supported for Xbox developers.

scope [in]

Type: HSTRING

Do not use. This API is only supported for Xbox developers.

policy [in]

Type: HSTRING

Do not use. This API is only supported for Xbox developers.

friendlyMessage [in, optional]

Type: HSTRING

Do not use. This API is only supported for Xbox developers.

completionRoutine [in]

Type: GameUICompletionRoutine

Do not use. This API is only supported for Xbox developers.

context [in, optional]

Type: void*

Do not use. This API is only supported for Xbox developers.

Return value

Type: HRESULT

Do not use. This API is only supported for Xbox developers.

Requirements

Header

Gamingtcui.h

Library

WindowsApp.lib

DLL

Gamingtcui.dll

 

 

Show: