PartyNetwork::ConnectChatControl
Connects the local chat control to the network.
Syntax
PartyError ConnectChatControl(
PartyLocalChatControl* chatControl,
void* asyncIdentifier
)
Parameters
chatControl
PartyLocalChatControl*
The chat control to connect to this network.
asyncIdentifier
void*
optional
An optional, app-defined, pointer-sized context value that can be used to associate the completion state change with this call.
Return value
PartyError
c_partyErrorSuccess
if the asynchronous operation to connect the chat control began, or an error code otherwise. If this method fails, no related state changes will be generated. The human-readable form of the error code can be retrieved via PartyManager::GetErrorMessage().
Remarks
On successful return, this method invalidates the memory for any array previously returned by GetChatControls() or PartyChatControl::GetNetworks() for chatControl
, as it synchronously updates those arrays. PartyManager::StartProcessingStateChanges() also invalidates the memory for those arrays.
Requirements
Header: Party.h
See also
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de