Microsoft DirectX 8.1 (Visual Basic) |
Retrieves the creation parameters of the device.
object.GetCreationParameters( _ CreationParams As D3DDEVICE_CREATION_PARAMETERS)
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL if the parameter is invalid.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
You can query the AdapterOrdinal member of the returned D3DDEVICE_CREATION_PARAMETERS type to retrieve the ordinal of the adapter represented by this device.