How does it work?

MagNumDB is a database that contains about 350,000 items. These items are constants, names, values all extracted from more than 6,000 header files (.h, .hxx, .hpp, .idl, etc.) provided by standard Windows and Visual Studio SDKs and WDKs.

Some values have been extracted from the very special uuid.lib file that contains the value of thousands of guids and property keys, not present anywhere else in header files. This can explain some duplicates (because names in uuid.lib are not always exactly the same as names in .h parsed files...).

It also contains around 36,0000 undocumented guids that we found ... meeeeep ...

 "C2P5"

To build this database, we have tried many existing parsers, things like CLANG or other fine tools, but they just don't suit our needs. They can't handle thousands of files that don't compile together, they can't handle some specific (or just very old) Microsoft constructs or annotations, they don't remember the stack of #define directives that led to a definition, they only give you a final AST, not a partial one, etc.

So, in the end, we have written a C/C++ parser named C2P5 (for C/CPP/PreProcessor/Parser), tailored specifically for computing constants. C2P5 is capable of preprocessing, parsing and partially evaluating all header files as if they were included in a one big virtual project (that of course, does not compile) on a 32G RAM machine. It currently supports the following preprocessor and C/C++ constructs:

  • #define preprocessor that define constants
  • #define preprocessor that define expression to compute constants
  • C and C++ constants, strings and enum definitions, and some level of pointerness
  • Special GUID constructs like DECLSPEC_UUID, DEFINE_GUIDSTRUCT, MIDL_INTERFACE, you name it
  • PROPERTYKEY constructs
  • Some IDL constructs
  • Etc.

