IDirect3D::FindDevice

HRESULT FindDevice(LPD3DFINDDEVICESEARCH lpD3DFDS,

LPD3DFINDDEVICERESULT lpD3DFDR);

Finds a device with specified characteristics and retrieves a description of it.

·Returns D3D_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Immediate-Mode Return Values.

lpD3DFDS

Address of the D3DFINDDEVICESEARCH structure describing the device to be located.

lpD3DFDR

Address of the D3DFINDDEVICERESULT structure describing the device if it is found.