Platform SDK: Network Management |
The ALERT_OTHER_INFO macro returns a pointer to the alert-specific data in an alert message. The data follows a STD_ALERT structure, and can be an ADMIN_OTHER_INFO, a PRINT_OTHER_INFO, or a USER_OTHER_INFO structure.
ALERT_OTHER_INFO( LPBYTE x );
The return value is a pointer to the fixed-length structure that follows the STD_ALERT structure in the alert message.
The ALERT_OTHER_INFO macro is defined as follows:
#define ALERT_OTHER_INFO(x) ((LPBYTE)(x) + sizeof(STD_ALERT))
See NetAlertRaise for a code sample that uses the ALERT_OTHER_INFO macro to retrieve a pointer to the ADMIN_OTHER_INFO structure.
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98: Unsupported.
Header: Declared in Lmalert.h.
Network Management Overview, Network Management Macros, Alert Functions, ADMIN_OTHER_INFO, PRINT_OTHER_INFO, STD_ALERT, USER_OTHER_INFO, NetAlertRaise, ALERT_VAR_DATA