IAPI::IPAddressToHostname

property IPAddressToHostname.

Retrieves a hostname from an IP address.

 

HRESULT IPAddressToHostname(
  BSTR IPAddress,
  BSTR *pVal
);

Parameters

IPAddress

[in] .   IP address

pVal

[out, retval] The returned value is the hostname if succeeded or an empty string

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI