Partager via


IDirect3DDevice9Ex::TestCooperativeLevel 

IDirect3DDevice9Ex::TestCooperativeLevel

Deprecated. Reports the current cooperative-level status of the Direct3D device for a windowed or full-screen application.

  HRESULT 
  TestCooperativeLevel(
  );

Parameters

None.

Return Values

Always returns D3D_OK.

Remarks

This method is now deprecated. Use the IDirect3DDevice9Ex::CheckDeviceState method to check for lost devices, devices that have not been reset, or internal driver errors.