ALERT_OTHER_INFO macro

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.

Syntax


LPBYTE 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:


#include <windows.h>

#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

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft