InitNetworkAddressControl function (shellapi.h)

Initializes the network address control window class.


BOOL InitNetworkAddressControl();

Return value

Type: BOOL

TRUE if the initialization succeeded; or FALSE otherwise.


The network address control looks like an edit control and offers the additional functionality of network address verification. The control uses a balloon tip to display error messages.

This function initializes class WC_NETADDRESS. If this function returns TRUE, the control can be created.


Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shellapi.h
DLL Shell32.dll