CheckGamingPrivilegeWithUI function (gamingtcui.h)

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 CheckGamingPrivilegeWithUI(
  UINT32                  privilegeId,
  HSTRING                 scope,
  HSTRING                 policy,
  HSTRING                 friendlyMessage,
  GameUICompletionRoutine completionRoutine,
  void                    *context
);

Parameters

privilegeId

Type: UINT32

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

scope

Type: HSTRING

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

policy

Type: HSTRING

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

friendlyMessage

Type: HSTRING

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

completionRoutine

Type: GameUICompletionRoutine

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

context

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

   
Target Platform Windows
Header gamingtcui.h
Library WindowsApp.lib
DLL Gamingtcui.dll