Skip to content

Latest commit

 

History

History
126 lines (84 loc) · 3.41 KB

nf-lmalert-alert_var_data.md

File metadata and controls

126 lines (84 loc) · 3.41 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:lmalert.ALERT_VAR_DATA
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.
ALERT_VAR_DATA
ALERT_VAR_DATA macro [Network Management]
_win32_alert_var_data
lmalert/ALERT_VAR_DATA
netmgmt.alert_var_data
netmgmt\alert_var_data.htm
NetMgmt
ff71fb3d-8c01-47ac-93f2-108b1f49e2da
12/05/2018
ALERT_VAR_DATA, ALERT_VAR_DATA macro [Network Management], _win32_alert_var_data, lmalert/ALERT_VAR_DATA, netmgmt.alert_var_data
lmalert.h
Lm.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
ALERT_VAR_DATA
lmalert/ALERT_VAR_DATA
c++
APIRef
kbSyntax
HeaderDef
Lmalert.h
ALERT_VAR_DATA

ALERT_VAR_DATA macro

-description

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.

-parameters

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

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

-see-also

ADMIN_OTHER_INFO

ALERT_OTHER_INFO

Alert Functions

NetAlertRaise

NetAlertRaiseEx

Network Management Macros

Network Management Overview

PRINT_OTHER_INFO

USER_OTHER_INFO