ALERT_OTHER_INFO macro (lmalert.h)

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

void ALERT_OTHER_INFO(
   x
);

Parameters

x

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

Return value

None

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header lmalert.h (include Lm.h)

See also

ADMIN_OTHER_INFO

ALERT_VAR_DATA

Alert Functions

NetAlertRaise

Network Management Macros

Network Management Overview

PRINT_OTHER_INFO

STD_ALERT

USER_OTHER_INFO