From 94a733ac355e0b9f9b82a850a45600241f9fce38 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 5 Nov 2020 21:25:34 +0530 Subject: [PATCH 2/6] include: Add D2D1_SUBPROPERTY enumeration in d2d1_1.idl. Signed-off-by: Biswapriyo Nath --- include/d2d1_1.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/d2d1_1.idl b/include/d2d1_1.idl index 4dccf6a..a19486c 100644 --- a/include/d2d1_1.idl +++ b/include/d2d1_1.idl @@ -202,6 +202,18 @@ typedef enum D2D1_PROPERTY D2D1_PROPERTY_FORCE_DWORD = 0xffffffff } D2D1_PROPERTY; +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 +} D2D1_SUBPROPERTY; + typedef enum D2D1_THREADING_MODE { D2D1_THREADING_MODE_SINGLE_THREADED = D2D1_FACTORY_TYPE_SINGLE_THREADED, -- 2.29.2