Get a pointer to the device that created this interface.
public:
void GetDevice(
ID3D11Device **ppDevice
)
ppDevice
Type: ID3D11DeviceĀ **
[out] Address of a pointer to a device (see ID3D11Device).
Any returned interfaces will have their reference count incremented by one, so be sure to call ::release() on the returned pointer(s) before they are freed or else you will have a memory leak.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).