Export (0) Print
Expand All

IDirect3DQuery9::GetDevice method

Gets the device that is being queried.

Syntax


HRESULT GetDevice(
  [out]  IDirect3DDevice9 **pDevice
);

Parameters

pDevice [out]

Type: IDirect3DDevice9**

Pointer to the device being queried. See IDirect3DDevice9.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.

Requirements

Header

D3D9.h

Library

D3D9.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft