Editar

PartyLocalChatControl::GetPermissions

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Gets the voice communication relationship between the local chat control and a target chat control.

Syntax

PartyError GetPermissions(  
    const PartyChatControl* targetChatControl,  
    PartyChatPermissionOptions* chatPermissionOptions  
)  

Parameters

targetChatControl   PartyChatControl*

The target chat control.

chatPermissionOptions   PartyChatPermissionOptions*
output

The output chat permission options.

Return value

PartyError

c_partyErrorSuccess if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PartyManager::GetErrorMessage().

Requirements

Header: Party.h

See also

PartyLocalChatControl