The parser remembers dynamic preprocessor definitions (#if, #ifdef, etc.) that are conditions for constants definitions and expression computation. All parsed items are saved in the database, as well as the associated conditions. There may be more than one item corresponding to a given name, if there are differences in their associated conditions stack.

C2P5 supports the following types of constants, regardless of the way they are defined in source files:

  • integer, signed or unsigned, from 8-bit to 128-bit
  • floating point number, single (32-bit) or double (64-bit)
  • globally unique identifier, or guid, uuid, CLSID, IID, etc.
  • string, in narrow, wide, or utf-8/16/32 formats
  • character, in narrow, wide, or utf-8/16/32 formats
  • pointer, a constant cast as a pointer
  • property key, or PROPERTYKEY, or PKEY, a combination of a guid (fmtid) and a 32-bit integer (id).

 Powered by

C2P5 and this MagNumDB web site are written in C# and use a Lucene database as a full-text search engine. C2P5 uses a custom ANTLR4cs C grammar for expression parsing, not for preprocessor parsing.

 

 Frequently Asked Questions

  • Q: Can I run custom queries?
    A: Yes. You can use Lucene's query syntax. Note the Database is case insensitive. Check out the list of columns with their corresponding database column names:

    • Index: the item's index.
    • Name: the item's name, or title. For enum values, it's prefixed with the enum's name.
      Corresponding database field: title.
    • Type: the item's type, expressed in a specific, universal system.
      Corresponding database's field: valuetype, but use the value of the Storage type column for queries on items type.
    • Value: the item's value. For string values, it's displayed as is w/o quotes nor escaping.
      Corresponding database field: value. There is also a typedvalue field that can contain database's Int32, Int64, Float, Double or String typed values.
    • Hex Value: the item's hexadecimal value, only valid for integer types.
      There is no corresponding database field.
    • Signed Value: the item's signed value, only valid for integer and double types. Useful when you found a unsigned number and want to get the corresponding signed value (uint -> int for example).
      There is no corresponding database field.
    • Source lines(s): the source lines from which the item was extracted. Comments and characters such as TAB, CR are preserved.
      Corresponding database field: source.
    • File path: the file path from which the item was extracted, terminated by the line index.
      Corresponding database field: filepath. There are also directory and filename fields. filename is useful to query for values in a given file.
    • Score: Database's score value. Items are returned sorted by score.
    • Guid formats: a utility columns that proposes all possible guid formats. Only valid for guid types.
      There is no corresponding database field
    • Char type: the character encoding (narrow, wide, etc.). Only valid for char and string values.
      Corresponding database field: chartype.
    • Storage type: the exact storage type in the database. Only used for specific queries.
      Corresponding database field: valuetype.
    • Conditions: the list of preprocessor conditions for a given item. If a condition is surrounded with a REVERSE function, it means the reverse condition of what's surrounded was the condition.
      Corresponding database field: conditions. There may be multiple conditions fields for one item.

    Some important points to note:

    • If you search for a negative number (like error codes expressed using signed integers), you can surround the search with double quotes, for example searching for "-2147009290" is equivalent to searching for 0x80073CF6, 80073CF6 (or even 3CF6 in this specific case). If you don't surround negative numbers with double quotes, the system will search for signed and unsigned corresponding values.
    • The full-text search uses items' name, value, hex value, guid formats, source lines, etc. so refine your search if you get back too many items.
    • You can search for guid binary values using just a part of their full definition. For example, if you search for '79eac9c5', it will get you 3 guid entries
    • Leading wild card search (*whatever) is allowed, but it may slow down the search significantly.

    Here are some example or custom queries:

    title:wm_user returns the WM_USER Windows message item, not all items that reference the WM_USER token.

    title:wm_u* returns all items (Windows messages probably) whose name starts with WM_U*.

    value:1024 AND title:wm_* returns all items (Windows messages probably) whose name starts with WM_U* and value is 1024. Note AND must be UPPERCASE for database to understand it as an AND operator.

    value:"00000002-0000-0000-C000-000000000046" returns the IMalloc IID guid value.

  • Q: I always get back 400 items at most. Why?
    A: The MagNumDb site currently limits the number of returned items to this value by design. This should be enough for most real search scenarios (like enums with a big list of values).

  • Q: Some values are empty. Why?
    A: The expression evaluator cannot always compute the final value, because it sometimes require contextual information (custom defines, compiler architecture, etc.) that the parser doesn't have at parsing time. You can enable the Source line(s) column to check what's the corresponding source and try to work it out by yourself. The origin file path and line number is also included.

  • Q: Can I get all values for a given enum?
    A: Sure. For example, __VSHPROPID is the name of an enum, and a query like this: parent:__VSHPROPID will get all the enum's values (66 entries).

  • Q: I sometimes get back items whose name starts with "__magnumdb__enum_". Why?
    A: C allows unnamed enums. The MagNumDb parser just gives them a name, using the defining file name and a counter.

  • Q: I sometimes get back the same item/name twice or more with different values. For example:  TARGET_IS_NT60_OR_LATER. Why?
    A: This can be the case with defines. Their value may be different if they were surrounded by # directives (#if, #else, etc.) in the original source code. You can enable the Condition(s) column to check what are the corresponding conditions for a given item.
    Note: if a condition is surrounded with a funny REVERSE function token, it means the reverse condition of what's surrounded.

 Database Metrics

  • Last update date: Thursday May 13, 2020
  • Items count: 340878
  • Parsed files count: 8447
  • Windows SDK version: 10.0.19041.0
  • NetFx SDK version: 4.8
  • MSVC Tools version: 14.25.28610

 

 Contact

We welcome feedback.
Seen anything missing? A bug? A wrong value? Do you have any suggestion for improvements? Do you have an idea for a cool new feature?

Please contact us here

 About MagNumDB

MagNumDB  2017-2020 Simon Mourier V1.3.2. All rights reserved.

Profile for Simon Mourier at Stack Overflow, Q&A for professional and enthusiast programmers


All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only.

All values, names, source code fragments displayed here have been extracted from files that are property of their respective owners.

THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND OTHER THAN AS SPECIFICALLY SET FORTH IN THE LICENSE AGREEMENT, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Index Score Name Type Value Hex value Signed value Guid formats Char type Storage type Source line(s) File path Condition(s)
Index Score Name Type Value Hex value Signed value Guid formats Char type Storage type Source line(s) File path Condition(s)
1 5.385905 CortanaPermission::Calendar Int32 1 0x00000001 1 System.Int32
Calendar             = 1,
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\winrt\windows.services.cortana.idl(124,0)
2 5.385905 Symbol::Calendar Int32 57699 0x0000E163 -7837 System.Int32
Calendar               = 57699,
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\winrt\windows.ui.xaml.controls.idl(4042,0)
3 5.385905 NAME_CalendarSvc String Calendar Wide System.TypedString
#define NAME_CalendarSvc L"Calendar"
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\calendardeviceservice.h(28,0)
4 5.385905 KIND_CALENDAR String calendar Wide System.TypedString
#define KIND_CALENDAR                       L"calendar"
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\propkey.h(2488,0)
5 4.488255 Calendar Int32 371 0x00000173 371 System.Int32
static const int Calendar = 371;
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VSSDK\VisualStudioIntegration\Common\Inc\KnownImageIds.h(435,0)
6 3.173675 CAL_ICALINTVALUE Int32 1 0x00000001 1 System.Int32
#define CAL_ICALINTVALUE          0x00000001  // calendar type
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(858,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
7 3.173675 CAL_SCALNAME Int32 2 0x00000002 2 System.Int32
#define CAL_SCALNAME              0x00000002  // native name of calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(859,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
8 3.173675 CAL_GREGORIAN Int32 1 0x00000001 1 System.Int32
#define CAL_GREGORIAN                  1      // Gregorian (localized) calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(947,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
9 3.173675 CAL_GREGORIAN_US Int32 2 0x00000002 2 System.Int32
#define CAL_GREGORIAN_US               2      // Gregorian (U.S.) calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(948,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
10 3.173675 CAL_TAIWAN Int32 4 0x00000004 4 System.Int32
#define CAL_TAIWAN                     4      // Taiwan calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(950,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
11 3.173675 CAL_THAI Int32 7 0x00000007 7 System.Int32
#define CAL_THAI                       7      // Thai calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(953,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
12 3.173675 CAL_HEBREW Int32 8 0x00000008 8 System.Int32
#define CAL_HEBREW                     8      // Hebrew (Lunar) calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(954,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
13 3.173675 CAL_GREGORIAN_ARABIC Int32 10 0x0000000A 10 System.Int32
#define CAL_GREGORIAN_ARABIC           10     // Gregorian Arabic calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(956,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
14 3.173675 VARIANT_CALENDAR_THAI Int32 32 0x00000020 32 System.Int32
#define VARIANT_CALENDAR_THAI		0x20  // SOUTHASIA calendar support
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\oleauto.h(202,0)
  • If !defined( _OLEAUTO_H_ )
15 3.173675 VARIANT_CALENDAR_GREGORIAN Int32 64 0x00000040 64 System.Int32
#define VARIANT_CALENDAR_GREGORIAN	0x40  // SOUTHASIA calendar support
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\oleauto.h(203,0)
  • If !defined( _OLEAUTO_H_ )
16 2.692953 VTDATEGRE_MAX Int32 2958465 0x002D2481 2958465 System.Int32
#define VTDATEGRE_MAX 2958465   /* Dec 31, 9999, 0:0:0 in Gregorain Calendar */
#define VTDATEGRE_MAX 2958465   /* Dec 31, 9999, 0:0:0 in Gregorain Calendar */
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\oleauto.h(276,0)
  • If !defined( _OLEAUTO_H_ )
17 2.692953 VTDATEGRE_MIN Int32 -657434 0xFFF5F7E6 -657434 System.Int32
#define VTDATEGRE_MIN -657434   /* Jan  1,  100, 0:0:0 in Gregorain Calendar */
#define VTDATEGRE_MIN -657434   /* Jan  1,  100, 0:0:0 in Gregorain Calendar */
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\oleauto.h(277,0)
  • If !defined( _OLEAUTO_H_ )
18 2.53894 LOCALE_ICALENDARTYPE Int32 4105 0x00001009 4105 System.Int32
#define LOCALE_ICALENDARTYPE          0x00001009   // type of calendar specifier, eg CAL_GREGORIAN
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(615,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
19 2.53894 LOCALE_IOPTIONALCALENDAR Int32 4107 0x0000100B 4107 System.Int32
#define LOCALE_IOPTIONALCALENDAR      0x0000100B   // additional calendar types specifier, eg CAL_GREGORIAN_US
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(616,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
20 2.53894 DATE_USE_ALT_CALENDAR Int32 4 0x00000004 4 System.Int32
#define DATE_USE_ALT_CALENDAR     0x00000004  // use alternate calendar (if any)
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(805,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
21 2.53894 CAL_SENGLISHERANAME Int32 59 0x0000003B 59 System.Int32
#define CAL_SENGLISHERANAME       0x0000003b   // Japanese calendar only: return the English era names for .Net compatibility
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(931,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
  • If (NTDDI_VERSION >= NTDDI_WIN10_RS2)
22 2.53894 CAL_SJAPANESEERAFIRSTYEAR Int32 61 0x0000003D 61 System.Int32
#define CAL_SJAPANESEERAFIRSTYEAR 0x0000003d   // Japanese calendar only: return ichinen or gannen first year
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(937,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
23 2.53894 CAL_JAPAN Int32 3 0x00000003 3 System.Int32
#define CAL_JAPAN                      3      // Japanese Emperor Era calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(949,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
24 2.53894 CAL_KOREA Int32 5 0x00000005 5 System.Int32
#define CAL_KOREA                      5      // Korean Tangun Era calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(951,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
25 2.53894 CAL_HIJRI Int32 6 0x00000006 6 System.Int32
#define CAL_HIJRI                      6      // Hijri (Arabic Lunar) calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(952,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
26 2.53894 CAL_GREGORIAN_ME_FRENCH Int32 9 0x00000009 9 System.Int32
#define CAL_GREGORIAN_ME_FRENCH        9      // Gregorian Middle East French calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(955,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
27 2.53894 CAL_GREGORIAN_XLIT_ENGLISH Int32 11 0x0000000B 11 System.Int32
#define CAL_GREGORIAN_XLIT_ENGLISH     11     // Gregorian Transliterated English calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(957,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
28 2.53894 CAL_GREGORIAN_XLIT_FRENCH Int32 12 0x0000000C 12 System.Int32
#define CAL_GREGORIAN_XLIT_FRENCH      12     // Gregorian Transliterated French calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(958,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
29 2.53894 CAL_PERSIAN Int32 22 0x00000016 22 System.Int32
#define CAL_PERSIAN                    22     // Persian (Solar Hijri) calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(959,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
30 2.53894 CAL_UMALQURA Int32 23 0x00000017 23 System.Int32
#define CAL_UMALQURA                   23     // UmAlQura Hijri (Arabic Lunar) calendar
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(960,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
31 2.221573 CAL_SENGLISHABBREVERANAME Int32 60 0x0000003C 60 System.Int32
#define CAL_SENGLISHABBREVERANAME 0x0000003c   // Japanese calendar only: return the English Abbreviated era names for .Net compatibility
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\winnls.h(932,0)
  • Ifndef NONLS
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
  • If (NTDDI_VERSION >= NTDDI_WIN10_RS2)
32 1.904205 CortanaPermission Enum
enum CortanaPermission
            {
                BrowsingHistory      = 0,
                Calendar             = 1,
                CallHistory          = 2,
                Contacts             = 3,
                Email                = 4,
                InputPersonalization = 5,
                Location             = 6,
                Messaging            = 7,
                Microphone           = 8,
                Personalization      = 9,
                PhoneCall            = 10
            };
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\winrt\windows.services.cortana.idl(121,0)
33 1.26947 UCalendarDateFields Enum
enum UCalendarDateFields {
  /** 
   */
  UCAL_ERA,

  /**
   */
  UCAL_YEAR,

  /**
   */
  UCAL_MONTH,

  /**
   */
  UCAL_WEEK_OF_YEAR,

 /**
   */
  UCAL_WEEK_OF_MONTH,

 /**
   */
  UCAL_DATE,

 /**
   */
  UCAL_DAY_OF_YEAR,

 /**
   */
  UCAL_DAY_OF_WEEK,

 /**
   */
  UCAL_DAY_OF_WEEK_IN_MONTH,

 /**
   */
  UCAL_AM_PM,

 /**
   */
  UCAL_HOUR,

 /**
   */
  UCAL_HOUR_OF_DAY,

 /**
   */
  UCAL_MINUTE,

 /**
   */
  UCAL_SECOND,

 /**
   */
  UCAL_MILLISECOND,

 /**
   */
  UCAL_ZONE_OFFSET,

 /**
   */
  UCAL_DST_OFFSET,
  
 /**
   */
  UCAL_YEAR_WOY,

 /**
   */
  UCAL_DOW_LOCAL,

  /**
   */
  UCAL_EXTENDED_YEAR,

 /**
   */
  UCAL_JULIAN_DAY, 

  /**
   */
  UCAL_MILLISECONDS_IN_DAY,

  /**
   */
  UCAL_IS_LEAP_MONTH,

    /* Do not conditionalize the following with #ifndef U_HIDE_DEPRECATED_API,
     * it is needed for layout of Calendar, DateFormat, and other objects */
    /**
     */
  UCAL_FIELD_COUNT,

 /**
   **/
  UCAL_DAY_OF_MONTH=UCAL_DATE
};
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\um\icu.h(28189,0)
  • If (NTDDI_VERSION >= NTDDI_WIN10_RS3)
  • If !UCONFIG_NO_FORMATTING
  • If (NTDDI_VERSION >= NTDDI_WIN10_RS2)
34 0.9521025 AutomationControlType Enum
enum AutomationControlType
                    {
                        Button       = 0,
                        Calendar     = 1,
                        CheckBox     = 2,
                        ComboBox     = 3,
                        Edit         = 4,
                        Hyperlink    = 5,
                        Image        = 6,
                        ListItem     = 7,
                        List         = 8,
                        Menu         = 9,
                        MenuBar      = 10,
                        MenuItem     = 11,
                        ProgressBar  = 12,
                        RadioButton  = 13,
                        ScrollBar    = 14,
                        Slider       = 15,
                        Spinner      = 16,
                        StatusBar    = 17,
                        Tab          = 18,
                        TabItem      = 19,
                        Text         = 20,
                        ToolBar      = 21,
                        ToolTip      = 22,
                        Tree         = 23,
                        TreeItem     = 24,
                        Custom       = 25,
                        Group        = 26,
                        Thumb        = 27,
                        DataGrid     = 28,
                        DataItem     = 29,
                        Document     = 30,
                        SplitButton  = 31,
                        Window       = 32,
                        Pane         = 33,
                        Header       = 34,
                        HeaderItem   = 35,
                        Table        = 36,
                        TitleBar     = 37,
                        Separator    = 38,
                        SemanticZoom = 39,
                        [contract(Windows.Foundation.UniversalApiContract, 1.0)]
                        AppBar       = 40
                    };
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\winrt\windows.ui.xaml.automation.peers.idl(948,0)
35 0.4760513 Symbol Enum
enum Symbol
                {
                    Previous               = 57600,
                    Next                   = 57601,
                    Play                   = 57602,
                    Pause                  = 57603,
                    Edit                   = 57604,
                    Save                   = 57605,
                    Clear                  = 57606,
                    Delete                 = 57607,
                    Remove                 = 57608,
                    Add                    = 57609,
                    Cancel                 = 57610,
                    Accept                 = 57611,
                    More                   = 57612,
                    Redo                   = 57613,
                    Undo                   = 57614,
                    Home                   = 57615,
                    Up                     = 57616,
                    Forward                = 57617,
                    Back                   = 57618,
                    Favorite               = 57619,
                    Camera                 = 57620,
                    Setting                = 57621,
                    Video                  = 57622,
                    Sync                   = 57623,
                    Download               = 57624,
                    Mail                   = 57625,
                    Find                   = 57626,
                    Help                   = 57627,
                    Upload                 = 57628,
                    Emoji                  = 57629,
                    TwoPage                = 57630,
                    LeaveChat              = 57631,
                    MailForward            = 57632,
                    Clock                  = 57633,
                    Send                   = 57634,
                    Crop                   = 57635,
                    RotateCamera           = 57636,
                    People                 = 57637,
                    OpenPane               = 57638,
                    ClosePane              = 57639,
                    World                  = 57640,
                    Flag                   = 57641,
                    PreviewLink            = 57642,
                    Globe                  = 57643,
                    Trim                   = 57644,
                    AttachCamera           = 57645,
                    ZoomIn                 = 57646,
                    Bookmarks              = 57647,
                    Document               = 57648,
                    ProtectedDocument      = 57649,
                    Page                   = 57650,
                    Bullets                = 57651,
                    Comment                = 57652,
                    MailFilled             = 57653,
                    ContactInfo            = 57654,
                    HangUp                 = 57655,
                    ViewAll                = 57656,
                    MapPin                 = 57657,
                    Phone                  = 57658,
                    VideoChat              = 57659,
                    Switch                 = 57660,
                    Contact                = 57661,
                    Rename                 = 57662,
                    Pin                    = 57665,
                    MusicInfo              = 57666,
                    Go                     = 57667,
                    Keyboard               = 57668,
                    DockLeft               = 57669,
                    DockRight              = 57670,
                    DockBottom             = 57671,
                    Remote                 = 57672,
                    Refresh                = 57673,
                    Rotate                 = 57674,
                    Shuffle                = 57675,
                    List                   = 57676,
                    Shop                   = 57677,
                    SelectAll              = 57678,
                    Orientation            = 57679,
                    Import                 = 57680,
                    ImportAll              = 57681,
                    BrowsePhotos           = 57685,
                    WebCam                 = 57686,
                    Pictures               = 57688,
                    SaveLocal              = 57689,
                    Caption                = 57690,
                    Stop                   = 57691,
                    ShowResults            = 57692,
                    Volume                 = 57693,
                    Repair                 = 57694,
                    Message                = 57695,
                    Page2                  = 57696,
                    CalendarDay            = 57697,
                    CalendarWeek           = 57698,
                    Calendar               = 57699,
                    Character              = 57700,
                    MailReplyAll           = 57701,
                    Read                   = 57702,
                    Link                   = 57703,
                    Account                = 57704,
                    ShowBcc                = 57705,
                    HideBcc                = 57706,
                    Cut                    = 57707,
                    Attach                 = 57708,
                    Paste                  = 57709,
                    Filter                 = 57710,
                    Copy                   = 57711,
                    Emoji2                 = 57712,
                    Important              = 57713,
                    MailReply              = 57714,
                    SlideShow              = 57715,
                    Sort                   = 57716,
                    Manage                 = 57720,
                    AllApps                = 57721,
                    DisconnectDrive        = 57722,
                    MapDrive               = 57723,
                    NewWindow              = 57724,
                    OpenWith               = 57725,
                    ContactPresence        = 57729,
                    Priority               = 57730,
                    GoToToday              = 57732,
                    Font                   = 57733,
                    FontColor              = 57734,
                    Contact2               = 57735,
                    Folder                 = 57736,
                    Audio                  = 57737,
                    Placeholder            = 57738,
                    View                   = 57739,
                    SetLockScreen          = 57740,
                    SetTile                = 57741,
                    ClosedCaption          = 57744,
                    StopSlideShow          = 57745,
                    Permissions            = 57746,
                    Highlight              = 57747,
                    DisableUpdates         = 57748,
                    UnFavorite             = 57749,
                    UnPin                  = 57750,
                    OpenLocal              = 57751,
                    Mute                   = 57752,
                    Italic                 = 57753,
                    Underline              = 57754,
                    Bold                   = 57755,
                    MoveToFolder           = 57756,
                    LikeDislike            = 57757,
                    Dislike                = 57758,
                    Like                   = 57759,
                    AlignRight             = 57760,
                    AlignCenter            = 57761,
                    AlignLeft              = 57762,
                    Zoom                   = 57763,
                    ZoomOut                = 57764,
                    OpenFile               = 57765,
                    OtherUser              = 57766,
                    Admin                  = 57767,
                    Street                 = 57795,
                    Map                    = 57796,
                    ClearSelection         = 57797,
                    FontDecrease           = 57798,
                    FontIncrease           = 57799,
                    FontSize               = 57800,
                    CellPhone              = 57801,
                    ReShare                = 57802,
                    Tag                    = 57803,
                    RepeatOne              = 57804,
                    RepeatAll              = 57805,
                    OutlineStar            = 57806,
                    SolidStar              = 57807,
                    Calculator             = 57808,
                    Directions             = 57809,
                    Target                 = 57810,
                    Library                = 57811,
                    PhoneBook              = 57812,
                    Memo                   = 57813,
                    Microphone             = 57814,
                    PostUpdate             = 57815,
                    BackToWindow           = 57816,
                    FullScreen             = 57817,
                    NewFolder              = 57818,
                    CalendarReply          = 57819,
                    UnSyncFolder           = 57821,
                    ReportHacked           = 57822,
                    SyncFolder             = 57823,
                    BlockContact           = 57824,
                    SwitchApps             = 57825,
                    AddFriend              = 57826,
                    TouchPointer           = 57827,
                    GoToStart              = 57828,
                    ZeroBars               = 57829,
                    OneBar                 = 57830,
                    TwoBars                = 57831,
                    ThreeBars              = 57832,
                    FourBars               = 57833,
                    Scan                   = 58004,
                    Preview                = 58005,
                    [contract(Windows.Foundation.UniversalApiContract, 5.0)]
                    GlobalNavigationButton = 59136,
                    [contract(Windows.Foundation.UniversalApiContract, 5.0)]
                    Share                  = 59181,
                    [contract(Windows.Foundation.UniversalApiContract, 5.0)]
                    Print                  = 59209,
                    [contract(Windows.Foundation.UniversalApiContract, 5.0)]
                    XboxOneConsole         = 59792
                };
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.19041.0\winrt\windows.ui.xaml.controls.idl(3947,0)