PartyChatControl::GetDevice

Returns the device this chat control is associated with.

Syntax

PartyError GetDevice(  
    PartyDevice** device  
)  

Parameters

device   PartyDevice**
library-allocated output

The output device this chat control is associated with.

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

PartyChatControl