DirectX SDK |
The Direct3DEnumDevices.GetName method returns the user-friendly name of the desired Direct3D device.
object.GetName(index As Long) As String
If the method succeeds, the return value is the user-friendly name of the device.
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.