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 4,200 header files (.h, .hxx, .hpp, .idl, etc.) provided by standard Windows and Visual Studio SDKs.
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.

 "C2P5"

To build this database, we have written a powerful C/C++ parser named C2P5 (for C/CPP/PreProcessor/Parser), tailored specifically for this task. 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). 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++ enum definitions
  • Special GUID constructs like DECLSPEC_UUID, DEFINE_GUIDSTRUCT or MIDL_INTERFACE
  • 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.

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 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 Lucene'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 Lucene'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: Lucene'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 Lucene's 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. 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: Wednesday, October 3, 2018
  • Items count: 335808
  • Parsed files count: 5759
  • Windows SDK version: 10.0.17763.0

 

 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-2018 Simon Mourier V1.2.0. 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.354335 PosPrinterBarcodeTextPosition::Below Int32 2 0x00000002 2 System.Int32
Below = 2
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\winrt\windows.devices.pointofservice.idl(754,0)
2 3.155072 IF_TYPE_OTHER Int32 1 0x00000001 1 System.Int32
#define IF_TYPE_OTHER                   1   // None of the below
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\ipifcons.h(44,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
3 3.155072 CSCONFIGFLAG_BITS Int32 7 0x00000007 7 System.Int32
#define CSCONFIGFLAG_BITS               0x00000007      // OR of below bits
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\RegStr.h(779,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
4 3.155072 MFE_NO_ERROR Int32 0 0x00000000 0 System.Int32
#define MFE_NO_ERROR          0 // none of the below events
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\Routprot.h(861,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
5 3.155072 PosPrinterBarcodeTextPosition Enum
enum PosPrinterBarcodeTextPosition
            {
                None  = 0,
                Above = 1,
                Below = 2
            };
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\winrt\windows.devices.pointofservice.idl(750,0)
6 3.155072 ED_VIDEO Int32 33554432 0x02000000 33554432 System.Int32
#define ED_VIDEO					0x2000000L	// for Edit props below
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\edevdefs.h(441,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
7 3.155072 SCSI_ADSENSE_OPERATOR_REQUEST Int32 90 0x0000005A 90 System.Int32
#define SCSI_ADSENSE_OPERATOR_REQUEST                      0x5a // see below
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\scsi.h(3902,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_PKG_STORAGE)
8 3.123362 NERR_BadFileCheckSum Int32 2504 0x000009C8 2504 System.Int32
#define NERR_BadFileCheckSum    (NERR_BASE+404) /* The file below is corrupt.*/
#define NERR_BadFileCheckSum    (NERR_BASE+404) /* The file below is corrupt.*/
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\lmerr.h(470,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
9 2.677167 NERR_BadDosRetCode Int32 2500 0x000009C4 2500 System.Int32
#define NERR_BadDosRetCode      (NERR_BASE+400) /* The program below returned an MS-DOS error code:*/
#define NERR_BadDosRetCode      (NERR_BASE+400) /* The program below returned an MS-DOS error code:*/
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\lmerr.h(466,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
10 2.677167 NERR_ProgNeedsExtraMem Int32 2501 0x000009C5 2501 System.Int32
#define NERR_ProgNeedsExtraMem  (NERR_BASE+401) /* The program below needs more memory:*/
#define NERR_ProgNeedsExtraMem  (NERR_BASE+401) /* The program below needs more memory:*/
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\lmerr.h(467,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
11 2.677167 NERR_BadDosFunction Int32 2502 0x000009C6 2502 System.Int32
#define NERR_BadDosFunction     (NERR_BASE+402) /* The program below called an unsupported MS-DOS function:*/
#define NERR_BadDosFunction     (NERR_BASE+402) /* The program below called an unsupported MS-DOS function:*/
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\lmerr.h(468,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
12 2.524058 IIS_MD_UT_END_RESERVED Int32 2000 0x000007D0 2000 System.Int32
#define IIS_MD_UT_END_RESERVED       2000   // All user types below this are
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\IIScnfg.h(90,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
13 2.524058 REGSTR_VAL_VISIBLEBANDS_TYPE UInt32 4 0x00000004 4 System.UInt32
#define REGSTR_VAL_VISIBLEBANDS_TYPE    REG_DWORD   // 3 bits (see below)
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\InetReg.h(388,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
14 2.524058 Placement Enum
enum Placement
            {
                Default = 0,
                Above   = 1,
                Below   = 2,
                Left    = 3,
                Right   = 4
            };
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\winrt\windows.ui.popups.idl(98,0)
15 2.524058 WM_FLOATSTATUS Int32 877 0x0000036D 877 System.Int32
#define WM_FLOATSTATUS      0x036D  // wParam combination of FS_* flags below
%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.15.26726\atlmfc\include\afxpriv.h(132,0)
16 2.524058 AFX_CUSTOMIZE_TEXT_LABELS Int32 2 0x00000002 2 System.Int32
#define AFX_CUSTOMIZE_TEXT_LABELS     0x0002 // Allow chnage toolbar text lables below the image
%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.11.25503\atlmfc\include\afxtoolbarscustomizedialog.h(39,0)
17 2.524058 REO_BELOWBASELINE Int32 2 0x00000002 2 System.Int32
#define REO_BELOWBASELINE	(0x00000002L)	// Object sits below the baseline
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\RichOle.h(55,0)
18 2.524058 XAUDIO2_FILTER_TYPE::HighPassFilter Int32 2 0x00000002 2 System.Int32
HighPassFilter,                     // Attenuates frequencies below the cutoff frequency (state-variable filter).
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\xaudio2.h(256,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_TV_APP | WINAPI_PARTITION_TV_TITLE)
  • Ifndef GUID_DEFS_ONLY
19 2.524058 XAUDIO2_FILTER_TYPE::HighPassOnePoleFilter Int32 5 0x00000005 5 System.Int32
HighPassOnePoleFilter               // Attenuates frequencies below the cutoff frequency (one-pole filter, XAUDIO2_FILTER_PARAMETERS.OneOverQ has no effect)
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\xaudio2.h(259,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_TV_APP | WINAPI_PARTITION_TV_TITLE)
  • Ifndef GUID_DEFS_ONLY
20 2.524058 FLG_ADDREG_DELREG_BIT Int32 32768 0x00008000 -32768 System.Int32
#define FLG_ADDREG_DELREG_BIT       ( 0x00008000 ) // if set, interpret as DELREG, see below
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\setupapi.h(4264,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If _SETUPAPI_VER >= _WIN32_WINNT_WINXP
21 2.524058 __magnumdb__enum_msouser_h_3::msonaBeforePaletteRealize Int32 2 0x00000002 2 System.Int32
msonaBeforePaletteRealize,		// Office is going to realize one or more palettes, see comment below
%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Professional\VSSDK\VisualStudioIntegration\Common\Inc\office10\msouser.h(97,0)
22 2.20855 IPROPNAME_TEMPLATE_AMD64 String AMD64 Narrow System.TypedString
#define IPROPNAME_TEMPLATE_AMD64   TEXT("AMD64")  // Oct. 2004: this is to be retired once grace period expires, use the x64 below instead
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\MsiDefs.h(274,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If (_WIN32_MSI >= 150)
23 2.20855 IPROPNAME_MSIAMD64 String MsiAMD64 Narrow System.TypedString
#define IPROPNAME_MSIAMD64         TEXT("MsiAMD64")  // Oct. 2004: this is to be retired once grace period expires, use the x64 below instead
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\MsiDefs.h(276,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If (_WIN32_MSI >= 150)
24 1.893043 DEVPKEY_Sensor_ConnectionType PropertyKey {d4247382-969d-4f24-bb14-fb9671870bbf} 4 System.PropertyKey
DEFINE_PROPERTYKEY(DEVPKEY_Sensor_ConnectionType, // Possible values for this key are defined in the SENSOR_CONNECTION_TYPES enum below
    0xd4247382, 0x969d, 0x4f24, 0xbb, 0x14, 0xfb, 0x96, 0x71, 0x87, 0xb, 0xbf, 4);  //[VT_UI4]
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\sensorsdef.h(124,0)
  • Ifndef __midl
25 1.893043 PKEY_SensorData_MagnetometerAccuracy PropertyKey {c458f8a7-4ae8-4777-9607-2e9bdd65110a} 23 System.PropertyKey
DEFINE_PROPERTYKEY(PKEY_SensorData_MagnetometerAccuracy,        // Possible values for this key are defined in MAGNETOMETER_ACCURACY enum below
    0xc458f8a7, 0x4ae8, 0x4777, 0x96, 0x7, 0x2e, 0x9b, 0xdd, 0x65, 0x11, 0xa, 23); //[VT_UI4]
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\sensorsdef.h(231,0)
  • Ifndef __midl
26 1.893043 PKEY_SensorData_CurrentActivityState PropertyKey {c458f8a7-4ae8-4777-9607-2e9bdd65110a} 130 System.PropertyKey
DEFINE_PROPERTYKEY(PKEY_SensorData_CurrentActivityState, // Possible values for this key are defined in ACTIVITY_STATES enum below
    0xc458f8a7, 0x4ae8, 0x4777, 0x96, 0x7, 0x2e, 0x9b, 0xdd, 0x65, 0x11, 0xa, 130); //[VT_UI4]
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\sensorsdef.h(299,0)
  • Ifndef __midl
27 1.893043 PKEY_SensorData_SubscribedActivityStates PropertyKey {c458f8a7-4ae8-4777-9607-2e9bdd65110a} 132 System.PropertyKey
DEFINE_PROPERTYKEY(PKEY_SensorData_SubscribedActivityStates, // Possible values for this key are defined in ACTIVITY_STATES enum below
    0xc458f8a7, 0x4ae8, 0x4777, 0x96, 0x7, 0x2e, 0x9b, 0xdd, 0x65, 0x11, 0xa, 132); //[VT_UI4]
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\sensorsdef.h(303,0)
  • Ifndef __midl
28 1.893043 PKEY_SensorData_PedometerStepType PropertyKey {c458f8a7-4ae8-4777-9607-2e9bdd65110a} 140 System.PropertyKey
DEFINE_PROPERTYKEY(PKEY_SensorData_PedometerStepType, // Possible values for this key are defined in PEDOMETER_STEP_TYPE enum below
    0xc458f8a7, 0x4ae8, 0x4777, 0x96, 0x7, 0x2e, 0x9b, 0xdd, 0x65, 0x11, 0xa, 140); //[VT_UI4]
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\sensorsdef.h(311,0)
  • Ifndef __midl
29 1.893043 PKEY_SensorData_ElevationChangeMode PropertyKey {c458f8a7-4ae8-4777-9607-2e9bdd65110a} 200 System.PropertyKey
DEFINE_PROPERTYKEY(PKEY_SensorData_ElevationChangeMode, // Possible values for this key are defined in ELEVATION_CHANGE_MODE enum below
    0xc458f8a7, 0x4ae8, 0x4777, 0x96, 0x7, 0x2e, 0x9b, 0xdd, 0x65, 0x11, 0xa, 200); //[VT_UI4]
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\sensorsdef.h(381,0)
  • Ifndef __midl
30 1.784778 WAVE_FORMAT_MPEG_HEAAC Int32 5648 0x00001610 5648 System.Int32
#define  WAVE_FORMAT_MPEG_HEAAC                 0x1610 /* Microsoft Corporation (MPEG-2 AAC or MPEG-4 HE-AAC v1/v2 streams with any payload (ADTS, ADIF, LOAS/LATM, RAW). Format block includes MP4 AudioSpecificConfig() -- see HEAACWAVEFORMAT below */
#define  WAVE_FORMAT_MPEG_HEAAC                 0x1610 /* Microsoft Corporation (MPEG-2 AAC or MPEG-4 HE-AAC v1/v2 streams with any payload (ADTS, ADIF, LOAS/LATM, RAW). Format block includes MP4 AudioSpecificConfig() -- see HEAACWAVEFORMAT below */
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\shared\mmreg.h(2303,0)
  • If !defined(__midl)
  • Ifndef _INC_MMREG
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
  • Ifndef NONEWWAVE
31 1.561681 XAUDIO2_FILTER_TYPE Enum
typedef enum XAUDIO2_FILTER_TYPE
{
    LowPassFilter,                      // Attenuates frequencies above the cutoff frequency (state-variable filter).
    BandPassFilter,                     // Attenuates frequencies outside a given range      (state-variable filter).
    HighPassFilter,                     // Attenuates frequencies below the cutoff frequency (state-variable filter).
    NotchFilter,                        // Attenuates frequencies inside a given range       (state-variable filter).
    LowPassOnePoleFilter,               // Attenuates frequencies above the cutoff frequency (one-pole filter, XAUDIO2_FILTER_PARAMETERS.OneOverQ has no effect)
    HighPassOnePoleFilter               // Attenuates frequencies below the cutoff frequency (one-pole filter, XAUDIO2_FILTER_PARAMETERS.OneOverQ has no effect)
} XAUDIO2_FILTER_TYPE;
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\xaudio2.h(252,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_TV_APP | WINAPI_PARTITION_TV_TITLE)
  • Ifndef GUID_DEFS_ONLY
32 1.262029 CorExceptionFlag Enum
typedef enum CorExceptionFlag                       // definitions for the Flags field below (for both big and small)
{
    COR_ILEXCEPTION_CLAUSE_NONE,                    // This is a typed handler
    COR_ILEXCEPTION_CLAUSE_OFFSETLEN = 0x0000,      // Deprecated
    COR_ILEXCEPTION_CLAUSE_DEPRECATED = 0x0000,     // Deprecated
    COR_ILEXCEPTION_CLAUSE_FILTER  = 0x0001,        // If this bit is on, then this EH entry is for a filter
    COR_ILEXCEPTION_CLAUSE_FINALLY = 0x0002,        // This clause is a finally clause
    COR_ILEXCEPTION_CLAUSE_FAULT = 0x0004,          // Fault clause (finally that is called on exception only)
    COR_ILEXCEPTION_CLAUSE_DUPLICATED = 0x0008,     // duplicated clause. This clause was duplicated to a funclet which was pulled out of line
} CorExceptionFlag;
%ProgramFiles(x86)%\Windows Kits\NETFXSDK\4.7.2\include\um\CorHdr.h(1139,0)
33 1.104275 __magnumdb__enum_msouser_h_3 Enum
enum
	{
	msonaStartHelpMode = 0,			// User entered Quick tip mode (Shift-F1).  App should update any internal state
	msonaEndHelpMode,					// Quick tip was displayed.  App should restore cursor.
	msonaBeforePaletteRealize,		// Office is going to realize one or more palettes, see comment below
	msonaQueryDisablePip,			// Gives the app the chance to refuse a .PIP file, should it not want one.
	msonaQueryInsertPicture,		// Asks the app if we can insert a picture
	msonaQueryAcbAware,				// Asks the app if it's fully aware of the Active ClipBoard
	msonaBeforeInitTFCBalloons,	// tells the app that TFC balloons are about to be initialized
	msonaAfterInitTFCBalloons,		// tells the app that TFC balloon initialization is over
	msonaAddinBeforeConnect,
	msonaAddinAfterConnect,
	msonaAddinBeforeDisconnect,
	msonaAddinAfterDisconnect
	};
%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Professional\VSSDK\VisualStudioIntegration\Common\Inc\office10\msouser.h(93,0)
34 0.6310144 UNumberFormatAttribute Enum
typedef enum UNumberFormatAttribute {
  /** Parse integers only */
  /** Parse integers only */
  UNUM_PARSE_INT_ONLY,
  /** Use grouping separator */
  /** Use grouping separator */
  UNUM_GROUPING_USED,
  /** Always show decimal point */
  /** Always show decimal point */
  UNUM_DECIMAL_ALWAYS_SHOWN,
  /** Maximum integer digits */
  /** Maximum integer digits */
  UNUM_MAX_INTEGER_DIGITS,
  /** Minimum integer digits */
  /** Minimum integer digits */
  UNUM_MIN_INTEGER_DIGITS,
  /** Integer digits */
  /** Integer digits */
  UNUM_INTEGER_DIGITS,
  /** Maximum fraction digits */
  /** Maximum fraction digits */
  UNUM_MAX_FRACTION_DIGITS,
  /** Minimum fraction digits */
  /** Minimum fraction digits */
  UNUM_MIN_FRACTION_DIGITS,
  /** Fraction digits */
  /** Fraction digits */
  UNUM_FRACTION_DIGITS,
  /** Multiplier */
  /** Multiplier */
  UNUM_MULTIPLIER,
  /** Grouping size */
  /** Grouping size */
  UNUM_GROUPING_SIZE,
  /** Rounding Mode */
  /** Rounding Mode */
  UNUM_ROUNDING_MODE,
  /** Rounding increment */
  /** Rounding increment */
  UNUM_ROUNDING_INCREMENT,
  /** The width to which the output of <code>format()</code> is padded. */
  /** The width to which the output of <code>format()</code> is padded. */
  UNUM_FORMAT_WIDTH,
  /** The position at which padding will take place. */
  /** The position at which padding will take place. */
  UNUM_PADDING_POSITION,
  /** Secondary grouping size */
  /** Secondary grouping size */
  UNUM_SECONDARY_GROUPING_SIZE,
  /** Use significant digits
   * @stable ICU 3.0 */
  UNUM_SIGNIFICANT_DIGITS_USED,
  /** Minimum significant digits
   * @stable ICU 3.0 */
  UNUM_MIN_SIGNIFICANT_DIGITS,
  /** Maximum significant digits
   * @stable ICU 3.0 */
  UNUM_MAX_SIGNIFICANT_DIGITS,
  /** Lenient parse mode used by rule-based formats.
   */
  UNUM_LENIENT_PARSE,
  /** Consume all input. (may use fastpath). Set to UNUM_YES (require fastpath), UNUM_NO (skip fastpath), or UNUM_MAYBE (heuristic).
   */
  UNUM_PARSE_ALL_INPUT = 20,
  /** 
   * @stable ICU 51 */
  UNUM_SCALE = 21,

  /** 
   */
  UNUM_CURRENCY_USAGE = 23,

  /* The following cannot be #ifndef U_HIDE_INTERNAL_API, needed in .h file variable declararions */
  /* The following cannot be #ifndef U_HIDE_INTERNAL_API, needed in .h file variable declararions */
  /** One below the first bitfield-boolean item.
   * @internal */
  UNUM_MAX_NONBOOLEAN_ATTRIBUTE = 0x0FFF,

  /** If 1, specifies that if setting the "max integer digits" attribute would truncate a value, set an error status rather than silently truncating.
   */
  UNUM_FORMAT_FAIL_IF_MORE_THAN_MAX_DIGITS = 0x1000,
  /** 
   */
  UNUM_PARSE_NO_EXPONENT,

  /** 
   */
  UNUM_PARSE_DECIMAL_MARK_REQUIRED = 0x1002,

  /* The following cannot be #ifndef U_HIDE_INTERNAL_API, needed in .h file variable declararions */
  /* The following cannot be #ifndef U_HIDE_INTERNAL_API, needed in .h file variable declararions */
  /** Limit of boolean attributes.
   * @internal */
  UNUM_LIMIT_BOOLEAN_ATTRIBUTE = 0x1003
} UNumberFormatAttribute;
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.17763.0\um\icu.h(34981,0)
  • If (NTDDI_VERSION >= NTDDI_WIN10_RS3)
  • If !UCONFIG_NO_FORMATTING
  • If UCONFIG_HAVE_PARSEALLINPUT
  • If (NTDDI_VERSION >= NTDDI_WIN10_RS2)