PartyManager::GetWorkMode

Retrieves the current work mode of the Party library's internal processing task associated with threadId.

Syntax

PartyError GetWorkMode(  
    PartyThreadId threadId,  
    PartyWorkMode* workMode  
)  

Parameters

threadId   PartyThreadId

A high-level categorization of the Party library's internal processing task.

workMode   PartyWorkMode*
output

The current work mode for the associated processing task.

Return value

PartyError

c_partyErrorSuccess

Requirements

Header: Party.h

See also

PartyManager
PartyManager::SetWorkMode
PartyManager::DoWork