DEVPROP_TYPEMOD_LIST
In Windows Vista and later versions of Windows, the DEVPROP_TYPEMOD_LIST identifier represents a property-data-type modifier that can be combined only with the base-data-type identifiers DEVPROP_TYPE_STRING and DEVPROP_TYPE_SECURITY_DESCRIPTOR_STRING to create a property-data-type identifier that represents a REG_MULTI_SZ list of NULL-terminated Unicode strings.
Remarks
DEVPROP_TYPEMOD_LIST cannot be combined with DEVPROP_TYPE_EMPTY, DEVPROP_TYPE_NULL, DEVPROP_TYPE_SECURITY_DESCRIPTOR, or any of the fixed length base-data-type identifiers.
To create a property-data-type identifier that represents a string list, perform a bitwise OR between the DEVPROP_TYPEMOD_LIST property-data-type modifier and the corresponding DEVPROP_TYPE_Xxx identifier. For example, to specify a REG_MULTI_SZ list of Unicode strings, perform the following bitwise OR: (DEVPROP_TYPEMOD_LIST | DEVPROP_TYPE_STRING).
The size of a REG_MULTI_SZ list of NULL-terminated Unicode strings is size of the list including the final NULL that terminated the list.
For information about how to create a property-data-type identifier that represents an array of fixed length data values, see DEVPROP_TYPEMOD_ARRAY.
Requirements
Header |
Devpropdef.h (include Devpropdef.h) |