IUPnPServiceDocumentAccess::GetDocument method

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(
  [out]  BSTR *pbstrDoc
);

Parameters

pbstrDoc [out]

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]

Header

Upnp.h

DLL

Upnp.dll

See also

IUPnPServiceDocumentAccess
IUPnPServiceDocumentAccess::GetDocumentURL

 

 

Community Additions

ADD
Show:
© 2014 Microsoft