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.

145 lines
6.4 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. umpnpdat.c
  5. Abstract:
  6. This module contains global strings.
  7. Author:
  8. Paula Tomlinson (paulat) 8-20-1995
  9. Environment:
  10. User mode only.
  11. Revision History:
  12. 6-Jun-1995 paulat
  13. Creation and initial implementation.
  14. --*/
  15. //
  16. // includes
  17. //
  18. #include "precomp.h"
  19. #pragma hdrstop
  20. #include <pnpmgr.h>
  21. //
  22. // global registry strings
  23. //
  24. WCHAR pszRegPathCurrentControlSet[] = REGSTR_PATH_CURRENTCONTROLSET;
  25. WCHAR pszRegPathEnum[] = REGSTR_PATH_SYSTEMENUM;
  26. WCHAR pszRegPathClass[] = REGSTR_PATH_CLASS_NT;
  27. WCHAR pszRegPathDeviceClasses[] = REGSTR_PATH_DEVICE_CLASSES;
  28. WCHAR pszRegPathServices[] = REGSTR_PATH_SERVICES;
  29. WCHAR pszRegPathHwProfiles[] = REGSTR_PATH_HWPROFILES;
  30. WCHAR pszRegPathCurrent[] = REGSTR_PATH_HWPROFILESCURRENT;
  31. WCHAR pszRegPathIDConfigDB[] = REGSTR_PATH_IDCONFIGDB;
  32. WCHAR pszRegPathPerHwIdStorage[] = REGSTR_PATH_PER_HW_ID_STORAGE;
  33. WCHAR pszRegKeySystem[] = REGSTR_KEY_SYSTEM;
  34. WCHAR pszRegKeyEnum[] = REGSTR_KEY_ENUM;
  35. WCHAR pszRegKeyCurrent[] = REGSTR_KEY_CURRENT;
  36. WCHAR pszRegKeyCurrentDockInfo[] = REGSTR_KEY_CURRENT_DOCK_INFO;
  37. WCHAR pszRegKeyKnownDockingStates[] = REGSTR_KEY_KNOWNDOCKINGSTATES;
  38. WCHAR pszRegKeyDeviceParam[] = REGSTR_KEY_DEVICEPARAMETERS;
  39. WCHAR pszRegKeyRootEnum[] = REGSTR_KEY_ROOTENUM;
  40. WCHAR pszRegKeyDeleted[] = REGSTR_KEY_DELETEDDEVICE;
  41. WCHAR pszRegKeyLogConf[] = REGSTR_KEY_LOGCONF;
  42. WCHAR pszRegKeyDeviceControl[] = REGSTR_KEY_DEVICECONTROL;
  43. WCHAR pszRegKeyProperties[] = REGSTR_KEY_DEVICE_PROPERTIES;
  44. WCHAR pszRegValueDeviceInstance[] = REGSTR_VAL_DEVICE_INSTANCE;
  45. WCHAR pszRegValueDeviceDesc[] = REGSTR_VAL_DEVDESC;
  46. WCHAR pszRegValueNewDeviceDesc[] = REGSTR_VAL_NEW_DEVICE_DESC;
  47. WCHAR pszRegValueSlotNumber[] = REGSTR_VAL_SLOTNUMBER;
  48. WCHAR pszRegValuePortName[] = REGSTR_VAL_PORTNAME;
  49. WCHAR pszRegValueHardwareIDs[] = REGSTR_VAL_HARDWAREID;
  50. WCHAR pszRegValueCompatibleIDs[] = REGSTR_VAL_COMPATIBLEIDS;
  51. WCHAR pszRegValueSystemBusNumber[] = REGSTR_VAL_SYSTEMBUSNUMBER;
  52. WCHAR pszRegValueBusDataType[] = REGSTR_VAL_BUSDATATYPE;
  53. WCHAR pszRegValueInterfaceType[] = REGSTR_VAL_INTERFACETYPE;
  54. WCHAR pszRegValueService[] = REGSTR_VAL_SERVICE;
  55. WCHAR pszRegValueDetectSignature[] = REGSTR_VAL_DETECTSIGNATURE;
  56. WCHAR pszRegValueClass[] = REGSTR_VAL_CLASS;
  57. WCHAR pszRegValueClassGuid[] = REGSTR_VAL_CLASSGUID;
  58. WCHAR pszRegValueDriver[] = REGSTR_VAL_DRIVER;
  59. WCHAR pszRegValueInstanceIdentifier[] = REGSTR_VAL_INSTANCEIDENTIFIER;
  60. WCHAR pszRegValueDuplicateOf[] = REGSTR_VAL_DUPLICATEOF;
  61. WCHAR pszRegValueCSConfigFlags[] = REGSTR_VAL_CSCONFIGFLAGS;
  62. WCHAR pszRegValueConfigFlags[] = REGSTR_VAL_CONFIGFLAGS;
  63. WCHAR pszRegValueDisableCount[] = REGSTR_VAL_DISABLECOUNT;
  64. WCHAR pszRegValueUnknownProblems[] = REGSTR_VAL_UNKNOWNPROBLEMS;
  65. WCHAR pszRegValueCurrentConfig[] = REGSTR_VAL_CURCONFIG;
  66. WCHAR pszRegValueFriendlyName[] = REGSTR_VAL_FRIENDLYNAME;
  67. WCHAR pszRegValueDockState[] = REGSTR_VAL_DOCKSTATE;
  68. WCHAR pszRegValueDockingState[] = TEXT("DockingState");
  69. WCHAR pszRegValueEjectableDocks[] = REGSTR_VAL_EJECTABLE_DOCKS;
  70. WCHAR pszRegValuePreferenceOrder[] = REGSTR_VAL_PREFERENCEORDER;
  71. WCHAR pszRegValueUserWaitInterval[] = REGSTR_VAL_USERWAITINTERVAL;
  72. WCHAR pszRegValuePhantom[] = REGSTR_VAL_PHANTOM;
  73. WCHAR pszRegValueFirmwareIdentified[] = REGSTR_VAL_FIRMWAREIDENTIFIED;
  74. WCHAR pszRegValueFirmwareMember[] = REGSTR_VAL_FIRMWAREMEMBER;
  75. WCHAR pszRegValueMfg[] = REGSTR_VAL_MFG;
  76. WCHAR pszRegValueCount[] = REGSTR_VAL_Count;
  77. WCHAR pszRegValueBootConfig[] = REGSTR_VAL_BOOTCONFIG;
  78. WCHAR pszRegValueAllocConfig[] = REGSTR_VAL_ALLOCCONFIG;
  79. WCHAR pszRegValueForcedConfig[] = REGSTR_VAL_FORCEDCONFIG;
  80. WCHAR pszRegValueOverrideVector[] = REGSTR_VAL_OVERRIDECONFIGVECTOR;
  81. WCHAR pszRegValueBasicVector[] = REGSTR_VAL_BASICCONFIGVECTOR;
  82. WCHAR pszRegValueFilteredVector[] = REGSTR_VAL_FILTEREDCONFIGVECTOR;
  83. WCHAR pszRegValueActiveService[] = REGSTR_VAL_ACTIVESERVICE;
  84. WCHAR pszRegValuePlugPlayServiceType[] = REGSTR_VAL_PNPSERVICETYPE;
  85. WCHAR pszRegValueLocationInformation[] = REGSTR_VAL_LOCATION_INFORMATION;
  86. WCHAR pszRegValueCapabilities[] = REGSTR_VAL_CAPABILITIES;
  87. WCHAR pszRegValueUiNumber[] = REGSTR_VAL_UI_NUMBER;
  88. WCHAR pszRegValueUiNumberDescFormat[] = REGSTR_VAL_UI_NUMBER_DESC_FORMAT;
  89. WCHAR pszRegValueRemovalPolicyOverride[]= REGSTR_VAL_REMOVAL_POLICY;
  90. WCHAR pszRegValueUpperFilters[] = REGSTR_VAL_UPPERFILTERS;
  91. WCHAR pszRegValueLowerFilters[] = REGSTR_VAL_LOWERFILTERS;
  92. WCHAR pszRegValueSecurity[] = REGSTR_VAL_DEVICE_SECURITY_DESCRIPTOR;
  93. WCHAR pszRegValueDevType[] = REGSTR_VAL_DEVICE_TYPE;
  94. WCHAR pszRegValueExclusive[] = REGSTR_VAL_DEVICE_EXCLUSIVE;
  95. WCHAR pszRegValueCharacteristics[] = REGSTR_VAL_DEVICE_CHARACTERISTICS;
  96. WCHAR pszRegValueMigrated[] = TEXT("Migrated");
  97. WCHAR pszRegValuePreservePreInstall[] = REGSTR_VAL_PRESERVE_PREINSTALL;
  98. WCHAR pszControlFlags[] = INFSTR_CONTROLFLAGS_SECTION;
  99. WCHAR pszInteractiveInstall[] = INFSTR_KEY_INTERACTIVEINSTALL;
  100. WCHAR pszRegValuePhysicalDeviceObject[] = REGSTR_VAL_PHYSICALDEVICEOBJECT;
  101. WCHAR pszRegRootEnumerator[] = REGSTR_VAL_ROOT_DEVNODE;
  102. WCHAR pszRegPathPolicies[] = REGSTR_PATH_POLICIES;
  103. WCHAR pszRegValueUndockWithoutLogon[] = REGSTR_VAL_UNDOCK_WITHOUT_LOGON;
  104. WCHAR pszRegValueCustomPropertyCacheDate[] = REGSTR_VAL_CUSTOM_PROPERTY_CACHE_DATE;
  105. WCHAR pszRegValueCustomPropertyHwIdKey[] = REGSTR_VAL_CUSTOM_PROPERTY_HW_ID_KEY;
  106. WCHAR pszRegValueLastUpdateTime[] = REGSTR_VAL_LAST_UPDATE_TIME;
  107. WCHAR pszRegKeyPlugPlayServiceParams[] = TEXT("PlugPlay\\Parameters");
  108. WCHAR pszRegValueDebugInstall[] = TEXT("DebugInstall");
  109. WCHAR pszRegValueDebugInstallCommand[] = TEXT("DebugInstallCommand");
  110. #if DBG
  111. WCHAR pszRegValueDebugFlags[] = TEXT("DebugFlags");
  112. #endif