WcmDataType enumeration (wcmconfig.h)

Enumerates the data types returned from the ISettingsItem::GetDataType method. The values correspond appropriately to typical programming types. An exception is the flag value dataTypeFlagArray. This flag may appear combined with dataTypeByte or dataTypeString to indicate xsd:hexBinary or wcm:multiString settings (respectively).

Each of the following constants correspond to a data type.

Syntax

typedef enum __MIDL___MIDL_itf_wcmconfig_0000_0000_0003 {
  dataTypeByte = 1,
  dataTypeSByte = 2,
  dataTypeUInt16 = 3,
  dataTypeInt16 = 4,
  dataTypeUInt32 = 5,
  dataTypeInt32 = 6,
  dataTypeUInt64 = 7,
  dataTypeInt64 = 8,
  dataTypeBoolean = 11,
  dataTypeString = 12,
  dataTypeFlagArray = 0x8000
} WcmDataType;

Constants

 
dataTypeByte
Value: 1
Corresponds to a byte.
dataTypeSByte
Value: 2
Corresponds to a signed byte.
dataTypeUInt16
Value: 3
Corresponds to an unsigned 16-bit integer.
dataTypeInt16
Value: 4
Corresponds to a 16-bit integer.
dataTypeUInt32
Value: 5
Corresponds to an unsigned 32-bit integer.
dataTypeInt32
Value: 6
Corresponds to a 32-bit integer.
dataTypeUInt64
Value: 7
Corresponds to an unsigned 64-bit integer.
dataTypeInt64
Value: 8
Corresponds to a 64-bit integer.
dataTypeBoolean
Value: 11
Corresponds to a Boolean.
dataTypeString
Value: 12
Corresponds to a string.
dataTypeFlagArray
Value: 0x8000
This flag may appear combined with dataTypeByte or dataTypeString to indicate xsd:hexBinary or wcm:multiString settings, respectively.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header wcmconfig.h