IUPnPServiceDocumentAccess::GetDocumentURL method

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

pbstrDocUrl [out]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Upnp.h

DLL

Upnp.dll

See also

IUPnPServiceDocumentAccess
IUPnPServiceDocumentAccess:GetDocument

 

 

Community Additions

ADD
Show:
© 2014 Microsoft