IUPnPServiceDocumentAccess::GetDocumentURL method (upnp.h)

The GetDocumentURL method retrieves the Service Control Protocol Description (SCPD) URL for a service object. Using this URL, the UPnP control point can download the complete SCPD document.

Syntax

HRESULT GetDocumentURL(
  [out] BSTR *pbstrDocUrl
);

Parameters

[out] pbstrDocUrl

The URL to the complete SCPD document.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the method returns E_FAIL. This method will fail if called after a service enumeration has already started.

Requirements

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

See also

IUPnPServiceDocumentAccess

IUPnPServiceDocumentAccess:GetDocument