Platform SDK: DirectX

Direct3DDevice7.GetDeviceGuid

The Direct3DDevice7.GetDeviceGuid method retrieves the globally unique identifier (GUID) for this device, as a String.

object.GetDeviceGuid() As String

Parameters

object
Object expression that resolves to a Direct3DDevice7 object.

Return Values

The method returns the GUID for this device, as type String.

Error Codes

If the method fails, an error is raised and Err.Number will be set.

See Also

Direct3D Device Types