LoadDWORD function

The LoadDWORD function is called by the monitor to set a DWORD variable with a value taken from an HTML configuration string variable.

Syntax

BOOL LoadDWORD(
  _In_ const char  *pConfig,
  _In_ const char  *pVarName,
  _In_       DWORD *pValue
);

Parameters

pConfig [in]

Pointer to the HTML configuration string passed to the monitor by the IMonitor::DoConfigure method.

pVarName [in]

Pointer to the name of the variable in the configuration string.

pValue [in]

Pointer to the DWORD variable that is set to the value of the configuration string variable.

Return value

If the function is successful (if the variable name was found and had a non-zero-length string), the DWORD is inserted, and the return value is TRUE.

If the function is unsuccessful, the return value is FALSE.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h
Library
Nmapi.lib
DLL
Nmapi.dll