IUPnPDeviceDocumentAccess::GetDocumentURL method (upnp.h)

The GetDocumentURL method returns the URL from which the device description document can be loaded.

Syntax

HRESULT GetDocumentURL(
  [out] BSTR *pbstrDocument
);

Parameters

[out] pbstrDocument

Receives the URL from which the device description document can be downloaded.

Return value

If the method succeeds, the return value is as specified above. Otherwise, the method returns one of the COM error codes specified in winerror.h.

Remarks

This method does not support scripting.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header upnp.h
DLL Upnp.dll

See also

IUPnPDescriptionDocument

IUPnPDevice

IUPnPDeviceDocumentAccess