Export (0) Print
Expand All
Expand Minimize

USER_OTHER_INFO structure

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.

StringMeaning
usernameThe user who created the session.
computernameThe 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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Lmalert.h (include Lm.h)

See also

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft