Causes the Virtual Machine Worker to return the specified virtual device.
Syntax
HRESULT GetDevice(
[in] REFGUID CategoryID,
[in] REFGUID DeviceID,
[out, retval] IUnknown** Device
);
Parameters
CategoryID [in]
The device category ID.
DeviceID [in]
The device instance ID.
Device [out, retval]
Receives a pointer to an IUnknown interface representing the device.
Return value
An HRESULT.
Remarks
Requirements
| Requirement | Value |
|---|---|
| Header | N/A |
See also
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
