IWSDMessageParameters::SetLocalAddress method (wsdbase.h)

Sets a generic address object representing the source address that should send the message.

Syntax

HRESULT SetLocalAddress(
  [in] IWSDAddress *pAddress
);

Parameters

[in] pAddress

An IWSDAddress interface that represents the source address that should send 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.

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