DEVPROP_TYPE_DATE

In Windows Vista and later versions of Windows, the DEVPROP_TYPE_DATE property type represents the base-data-type identifier that indicates that the data type is a DOUBLE-typed value that specifies the number of days since December 31, 1899. For example, January 1, 1900, is 1.0; January 2, 1900, is 2.0; and so on.

Remarks

DEVPROP_TYPE_DATE 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_DATE, call the corresponding SetupDiSetXxx property function and set the function input parameters as follows:

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

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

Requirements

Header

Devpropdef.h (include Devpropdef.h)