Microsoft DirectX 8.1 (Visual Basic)

Direct3DDevice8.GetCreationParameters

Retrieves the creation parameters of the device.

object.GetCreationParameters( _ 
    CreationParams As D3DDEVICE_CREATION_PARAMETERS)

Parts

object
Object expression that resolves to a Direct3DDevice8 object.
CreationParams
A D3DDEVICE_CREATION_PARAMETERS type, describing the creation parameters of the device.

Error Codes

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.

Remarks

You can query the AdapterOrdinal member of the returned D3DDEVICE_CREATION_PARAMETERS type to retrieve the ordinal of the adapter represented by this device.