DirectX SDK

DirectDrawIdentifier.GetDeviceId

The DirectDrawIdentifier.GetDeviceId method returns the identifier of the type of chipset.

object.GetDeviceId() As Long

Parameters

object
Object expression that resolves to a DirectDrawIdentifier object.

Return Values

If the method succeeds, it returns the identifier of the type of chipset. Can be 0 if unknown.

Error Codes

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