IVIO_EnumMaintenanceEntry::Seek

This method seeks to the entry in the enumeration list that matches the maintenance entry item identifier that is passed to the method in nItemId.

Syntax

HRESULT IVIO_EnumMaintenanceEntry::Seek ( DWORD nItemId);

Parameters

nItemId
[in] Identifier of the vehicle maintenance item entry collection member to seek. It is one of the following values:
VIOMAINTENTRY_HIGH_INTERVAL
VIOMAINTENTRY_INTERVAL_TYPE
VIOMAINTENTRY_INTERVAL_UNITS
VIOMAINTENTRY_LOW_INTERVAL
VIOMAINTENTRY_NAME
VIOMAINTENTRY_SECONDARY_INTERVAL
VIOMAINTENTRY_SECONDARY_INTERVAL_TYPE
VIOMAINTENTRY_SECONDARY_INTERVAL_UNITS

Return Values

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