Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
4.6 KiB

  1. ////////////////////////////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Microsoft WMI OLE DB Provider
  4. // (C) Copyright 1999 Microsoft Corporation. All Rights Reserved.
  5. //
  6. // WMIOLEDB.H - a header file with all GUID & constants defination
  7. //
  8. /////////////////////////////////////////////////////////////////////
  9. #ifndef _WMIOLEDB_HEADER
  10. #define _WMIOLEDB_HEADER
  11. // Provider-specific Class Ids
  12. #ifdef DBINITCONSTANTS
  13. DEFINE_GUID(CLSID_WMIOLEDB, 0xfd8d9c02, 0x265e, 0x11d2, 0x98, 0xd9, 0x0, 0xa0, 0xc9, 0xb7, 0xcb, 0xfe);
  14. DEFINE_GUID(CLSID_WMIOLEDB_ROOTBINDER, 0xcdcedb81, 0x5fec, 0x11d3, 0x9d, 0x1c, 0x0, 0xc0, 0x4f, 0x5f, 0x11, 0x64);
  15. // {E14321B2-67C0-11d3-B3B4-00104BCC48C4}
  16. DEFINE_GUID(CLSID_WMIOLEDB_ENUMERATOR, 0xe14321b2, 0x67c0, 0x11d3, 0xb3, 0xb4, 0x0, 0x10, 0x4b, 0xcc, 0x48, 0xc4);
  17. //{80C4A61D-CB78-46fd-BD8F-8BF45BE46A4C}
  18. DEFINE_GUID(CLSID_WMIOLEDB_ERRORLOOOKUP, 0x80C4A61D, 0xCB78, 0x46fd, 0xBD, 0x8F, 0x8B, 0xF4, 0x5B, 0xE4, 0x6A, 0x4C);
  19. // {21B2028F-AD0A-11d3-B3CB-00104BCC48C4}
  20. DEFINE_GUID(DBGUID_WQL, 0x21b2028f, 0xad0a, 0x11d3, 0xb3, 0xcb, 0x0, 0x10, 0x4b, 0xcc, 0x48, 0xc4);
  21. // {18EC17EA-14D9-47fc-9722-2DCD8A1C3D70}
  22. DEFINE_GUID(DBGUID_LDAP,0x18ec17ea, 0x14d9, 0x47fc, 0x97, 0x22, 0x2d, 0xcd, 0x8a, 0x1c, 0x3d, 0x70);
  23. // {3718AA52-5F6E-4c2e-AAAE-383E69C0C928}
  24. DEFINE_GUID(DBGUID_LDAPSQL,0x3718aa52, 0x5f6e, 0x4c2e, 0xaa, 0xae, 0x38, 0x3e, 0x69, 0xc0, 0xc9, 0x28);
  25. DEFINE_GUID(DBPROPSET_WMIOLEDB_DBINIT, 0xdd497a71,0x9628,0x11d3,0x9d,0x5f,0x0,0xc0,0x4f,0x5f,0x11,0x64);
  26. DEFINE_GUID(DBPROPSET_WMIOLEDB_ROWSET, 0x8d16c220,0x9bbb,0x11d3,0x9d,0x65,0x0,0xc0,0x4f,0x5f,0x11,0x64);
  27. DEFINE_GUID(DBPROPSET_WMIOLEDB_COLUMN, 0x3ed51791,0x9c76,0x11d3,0x9d,0x66,0x0,0xc0,0x4f,0x5f,0x11,0x64);
  28. DEFINE_GUID(DBPROPSET_WMIOLEDB_COMMAND,0xda0ff63c,0xad10,0x11d3,0xb3,0xcb,0x0,0x10,0x4b,0xcc,0x48,0xc4);
  29. // WMIOLEDB Custom properties
  30. #define DBPROP_WMIOLEDB_FETCHDEEP 0x1000
  31. #define DBPROP_WMIOLEDB_QUALIFIERS 0x1001
  32. #define DBPROP_WMIOLEDB_QUALIFIERFLAVOR 0x1002
  33. #define DBPROP_WMIOLEDB_SYSTEMPROPERTIES 0x1003
  34. #define DBPROP_WMIOLEDB_OBJECTTYPE 0x1005
  35. #define DBPROP_WMIOLEDB_PREV_CREATE_TOKEN 0x1006
  36. #define DBPROP_WMIOLEDB_PREV_ASSIGNPRIMARYTOKEN 0x1007
  37. #define DBPROP_WMIOLEDB_PREV_LOCK_MEMORY 0x1008
  38. #define DBPROP_WMIOLEDB_PREV_INCREASE_QUOTA 0x1009
  39. #define DBPROP_WMIOLEDB_PREV_MACHINE_ACCOUNT 0x100a
  40. #define DBPROP_WMIOLEDB_PREV_TCB 0x100b
  41. #define DBPROP_WMIOLEDB_PREV_SECURITY 0x100c
  42. #define DBPROP_WMIOLEDB_PREV_TAKE_OWNERSHIP 0x100d
  43. #define DBPROP_WMIOLEDB_PREV_LOAD_DRIVER 0x100e
  44. #define DBPROP_WMIOLEDB_PREV_SYSTEM_PROFILE 0x100f
  45. #define DBPROP_WMIOLEDB_PREV_SYSTEMTIME 0x1010
  46. #define DBPROP_WMIOLEDB_PREV_PROF_SINGLE_PROCESS 0x1011
  47. #define DBPROP_WMIOLEDB_PREV_INC_BASE_PRIORITY 0x1012
  48. #define DBPROP_WMIOLEDB_PREV_CREATE_PAGEFILE 0x1013
  49. #define DBPROP_WMIOLEDB_PREV_CREATE_PERMANENT 0x1014
  50. #define DBPROP_WMIOLEDB_PREV_BACKUP 0x1015
  51. #define DBPROP_WMIOLEDB_PREV_RESTORE 0x1016
  52. #define DBPROP_WMIOLEDB_PREV_SHUTDOWN 0x1017
  53. #define DBPROP_WMIOLEDB_PREV_DEBUG 0x1018
  54. #define DBPROP_WMIOLEDB_PREV_AUDIT 0x1019
  55. #define DBPROP_WMIOLEDB_PREV_SYSTEM_ENVIRONMENT 0x101a
  56. #define DBPROP_WMIOLEDB_PREV_CHANGE_NOTIFY 0x101b
  57. #define DBPROP_WMIOLEDB_PREV_REMOTE_SHUTDOWN 0x101c
  58. #define DBPROP_WMIOLEDB_PREV_UNDOCK 0x101d
  59. #define DBPROP_WMIOLEDB_PREV_SYNC_AGENT 0x101e
  60. #define DBPROP_WMIOLEDB_PREV_ENABLE_DELEGATION 0x101f
  61. #define DBPROP_WMIOLEDB_DS_DEREFALIAS 0x1020
  62. #define DBPROP_WMIOLEDB_DS_SIZELIMIT 0x1021
  63. #define DBPROP_WMIOLEDB_DS_PAGEDTIMELIMIT 0x1022
  64. #define DBPROP_WMIOLEDB_DS_TOMBSTONE 0x1023
  65. #define DBPROP_WMIOLEDB_DS_SEARCHSCOPE 0x1024
  66. #define DBPROP_WMIOLEDB_DS_TIMEOUT 0x1025
  67. #define DBPROP_WMIOLEDB_DS_PAGESIZE 0x1026
  68. #define DBPROP_WMIOLEDB_DS_TIMELIMIT 0x1027
  69. #define DBPROP_WMIOLEDB_DS_CHASEREF 0x1028
  70. #define DBPROP_WMIOLEDB_DS_ATTRIBUTES 0x1029
  71. #define DBPROP_WMIOLEDB_DS_CACHERESULTS 0x102a
  72. #define DBPROP_WMIOLEDB_DS_FILTER 0x102b
  73. #define DBPROP_WMIOLEDB_DS_ATTRIBONLY 0x102c
  74. #define DBPROP_WMIOLEDB_DS_ASYNCH 0x102d
  75. #define DBPROP_WMIOLEDB_ISMETHOD 0x102e
  76. #define DBPROP_WMIOLEDB_AUTHORITY 0x102f
  77. #define DBPROP_WMIOLEDB_QUERYLANGUAGE 0x1030
  78. // Property values for DBPROP_WMIOLEDB_QUALIFIERS
  79. #define PROPERTYQUALIFIER 1
  80. #define CLASSQUALIFIER 2
  81. //Property values for DBPROP_WMIOLEDB_OBJECTTYPE
  82. #define DBPROPVAL_NOOBJ 0
  83. #define DBPROPVAL_SCOPEOBJ 1
  84. #define DBPROPVAL_CONTAINEROBJ 2
  85. #endif
  86. #endif