USER_OTHER_INFO structure (lmalert.h)
The USER_OTHER_INFO structure contains user error code information. The NetAlertRaise and NetAlertRaiseEx functions use the USER_OTHER_INFO structure to specify information about an event or condition of interest to a user.
Syntax
typedef struct _USER_OTHER_INFO {
DWORD alrtus_errcode;
DWORD alrtus_numstrings;
} USER_OTHER_INFO, *PUSER_OTHER_INFO, *LPUSER_OTHER_INFO;
Members
alrtus_errcode
Specifies the error code for the new message in the message log.
alrtus_numstrings
Specifies the number (0-9) of consecutive Unicode strings in the message log.
Remarks
Additional variable-length data follows the USER_OTHER_INFO structure in the alert message buffer. The information is in the form of contiguous null-terminated character strings, as follows.
String | Meaning |
---|---|
username | The user who created the session. |
computername | The computer that created the session. |
The calling application must allocate and free the memory for all structures and variable-length data in an alert message buffer.
See NetAlertRaiseEx for a code sample that demonstrates how to raise a user alert.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | lmalert.h (include Lm.h) |