ALERT_VAR_DATA macro (lmalert.h)

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.

Syntax

void ALERT_VAR_DATA(
   p
);

Parameters

p

Pointer to an ADMIN_OTHER_INFO, a PRINT_OTHER_INFO, or a USER_OTHER_INFO structure that was specified in a call to the NetAlertRaise function or the NetAlertRaiseEx function.

Return value

None

Remarks

The ALERT_VAR_DATA macro is defined as follows:

#include <windows.h>

#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.

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_OTHER_INFO

Alert Functions

NetAlertRaise

NetAlertRaiseEx

Network Management Macros

Network Management Overview

PRINT_OTHER_INFO

USER_OTHER_INFO