Platform SDK: Network Management

USER_OTHER_INFO

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.

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.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Unsupported.
  Header: Declared in Lmalert.h.

See Also

Network Management Overview, Network Management Structures, Alert Functions, ADMIN_OTHER_INFO, ERRLOG_OTHER_INFO, PRINT_OTHER_INFO, STD_ALERT, NetAlertRaise, NetAlertRaiseEx