This method sets the value of the current item referenced by the enumerator.
HRESULT IVIO_EnumMetrics::Set ( LPVARIANT pValue);
Use a VT_BSTR to set the following three values. A VT_BSTR is a 32-bit character string.
Use a VT_UI4 to set the following values. A VT_UI4 is an unsigned long integer.
VIOMANUFACTURER_ALFA_LANCIA |
VIOMANUFACTURER_ASTON_MARTIN |
VIOMANUFACTURER_AUDI |
VIOMANUFACTURER_BERTONE |
VIOMANUFACTURER_BMW |
VIOMANUFACTURER_CHRYSLER |
VIOMANUFACTURER_DAIHATSU |
VIOMANUFACTURER_DIAMOND_STAR_MOTORS |
VIOMANUFACTURER_FERRARI |
VIOMANUFACTURER_FORD |
VIOMANUFACTURER_FUJI_HEAVY_INDUSTRIES |
VIOMANUFACTURER_GM_CARS |
VIOMANUFACTURER_GM_TRUCKS |
VIOMANUFACTURER_GM_SATURN |
VIOMANUFACTURER_HONDA |
VIOMANUFACTURER_HYUNDAI |
VIOMANUFACTURER_ISUZU |
VIOMANUFACTURER_JAGUAR |
VIOMANUFACTURER_KIA |
VIOMANUFACTURER_LAMBORGHINI |
VIOMANUFACTURER_LOTUS |
VIOMANUFACTURER_MASERATI |
VIOMANUFACTURER_MAZDA |
VIOMANUFACTURER_MERCEDES_BENZ |
VIOMANUFACTURER_MITSUBISHI |
VIOMANUFACTURER_MITSUBISHI_AMERICA |
VIOMANUFACTURER_NISSAN |
VIOMANUFACTURER_OPEL |
VIOMANUFACTURER_PEUGEOT |
VIOMANUFACTURER_PORSCHE |
VIOMANUFACTURER_RENAULT |
VIOMANUFACTURER_ROLLS_ROYCE |
VIOMANUFACTURER_ROVER |
VIOMANUFACTURER_SAAB |
VIOMANUFACTURER_SUZUKI |
VIOMANUFACTURER_TOYOTA |
VIOMANUFACTURER_VOLKSWAGEN |
VIOMANUFACTURER_VOLVO |
Type |
Value |
VIOFUELTYPE_GAS | 1 |
VIOFUELTYPE_DIESEL | 2 |
VIOFUELTYPE_ELECTRIC | 3 |
VIOFUELTYPE_HYBRID | 4 |
VIOFUELTYPE_OTHER | 255 |
Type |
Value |
VIOFUELDELIVERY_2_BBL_CARBURETOR | 1 |
VIOFUELDELIVERY_4_BBL_CARBURETOR | 2 |
VIOFUELDELIVERY_THROTTLE_BODY-INJECTION | 3 |
VIOFUELDELIVERY_PORT_INJECTION | 4 |
VIOFUELDELIVERY_LEAD_ACID_BATTERY | 5 |
VIOFUELDELIVERY_NICKEL_METAL_HYDRIDE_BATTERY | 6 |
VIOFUELDELIVERY_OTHER | 255 |
Type |
Value |
VIOTRANSMISSION_MANUAL | 1 |
VIOTRANSMISSION_AUTOMATIC | 2 |
VIOTRANSMISSION_CONTINUOUSLY_VARIABLE | 3 |
VIOTRANSMISSION_OTHER | 255 |
One of the values described in the following table is returned.
Value |
Description |
S_OK | The value of the item currently referenced by the enumerator was set successfully. |
S_FALSE | The enumerator is not positioned on a valid item. |
E_OUTOFMEMORY | The application is out of memory. |
E_POINTER | The pointer referenced by pValue is invalid. |