Freigeben über


XblPrivacyCheckPermissionAsync

Check a single permission with a single target user.

Syntax

HRESULT XblPrivacyCheckPermissionAsync(  
         XblContextHandle xblContextHandle,  
         XblPermission permissionToCheck,  
         uint64_t targetXuid,  
         XAsyncBlock* async  
)  

Parameters

xblContextHandle   _In_
Type: XblContextHandle

Xbox live context for the local user.

permissionToCheck   _In_
Type: XblPermission

The permission to check.

targetXuid   _In_
Type: uint64_t

The target user's Xuid for validation.

async   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

Call XblPrivacyCheckPermissionResultSize and XblPrivacyCheckPermissionResult upon completion to get the result.

Requirements

Header: privacy_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

privacy_c