Bewerken

Delen via


PartyXblManager::CreateLocalChatUser

Queues an asynchronous attempt to create a local chat user. Privacy and privilege information related to this user will be tracked by the helper library.

Syntax

PartyError CreateLocalChatUser(  
    uint64_t xboxUserId,  
    void* asyncIdentifier,  
    PartyXblLocalChatUser** localChatUser  
)  

Parameters

xboxUserId   uint64_t

The Xbox Live User Id associated with the local chat user.

asyncIdentifier   void*
optional

An optional, app-defined, pointer-sized context value that can be used to associate the completion state change with this call.

localChatUser   PartyXblLocalChatUser**
optional, library-allocated output

The output local chat user object.

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 GetErrorMessage().

Requirements

Header: PartyXboxLive.h

See also

PartyXblManager