Platform SDK: DirectX

Direct3DEnumDevices.GetDescription

The Direct3DEnumDevices.GetDescription method returns user-friendly description of the desired Direct3D device.

object.GetDescription(index As Long) As String 

Parameters

object
Object expression that resolves to a Direct3DEnumDevices object.
index
Index of the enumerated device. This value can be between 1 and the value returned by the Direct3DEnumDevices.GetCount method.

Return Values

If the method succeeds, the return value is the user-friendly description of the enumerated device.

Error Codes

If the method fails, the method sets Err.Number to an error code and raises an error. For a list of possible error codes, see Direct3D Immediate Mode Error Codes.