Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
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 |