Platform SDK: Network Management |
The ALERT_VAR_DATA macro returns a pointer to the variable-length portion of an alert message. Variable-length data can follow an ADMIN_OTHER_INFO, a PRINT_OTHER_INFO, or a USER_OTHER_INFO structure.
ALERT_VAR_DATA( LPBYTE p );
The return value is a pointer to the variable-length data that follows the fixed-length structure in the alert message.
The ALERT_VAR_DATA macro is defined as follows:
#define ALERT_VAR_DATA(p) ((LPBYTE)(p) + sizeof(*p))
See NetAlertRaise and NetAlertRaiseEx for code samples that use the ALERT_VAR_DATA macro to retrieve a pointer to the variable-length data in an alert message.
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, USER_OTHER_INFO, NetAlertRaise, NetAlertRaiseEx, ALERT_OTHER_INFO