TRANSFER_STATUS_STRUCT structure

Specifies or retrieves information on user's current presence status.

typedef struct _TRANSFER_STATUS_STRUCT {     BYTE iStatus;     char lpszAccount[ACCOUNT_LENGTH + 1];     char lpszStatusText[255 + 1]; } TRANSFER_STATUS_STRUCT;

Members

iStatus
Contains user's current presence status. This member can be one of the following values:
PRESENCE_STATUS_ONLINE
Indicates that the user is currently connected to the IM server and is online.
PRESENCE_STATUS_OFFLINE
Indicates that the user is not connected to the IM server.
PRESENCE_STATUS_AWAY
Indicates that the user is currently connected to the IM server but away mode is enabled on the IM client.
lpszAccount
Contains the name of user account.
lpszStatusText
Contains the away message of the user if the iStatus is set to PRESENCE_STATUS_AWAY.