In Windows Vista and later versions of Windows, the DEVPROP_TYPE_CURRENCY identifier represents the base-data-type identifier that indicates that the data type is a CURRENCY-typed value.


DEVPROP_TYPE_CURRENCY can be combined only with the DEVPROP_TYPEMOD_ARRAY property-data-type modifier.

Setting a Property of This Type

To set a property whose base data type is DEVPROP_TYPE_CURRENCY, call the corresponding SetupDiSetXxx property function and set the function input parameters as follows:

  • Set the PropertyType parameter to DEVPROP_TYPE_CURRENCY, set the PropertyBuffer parameter to a pointer to a buffer that contains a CURRENCY value, and set the PropertyBufferSize parameter to sizeof(CURRENCY).

  • Set the other function input parameters as appropriate to set the property.



Devpropdef.h (include Devpropdef.h)



Send comments about this topic to Microsoft