Microsoft DirectX 8.0 (Visual Basic) |
Retrieves information about the rendering device.
object.GetInfo( _ DevInfoID As Long, _ Info As Any, _ Size As Long)
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Visual Basic Error Handling topic.
Information returned by this method can pertain to Microsoft® Direct3D® or the underlying device driver. This method makes it possible for drivers to declare specific information types, and corresponding structures, that are not documented in this SDK.
This method executes synchronously, and it can reduce your application's performance when it executes slowly. Do not call this method during scene rendering (between calls to Direct3DDevice8.BeginScene and Direct3DDevice8.EndScene).
This method is intended to be used for performance tracking and debugging during product development (on the debug version of Microsoft DirectX®). It can succeed without retrieving device data. This occurs when the retail version of the DirectX runtime is installed on the host system.