Platform SDK: Network Management

ALERT_OTHER_INFO

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   
);

Parameters

x
Pointer to a STD_ALERT structure that was specified in a call to the NetAlertRaise function.

Return Value

The return value is a pointer to the fixed-length structure that follows the STD_ALERT structure in the alert message.

Remarks

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.

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 Macros, Alert Functions, ADMIN_OTHER_INFO, PRINT_OTHER_INFO, STD_ALERT, USER_OTHER_INFO, NetAlertRaise, ALERT_VAR_DATA