Redigera

PartyManager::SetOption

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Configures an option to fine-tune Party library functionality.

Syntax

static 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