D2D1_SUBPROPERTY enumeration (d2d1_1.h)

Specifies the indices of the system sub-properties that may be present in any property.

Syntax

typedef enum D2D1_SUBPROPERTY {
  D2D1_SUBPROPERTY_DISPLAYNAME = 0x80000000,
  D2D1_SUBPROPERTY_ISREADONLY = 0x80000001,
  D2D1_SUBPROPERTY_MIN = 0x80000002,
  D2D1_SUBPROPERTY_MAX = 0x80000003,
  D2D1_SUBPROPERTY_DEFAULT = 0x80000004,
  D2D1_SUBPROPERTY_FIELDS = 0x80000005,
  D2D1_SUBPROPERTY_INDEX = 0x80000006,
  D2D1_SUBPROPERTY_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_SUBPROPERTY_DISPLAYNAME
Value: 0x80000000
The name for the parent property.
D2D1_SUBPROPERTY_ISREADONLY
Value: 0x80000001
A Boolean indicating whether the parent property is writable.
D2D1_SUBPROPERTY_MIN
Value: 0x80000002
The minimum value that can be set to the parent property.
D2D1_SUBPROPERTY_MAX
Value: 0x80000003
The maximum value that can be set to the parent property.
D2D1_SUBPROPERTY_DEFAULT
Value: 0x80000004
The default value of the parent property.
D2D1_SUBPROPERTY_FIELDS
Value: 0x80000005
An array of name/index pairs that indicate the possible values that can be set to the parent property.
D2D1_SUBPROPERTY_INDEX
Value: 0x80000006
An index sub-property used by the elements of the D2D1_SUBPROPERTY_FIELDS array.
D2D1_SUBPROPERTY_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Header d2d1_1.h

See also

ID2D1Properties

ID2D1Properties::GetPropertyName

ID2D1Properties::GetPropertyNameLength

ID2D1Properties::GetSubProperties

ID2D1Properties::GetType

ID2D1Properties::GetValue

ID2D1Properties::GetValueSize

ID2D1Properties::SetValue