ADMIN_OTHER_INFO structure (lmalert.h)

The ADMIN_OTHER_INFO structure contains error message information. The NetAlertRaise and NetAlertRaiseEx functions use the ADMIN_OTHER_INFO structure to specify information when raising an administrator's interrupting message.

Syntax

typedef struct _ADMIN_OTHER_INFO {
  DWORD alrtad_errcode;
  DWORD alrtad_numstrings;
} ADMIN_OTHER_INFO, *PADMIN_OTHER_INFO, *LPADMIN_OTHER_INFO;

Members

alrtad_errcode

Specifies the error code for the new message written to the message log.

alrtad_numstrings

Specifies the number (0-9) of consecutive Unicode strings written to the message log.

Remarks

Variable-length data follows the ADMIN_OTHER_INFO structure in the alert message buffer if you specify one or more strings in the alrtad_numstrings member. The calling application must allocate and free the memory for all structures and variable-length data in an alert message buffer.

See NetAlertRaise and NetAlertRaiseEx for code samples that demonstrate how to raise an administrative 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

Alert Functions

ERRLOG_OTHER_INFO

NetAlertRaise

NetAlertRaiseEx

Network Management Overview

Network Management Structures

PRINT_OTHER_INFO

STD_ALERT

USER_OTHER_INFO