Platform SDK: DirectX |
The Direct3DDevice7.GetInfo method retrieves information about the rendering device. Information can pertain to Direct3D or the underlying device driver.
object.GetInfo( _ lDevInfoID As CONST_D3DDEVINFOID, _ DevInfoType As Any, _ lSize As Long)
None.
If the method fails, the return value may be S_FALSE to indicate that the device does not support information queries, or one of the following error codes:
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |
This method makes it possible for drivers to declare specific information types, and corresponding structures, that may not be documented in this SDK.
This method executes synchronously, and it can negatively impact your application's performance when it executes slowly. Do not call this method during scene rendering (between calls to Direct3DDevice7.BeginScene and Direct3DDevice7.EndScene).
This method is intended to be used for performance tracking and debugging during product development (on the debug version of DirectX). The method can succeed without retrieving device data. This occurs when the retail version of the DirectX runtime is installed on the host system.