LINEAGENTSTATUS  8EKVOG

typedef struct lineagentstatus_tag { 

    DWORD  dwTotalSize;

    DWORD  dwNeededSize;

    DWORD  dwUsedSize;

 

    DWORD  dwNumEntries;

    DWORD  dwGroupListSize;

    DWORD  dwGroupListOffset;

 

    DWORD  dwState;

    DWORD  dwNextState;

    DWORD  dwActivityID;

    DWORD  dwActivitySize;

    DWORD  dwActivityOffset;

 

    DWORD  dwAgentFeatures;

    DWORD  dwValidStates;

    DWORD  dwValidNextStates;

} LINEAGENTSTATUS, FAR *LPLINEAGENTSTATUS;

 

Members

dwNumEntries

The number of LINEAGENTGROUPENTRYAW9NX6 structures that appear in the GroupList array. The value is 0 if no agent is logged in on the address.

dwGroupListSize

dwGroupListOffset

Total size in bytes and offset from the beginning of LINEAGENTSTATUS of an array of LINEAGENTGROUPENTRY elements. The size will be dwNumEntries times SIZEOF (LINEAGENTGROUPENTRY). The array contains groups into which the agent is currently logged in on the address.

dwState

The current state of the agent. One of the LINEAGENTSTATE_ constants.

dwNextState

The state into which the agent will automatically be placed when the current call completes. One of the LINEAGENTSTATE_ constants.

dwActivityID

The ID of the current agent activity.

dwActivitySize

dwActivityOffset

Size in bytes and offset from the beginning of LINEAGENTSTATUS of a null-terminated string specifying the current agent activity.

dwAgentFeatures

The agent-related features available at the time the status was obtained, using the LINEAGENTFEATURE_ constants.

dwValidStates

The agent states which could be selected, at this point in time, using lineSetAgentState_NYS2N. Consists of one or more of the LINEAGENTSTATE_ constants.

dwValidNextStates

The next agent states which could be selected, at this point in time, using lineSetAgentState. Consists of one or more of the LINEAGENTSTATE_ constants.

 

See Also

LINEAGENTGROUPENTRY, lineSetAgentState