IUPnPDeviceDocumentAccessEx::GetDocument method (upnp.h)
The GetDocument method retrieves the XML device description document for a UPnP device.
Syntax
HRESULT GetDocument(
[out, retval] BSTR *pbstrDocument
);
Parameters
[out, retval] pbstrDocument
Receives the XML device description document for the device.
After obtaining the XML device document, the memory for this parameter must be free by passing it to SysFreeString.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in WinError.h.
Remarks
Note This method does not support scripting.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | upnp.h |
DLL | Upnp.dll |