NCM_GETALLOWTYPE message
Retrieves the network address types that a specified network address control accepts.
NCM_GETALLOWTYPE
wParam = 0;
lParam = 0;
Parameters
-
wParam
- Must be zero.
-
lParam
- Must be zero.
Return value
Returns the allowed network address types as one or more of the NET_STRING constants.
Remarks
The returned mask is the criterion used to validate a network address in the NCM_GETADDRESS message.
Use this message for a network address control only. To instantiate, use the class msctls_netaddress defined in Shellapi.h. Call InitNetworkAddressControl at run time before sending this message. This initializes the common controls library that contains the network address control.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
See also