Skip to content

Latest commit

 

History

History
176 lines (148 loc) · 4.45 KB

nf-netcon-inetsharingportmappingprops-get_targetipaddress.md

File metadata and controls

176 lines (148 loc) · 4.45 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:netcon.INetSharingPortMappingProps.get_TargetIPAddress
INetSharingPortMappingProps::get_TargetIPAddress (netcon.h)
The get_TargetIPAddress method retrieves the IP address of the target computer for this port mapping.
INetSharingPortMappingProps interface [ICS/ICF]
get_TargetIPAddress method
INetSharingPortMappingProps.get_TargetIPAddress
INetSharingPortMappingProps::get_TargetIPAddress
_ics_inetsharingportmappingprops_get_targetipaddress
get_TargetIPAddress
get_TargetIPAddress method [ICS/ICF]
get_TargetIPAddress method [ICS/ICF]
INetSharingPortMappingProps interface
ics.inetsharingportmappingprops_get_targetipaddress
netcon/INetSharingPortMappingProps::get_TargetIPAddress
ics\inetsharingportmappingprops_get_targetipaddress.htm
ics
af794535-8b36-4306-a220-f4938f0e6ee9
12/05/2018
INetSharingPortMappingProps interface [ICS/ICF],get_TargetIPAddress method, INetSharingPortMappingProps.get_TargetIPAddress, INetSharingPortMappingProps::get_TargetIPAddress, _ics_inetsharingportmappingprops_get_targetipaddress, get_TargetIPAddress, get_TargetIPAddress method [ICS/ICF], get_TargetIPAddress method [ICS/ICF],INetSharingPortMappingProps interface, ics.inetsharingportmappingprops_get_targetipaddress, netcon/INetSharingPortMappingProps::get_TargetIPAddress
netcon.h
Windows
Windows XP [desktop apps only]
None supported
Hnetcfg.dll
Windows
19H1
INetSharingPortMappingProps::get_TargetIPAddress
netcon/INetSharingPortMappingProps::get_TargetIPAddress
c++
APIRef
kbSyntax
COM
Hnetcfg.dll
INetSharingPortMappingProps.get_TargetIPAddress

INetSharingPortMappingProps::get_TargetIPAddress

-description

[Internet Connection Firewall may be altered or unavailable in subsequent versions. Instead, use the Windows Firewall API.]

The get_TargetIPAddress method retrieves the IP address of the target computer for this port mapping.

-parameters

-param pbstrTargetIPAddress [out]

Pointer to a BSTR variable that receives the IP address of the target computer for this port mapping.

-returns

If the method succeeds the return value is S_OK.

If the method fails, the return value is one of the following error codes.

Return code Description
E_ABORT
The operation was aborted.
E_FAIL
An unspecified error occurred.
E_INVALIDARG
One of the parameters is invalid.
E_NOINTERFACE
A specified interface is not supported.
E_NOTIMPL
A specified method is not implemented.
E_OUTOFMEMORY
The method was unable to allocate required memory.
E_POINTER
A pointer passed as a parameter is not valid.
E_UNEXPECTED
The method failed for unknown reasons.

-see-also

INetSharingPortMappingProps

Internet Connection Sharing and Internet Connection Firewall Interfaces

Internet Connection Sharing and Internet Connection Firewall Reference