The BUDDYINFO structure contains information about a buddy. When a communication plug-in recieves the COMPLGMSG_GETUSERINFO message it is expected to fill out the BUDDYINFO structure with the correct information that describes the currently logged in user of that plug-in.
typedef struct tagBUDDYINFO {
DWORD dwMask;
char *pszPluginName;
char *pszName;
ULONG ulId;
WORD wStatus;
} BUDDYINFO, *PBUDDYINFO, FAR *LPBUDDYINFO;
|
Members
- dwMask
- Array of flags that indicate which of the other structure members contain valid data. This member can be one or more of the following values.
Value |
Meaning |
BUDMASK_NAME |
The pszName member is valid. |
BUDMASK_ID |
The ulId member is valid. |
-
pszPluginName
-
NULL terminated string that specifies the plug-in name.
- pszName
-
NULL terminated string that describes the buddies name.
-
ulId
-
Unsigned long value that indicates the buddies user id.
-
wStatus
-
Describes the status of the buddy. This member can be one of the following.
Value |
Meaning |
BABEL_STAT_ONLINE |
The buddy is currently online. |
BABEL_STAT_OFFLINE |
The buddy is currently offline. |
BABEL_STAT_AWAY |
The buddy is currently away. |
Structure Information