Microsoft DirectX 8.1 (Visual Basic) |
Describes the creation parameters for a device.
Type D3DDEVICE_CREATION_PARAMETERS AdapterOrdinal As Long BehaviorFlags As Long DeviceType As CONST_D3DDEVTYPE hFocusWindow As Long End Type
Use this ordinal as the Adapter parameter for any of the Direct3D8 methods. Note that different Direct3D8 objects may use different ordinals. For example, adapters can enter and leave a system due to users adding or subtracting monitors from a multiple monitor system, or due to hot-swapping a laptop. Consequently, you should use this ordinal only in a Direct3D8 known to be valid. The only two valid Direct3D8 instances are the Direct3D8 that created this Direct3DDevice8 object and the Direct3D8 returned from Direct3DDevice8.GetDirect3D as called through this Direct3DDevice8 object.
The value of this parameter mirrors the value passed to the Direct3D8.CreateDevice call that created this device.
Direct3DDevice8.GetCreationParameters, Direct3D8.CreateDevice