IDXGIDeviceSubObject::GetDevice method
Retrieves the device.
Syntax
HRESULT GetDevice( [in] REFIID riid, [out] void **ppDevice );
Parameters
- riid [in]
-
Type: REFIID
The reference id for the device.
- ppDevice [out]
-
Type: void**
The address of a pointer to the device.
Return value
Type: HRESULT
A code that indicates success or failure (see DXGI_ERROR).
Remarks
The type of interface that is returned can be any interface published by the device. For example, it could be an IDXGIDevice * called pDevice, and therefore the REFIID would be obtained by calling __uuidof(pDevice).
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also
Show: