Get the device.
Syntax
HRESULT GetDevice( LPDIRECT3DDEVICE9* ppDevice );
Parameters
ppDevice [out] Get a pointer to the IDirect3DDevice9 object, which represents the device.
Return Value
This method always returns the value S_OK.