IWSDMessageParameters::GetLocalAddress method (wsdbase.h)

Retrieves the generic address object representing the local address that received the message.

Syntax

HRESULT GetLocalAddress(
  [out] IWSDAddress **ppAddress
);

Parameters

[out] ppAddress

An IWSDAddress interface that represents the local address that received the message.

Return value

This method can return one of these values.

Possible return values include, but are not limited to, the following.

Return code Description
S_OK
Method completed successfully.
E_POINTER
ppAddress is NULL.

Remarks

The caller is responsible for releasing memory allocated to ppAddress.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wsdbase.h (include Wsdapi.h)
DLL Wsdapi.dll

See also

IWSDMessageParameters