Edit

LoadStringAddr function

The LoadStringAddr function transforms a string (such as "157.54.32.45") and creates a DWORD address.

Syntax

BOOL LoadStringAddr(
         DWORD *pAddress,
   const char  *str
);

Parameters

pAddress

Pointer to a DWORD.

str

Pointer to a character string with x.x.x.x representation of an IP address (for example,127.0.0.1).

Return value

If the function is successful (the address name was found); 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