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

Parameters

[in] privilegeId

Type: UINT32

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

[in] scope

Type: HSTRING

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

[in] policy

Type: HSTRING

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

[in, optional] friendlyMessage

Type: HSTRING

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

[in] completionRoutine

Type: GameUICompletionRoutine

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

[in, optional] 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

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