共用方式為


XblPermissionDenyReasonDetails

This struct gives details about why permission is denied.

Syntax

typedef struct XblPermissionDenyReasonDetails {  
    XblPermissionDenyReason reason;  
    XblPrivilege restrictedPrivilege;  
    XblPrivacySetting restrictedPrivacySetting;  
} XblPermissionDenyReasonDetails  

Members

reason
Type: XblPermissionDenyReason

Reason why permission was denied. Additional detail maybe found in restrictedPrivilege or restrictedPrivacySetting depending on what the reason is.

restrictedPrivilege
Type: XblPrivilege

Active when the deny reason is either XblPermissionDenyReason::MissingPrivilege or XblPermissionDenyReason::PrivilegeRestrictsTarget. Unknown otherwise.

restrictedPrivacySetting
Type: XblPrivacySetting

Active when the deny reason is XblPermissionDenyReason::PrivacySettingsRestrictsTarget. Unknown otherwise.

Member of

Requirements

Header: privacy_c.h

See also

privacy_c