IsPrimaryIpAddress Method of the IFWXNetworkAddress Interface
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
| Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
| Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
| Header | Declared in Wspfwext.idl. |
| DLL | Requires Wspsrv.exe. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010