DirectX SDK

DirectDrawEnum.GetGuid

The DirectDrawEnum.GetGuid returns the unique identifier of the specified DirectDraw device.

object.GetGuid(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 unique identifier of the device.

Error Codes

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