Share via


IFWXNetworkAddress::IsPrimaryIpAddress method

Applies to: desktop apps only

The IsPrimaryIpAddress method determines whether the network address is the primary IP address for the adapter.

Syntax

HRESULT IsPrimaryIpAddress(
  BOOL *pfPrimary
);

Parameters

  • pfPrimary
    Pointer to a Boolean variable that is set on return to TRUE if the network address is the primary IP address for the adapter, or to FALSE if the network address is not the primary IP address for the adapter.

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

IFWXNetworkAddress

 

 

Build date: 7/12/2010