DEVPROP_TYPEMOD_ARRAY

In Windows Vista and later versions of Windows, the DEVPROP_TYPEMOD_ARRAY identifier represents a property-data-type modifier that can be combined with the base-data-type identifiers to create a property-data-type identifier that represents an array of base-data-type values.

Remarks

The DEVPROP_TYPEMOD_ARRAY identifier can be combined only with the fixed-length base-data-type identifiers (DEVPROPTYPE values) that are associated with data. The DEVPROP_TYPEMOD_ARRAY identifier cannot be combined with DEVPROP_TYPE_EMPTY, DEVPROP_TYPE_NULL, or any of the variable-length base-data-type identifiers.

To create a property-data-type identifier that represents an array of base-data-type values, perform a bitwise OR between DEVPROP_TYPEMOD_ARRAY and the corresponding DEVPROP_TYPE_Xxx identifier. For example, to specify an array of unsigned bytes, perform the following bitwise OR: (DEVPROP_TYPEMOD_ARRAY | DEVPROP_TYPE_BYTE).

The size, in bytes, of an array of base-data-type values is the size, in bytes, of the array.

For information about how to create a property-data-type identifier that represents a REG_MULTI_SZ list of NULL-terminated Unicode strings, see DEVPROP_TYPEMOD_LIST.

Requirements

Header

Devpropdef.h (include Devpropdef.h)

See also

DEVPROPTYPE

DEVPROP_TYPEMOD_LIST