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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for