Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 |