PartyDevice::GetLocal

Gets the PartyLocalDevice version of this device.

Syntax

PartyError GetLocal(  
    PartyLocalDevice** localDevice  
)  

Parameters

localDevice   PartyLocalDevice**
library-allocated output, may return nullptr

The output local version of this device object, or nullptr if this is not a local device.

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

PartyDevice