WSDCreateUdpAddress function (wsdbase.h)

Creates an IWSDUdpAddress object.

Syntax

HRESULT WSDCreateUdpAddress(
  [in] IWSDUdpAddress **ppAddress
);

Parameters

[in] ppAddress

An IWSDUdpAddress interface pointer. This parameter cannot be NULL.

Return value

This function can return one of these values.

Return code Description
S_OK
Method completed successfully.
E_POINTER
ppAddress is NULL.
E_OUTOFMEMORY
Insufficient memory to complete the operation.

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