Compartir a través de


XblPrivacyBatchCheckPermissionAsync

Check multiple permissions with multiple target users. Each permission will be checked against each target user.

Syntax

HRESULT XblPrivacyBatchCheckPermissionAsync(  
         XblContextHandle xblContextHandle,  
         XblPermission* permissionsToCheck,  
         size_t permissionsCount,  
         uint64_t* targetXuids,  
         size_t xuidsCount,  
         XblAnonymousUserType* targetAnonymousUserTypes,  
         size_t targetAnonymousUserTypesCount,  
         XAsyncBlock* async  
)  

Parameters

xblContextHandle   _In_
Type: XblContextHandle

Xbox live context for the local user.

permissionsToCheck   _In_reads_(permissionsCount)
Type: XblPermission*

Array of permissions to check.

permissionsCount   _In_
Type: size_t

Number of entries in the permissions array.

targetXuids   _In_reads_(xuidsCount)
Type: uint64_t*

Array of target Xuids to check permissions against.

xuidsCount   _In_
Type: size_t

Number of entries in the xuids array.

targetAnonymousUserTypes   _In_reads_(targetAnonymousUserTypesCount)
Type: XblAnonymousUserType*

Array of anonymous user types to check permissions against.

targetAnonymousUserTypesCount   _In_
Type: size_t

Number of entries in the user types array.

async   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

Call XblPrivacyBatchCheckPermissionResultSize and XblPrivacyBatchCheckPermissionResult upon completion to get result.

Requirements

Header: privacy_c.h

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

See also

privacy_c