Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 2.29 KB

nf-shellapi-netaddr_setallowtype.md

File metadata and controls

73 lines (59 loc) · 2.29 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:shellapi.NetAddr_SetAllowType
NetAddr_SetAllowType macro (shellapi.h)
Sets the network address types that a specified network address control accepts.
NetAddr_SetAllowType
NetAddr_SetAllowType macro [Windows Shell]
_shell_NetAddr_SetAllowType
shell.NetAddr_SetAllowType
shellapi/NetAddr_SetAllowType
shell\NetAddr_SetAllowType.htm
shell
2fa97abd-79c8-41ce-bd0e-75941bf4d005
12/05/2018
NetAddr_SetAllowType, NetAddr_SetAllowType macro [Windows Shell], _shell_NetAddr_SetAllowType, shell.NetAddr_SetAllowType, shellapi/NetAddr_SetAllowType
shellapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Windows
19H1
NetAddr_SetAllowType
shellapi/NetAddr_SetAllowType
c++
APIRef
kbSyntax
HeaderDef
Shellapi.h
NetAddr_SetAllowType

NetAddr_SetAllowType macro

-description

Sets the network address types that a specified network address control accepts.

-parameters

-param hwnd [in]

A handle to the network address control.

-param addrMask [in]

Specifies the network address types as one or more of the NET_STRING constants.

-remarks

The mask set is the criterion used to validate a network address in the macro NetAddr_GetAddress.

Use this macro for a network address control only. To instantiate, use the class msctls_netaddress defined in Shellapi.h. Call InitNetworkAddressControl at run time before calling this macro. This initializes the common controls library that contains the network address control.

-see-also

NetAddr_GetAllowType