Compartir a través de


XblPrivacyCheckPermissionForAnonymousUserAsync

Check a single permission for class of anonymous users.

Syntax

HRESULT XblPrivacyCheckPermissionForAnonymousUserAsync(  
         XblContextHandle xblContextHandle,  
         XblPermission permissionToCheck,  
         XblAnonymousUserType userType,  
         XAsyncBlock* async  
)  

Parameters

xblContextHandle   _In_
Type: XblContextHandle

Xbox live context for the local user.

permissionToCheck   _In_
Type: XblPermission

The permission to check.

userType   _In_
Type: XblAnonymousUserType

The class of anonymous user to check permission for.

async   _In_
Type: XAsyncBlock*

The AsyncBlock for this operation.

Return value

Type: HRESULT

HRESULT return code for this API operation.

Remarks

Call XblPrivacyCheckPermissionForAnonymousUserResultSize and XblPrivacyCheckPermissionForAnonymousUserResult upon completion to get the result.

Requirements

Header: privacy_c.h

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

See also

privacy_c