GetMask Method of the IFWXNetworkAddress Interface

The GetMask method retrieves the subnet mask for the IP address.

Syntax

HRESULT GetMask(
  [out]	LPSOCKADDR Mask,
  [in, out]  DWORD* MaskLength
);

Parameters

Mask

Pointer to a sockaddr structure that on return receives the subnet mask for the IP address.

MaskLength

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

Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wspfwext.idl.

DLL

Requires Wspsrv.exe.

See Also

IFWXNetworkAddress


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.