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 August 29, 2019
  • Items count: 350276
  • Parsed files count: 7563
  • Windows SDK version: 10.0.18362.0
  • NetFx SDK version: 4.8
  • MSVC Tools version: 14.23.28105

 

 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.1. 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 4.950981 HttpResponseMessageSource::Cache Int32 1 0x00000001 1 System.Int32
Cache   = 1,
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\winrt\windows.web.http.idl(299,0)
2 4.125818 CFSTR_MIME_MANIFEST String text/cache-manifest Narrow System.TypedString
#define CFSTR_MIME_MANIFEST     (TEXT("text/cache-manifest"))
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\urlmon.h(655,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
3 4.125818 Cache Int32 360 0x00000168 360 System.Int32
static const int Cache = 360;
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VSSDK\VisualStudioIntegration\Common\Inc\KnownImageIds.h(400,0)
4 4.084351 __magnumdb__enum_VSLVsSite_h_1 Enum
enum { bIsGlobal = Cache::bIsGlobal };
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VSSDK\VisualStudioIntegration\Common\Source\CPP\VSL\include\VSLVsSite.h(82,0)
5 3.500873 DFX_Operation::FreeCache Int32 8 0x00000008 8 System.Int32
FreeCache,              // frees cache
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.16.27023\atlmfc\include\afxdao.h(410,0)
6 3.300654 STR_PARSE_SKIP_NET_CACHE String Skip Net Resource Cache Wide System.TypedString
#define STR_PARSE_SKIP_NET_CACHE             L"Skip Net Resource Cache"
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\shobjidl_core.h(3960,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
7 2.917394 GLOBAL_FILTER::GF_FRAGCACHE Int32 9 0x00000009 9 System.Int32
GF_FRAGCACHE = 9         // check fragments from cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\fltdefs.h(54,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
8 2.917394 BIND_CACHE_IMPORT_DLLS Int32 8 0x00000008 8 System.Int32
#define BIND_CACHE_IMPORT_DLLS 0x00000008       // Cache dll's across
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\ImageHlp.h(204,0)
  • If WINAPI_FAMILY_PARTITION(NONGAMESPARTITIONS)
9 2.917394 MUTZ_DONT_USE_CACHE Int32 4096 0x00001000 4096 System.Int32
#define MUTZ_DONT_USE_CACHE          0x00001000 // Do not check the cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\urlmon.h(7014,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
10 2.917394 PNRP_CLOUD_STATE::PNRP_CLOUD_STATE_SYNCHRONISING Int32 1 0x00000001 1 System.Int32
PNRP_CLOUD_STATE_SYNCHRONISING = 1,    //  The cache is initializing
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\pnrpdef.h(74,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
11 2.917394 REGSTR_VAL_DRIVERCACHEPATH String DriverCachePath Narrow System.TypedString
#define REGSTR_VAL_DRIVERCACHEPATH      TEXT("DriverCachePath") //location of driver cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\RegStr.h(249,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
12 2.917394 REGSTR_VAL_CDCACHESIZE String CacheSize Narrow System.TypedString
#define REGSTR_VAL_CDCACHESIZE  TEXT("CacheSize")       // Number of 2K cache sectors
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\RegStr.h(486,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
13 2.917394 RESTRICTIONS::REST_NOTHUMBNAILCACHE Int32 1073741949 0x4000007D 1073741949 System.Int32
REST_NOTHUMBNAILCACHE           = 0x4000007D,   // disables use of the thumbnail cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\shlobj_core.h(2648,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If (NTDDI_VERSION >= NTDDI_WINXP)
14 2.917394 NVCACHE_STATUS Enum
typedef enum _NVCACHE_STATUS {
    NvCacheStatusUnknown     = 0,   // Driver can't report non-volatile cache status
    NvCacheStatusDisabling   = 1,   // non-volatile cache is in process of being disabled.
    NvCacheStatusDisabled    = 2,   // non-volatile cache has been disabled.
    NvCacheStatusEnabled     = 3    // non-volatile cache has been enabled.
} NVCACHE_STATUS;
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ntddscsi.h(942,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
15 2.917394 _ERR_TYPE::ERR_CACHE Int32 6 0x00000006 6 System.Int32
ERR_CACHE    = 6,         // Storage error in cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\km\mce.h(923,0)
  • If defined(_X86_) || defined(_IA64_) || defined(_AMD64_)
  • If defined(_IA64_)
16 2.917394 HttpResponseMessageSource Enum
enum HttpResponseMessageSource
            {
                None    = 0,
                Cache   = 1,
                Network = 2
            };
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\winrt\windows.web.http.idl(296,0)
17 2.917394 DFX_Operation::AllocCache Int32 5 0x00000005 5 System.Int32
AllocCache,             // allocates cache used for dirty check
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.16.27023\atlmfc\include\afxdao.h(407,0)
18 2.917394 DFX_Operation::StoreField Int32 6 0x00000006 6 System.Int32
StoreField,             // saves current record to cache
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.16.27023\atlmfc\include\afxdao.h(408,0)
19 2.888072 JET_bitTableNoCache Int32 32 0x00000020 32 System.Int32
#define JET_bitTableNoCache             0x00000020  /*  don't cache the pages for this table */
#define JET_bitTableNoCache             0x00000020  /*  don't cache the pages for this table */
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(2399,0)
  • If !defined(_JET_INCLUDED)
20 2.888072 JET_bitTablePreread Int32 64 0x00000040 64 System.Int32
#define JET_bitTablePreread             0x00000040  /*  assume the table is probably not in the buffer cache */
#define JET_bitTablePreread             0x00000040  /*  assume the table is probably not in the buffer cache */
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(2400,0)
  • If !defined(_JET_INCLUDED)
21 2.475491 NERR_CanNotGrowSegment Int32 2233 0x000008B9 2233 System.Int32
#define NERR_CanNotGrowSegment  (NERR_BASE+133) /* Unable to add to the security database session cache segment. */
#define NERR_CanNotGrowSegment  (NERR_BASE+133) /* Unable to add to the security database session cache segment. */
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\lmerr.h(217,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
22 2.475491 NERR_NotInCache Int32 2235 0x000008BB 2235 System.Int32
#define NERR_NotInCache         (NERR_BASE+135) /* This user is not cached in user accounts database session cache. */
#define NERR_NotInCache         (NERR_BASE+135) /* This user is not cached in user accounts database session cache. */
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\lmerr.h(219,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
23 2.333915 NETCACHE_E_NEGATIVE_CACHE UInt32 2150039808 0x80270100 -2144927488 System.UInt32
#define NETCACHE_E_NEGATIVE_CACHE           _HRESULT_TYPEDEF_(0x80270100L) // The item requested is in the negative net parsing cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\sherrors.h(127,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
24 2.333915 IEIFLAG_CACHE Int32 2 0x00000002 2 System.Int32
#define IEIFLAG_CACHE       0x0002      // returned from the extractor if it does NOT cache the thumbnail
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\shobjidl_core.h(13477,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
25 2.333915 HSE_URL_FLAGS_DONT_CACHE Int32 16 0x00000010 16 System.Int32
#define HSE_URL_FLAGS_DONT_CACHE    0x00000010    // Don't cache (vroot only)
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\HttpExt.h(214,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
26 2.333915 SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING Int32 1024 0x00000400 1024 System.Int32
#define SHI1005_FLAGS_ALLOW_NAMESPACE_CACHING   0x00400          // The clients may cache the namespace
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\lmshare.h(371,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
27 2.333915 NETSETUP_NO_NETLOGON_CACHE Int32 8192 0x00002000 8192 System.Int32
#define NETSETUP_NO_NETLOGON_CACHE  0x00002000  // Don't create the netlogon cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\lmjoin.h(145,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
28 2.333915 FRAMING_CACHE_OPS::Framing_Cache_Update Int32 0 0x00000000 0 System.Int32
Framing_Cache_Update,     // request to bypass cache when read/write
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ksproxy.h(129,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • Ifdef _KS_
29 2.333915 FRAMING_CACHE_OPS Enum
typedef enum {
    Framing_Cache_Update,     // request to bypass cache when read/write
    Framing_Cache_ReadLast,
    Framing_Cache_ReadOrig,
    Framing_Cache_Write
} FRAMING_CACHE_OPS;
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ksproxy.h(128,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • Ifdef _KS_
30 2.333915 INF_STYLE_CACHE_ENABLE Int32 16 0x00000010 16 System.Int32
#define INF_STYLE_CACHE_ENABLE   0x00000010 // always cache INF, even outside of %windir%\Inf
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\setupapi.h(302,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
31 2.333915 URLOSTRM_USECACHEDCOPY_ONLY Int32 1 0x00000001 1 System.Int32
#define URLOSTRM_USECACHEDCOPY_ONLY             0x1      // Only get from cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\urlmon.h(4787,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
32 2.333915 URLOSTRM_USECACHEDCOPY Int32 2 0x00000002 2 System.Int32
#define URLOSTRM_USECACHEDCOPY                  0x2      // Get from cache if available else download
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\urlmon.h(4788,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
33 2.333915 URLOSTRM_GETNEWESTVERSION Int32 3 0x00000003 3 System.Int32
#define URLOSTRM_GETNEWESTVERSION               0x3      // Get new version only. But put it in cache too
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\urlmon.h(4789,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
34 2.333915 WINHTTP_FLAG_BYPASS_PROXY_CACHE Int32 256 0x00000100 256 System.Int32
#define WINHTTP_FLAG_BYPASS_PROXY_CACHE    0x00000100 // add "pragma: no-cache" request header
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\winhttp.h(74,0)
  • If !defined(_WINHTTPX_)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM | WINAPI_PARTITION_GAMES)
35 2.333915 INTERNET_REQFLAG_FROM_CACHE Int32 1 0x00000001 1 System.Int32
#define INTERNET_REQFLAG_FROM_CACHE     0x00000001  // response came from cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\WinInet.h(115,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If !defined(_WININET_)
36 2.333915 INTERNET_FLAG_NO_CACHE_WRITE Int32 67108864 0x04000000 67108864 System.Int32
#define INTERNET_FLAG_NO_CACHE_WRITE    0x04000000  // don't write this item to the cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\WinInet.h(160,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If !defined(_WININET_)
37 2.333915 INTERNET_FLAG_MAKE_PERSISTENT Int32 33554432 0x02000000 33554432 System.Int32
#define INTERNET_FLAG_MAKE_PERSISTENT   0x02000000  // make this item persistent in cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\WinInet.h(162,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If !defined(_WININET_)
38 2.333915 INTERNET_FLAG_CACHE_IF_NET_FAIL Int32 65536 0x00010000 65536 System.Int32
#define INTERNET_FLAG_CACHE_IF_NET_FAIL 0x00010000  // return cache file if net request fails
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\WinInet.h(177,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If !defined(_WININET_)
39 2.333915 INTERNET_FLAG_PRAGMA_NOCACHE Int32 256 0x00000100 256 System.Int32
#define INTERNET_FLAG_PRAGMA_NOCACHE    0x00000100  // asking wininet to add "pragma: no-cache"
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\WinInet.h(196,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If !defined(_WININET_)
40 2.333915 INTERNET_FLAG_CACHE_ASYNC Int32 128 0x00000080 -128 System.Int32
#define INTERNET_FLAG_CACHE_ASYNC       0x00000080  // ok to perform lazy cache-write
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\WinInet.h(197,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If !defined(_WININET_)
41 2.333915 AUTO_PROXY_FLAG_DONT_CACHE_PROXY_RESULT Int32 16 0x00000010 16 System.Int32
#define AUTO_PROXY_FLAG_DONT_CACHE_PROXY_RESULT         0x00000010   // don't cache result of host=proxy name
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\WinInet.h(464,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If !defined(_WININET_)
42 2.333915 REINSTALLMODE::REINSTALLMODE_PACKAGE Int32 1024 0x00000400 1024 System.Int32
REINSTALLMODE_PACKAGE          = 0x00000400,  // use re-cache source install package
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\Msi.h(242,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
43 2.333915 SQL_COPT_SS_BROWSE_CACHE_DATA Int32 1245 0x000004DD 1245 System.Int32
#define SQL_COPT_SS_BROWSE_CACHE_DATA   (SQL_COPT_SS_BASE_EX+5) //Determines if we should cache browse info
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\odbcss.h(84,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
44 2.333915 REGSTR_VAL_CDPREFETCH String Prefetch Narrow System.TypedString
#define REGSTR_VAL_CDPREFETCH   TEXT("Prefetch")        // Number of 2K cache sectors for prefetching
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\RegStr.h(487,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
45 2.333915 REGSTR_VAL_CDRAWCACHE String RawCache Narrow System.TypedString
#define REGSTR_VAL_CDRAWCACHE   TEXT("RawCache")        // Number of 2352-byte cache sectors
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\RegStr.h(489,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
46 2.333915 RESTRICTIONS::REST_USEDESKTOPINICACHE Int32 1090519045 0x41000005 1090519045 System.Int32
REST_USEDESKTOPINICACHE         = 0x41000005,   // Cache desktop.ini entries from network folders
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\shlobj_core.h(2697,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If (NTDDI_VERSION >= NTDDI_WINXPSP2)
  • If (NTDDI_VERSION < NTDDI_VISTA)
47 2.333915 JET_paramCachedClosedTables Int32 125 0x0000007D 125 System.Int32
#define JET_paramCachedClosedTables             125 //  number of closed tables to cache the meta-data for
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(1827,0)
  • If !defined(_JET_INCLUDED)
  • If ( JET_VERSION >= 0x0600 )
48 2.333915 JET_paramEnableFileCache Int32 126 0x0000007E 126 System.Int32
#define JET_paramEnableFileCache                126 //  enable the use of the OS file cache for all managed files
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(1848,0)
  • If !defined(_JET_INCLUDED)
  • If ( JET_VERSION >= 0x0600 )
49 2.333915 JET_paramCacheSize Int32 41 0x00000029 41 System.Int32
#define JET_paramCacheSize                      41  //  current cache size in pages
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(1858,0)
  • If !defined(_JET_INCLUDED)
50 2.333915 JET_paramCacheSizeMin Int32 60 0x0000003C 60 System.Int32
#define JET_paramCacheSizeMin                   60  //  minimum cache size in pages
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(1859,0)
  • If !defined(_JET_INCLUDED)
51 2.333915 JET_paramCacheSizeMax Int32 23 0x00000017 23 System.Int32
#define JET_paramCacheSizeMax                   23  //  maximum cache size in pages
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(1860,0)
  • If !defined(_JET_INCLUDED)
52 2.333915 JET_paramEventLogCache Int32 99 0x00000063 99 System.Int32
#define JET_paramEventLogCache                  99  //  number of bytes of eventlog records to cache if service is not available
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(1993,0)
  • If !defined(_JET_INCLUDED)
53 2.333915 JET_paramPageHintCacheSize Int32 101 0x00000065 101 System.Int32
#define JET_paramPageHintCacheSize              101 //  maximum size of the fast page latch hint cache in bytes
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(1997,0)
  • If !defined(_JET_INCLUDED)
  • If ( JET_VERSION >= 0x0501 )
54 2.333915 JET_paramCachePriority Int32 177 0x000000B1 -79 System.Int32
#define JET_paramCachePriority                  177 //  Per-instance property for relative cache priorities (default = 100).
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(2040,0)
  • If !defined(_JET_INCLUDED)
  • If ( JET_VERSION >= 0x0602 )
55 2.333915 JET_errSPAvailExtCacheOutOfSync Int32 -340 0xFFFFFEAC -340 System.Int32
#define JET_errSPAvailExtCacheOutOfSync     -340  // AvailExt cache doesn't match btree
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(3082,0)
  • If !defined(_JET_INCLUDED)
56 2.333915 JET_errSPAvailExtCacheOutOfMemory Int32 -342 0xFFFFFEAA -342 System.Int32
#define JET_errSPAvailExtCacheOutOfMemory   -342  // Out of memory allocating an AvailExt cache node
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(3084,0)
  • If !defined(_JET_INCLUDED)
57 2.333915 NV_SEP_WRITE_CACHE_TYPE::NVSEPWriteCacheTypeUnknown Int32 0 0x00000000 0 System.Int32
NVSEPWriteCacheTypeUnknown    = 0,       // Miniport can't report the type of the write cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ntddscsi.h(742,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
58 2.333915 NV_SEP_WRITE_CACHE_TYPE::NVSEPWriteCacheTypeNone Int32 1 0x00000001 1 System.Int32
NVSEPWriteCacheTypeNone      = 1,        // Miniport doesn't support non volatile write cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ntddscsi.h(743,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
59 2.333915 NVCACHE_TYPE::NvCacheTypeNone Int32 1 0x00000001 1 System.Int32
NvCacheTypeNone           = 1,  // Device doesn't support non-volatile cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ntddscsi.h(937,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
60 2.333915 NVCACHE_STATUS::NvCacheStatusUnknown Int32 0 0x00000000 0 System.Int32
NvCacheStatusUnknown     = 0,   // Driver can't report non-volatile cache status
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ntddscsi.h(943,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
61 2.333915 NVCACHE_STATUS::NvCacheStatusDisabling Int32 1 0x00000001 1 System.Int32
NvCacheStatusDisabling   = 1,   // non-volatile cache is in process of being disabled.
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ntddscsi.h(944,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
62 2.333915 NVCACHE_STATUS::NvCacheStatusDisabled Int32 2 0x00000002 2 System.Int32
NvCacheStatusDisabled    = 2,   // non-volatile cache has been disabled.
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ntddscsi.h(945,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
63 2.333915 NVCACHE_STATUS::NvCacheStatusEnabled Int32 3 0x00000003 3 System.Int32
NvCacheStatusEnabled     = 3    // non-volatile cache has been enabled.
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ntddscsi.h(946,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
64 2.333915 RFX_Operation::AllocCache Int32 14 0x0000000E 14 System.Int32
AllocCache,         // allocate cache used for dirty field check
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.16.27023\atlmfc\include\afxdb.h(342,0)
65 2.333915 DFX_Operation::MarkForEdit Int32 11 0x0000000B 11 System.Int32
MarkForEdit,            // marks fields dirty if don't match cache
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.16.27023\atlmfc\include\afxdao.h(413,0)
66 2.333915 msofurldUseCachedVersion Int32 1 0x00000001 1 System.Int32
#define msofurldUseCachedVersion  0x0001  // if it already exists in the cache, use it (otherwise download it)
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VSSDK\VisualStudioIntegration\Common\Inc\office10\msourl.h(127,0)
67 2.333915 SN_INFLAG_INSTALL Int32 2 0x00000002 2 System.Int32
#define SN_INFLAG_INSTALL        0x00000002     // verification is the first (on entry to the cache)
%ProgramFiles(x86)%\Windows Kits\NETFXSDK\4.8\include\um\StrongName.h(218,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
68 2.333915 SN_INFLAG_ADMIN_ACCESS Int32 4 0x00000004 4 System.Int32
#define SN_INFLAG_ADMIN_ACCESS   0x00000004     // cache protects assembly from all but admin access
%ProgramFiles(x86)%\Windows Kits\NETFXSDK\4.8\include\um\StrongName.h(219,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
69 2.333915 SN_INFLAG_USER_ACCESS Int32 8 0x00000008 8 System.Int32
#define SN_INFLAG_USER_ACCESS    0x00000008     // cache protects user's assembly from other users
%ProgramFiles(x86)%\Windows Kits\NETFXSDK\4.8\include\um\StrongName.h(220,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
70 2.333915 SN_INFLAG_ALL_ACCESS Int32 16 0x00000010 16 System.Int32
#define SN_INFLAG_ALL_ACCESS     0x00000010     // cache provides no access restriction guarantees
%ProgramFiles(x86)%\Windows Kits\NETFXSDK\4.8\include\um\StrongName.h(221,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
71 2.062909 JET_bitDbPurgeCacheOnAttach Int32 4096 0x00001000 4096 System.Int32
#define JET_bitDbPurgeCacheOnAttach     0x00001000 /* used to ensure any kept alive cache is purged for this DB before attach */
#define JET_bitDbPurgeCacheOnAttach     0x00001000 /* used to ensure any kept alive cache is purged for this DB before attach */
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(2200,0)
  • If !defined(_JET_INCLUDED)
  • If ( JET_VERSION >= 0x0602 )
72 2.062909 NV_SEP_WRITE_CACHE_TYPE Enum
typedef enum _NV_SEP_WRITE_CACHE_TYPE    {
    NVSEPWriteCacheTypeUnknown    = 0,       // Miniport can't report the type of the write cache
    NVSEPWriteCacheTypeNone      = 1,        // Miniport doesn't support non volatile write cache
    NVSEPWriteCacheTypeWriteBack = 2,        // Miniport supports write back caching
    NVSEPWriteCacheTypeWriteThrough = 3      // Miniport supports write through caching
} NV_SEP_WRITE_CACHE_TYPE, *PNV_SEP_WRITE_CACHE_TYPE;
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ntddscsi.h(741,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
73 2.042176 VIEW_PRIORITY_USEASDEFAULT Int32 67 0x00000043 67 System.Int32
#define VIEW_PRIORITY_USEASDEFAULT  0x00000043  // 'Use As Default' is more important than shellext, but less than a stale cache
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\shdeprecated.h(1516,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
74 2.042176 VIEW_PRIORITY_CACHEMISS Int32 48 0x00000030 48 System.Int32
#define VIEW_PRIORITY_CACHEMISS     0x00000030  // if we have a cache miss, then we fall back to the 'all folders like this' default
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\shdeprecated.h(1518,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
75 2.042176 DFX_Operation Enum
enum DFX_Operation
	{
		AddToParameterList,     // builds PARAMETERS clause
		AddToSelectList,        // builds SELECT clause
		BindField,              // sets up binding structure
		BindParam,              // sets parameter values
		Fixup,                  // sets NULL status
		AllocCache,             // allocates cache used for dirty check
		StoreField,             // saves current record to cache
		LoadField,              // restores cached data to member vars
		FreeCache,              // frees cache
		SetFieldNull,           // sets field status & value to NULL
		MarkForAddNew,          // marks fields dirty if not PSEUDO NULL
		MarkForEdit,            // marks fields dirty if don't match cache
		SetDirtyField,          // sets field values marked as dirty
		DumpField,
		MaxDFXOperation,        // dummy operation type for input checking
	};
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.16.27023\atlmfc\include\afxdao.h(400,0)
  • Ifdef _DEBUG
76 1.750436 GLOBAL_FILTER Enum
typedef enum _GlobalFilter
{
    GF_FRAGMENTS = 2,        // check consistency of fragments
    GF_STRONGHOST = 8,       // check destination address of input frames
    GF_FRAGCACHE = 9         // check fragments from cache
} GLOBAL_FILTER, *PGLOBAL_FILTER;
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\fltdefs.h(50,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
77 1.750436 JET_configRemoveQuotas Int32 2 0x00000002 2 System.Int32
#define JET_configRemoveQuotas                  0x0002  //  Unrestricts the quota enforcement (by setting to as high as possible) for any ESE handle types where memory is not pre-allocated or used as a cache.
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\esent.h(1787,0)
  • If !defined(_JET_INCLUDED)
  • If ( JET_VERSION >= 0x0602 )
78 1.458697 NVCACHE_TYPE Enum
typedef enum _NVCACHE_TYPE {
    NvCacheTypeUnknown        = 0,  // Driver can't report the type of the nvcache
    NvCacheTypeNone           = 1,  // Device doesn't support non-volatile cache
    NvCacheTypeWriteBack      = 2,  // Device supports write back caching
    NvCacheTypeWriteThrough   = 3   // Device supports write through caching
} NVCACHE_TYPE;
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\shared\ntddscsi.h(935,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
79 1.166957 PNRP_CLOUD_STATE Enum
typedef enum _PNRP_CLOUD_STATE 
{
    PNRP_CLOUD_STATE_VIRTUAL       = 0,    //  Not initialized
    PNRP_CLOUD_STATE_SYNCHRONISING = 1,    //  The cache is initializing
    PNRP_CLOUD_STATE_ACTIVE        = 2,    //  Cloud is active
    PNRP_CLOUD_STATE_DEAD          = 3,    //  Initialized but has had a problem
    PNRP_CLOUD_STATE_DISABLED      = 4,    //  Cloud is not disbaled in registery
    PNRP_CLOUD_STATE_NO_NET        = 5,    //  Was active, but now has lost access to net
    PNRP_CLOUD_STATE_ALONE         = 6     //  Cloud is in standalone mode
} PNRP_CLOUD_STATE;
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\pnrpdef.h(71,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
80 1.021088 REINSTALLMODE Enum
typedef enum tagREINSTALLMODE  // bit flags
{
	REINSTALLMODE_REPAIR           = 0x00000001,  // Reserved bit - currently ignored
	REINSTALLMODE_FILEMISSING      = 0x00000002,  // Reinstall only if file is missing
	REINSTALLMODE_FILEOLDERVERSION = 0x00000004,  // Reinstall if file is missing, or older version
	REINSTALLMODE_FILEEQUALVERSION = 0x00000008,  // Reinstall if file is missing, or equal or older version
	REINSTALLMODE_FILEEXACT        = 0x00000010,  // Reinstall if file is missing, or not exact version
	REINSTALLMODE_FILEVERIFY       = 0x00000020,  // checksum executables, reinstall if missing or corrupt
	REINSTALLMODE_FILEREPLACE      = 0x00000040,  // Reinstall all files, regardless of version
	REINSTALLMODE_MACHINEDATA      = 0x00000080,  // insure required machine reg entries
	REINSTALLMODE_USERDATA         = 0x00000100,  // insure required user reg entries
	REINSTALLMODE_SHORTCUT         = 0x00000200,  // validate shortcuts items
	REINSTALLMODE_PACKAGE          = 0x00000400,  // use re-cache source install package
} REINSTALLMODE;
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\Msi.h(230,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
81 0.7293484 _ERR_TYPE Enum
typedef enum _ERR_TYPES    {
    ERR_INTERNAL = 1,         // Error detected internal to the component
    ERR_BUS      = 16,        // Error detected in the bus
    ERR_MEM      = 4,         // Storage error in memory (DRAM)
    ERR_TLB      = 5,         // Storage error in TLB
    ERR_CACHE    = 6,         // Storage error in cache
    ERR_FUNCTION = 7,         // Error in one or more functional units
    ERR_SELFTEST = 8,         // Component failed self test
    ERR_FLOW     = 9,         // Overflow or Undervalue of internal queue
    ERR_MAP      = 17,        // Virtual address not found on IO-TLB or IO-PDIR
    ERR_IMPROPER = 18,        // Improper access error
    ERR_UNIMPL   = 19,        // Access to a memory address which is not mapped to any component
    ERR_LOL      = 20,        // Loss Of Lockstep
    ERR_RESPONSE = 21,        // Response to which there is no associated request
    ERR_PARITY   = 22,        // Bus parity error
    ERR_PROTOCOL = 23,        // Detection of a protocol error
    ERR_ERROR    = 24,        // Detection of PATH_ERROR
    ERR_TIMEOUT  = 25,        // Bus operation time-out
    ERR_POISONED = 26,        // A read was issued to data which has been poisoned
} _ERR_TYPE;
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\km\mce.h(916,0)
  • If defined(_X86_) || defined(_IA64_) || defined(_AMD64_)
  • If defined(_IA64_)
82 0.7293484 RFX_Operation Enum
enum RFX_Operation
	{
		BindParam,          // register users parameters with ODBC SQLBindParameter
		RebindParam,        //  migrate param values to proxy array before Requery
		BindFieldToColumn,  // register users fields with ODBC SQLBindCol
		BindFieldForUpdate, // temporarily bind columns before update (via SQLSetPos)
		UnbindFieldForUpdate,   // unbind columns after update (via SQLSetPos)
		Fixup,              // Set string lengths, clear status bits
		MarkForAddNew,      // Prepare fields and flags for addnew operation
		MarkForUpdate,      // Prepare fields and flags for update operation
		Name,               // append dirty field name
		NameValue,          // append dirty name=value
		Value,              // append dirty value or parameter marker
		SetFieldNull,       // Set status bit for null value
		StoreField,         // archive values of current record
		LoadField,          // reload archived values into current record
		AllocCache,         // allocate cache used for dirty field check
		AllocMultiRowBuffer,    // allocate buffer holding multi rows of data
		DeleteMultiRowBuffer,   // delete buffer holding multi rows of data
		DumpField,          // dump bound field name and value
	};
%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.16.27023\atlmfc\include\afxdb.h(326,0)
  • Ifdef _DEBUG
83 0.4125818 RESTRICTIONS Enum
typedef enum RESTRICTIONS
{
    REST_NONE                       = 0x00000000,
    REST_NORUN                      = 0x00000001,
    REST_NOCLOSE                    = 0x00000002,
    REST_NOSAVESET                  = 0x00000004,
    REST_NOFILEMENU                 = 0x00000008,
    REST_NOSETFOLDERS               = 0x00000010,
    REST_NOSETTASKBAR               = 0x00000020,
    REST_NODESKTOP                  = 0x00000040,
    REST_NOFIND                     = 0x00000080,
    REST_NODRIVES                   = 0x00000100,
    REST_NODRIVEAUTORUN             = 0x00000200,
    REST_NODRIVETYPEAUTORUN         = 0x00000400,
    REST_NONETHOOD                  = 0x00000800,
    REST_STARTBANNER                = 0x00001000,
    REST_RESTRICTRUN                = 0x00002000,
    REST_NOPRINTERTABS              = 0x00004000,
    REST_NOPRINTERDELETE            = 0x00008000,
    REST_NOPRINTERADD               = 0x00010000,
    REST_NOSTARTMENUSUBFOLDERS      = 0x00020000,
    REST_MYDOCSONNET                = 0x00040000,
    REST_NOEXITTODOS                = 0x00080000,
    REST_ENFORCESHELLEXTSECURITY    = 0x00100000,
    REST_LINKRESOLVEIGNORELINKINFO  = 0x00200000,
    REST_NOCOMMONGROUPS             = 0x00400000,
    REST_SEPARATEDESKTOPPROCESS     = 0x00800000,
    REST_NOWEB                      = 0x01000000,
    REST_NOTRAYCONTEXTMENU          = 0x02000000,
    REST_NOVIEWCONTEXTMENU          = 0x04000000,
    REST_NONETCONNECTDISCONNECT     = 0x08000000,
    REST_STARTMENULOGOFF            = 0x10000000,
    REST_NOSETTINGSASSIST           = 0x20000000,
    REST_NOINTERNETICON             = 0x40000001,
    REST_NORECENTDOCSHISTORY        = 0x40000002,
    REST_NORECENTDOCSMENU           = 0x40000003,
    REST_NOACTIVEDESKTOP            = 0x40000004,
    REST_NOACTIVEDESKTOPCHANGES     = 0x40000005,
    REST_NOFAVORITESMENU            = 0x40000006,
    REST_CLEARRECENTDOCSONEXIT      = 0x40000007,
    REST_CLASSICSHELL               = 0x40000008,
    REST_NOCUSTOMIZEWEBVIEW         = 0x40000009,
    REST_NOHTMLWALLPAPER            = 0x40000010,
    REST_NOCHANGINGWALLPAPER        = 0x40000011,
    REST_NODESKCOMP                 = 0x40000012,
    REST_NOADDDESKCOMP              = 0x40000013,
    REST_NODELDESKCOMP              = 0x40000014,
    REST_NOCLOSEDESKCOMP            = 0x40000015,
    REST_NOCLOSE_DRAGDROPBAND       = 0x40000016,   // Disable Close and Drag & Drop on ALL Bands
    REST_NOMOVINGBAND               = 0x40000017,   // Disable Moving ALL Bands
    REST_NOEDITDESKCOMP             = 0x40000018,
    REST_NORESOLVESEARCH            = 0x40000019,
    REST_NORESOLVETRACK             = 0x4000001A,
    REST_FORCECOPYACLWITHFILE       = 0x4000001B,
    REST_NOLOGO3CHANNELNOTIFY       = 0x4000001C,
    REST_NOFORGETSOFTWAREUPDATE     = 0x4000001D,
    REST_NOSETACTIVEDESKTOP         = 0x4000001E,   // No Active desktop on Settings Menu
    REST_NOUPDATEWINDOWS            = 0x4000001F,   // No Windows Update on Settings Menu
    REST_NOCHANGESTARMENU           = 0x40000020,   // No Context menu or Drag and Drop on Start menu
    REST_NOFOLDEROPTIONS            = 0x40000021,   // No Folder Options on Settings Menu
    REST_HASFINDCOMPUTERS           = 0x40000022,   // Show Start/Search/Computers
    REST_INTELLIMENUS               = 0x40000023,
    REST_RUNDLGMEMCHECKBOX          = 0x40000024,
    REST_ARP_ShowPostSetup          = 0x40000025,   // ARP: Show Post-Setup page
    REST_NOCSC                      = 0x40000026,   // Disable the ClientSide caching on SM
    REST_NOCONTROLPANEL             = 0x40000027,   // Remove the Control Panel only from SM|Settings
    REST_ENUMWORKGROUP              = 0x40000028,   // Enumerate workgroup in root of nethood
    REST_ARP_NOARP                  = 0x40000029,   // ARP: Don't Allow ARP to come up at all
    REST_ARP_NOREMOVEPAGE           = 0x4000002A,   // ARP: Don't allow Remove page
    REST_ARP_NOADDPAGE              = 0x4000002B,   // ARP: Don't allow Add page
    REST_ARP_NOWINSETUPPAGE         = 0x4000002C,   // ARP: Don't allow opt components page
    REST_GREYMSIADS                 = 0x4000002D,    // SM: Allow the greying of Darwin Ads in SM
    REST_NOCHANGEMAPPEDDRIVELABEL   = 0x4000002E,   // Don't enable the UI which allows users to rename mapped drive labels
    REST_NOCHANGEMAPPEDDRIVECOMMENT = 0x4000002F,   // Don't enable the UI which allows users to change mapped drive comments
    REST_MaxRecentDocs              = 0x40000030,
    REST_NONETWORKCONNECTIONS       = 0x40000031,   // No Start Menu | Settings |Network Connections
    REST_FORCESTARTMENULOGOFF       = 0x40000032,   // Force logoff on the Start Menu
    REST_NOWEBVIEW                  = 0x40000033,   // Disable Web View
    REST_NOCUSTOMIZETHISFOLDER      = 0x40000034,   // Disable Customize This Folder
    REST_NOENCRYPTION               = 0x40000035,   // Don't allow file encryption
    REST_DONTSHOWSUPERHIDDEN        = 0x40000037,   // don't show super hidden files
    REST_NOSHELLSEARCHBUTTON        = 0x40000038,
    REST_NOHARDWARETAB              = 0x40000039,   // No Hardware tab on Drives or in control panel
    REST_NORUNASINSTALLPROMPT       = 0x4000003A,   // Don't bring up "Run As" prompt for install programs
    REST_PROMPTRUNASINSTALLNETPATH  = 0x4000003B,   // Force the  "Run As" prompt for install programs on unc/network shares
    REST_NOMANAGEMYCOMPUTERVERB     = 0x4000003C,   // No Manage verb on My Computer
    REST_DISALLOWRUN                = 0x4000003E,   // don't allow certain apps to be run
    REST_NOWELCOMESCREEN            = 0x4000003F,   // don't allow the welcome screen to be displayed.
    REST_RESTRICTCPL                = 0x40000040,   // only allow certain cpls to be run
    REST_DISALLOWCPL                = 0x40000041,   // don't allow certain cpls to be run
    REST_NOSMBALLOONTIP             = 0x40000042,   // No Start Menu Balloon Tip
    REST_NOSMHELP                   = 0x40000043,   // No Help on the Start Menu
    REST_NOWINKEYS                  = 0x40000044,   // No Windows-X Hot keys
    REST_NOENCRYPTONMOVE            = 0x40000045,   // Don't automatically try to encrypt files that are moved to encryped directories
    REST_NOLOCALMACHINERUN          = 0x40000046,   // ignore HKLM\sw\ms\win\cv\Run and all of it's sub keys
    REST_NOCURRENTUSERRUN           = 0x40000047,   // ignore HKCU\sw\ms\win\cv\Run and all of it's sub keys
    REST_NOLOCALMACHINERUNONCE      = 0x40000048,   // ignore HKLM\sw\ms\win\cv\RunOnce and all of it's sub keys
    REST_NOCURRENTUSERRUNONCE       = 0x40000049,   // ignore HKCU\sw\ms\win\cv\RunOnce and all of it's sub keys
    REST_FORCEACTIVEDESKTOPON       = 0x4000004A,   // Force ActiveDesktop to be turned ON all the time.
    REST_NOVIEWONDRIVE              = 0x4000004C,   // disallows CreateViewObject() on specified drives (CFSFolder only)
    REST_NONETCRAWL                 = 0x4000004D,   // disables the crawling of the WNet namespace.
    REST_NOSHAREDDOCUMENTS          = 0x4000004E,   // don't auto share the Shared Documents/create link
    REST_NOSMMYDOCS                 = 0x4000004F,   // Don't show the My Documents item on the Start Menu.
    REST_NOSMMYPICS                 = 0x40000050,   // Don't show the My Pictures item on the Start Menu
    REST_ALLOWBITBUCKDRIVES         = 0x40000051,   // Bit mask indicating which which drives have bit bucket support
    REST_NONLEGACYSHELLMODE         = 0x40000052,   // new consumer shell modes
    REST_NOCONTROLPANELBARRICADE    = 0x40000053,   // The webview barricade in Control Panel
    REST_NOSTARTPAGE                = 0x40000054,   // Whistler Start Page on desktop.
    REST_NOAUTOTRAYNOTIFY           = 0x40000055,   // Whistler auto-tray notify feature
    REST_NOTASKGROUPING             = 0x40000056,   // Whistler taskbar button grouping feature
    REST_NOCDBURNING                = 0x40000057,   // whistler cd burning feature
    REST_MYCOMPNOPROP               = 0x40000058,   // disables Properties on My Computer's context menu
    REST_MYDOCSNOPROP               = 0x40000059,   // disables Properties on My Documents' context menu
    REST_NOSTARTPANEL               = 0x4000005A,   // Windows start panel (New start menu) for Whistler.
    REST_NODISPLAYAPPEARANCEPAGE    = 0x4000005B,   // disable Themes and Appearance tabs in the Display Control Panel.
    REST_NOTHEMESTAB                = 0x4000005C,   // disable the Themes tab in the Display Control Panel.
    REST_NOVISUALSTYLECHOICE        = 0x4000005D,   // disable the visual style drop down in the Appearance tab of the Display Control Panel.
    REST_NOSIZECHOICE               = 0x4000005E,   // disable the size drop down in the Appearance tab of the Display Control Panel.
    REST_NOCOLORCHOICE              = 0x4000005F,   // disable the color drop down in the Appearance tab of the Display Control Panel.
    REST_SETVISUALSTYLE             = 0x40000060,   // Load the specified file as the visual style.
    REST_STARTRUNNOHOMEPATH         = 0x40000061,   // dont use the %HOMEPATH% env var for the Start-Run dialog
    REST_NOUSERNAMEINSTARTPANEL     = 0x40000062,   // don't show the username is the startpanel.
    REST_NOMYCOMPUTERICON           = 0x40000063,   // don't show my computer anywhere, hide its contents
    REST_NOSMNETWORKPLACES          = 0x40000064,   // don't show network places in startpanel.
    REST_NOSMPINNEDLIST             = 0x40000065,   // don't show the pinned list in startpanel.
    REST_NOSMMYMUSIC                = 0x40000066,   // don't show MyMusic folder in startpanel
    REST_NOSMEJECTPC                = 0x40000067,   // don't show "Undoc PC" command in startmenu
    REST_NOSMMOREPROGRAMS           = 0x40000068,   // don't show "More Programs" button in StartPanel.
    REST_NOSMMFUPROGRAMS            = 0x40000069,   // don't show the MFU programs list in StartPanel.
    REST_NOTRAYITEMSDISPLAY         = 0x4000006A,   // disables the display of the system tray
    REST_NOTOOLBARSONTASKBAR        = 0x4000006B,   // disables toolbar display on the taskbar
    REST_NOSMCONFIGUREPROGRAMS      = 0x4000006F,   // No Configure Programs on Settings Menu
    REST_HIDECLOCK                  = 0x40000070,   // don't show the clock
    REST_NOLOWDISKSPACECHECKS       = 0x40000071,   // disable the low disk space checking
    REST_NOENTIRENETWORK            = 0x40000072,   // removes the "Entire Network" link (i.e. from "My Network Places")
    REST_NODESKTOPCLEANUP           = 0x40000073,   // disable the desktop cleanup wizard
    REST_BITBUCKNUKEONDELETE        = 0x40000074,   // disables recycling of files
    REST_BITBUCKCONFIRMDELETE       = 0x40000075,   // always show the delete confirmation dialog when deleting files
    REST_BITBUCKNOPROP              = 0x40000076,   // disables Properties on Recycle Bin's context menu
    REST_NODISPBACKGROUND           = 0x40000077,   // disables the Desktop tab in the Display CPL
    REST_NODISPSCREENSAVEPG         = 0x40000078,   // disables the Screen Saver tab in the Display CPL
    REST_NODISPSETTINGSPG           = 0x40000079,   // disables the Settings tab in the Display CPL
    REST_NODISPSCREENSAVEPREVIEW    = 0x4000007A,   // disables the screen saver on the Screen Saver tab in the Display CPL
    REST_NODISPLAYCPL               = 0x4000007B,   // disables the Display CPL
    REST_HIDERUNASVERB              = 0x4000007C,   // hides the "Run As..." context menu item
    REST_NOTHUMBNAILCACHE           = 0x4000007D,   // disables use of the thumbnail cache
    REST_NOSTRCMPLOGICAL            = 0x4000007E,   // dont use StrCmpLogical() instead use default CompareString()
    REST_NOPUBLISHWIZARD            = 0x4000007F,   // disables publishing wizard (WPW)
    REST_NOONLINEPRINTSWIZARD       = 0x40000080,   // disables online prints wizard (OPW)
    REST_NOWEBSERVICES              = 0x40000081,   // disables the web specified services for both OPW and WPW
    REST_ALLOWUNHASHEDWEBVIEW       = 0x40000082,   // allow the user to be promted to accept web view templates that don't already have an md5 hash in the registry
    REST_ALLOWLEGACYWEBVIEW         = 0x40000083,   // allow legacy webview template to be shown.
    REST_REVERTWEBVIEWSECURITY      = 0x40000084,   // disable added webview security measures (revert to w2k functionality).
    REST_INHERITCONSOLEHANDLES      = 0x40000086,   // ShellExec() will check for the current process and target process being console processes to inherit handles
    REST_SORTMAXITEMCOUNT           = 0x40000087,   // Do not sort views with more items than this key. Useful for viewing big amount of files in one folder.
    REST_NOREMOTERECURSIVEEVENTS    = 0x40000089,   // Dont register network change events recursively to avoid network traffic
    REST_NOREMOTECHANGENOTIFY       = 0x40000091,   // Do not notify for remote changy notifies
    REST_NOSIMPLENETIDLIST          = 0x40000092,   // No simple network IDLists
    REST_NOENUMENTIRENETWORK        = 0x40000093,   // Don't enumerate entire network if we happen to get to it (in conjunction with REST_NOENTIRENETWORK)
    REST_NODETAILSTHUMBNAILONNETWORK= 0x40000094,   // Disable Thumbnail for Network files in DUI Details pane
    REST_NOINTERNETOPENWITH         = 0x40000095,   // dont allow looking on the internet for file associations
    REST_DONTRETRYBADNETNAME        = 0x4000009B,   // In Network Places: if provider returns ERROR_BAD_NET_NAME, give up
    REST_ALLOWFILECLSIDJUNCTIONS    = 0x4000009C,   // re-enable legacy support for file.{guid} junctions in FileSystem Folder
    REST_NOUPNPINSTALL              = 0x4000009D,   // disable "install UPnP" task in My Net Places
    REST_ARP_DONTGROUPPATCHES       = 0x400000AC,   //List individual patches in Add/Remove Programs
    REST_ARP_NOCHOOSEPROGRAMSPAGE   = 0x400000AD,   //Choose programs page

    REST_NODISCONNECT               = 0x41000001,   // No Disconnect option in Start menu
    REST_NOSECURITY                 = 0x41000002,   // No Security option in start menu
    REST_NOFILEASSOCIATE            = 0x41000003,   // Do not allow user to change file association
    REST_ALLOWCOMMENTTOGGLE         = 0x41000004,   // Allow the user to toggle the positions of the Comment and the Computer Name
    REST_USEDESKTOPINICACHE         = 0x41000005,   // Cache desktop.ini entries from network folders
} RESTRICTIONS;
%ProgramFiles(x86)%\Windows Kits\10\Include\10.0.18362.0\um\shlobj_core.h(2479,0)
  • If WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  • If (NTDDI_VERSION < NTDDI_VISTA)
  • If (NTDDI_VERSION >= NTDDI_WINXP) || defined(IE_BACKCOMPAT_VERSION)
  • If (NTDDI_VERSION >= NTDDI_WINXP)
  • If (NTDDI_VERSION >= NTDDI_WIN2KSP3)
  • If (NTDDI_VERSION >= NTDDI_WIN2KSP4)
  • If (NTDDI_VERSION >= NTDDI_WINXPSP1) || defined(IE_BACKCOMPAT_VERSION)
  • If (NTDDI_VERSION >= NTDDI_WINXPSP2 && NTDDI_VERSION < NTDDI_VISTA)
  • If (NTDDI_VERSION >= NTDDI_WINXPSP2)