The IsPrimaryIpAddress method determines whether the network address is the primary IP address for the adapter.
HRESULT IsPrimaryIpAddress( BOOL* 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.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Wspfwext.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.