IFWXNetworkAddress::GetMask method
Applies to: desktop apps only
The GetMask method retrieves the subnet mask for the IP address.
Syntax
HRESULT GetMask(
[out] LPSOCKADDR Mask,
[in, out] DWORD *MaskLength
);
Parameters
Mask [out]
Pointer to a sockaddr structure that on return receives the subnet mask for the IP address.MaskLength [in, out]
Pointer to a variable that specifies the length, in bytes, of the structure pointed to by the Mask parameter. On return, MaskLength receives the actual size, in bytes, of the subnet mask returned in the Mask parameter.
Return value
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
Header |
Wspfwext.idl |
DLL |
Wspsrv.exe |
See also
Build date: 7/12/2010