Platform SDK: DirectX

DirectDrawEnum.GetName

The DirectDrawEnum.GetName returns the driver name of the specified DirectDraw device.

object.GetName(index As Long) As String

Parameters

object
Object expression that resolves to a DirectDrawEnum object.
index
Particular DirectDraw device in the DirectDrawEnum object.

Return Values

If the method succeeds, it returns the driver name of the device.

Error Codes

If the method fails, it raises an error, and Err.Number is set.