IVIO_EnumDevices::Seek

This method seeks to the entry in the device component collection that matches the device CLSID specified in rclsid.

Syntax

HRESULT IVIO_EnumDevices::Seek ( REFCLSID rclsid);

Parameters

rclsid
[in] CLSID to seek. It is one of the following values:
CLSID_VIO_AUX_LIGHTS
CLSID_VIO_BATTERY_VOLTAGE
CLSID_VIO_COOLANT_TEMP
CLSID_VIO_DIAGNOSTIC_CODES
CLSID_VIO_DOOR_SWITCHES
CLSID_VIO_ENGINE_LOAD
CLSID_VIO_ENGINE_RPM
CLSID_VIO_FUEL_PRESSURE
CLSID_VIO_FUEL_SYSTEM_STATUS
CLSID_VIO_FUEL_TRIM
CLSID_VIO_HEADLIGHTS
CLSID_VIO_IGNITION_SWITCH
CLSID_VIO_INTAKE_TEMP
CLSID_VIO_LATCH_CONTROL
CLSID_VIO_LOCK_STATE
CLSID_VIO_MANIFOLD_AIR_PRESSURE
CLSID_VIO_MASS_AIR_FLOW_RATE
CLSID_VIO_O2_SENSOR
CLSID_VIO_ODOMETER
CLSID_VIO_PARKING_BRAKE
CLSID_VIO_THROTTLE_POSITION
CLSID_VIO_TIMING_ADVANCE
CLSID_VIO_TRANSMISSION_GEAR
CLSID_VIO_VEHICLE_SPEED

Return Values

S_OK indicates that the application retrieved the vehicle device CLSID successfully. The enumerator is set to the position of the specified device. S_FALSE indicates that the application was unable to find the specified device CLSID. The enumerator position is unchanged.

Remarks

If S_FALSE is returned, this means that the requested component exposing the IVIO_Device interface is not available on the vehicle.