IUPnPServiceDocumentAccess::GetDocument method (upnp.h)

The GetDocument method retrieves the Service Control Protocol Description (SCPD) document for a service object. The information provided by this document enables the user to pre-determine which actions are supported by the service, or review information about state variables.

Syntax

HRESULT GetDocument(
  BSTR *pbstrDoc
);

Parameters

pbstrDoc

The complete SCPD document.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the method returns E_FAIL.

Requirements

   
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::GetDocumentURL