PartyManager::SetOption

Configures an option to fine-tune Party library functionality.

Syntax

PartyError SetOption(  
    void* object,  
    PartyOption option,  
    const void* value  
)  

Parameters

object   void*
optional

The Party library object that may be required as context for different PartyOption values.

option   PartyOption

The Party library option to configure.

value   void*
optional

A pointer to the value used to override option. If value is null, the option will be reset to its default value.

Return value

PartyError

c_partyErrorSuccess if the call succeeded or an error code otherwise.

Requirements

Header: Party.h

See also

PartyManager
PartyOption
PartyManager::GetOption