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.

122 lines
6.9 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. regstrp.h
  5. Abstract:
  6. This module contains the registry strings for keys, paths and values,
  7. that are not already defined in the system regstr.h file. This is
  8. generally the "NT" specific registry strings. This module is used by
  9. kernel mode Pnp managers only.
  10. Author:
  11. Shie-Lin Tzong (shielint) 10/03/1995
  12. Revision History:
  13. --*/
  14. #ifndef _KERNEL_REGSTRP_H_
  15. #define _KERNEL_REGSTRP_H_
  16. #undef TEXT
  17. #define TEXT(quote) L##quote
  18. #define _IN_KERNEL_
  19. #include <regstr.h>
  20. #include <pnpmgr.h>
  21. //
  22. // Redefine the names used in regstr.h
  23. #define REGSTR_VALUE_SLOTNUMBER REGSTR_VAL_SLOTNUMBER
  24. #define REGSTR_VALUE_ATTACHEDCOMPONENTS REGSTR_VAL_ATTACHEDCOMPONENTS
  25. #define REGSTR_VALUE_BASEDEVICEPATH REGSTR_VAL_BASEDEVICEPATH
  26. #define REGSTR_VALUE_SYSTEMBUSNUMBER REGSTR_VAL_SYSTEMBUSNUMBER
  27. #define REGSTR_VALUE_BUSDATATYPE REGSTR_VAL_BUSDATATYPE
  28. #define REGSTR_VALUE_INTERFACETYPE REGSTR_VAL_INTERFACETYPE
  29. #define REGSTR_VALUE_SERVICE REGSTR_VAL_SERVICE
  30. #define REGSTR_VALUE_DETECTSIGNATURE REGSTR_VAL_DETECTSIGNATURE
  31. #define REGSTR_VALUE_INSTANCEIDENTIFIER REGSTR_VAL_INSTANCEIDENTIFIER
  32. #define REGSTR_VALUE_DUPLICATEOF REGSTR_VAL_DUPLICATEOF
  33. #define REGSTR_VALUE_STATUSFLAGS REGSTR_VAL_STATUSFLAGS
  34. #define REGSTR_VALUE_UNKNOWNPROBLEMS REGSTR_VAL_UNKNOWNPROBLEMS
  35. #define REGSTR_VALUE_FRIENDLYNAME REGSTR_VAL_FRIENDLYNAME
  36. #define REGSTR_VALUE_UPPERFILTERS REGSTR_VAL_UPPERFILTERS
  37. #define REGSTR_VALUE_LOWERFILTERS REGSTR_VAL_LOWERFILTERS
  38. #define REGSTR_VALUE_REMOVAL_POLICY REGSTR_VAL_REMOVAL_POLICY
  39. #define REGSTR_VALUE_DISABLECOUNT REGSTR_VAL_DISABLECOUNT
  40. //
  41. // kernel mode specific definitions
  42. //
  43. #define REGSTR_VALUE_LOCATION_INFORMATION REGSTR_VAL_LOCATION_INFORMATION
  44. #define REGSTR_VALUE_CAPABILITIES REGSTR_VAL_CAPABILITIES
  45. #define REGSTR_VALUE_UI_NUMBER REGSTR_VAL_UI_NUMBER
  46. #define REGSTR_VALUE_HARDWAREID REGSTR_VAL_HARDWAREID
  47. #define REGSTR_VALUE_COMPATIBLEIDS REGSTR_VAL_COMPATIBLEIDS
  48. #define REGSTR_VALUE_CLASSGUID REGSTR_VAL_CLASSGUID
  49. #define REGSTR_VALUE_DEVICE_IDS TEXT("DeviceIDs")
  50. #define REGSTR_VALUE_COUNT TEXT("Count")
  51. #define REGSTR_KEY_INSTANCE_KEY_FORMAT TEXT("%04u")
  52. #define REGSTR_VALUE_STANDARD_ULONG_FORMAT TEXT("%u")
  53. #define REGSTR_VALUE_GROUP TEXT("Group")
  54. #define REGSTR_VALUE_NT_PHYSICAL_DEVICE_PATHS TEXT("NtPhysicalDevicePaths")
  55. #define REGSTR_VALUE_NT_LOGICAL_DEVICE_PATHS TEXT("NtLogicalDevicePaths")
  56. #define REGSTR_VALUE_STATIC TEXT("Static")
  57. #define REGSTR_VALUE_NEXT_INSTANCE TEXT("NextInstance")
  58. #define REGSTR_KEY_MADEUP TEXT("LEGACY_")
  59. #define REGSTR_VALUE_CSCONFIG_FLAGS REGSTR_VAL_CSCONFIGFLAGS
  60. #define REGSTR_PATH_CONTROL_IDCONFIGDB TEXT("Control\\IDConfigDB")
  61. #define REGSTR_VALUE_CURRENT_CONFIG REGSTR_VAL_CURCONFIG
  62. #define REGSTR_KEY_BIB_FORMAT TEXT("*BIB%04X")
  63. #define REGSTR_VALUE_INTERFACE_TYPE_FORMAT TEXT("InterfaceType%04u")
  64. #define REGSTR_PATH_CONTROL_CLASS TEXT("Control\\Class")
  65. #define REGSTR_VALUE_CLASS REGSTR_VAL_CLASS
  66. #define REGSTR_PATH_SYSTEM_RESOURCES_BUS_VALUES TEXT("Control\\SystemResources\\BusValues")
  67. #define REGSTR_VALUE_DEVICE_STATUS_FORMAT TEXT("DeviceStatus%u")
  68. #define REGSTR_VALUE_DRIVER REGSTR_VAL_DRIVER
  69. #define REGSTR_VALUE_HTREE_ROOT_0 REGSTR_VAL_ROOT_DEVNODE
  70. // #define REGSTR_VALUE_UNKNOWN_CLASS_GUID TEXT("{4D36E97E-E325-11CE-BFC1-08002BE10318}")
  71. #define REGSTR_VALUE_LEGACY_DRIVER_CLASS_GUID TEXT("{8ECC055D-047F-11D1-A537-0000F8753ED1}")
  72. // DEFINE_GUID(REGSTR_VALUE_LEGACY_DRIVER_CLASS_GUID, 0x8ECC055D, 0x047F, 0x11D1, 0xA5, 0x37, 0x00, 0x00, 0xF8, 0x75, 0x3E, 0xD1);
  73. // #define REGSTR_VALUE_UNKNOWN TEXT("Unknown")
  74. #define REGSTR_VALUE_LEGACY_DRIVER TEXT("LegacyDriver")
  75. #define REGSTR_VALUE_DISPLAY_NAME REGSTR_VAL_UNINSTALLER_DISPLAYNAME
  76. #define REGSTR_VALUE_DEVICE_DESC REGSTR_VAL_DEVDESC
  77. #define REGSTR_VALUE_PROBLEM REGSTR_VAL_PROBLEM
  78. #define REGSTR_VALUE_CONFIG_FLAGS REGSTR_VAL_CONFIGFLAGS
  79. #define REGSTR_VALUE_NEWLY_CREATED TEXT("*NewlyCreated*")
  80. #define REGSTR_VALUE_MIGRATED TEXT("Migrated")
  81. #define REGSTR_KEY_LOG_CONF TEXT("LogConf")
  82. #define REGSTR_VALUE_ALLOC_CONFIG TEXT("AllocConfig")
  83. #define REGSTR_VALUE_FORCED_CONFIG TEXT("ForcedConfig")
  84. #define REGSTR_VALUE_BOOT_CONFIG TEXT("BootConfig")
  85. #define REGSTR_VALUE_FILTERED_CONFIG_VECTOR TEXT("FilteredConfigVector")
  86. #define REGSTR_VALUE_OVERRIDE_CONFIG_VECTOR TEXT("OverrideConfigVector")
  87. #define REGSTR_VALUE_BASIC_CONFIG_VECTOR TEXT("BasicConfigVector")
  88. #define REGSTR_VALUE_DEVICE_REPORTED TEXT("DeviceReported")
  89. #define REGSTR_VALUE_DETECTED_DEVICE TEXT("PhysicalDeviceObject")
  90. #define REGSTR_VALUE_LEGACY TEXT("Legacy")
  91. #define REGSTR_VALUE_NO_RESOURCE_AT_INIT TEXT("NoResourceAtInitTime")
  92. #define PNPMGR_STR_PNP_MANAGER TEXT("PnP Manager")
  93. #define PNPMGR_STR_PNP_DRIVER TEXT("\\Driver\\PnpManager") // Must be the same
  94. #define REGSTR_KEY_PNP_DRIVER TEXT("PnpManager") // Must be the same
  95. #define REGSTR_FULL_PATH_DEVICE_CLASSES TEXT("\\Registry\\Machine\\") REGSTR_PATH_DEVICE_CLASSES
  96. #define REGSTR_PATH_CONTROL_PNP TEXT("Control\\Pnp")
  97. #define REGSTR_KEY_PARAMETERS TEXT("Parameters")
  98. #define REGSTR_VALUE_NEXT_PARENT_ID TEXT("NextParentID")
  99. #define REGSTR_VALUE_BUS_TYPE_GUID TEXT("BusTypeGuid")
  100. #define REGSTR_VALUE_DISABLE_FIRMWARE_MAPPER TEXT("DisableFirmwareMapper")
  101. #define REGSTR_VAL_REFERENCECOUNT TEXT("ReferenceCount")
  102. #define REGSTR_VAL_FIRMWAREDISABLED TEXT("FirmwareDisabled")
  103. #define REGSTR_VAL_WIN2000STARTORDER TEXT("Win2000StartOrder")
  104. #define REGSTR_VAL_RETURNHANDLEINFO TEXT("ReturnHandleInfo")
  105. #endif // _KERNEL_REGSTRP_H