source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/regstr.h@ 1172

Last change on this file since 1172 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 52.3 KB
RevLine 
[1166]1/**
2 * This file is part of the mingw-w64 runtime package.
3 * No warranty is given; refer to the file DISCLAIMER within this package.
4 */
5
6#ifndef _INC_REGSTR
7#define _INC_REGSTR
8
9#include <winapifamily.h>
10
11#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
12
13#define REGSTR_KEY_CLASS TEXT("Class")
14#define REGSTR_KEY_CONFIG TEXT("Config")
15#define REGSTR_KEY_ENUM TEXT("Enum")
16#define REGSTR_KEY_ROOTENUM TEXT("Root")
17#define REGSTR_KEY_BIOSENUM TEXT("BIOS")
18#define REGSTR_KEY_ACPIENUM TEXT("ACPI")
19#define REGSTR_KEY_PCMCIAENUM TEXT("PCMCIA")
20#define REGSTR_KEY_PCIENUM TEXT("PCI")
21#define REGSTR_KEY_VPOWERDENUM TEXT("VPOWERD")
22#ifndef NEC_98
23#define REGSTR_KEY_ISAENUM TEXT("ISAPnP")
24#define REGSTR_KEY_EISAENUM TEXT("EISA")
25#else
26#define REGSTR_KEY_ISAENUM TEXT("C98PnP")
27#define REGSTR_KEY_EISAENUM TEXT("NESA")
28#endif
29#define REGSTR_KEY_LOGCONFIG TEXT("LogConfig")
30#define REGSTR_KEY_SYSTEMBOARD TEXT("*PNP0C01")
31#define REGSTR_KEY_APM TEXT("*PNP0C05")
32
33#define REGSTR_KEY_INIUPDATE TEXT("IniUpdate")
34#define REG_KEY_INSTDEV TEXT("Installed")
35
36#define REGSTR_KEY_DOSOPTCDROM TEXT("CD-ROM")
37#define REGSTR_KEY_DOSOPTMOUSE TEXT("MOUSE")
38
39#define REGSTR_KEY_KNOWNDOCKINGSTATES TEXT("Hardware Profiles")
40#define REGSTR_KEY_DEVICEPARAMETERS TEXT("Device Parameters")
41
42#define REGSTR_DEFAULT_INSTANCE TEXT("0000")
43#define REGSTR_PATH_MOTHERBOARD REGSTR_KEY_SYSTEMBOARD TEXT("\\") REGSTR_DEFAULT_INSTANCE
44#define REGSTR_PATH_SETUP TEXT("Software\\Microsoft\\Windows\\CurrentVersion")
45#define REGSTR_PATH_DRIVERSIGN TEXT("Software\\Microsoft\\Driver Signing")
46#define REGSTR_PATH_NONDRIVERSIGN TEXT("Software\\Microsoft\\Non-Driver Signing")
47#define REGSTR_PATH_DRIVERSIGN_POLICY TEXT("Software\\Policies\\Microsoft\\Windows NT\\Driver Signing")
48#define REGSTR_PATH_NONDRIVERSIGN_POLICY TEXT("Software\\Policies\\Microsoft\\Windows NT\\Non-Driver Signing")
49#define REGSTR_PATH_PIFCONVERT TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\PIFConvert")
50#define REGSTR_PATH_MSDOSOPTS TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\MS-DOSOptions")
51#define REGSTR_PATH_NOSUGGMSDOS TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\NoMSDOSWarn")
52#define REGSTR_PATH_NEWDOSBOX TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\MS-DOSSpecialConfig")
53#define REGSTR_PATH_RUNONCE TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce")
54#define REGSTR_PATH_RUNONCEEX TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\RunOnceEx")
55#define REGSTR_PATH_RUN TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Run")
56#define REGSTR_PATH_RUNSERVICESONCE TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\RunServicesOnce")
57#define REGSTR_PATH_RUNSERVICES TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\RunServices")
58#define REGSTR_PATH_EXPLORER TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer")
59#define REGSTR_PATH_PROPERTYSYSTEM TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\PropertySystem")
60#define REGSTR_PATH_DETECT TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Detect")
61#define REGSTR_PATH_APPPATHS TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\App Paths")
62#define REGSTR_PATH_UNINSTALL TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall")
63#define REGSTR_PATH_REALMODENET TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Network\\Real Mode Net")
64#define REGSTR_PATH_NETEQUIV TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Network\\Equivalent")
65#define REGSTR_PATH_CVNETWORK TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Network")
66#define REGSTR_PATH_WMI_SECURITY TEXT("System\\CurrentControlSet\\Control\\Wmi\\Security")
67#define REGSTR_PATH_RELIABILITY TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Reliability")
68#define REGSTR_PATH_RELIABILITY_POLICY TEXT("Software\\Policies\\Microsoft\\Windows NT\\Reliability")
69#define REGSTR_PATH_RELIABILITY_POLICY_SHUTDOWNREASONUI TEXT("ShutdownReasonUI")
70#define REGSTR_PATH_RELIABILITY_POLICY_SNAPSHOT TEXT("Snapshot")
71#define REGSTR_PATH_RELIABILITY_POLICY_REPORTSNAPSHOT TEXT("ReportSnapshot")
72
73#define REGSTR_PATH_REINSTALL TEXT("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Reinstall")
74#define REGSTR_PATH_NT_CURRENTVERSION TEXT("Software\\Microsoft\\Windows NT\\CurrentVersion")
75
76#define REGSTR_PATH_VOLUMECACHE TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\VolumeCaches")
77#define REGSTR_VAL_DISPLAY TEXT("display")
78
79#define REGSTR_PATH_IDCONFIGDB TEXT("System\\CurrentControlSet\\Control\\IDConfigDB")
80#define REGSTR_PATH_CRITICALDEVICEDATABASE TEXT("System\\CurrentControlSet\\Control\\CriticalDeviceDatabase")
81#define REGSTR_PATH_CLASS TEXT("System\\CurrentControlSet\\Services\\Class")
82#define REGSTR_PATH_DISPLAYSETTINGS TEXT("Display\\Settings")
83#define REGSTR_PATH_FONTS TEXT("Display\\Fonts")
84#define REGSTR_PATH_ENUM TEXT("Enum")
85#define REGSTR_PATH_ROOT TEXT("Enum\\Root")
86
87#define REGSTR_PATH_CURRENTCONTROLSET TEXT("System\\CurrentControlSet")
88#define REGSTR_PATH_SYSTEMENUM TEXT("System\\CurrentControlSet\\Enum")
89#define REGSTR_PATH_HWPROFILES TEXT("System\\CurrentControlSet\\Hardware Profiles")
90#define REGSTR_PATH_HWPROFILESCURRENT TEXT("System\\CurrentControlSet\\Hardware Profiles\\Current")
91#define REGSTR_PATH_CLASS_NT TEXT("System\\CurrentControlSet\\Control\\Class")
92#define REGSTR_PATH_PER_HW_ID_STORAGE TEXT("Software\\Microsoft\\Windows NT\\CurrentVersion\\PerHwIdStorage")
93
94#define REGSTR_PATH_DEVICE_CLASSES TEXT("System\\CurrentControlSet\\Control\\DeviceClasses")
95
96#define REGSTR_PATH_CODEVICEINSTALLERS TEXT("System\\CurrentControlSet\\Control\\CoDeviceInstallers")
97#define REGSTR_PATH_BUSINFORMATION TEXT("System\\CurrentControlSet\\Control\\PnP\\BusInformation")
98
99#define REGSTR_PATH_SERVICES TEXT("System\\CurrentControlSet\\Services")
100#define REGSTR_PATH_VXD TEXT("System\\CurrentControlSet\\Services\\VxD")
101#define REGSTR_PATH_IOS TEXT("System\\CurrentControlSet\\Services\\VxD\\IOS")
102#define REGSTR_PATH_VMM TEXT("System\\CurrentControlSet\\Services\\VxD\\VMM")
103#define REGSTR_PATH_VPOWERD TEXT("System\\CurrentControlSet\\Services\\VxD\\VPOWERD")
104#define REGSTR_PATH_VNETSUP TEXT("System\\CurrentControlSet\\Services\\VxD\\VNETSUP")
105#define REGSTR_PATH_NWREDIR TEXT("System\\CurrentControlSet\\Services\\VxD\\NWREDIR")
106#define REGSTR_PATH_NCPSERVER TEXT("System\\CurrentControlSet\\Services\\NcpServer\\Parameters")
107#define REGSTR_PATH_VCOMM TEXT("System\\CurrentControlSet\\Services\\VxD\\VCOMM")
108
109#define REGSTR_PATH_IOARB TEXT("System\\CurrentControlSet\\Services\\Arbitrators\\IOArb")
110#define REGSTR_PATH_ADDRARB TEXT("System\\CurrentControlSet\\Services\\Arbitrators\\AddrArb")
111#define REGSTR_PATH_DMAARB TEXT("System\\CurrentControlSet\\Services\\Arbitrators\\DMAArb")
112#define REGSTR_PATH_IRQARB TEXT("System\\CurrentControlSet\\Services\\Arbitrators\\IRQArb")
113
114#define REGSTR_PATH_CODEPAGE TEXT("System\\CurrentControlSet\\Control\\Nls\\Codepage")
115#define REGSTR_PATH_FILESYSTEM TEXT("System\\CurrentControlSet\\Control\\FileSystem")
116#define REGSTR_PATH_FILESYSTEM_NOVOLTRACK TEXT("System\\CurrentControlSet\\Control\\FileSystem\\NoVolTrack")
117#define REGSTR_PATH_CDFS TEXT("System\\CurrentControlSet\\Control\\FileSystem\\CDFS")
118#define REGSTR_PATH_WINBOOT TEXT("System\\CurrentControlSet\\Control\\WinBoot")
119#define REGSTR_PATH_INSTALLEDFILES TEXT("System\\CurrentControlSet\\Control\\InstalledFiles")
120#define REGSTR_PATH_VMM32FILES TEXT("System\\CurrentControlSet\\Control\\VMM32Files")
121
122#define REGSTR_MAX_VALUE_LENGTH 256
123
124#define REGSTR_KEY_DEVICE_PROPERTIES TEXT("Properties")
125
126#define REGSTR_VAL_SLOTNUMBER TEXT("SlotNumber")
127#define REGSTR_VAL_ATTACHEDCOMPONENTS TEXT("AttachedComponents")
128#define REGSTR_VAL_BASEDEVICEPATH TEXT("BaseDevicePath")
129#define REGSTR_VAL_SYSTEMBUSNUMBER TEXT("SystemBusNumber")
130#define REGSTR_VAL_BUSDATATYPE TEXT("BusDataType")
131#define REGSTR_VAL_INTERFACETYPE TEXT("InterfaceType")
132
133#define REGSTR_VAL_SERVICE TEXT("Service")
134
135#define REGSTR_VAL_DETECTSIGNATURE TEXT("DetectSignature")
136
137#define REGSTR_VAL_CLASSGUID TEXT("ClassGUID")
138
139#define REGSTR_VAL_INSTANCEIDENTIFIER TEXT("InstanceIdentifier")
140#define REGSTR_VAL_DUPLICATEOF TEXT("DuplicateOf")
141#define REGSTR_VAL_STATUSFLAGS TEXT("StatusFlags")
142
143#define REGSTR_VAL_DISABLECOUNT TEXT("DisableCount")
144
145#define REGSTR_VAL_UNKNOWNPROBLEMS TEXT("UnknownProblem")
146
147#define REGSTR_VAL_DOCKSTATE TEXT("DockState")
148
149#define REGSTR_VAL_PREFERENCEORDER TEXT("PreferenceOrder")
150#define REGSTR_VAL_USERWAITINTERVAL TEXT("UserWaitInterval")
151
152#define REGSTR_VAL_DEVICE_INSTANCE TEXT("DeviceInstance")
153#define REGSTR_VAL_SYMBOLIC_LINK TEXT("SymbolicLink")
154#define REGSTR_VAL_DEFAULT TEXT("Default")
155#define REGSTR_VAL_LOWERFILTERS TEXT("LowerFilters")
156#define REGSTR_VAL_UPPERFILTERS TEXT("UpperFilters")
157#define REGSTR_VAL_LOCATION_INFORMATION TEXT("LocationInformation")
158#define REGSTR_VAL_UI_NUMBER TEXT("UINumber")
159#define REGSTR_VAL_UI_NUMBER_DESC_FORMAT TEXT("UINumberDescFormat")
160#define REGSTR_VAL_CAPABILITIES TEXT("Capabilities")
161#define REGSTR_VAL_DEVICE_TYPE TEXT("DeviceType")
162#define REGSTR_VAL_DEVICE_CHARACTERISTICS TEXT("DeviceCharacteristics")
163#define REGSTR_VAL_DEVICE_SECURITY_DESCRIPTOR TEXT("Security")
164#define REGSTR_VAL_DEVICE_EXCLUSIVE TEXT("Exclusive")
165#define REGSTR_VAL_RESOURCE_PICKER_TAGS TEXT("ResourcePickerTags")
166#define REGSTR_VAL_RESOURCE_PICKER_EXCEPTIONS TEXT("ResourcePickerExceptions")
167#define REGSTR_VAL_CUSTOM_PROPERTY_CACHE_DATE TEXT("CustomPropertyCacheDate")
168#define REGSTR_VAL_CUSTOM_PROPERTY_HW_ID_KEY TEXT("CustomPropertyHwIdKey")
169#define REGSTR_VAL_LAST_UPDATE_TIME TEXT("LastUpdateTime")
170#define REGSTR_VAL_CONTAINERID TEXT("ContainerID")
171
172#define REGSTR_VAL_EJECT_PRIORITY TEXT("EjectPriority")
173
174#define REGSTR_KEY_CONTROL TEXT("Control")
175#define REGSTR_VAL_ACTIVESERVICE TEXT("ActiveService")
176#define REGSTR_VAL_LINKED TEXT("Linked")
177#define REGSTR_VAL_PHYSICALDEVICEOBJECT TEXT("PhysicalDeviceObject")
178#define REGSTR_VAL_REMOVAL_POLICY TEXT("RemovalPolicy")
179
180#define REGSTR_VAL_CURRENT_VERSION TEXT("CurrentVersion")
181#define REGSTR_VAL_CURRENT_BUILD TEXT("CurrentBuildNumber")
182#define REGSTR_VAL_CURRENT_CSDVERSION TEXT("CSDVersion")
183#define REGSTR_VAL_CURRENT_TYPE TEXT("CurrentType")
184
185#define REGSTR_VAL_BITSPERPIXEL TEXT("BitsPerPixel")
186#define REGSTR_VAL_RESOLUTION TEXT("Resolution")
187#define REGSTR_VAL_DPILOGICALX TEXT("DPILogicalX")
188#define REGSTR_VAL_DPILOGICALY TEXT("DPILogicalY")
189#define REGSTR_VAL_DPIPHYSICALX TEXT("DPIPhysicalX")
190#define REGSTR_VAL_DPIPHYSICALY TEXT("DPIPhysicalY")
191#define REGSTR_VAL_REFRESHRATE TEXT("RefreshRate")
192#define REGSTR_VAL_DISPLAYFLAGS TEXT("DisplayFlags")
193
194#define REGSTR_PATH_CONTROLPANEL TEXT("Control Panel")
195
196#define REGSTR_PATH_CONTROLSFOLDER TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Controls Folder")
197
198#define REGSTR_VAL_DOSCP TEXT("OEMCP")
199#define REGSTR_VAL_WINCP TEXT("ACP")
200
201#define REGSTR_PATH_DYNA_ENUM TEXT("Config Manager\\Enum")
202
203#define REGSTR_VAL_HARDWARE_KEY TEXT("HardWareKey")
204#define REGSTR_VAL_ALLOCATION TEXT("Allocation")
205#define REGSTR_VAL_PROBLEM TEXT("Problem")
206#define REGSTR_VAL_STATUS TEXT("Status")
207
208#define REGSTR_VAL_DONTUSEMEM TEXT("DontAllocLastMem")
209
210#define REGSTR_VAL_SYSTEMROOT TEXT("SystemRoot")
211#define REGSTR_VAL_BOOTCOUNT TEXT("BootCount")
212#define REGSTR_VAL_REALNETSTART TEXT("RealNetStart")
213#define REGSTR_VAL_MEDIA TEXT("MediaPath")
214#define REGSTR_VAL_CONFIG TEXT("ConfigPath")
215#define REGSTR_VAL_DEVICEPATH TEXT("DevicePath")
216#define REGSTR_VAL_SRCPATH TEXT("SourcePath")
217#define REGSTR_VAL_SVCPAKSRCPATH TEXT("ServicePackSourcePath")
218#define REGSTR_VAL_DRIVERCACHEPATH TEXT("DriverCachePath")
219
220#define REGSTR_VAL_OLDWINDIR TEXT("OldWinDir")
221#define REGSTR_VAL_SETUPFLAGS TEXT("SetupFlags")
222#define REGSTR_VAL_REGOWNER TEXT("RegisteredOwner")
223#define REGSTR_VAL_REGORGANIZATION TEXT("RegisteredOrganization")
224#define REGSTR_VAL_LICENSINGINFO TEXT("LicensingInfo")
225#define REGSTR_VAL_OLDMSDOSVER TEXT("OldMSDOSVer")
226#define REGSTR_VAL_FIRSTINSTALLDATETIME TEXT("FirstInstallDateTime")
227
228#define REGSTR_VAL_INSTALLTYPE TEXT("InstallType")
229
230#define IT_COMPACT 0x0000
231#define IT_TYPICAL 0x0001
232#define IT_PORTABLE 0x0002
233#define IT_CUSTOM 0x0003
234
235#define REGSTR_VAL_WRAPPER TEXT("Wrapper")
236
237#define REGSTR_KEY_RUNHISTORY TEXT("RunHistory")
238#define REGSTR_VAL_LASTALIVEINTERVAL TEXT("TimeStampInterval")
239#define REGSTR_VAL_DIRTYSHUTDOWN TEXT("DirtyShutdown")
240#define REGSTR_VAL_DIRTYSHUTDOWNTIME TEXT("DirtyShutdownTime")
241#define REGSTR_VAL_BT TEXT("6005BT")
242#define REGSTR_VAL_LASTCOMPUTERNAME TEXT("LastComputerName")
243#define REGSTR_VAL_LASTALIVEBT TEXT("LastAliveBT")
244#define REGSTR_VAL_LASTALIVESTAMP TEXT("LastAliveStamp")
245#define REGSTR_VAL_LASTALIVESTAMPFORCED TEXT("LastAliveStampForced")
246#define REGSTR_VAL_LASTALIVESTAMPINTERVAL TEXT("LastAliveStampInterval")
247#define REGSTR_VAL_LASTALIVESTAMPPOLICYINTERVAL TEXT("LastAliveStampPolicyInterval")
248#define REGSTR_VAL_LASTALIVEUPTIME TEXT("LastAliveUptime")
249#define REGSTR_VAL_LASTALIVEPMPOLICY TEXT("LastAlivePMPolicy")
250
251#define REGSTR_VAL_REASONCODE TEXT("ReasonCode")
252#define REGSTR_VAL_COMMENT TEXT("Comment")
253
254#define REGSTR_VAL_SHUTDOWNREASON TEXT("ShutdownReason")
255#define REGSTR_VAL_SHUTDOWNREASON_CODE TEXT("ShutdownReasonCode")
256#define REGSTR_VAL_SHUTDOWNREASON_COMMENT TEXT("ShutdownReasonComment")
257#define REGSTR_VAL_SHUTDOWNREASON_PROCESS TEXT("ShutdownReasonProcess")
258#define REGSTR_VAL_SHUTDOWNREASON_USERNAME TEXT("ShutdownReasonUserName")
259#define REGSTR_VAL_SHOWREASONUI TEXT("ShutdownReasonUI")
260#define REGSTR_VAL_SHUTDOWN_IGNORE_PREDEFINED TEXT("ShutdownIgnorePredefinedReasons")
261#define REGSTR_VAL_SHUTDOWN_STATE_SNAPSHOT TEXT("ShutdownStateSnapshot")
262
263#define REGSTR_KEY_SETUP TEXT("\\Setup")
264#define REGSTR_VAL_BOOTDIR TEXT("BootDir")
265#define REGSTR_VAL_WINBOOTDIR TEXT("WinbootDir")
266#define REGSTR_VAL_WINDIR TEXT("WinDir")
267
268#define REGSTR_VAL_APPINSTPATH TEXT("AppInstallPath")
269
270#define REGSTR_PATH_EBD REGSTR_PATH_SETUP REGSTR_KEY_SETUP TEXT("\\EBD")
271
272#define REGSTR_KEY_EBDFILESLOCAL TEXT("EBDFilesLocale")
273#define REGSTR_KEY_EBDFILESKEYBOARD TEXT("EBDFilesKeyboard")
274#define REGSTR_KEY_EBDAUTOEXECBATLOCAL TEXT("EBDAutoexecBatLocale")
275#define REGSTR_KEY_EBDAUTOEXECBATKEYBOARD TEXT("EBDAutoexecBatKeyboard")
276#define REGSTR_KEY_EBDCONFIGSYSLOCAL TEXT("EBDConfigSysLocale")
277#define REGSTR_KEY_EBDCONFIGSYSKEYBOARD TEXT("EBDConfigSysKeyboard")
278
279#define REGSTR_VAL_POLICY TEXT("Policy")
280
281#define REGSTR_VAL_BEHAVIOR_ON_FAILED_VERIFY TEXT("BehaviorOnFailedVerify")
282
283#define DRIVERSIGN_NONE 0x00000000
284#define DRIVERSIGN_WARNING 0x00000001
285#define DRIVERSIGN_BLOCKING 0x00000002
286
287#define REGSTR_VAL_MSDOSMODE TEXT("MSDOSMode")
288#define REGSTR_VAL_MSDOSMODEDISCARD TEXT("Discard")
289
290#define REGSTR_VAL_DOSOPTGLOBALFLAGS TEXT("GlobalFlags")
291
292#define DOSOPTGF_DEFCLEAN __MSABI_LONG(0x00000001)
293
294#define REGSTR_VAL_DOSOPTFLAGS TEXT("Flags")
295#define REGSTR_VAL_OPTORDER TEXT("Order")
296#define REGSTR_VAL_CONFIGSYS TEXT("Config.Sys")
297#define REGSTR_VAL_AUTOEXEC TEXT("Autoexec.Bat")
298#define REGSTR_VAL_STDDOSOPTION TEXT("StdOption")
299#define REGSTR_VAL_DOSOPTTIP TEXT("TipText")
300
301#define DOSOPTF_DEFAULT __MSABI_LONG(0x00000001)
302#define DOSOPTF_SUPPORTED __MSABI_LONG(0x00000002)
303#define DOSOPTF_ALWAYSUSE __MSABI_LONG(0x00000004)
304#define DOSOPTF_USESPMODE __MSABI_LONG(0x00000008)
305#define DOSOPTF_PROVIDESUMB __MSABI_LONG(0x00000010)
306#define DOSOPTF_NEEDSETUP __MSABI_LONG(0x00000020)
307#define DOSOPTF_INDOSSTART __MSABI_LONG(0x00000040)
308#define DOSOPTF_MULTIPLE __MSABI_LONG(0x00000080)
309
310#define SUF_FIRSTTIME __MSABI_LONG(0x00000001)
311#define SUF_EXPRESS __MSABI_LONG(0x00000002)
312#define SUF_BATCHINF __MSABI_LONG(0x00000004)
313#define SUF_CLEAN __MSABI_LONG(0x00000008)
314#define SUF_INSETUP __MSABI_LONG(0x00000010)
315#define SUF_NETSETUP __MSABI_LONG(0x00000020)
316#define SUF_NETHDBOOT __MSABI_LONG(0x00000040)
317#define SUF_NETRPLBOOT __MSABI_LONG(0x00000080)
318#define SUF_SBSCOPYOK __MSABI_LONG(0x00000100)
319
320#define REGSTR_VAL_DOSPAGER TEXT("DOSPager")
321#define REGSTR_VAL_VXDGROUPS TEXT("VXDGroups")
322
323#define REGSTR_VAL_VPOWERDFLAGS TEXT("Flags")
324#define VPDF_DISABLEPWRMGMT 0x00000001
325#define VPDF_FORCEAPM10MODE 0x00000002
326#define VPDF_SKIPINTELSLCHECK 0x00000004
327#define VPDF_DISABLEPWRSTATUSPOLL 0x00000008
328#define VPDF_DISABLERINGRESUME 0x00000010
329#define VPDF_SHOWMULTIBATT 0x00000020
330
331#define BIF_SHOWSIMILARDRIVERS 0x00000001
332#define BIF_RAWDEVICENEEDSDRIVER 0x00000002
333
334#define REGSTR_VAL_WORKGROUP TEXT("Workgroup")
335#define REGSTR_VAL_DIRECTHOST TEXT("DirectHost")
336#define REGSTR_VAL_FILESHARING TEXT("FileSharing")
337#define REGSTR_VAL_PRINTSHARING TEXT("PrintSharing")
338
339#define REGSTR_VAL_FIRSTNETDRIVE TEXT("FirstNetworkDrive")
340#define REGSTR_VAL_MAXCONNECTIONS TEXT("MaxConnections")
341#define REGSTR_VAL_APISUPPORT TEXT("APISupport")
342#define REGSTR_VAL_MAXRETRY TEXT("MaxRetry")
343#define REGSTR_VAL_MINRETRY TEXT("MinRetry")
344#define REGSTR_VAL_SUPPORTLFN TEXT("SupportLFN")
345#define REGSTR_VAL_SUPPORTBURST TEXT("SupportBurst")
346#define REGSTR_VAL_SUPPORTTUNNELLING TEXT("SupportTunnelling")
347#define REGSTR_VAL_FULLTRACE TEXT("FullTrace")
348#define REGSTR_VAL_READCACHING TEXT("ReadCaching")
349#define REGSTR_VAL_SHOWDOTS TEXT("ShowDots")
350#define REGSTR_VAL_GAPTIME TEXT("GapTime")
351#define REGSTR_VAL_SEARCHMODE TEXT("SearchMode")
352#define REGSTR_VAL_SHELLVERSION TEXT("ShellVersion")
353#define REGSTR_VAL_MAXLIP TEXT("MaxLIP")
354#define REGSTR_VAL_PRESERVECASE TEXT("PreserveCase")
355#define REGSTR_VAL_OPTIMIZESFN TEXT("OptimizeSFN")
356
357#define REGSTR_VAL_NCP_BROWSEMASTER TEXT("BrowseMaster")
358#define REGSTR_VAL_NCP_USEPEERBROWSING TEXT("Use_PeerBrowsing")
359#define REGSTR_VAL_NCP_USESAP TEXT("Use_Sap")
360
361#define REGSTR_VAL_PCCARD_POWER TEXT("EnablePowerManagement")
362
363#define REGSTR_VAL_WIN31FILESYSTEM TEXT("Win31FileSystem")
364#define REGSTR_VAL_PRESERVELONGNAMES TEXT("PreserveLongNames")
365#define REGSTR_VAL_DRIVEWRITEBEHIND TEXT("DriveWriteBehind")
366#define REGSTR_VAL_ASYNCFILECOMMIT TEXT("AsyncFileCommit")
367#define REGSTR_VAL_PATHCACHECOUNT TEXT("PathCache")
368#define REGSTR_VAL_NAMECACHECOUNT TEXT("NameCache")
369#define REGSTR_VAL_CONTIGFILEALLOC TEXT("ContigFileAllocSize")
370#define REGSTR_VAL_FREESPACERATIO TEXT("FreeSpaceRatio")
371#define REGSTR_VAL_VOLIDLETIMEOUT TEXT("VolumeIdleTimeout")
372#define REGSTR_VAL_BUFFIDLETIMEOUT TEXT("BufferIdleTimeout")
373#define REGSTR_VAL_BUFFAGETIMEOUT TEXT("BufferAgeTimeout")
374#define REGSTR_VAL_NAMENUMERICTAIL TEXT("NameNumericTail")
375#define REGSTR_VAL_READAHEADTHRESHOLD TEXT("ReadAheadThreshold")
376#define REGSTR_VAL_DOUBLEBUFFER TEXT("DoubleBuffer")
377#define REGSTR_VAL_SOFTCOMPATMODE TEXT("SoftCompatMode")
378#define REGSTR_VAL_DRIVESPINDOWN TEXT("DriveSpinDown")
379#define REGSTR_VAL_FORCEPMIO TEXT("ForcePMIO")
380#define REGSTR_VAL_FORCERMIO TEXT("ForceRMIO")
381#define REGSTR_VAL_LASTBOOTPMDRVS TEXT("LastBootPMDrvs")
382#define REGSTR_VAL_ACSPINDOWNPREVIOUS TEXT("ACSpinDownPrevious")
383#define REGSTR_VAL_BATSPINDOWNPREVIOUS TEXT("BatSpinDownPrevious")
384#define REGSTR_VAL_VIRTUALHDIRQ TEXT("VirtualHDIRQ")
385#define REGSTR_VAL_SRVNAMECACHECOUNT TEXT("ServerNameCacheMax")
386#define REGSTR_VAL_SRVNAMECACHE TEXT("ServerNameCache")
387#define REGSTR_VAL_SRVNAMECACHENETPROV TEXT("ServerNameCacheNumNets")
388#define REGSTR_VAL_AUTOMOUNT TEXT("AutoMountDrives")
389#define REGSTR_VAL_COMPRESSIONMETHOD TEXT("CompressionAlgorithm")
390#define REGSTR_VAL_COMPRESSIONTHRESHOLD TEXT("CompressionThreshold")
391#define REGSTR_VAL_ACDRIVESPINDOWN TEXT("ACDriveSpinDown")
392#define REGSTR_VAL_BATDRIVESPINDOWN TEXT("BatDriveSpinDown")
393
394#define REGSTR_VAL_CDCACHESIZE TEXT("CacheSize")
395#define REGSTR_VAL_CDPREFETCH TEXT("Prefetch")
396#define REGSTR_VAL_CDPREFETCHTAIL TEXT("PrefetchTail")
397#define REGSTR_VAL_CDRAWCACHE TEXT("RawCache")
398#define REGSTR_VAL_CDEXTERRORS TEXT("ExtendedErrors")
399#define REGSTR_VAL_CDSVDSENSE TEXT("SVDSense")
400#define REGSTR_VAL_CDSHOWVERSIONS TEXT("ShowVersions")
401#define REGSTR_VAL_CDCOMPATNAMES TEXT("MSCDEXCompatNames")
402#define REGSTR_VAL_CDNOREADAHEAD TEXT("NoReadAhead")
403
404#define REGSTR_VAL_SCSI TEXT("SCSI\\")
405#define REGSTR_VAL_ESDI TEXT("ESDI\\")
406#define REGSTR_VAL_FLOP TEXT("FLOP\\")
407
408#define REGSTR_VAL_DISK TEXT("GenDisk")
409#define REGSTR_VAL_CDROM TEXT("GenCD")
410#define REGSTR_VAL_TAPE TEXT("TAPE")
411#define REGSTR_VAL_SCANNER TEXT("SCANNER")
412#define REGSTR_VAL_FLOPPY TEXT("FLOPPY")
413
414#define REGSTR_VAL_SCSITID TEXT("SCSITargetID")
415#define REGSTR_VAL_SCSILUN TEXT("SCSILUN")
416#define REGSTR_VAL_REVLEVEL TEXT("RevisionLevel")
417#define REGSTR_VAL_PRODUCTID TEXT("ProductId")
418#define REGSTR_VAL_PRODUCTTYPE TEXT("ProductType")
419#define REGSTR_VAL_DEVTYPE TEXT("DeviceType")
420#define REGSTR_VAL_REMOVABLE TEXT("Removable")
421#define REGSTR_VAL_CURDRVLET TEXT("CurrentDriveLetterAssignment")
422#define REGSTR_VAL_USRDRVLET TEXT("UserDriveLetterAssignment")
423#define REGSTR_VAL_SYNCDATAXFER TEXT("SyncDataXfer")
424#define REGSTR_VAL_AUTOINSNOTE TEXT("AutoInsertNotification")
425#define REGSTR_VAL_DISCONNECT TEXT("Disconnect")
426#define REGSTR_VAL_INT13 TEXT("Int13")
427#define REGSTR_VAL_PMODE_INT13 TEXT("PModeInt13")
428#define REGSTR_VAL_USERSETTINGS TEXT("AdapterSettings")
429#define REGSTR_VAL_NOIDE TEXT("NoIDE")
430
431#define REGSTR_VAL_DISKCLASSNAME TEXT("DiskDrive")
432#define REGSTR_VAL_CDROMCLASSNAME TEXT("CDROM")
433
434#define REGSTR_VAL_FORCELOAD TEXT("ForceLoadPD")
435
436#define REGSTR_VAL_FORCEFIFO TEXT("ForceFIFO")
437#define REGSTR_VAL_FORCECL TEXT("ForceChangeLine")
438
439#define REGSTR_VAL_NOUSECLASS TEXT("NoUseClass")
440#define REGSTR_VAL_NOINSTALLCLASS TEXT("NoInstallClass")
441#define REGSTR_VAL_NODISPLAYCLASS TEXT("NoDisplayClass")
442#define REGSTR_VAL_SILENTINSTALL TEXT("SilentInstall")
443
444#define REGSTR_KEY_PCMCIA_CLASS TEXT("PCMCIA")
445#define REGSTR_KEY_SCSI_CLASS TEXT("SCSIAdapter")
446#define REGSTR_KEY_PORTS_CLASS TEXT("ports")
447#define REGSTR_KEY_MEDIA_CLASS TEXT("MEDIA")
448#define REGSTR_KEY_DISPLAY_CLASS TEXT("Display")
449#define REGSTR_KEY_KEYBOARD_CLASS TEXT("Keyboard")
450#define REGSTR_KEY_MOUSE_CLASS TEXT("Mouse")
451#define REGSTR_KEY_MONITOR_CLASS TEXT("Monitor")
452#define REGSTR_KEY_MODEM_CLASS TEXT("Modem")
453
454#define REGSTR_VAL_PCMCIA_OPT TEXT("Options")
455#define PCMCIA_OPT_HAVE_SOCKET __MSABI_LONG(0x00000001)
456
457#define PCMCIA_OPT_AUTOMEM __MSABI_LONG(0x00000004)
458#define PCMCIA_OPT_NO_SOUND __MSABI_LONG(0x00000008)
459#define PCMCIA_OPT_NO_AUDIO __MSABI_LONG(0x00000010)
460#define PCMCIA_OPT_NO_APMREMOVE __MSABI_LONG(0x00000020)
461
462#define REGSTR_VAL_PCMCIA_MEM TEXT("Memory")
463#define PCMCIA_DEF_MEMBEGIN 0x000c0000
464#define PCMCIA_DEF_MEMEND 0x00ffffff
465#define PCMCIA_DEF_MEMLEN 0x00001000
466
467#define REGSTR_VAL_PCMCIA_ALLOC TEXT("AllocMemWin")
468#define REGSTR_VAL_PCMCIA_ATAD TEXT("ATADelay")
469
470#define REGSTR_VAL_PCMCIA_SIZ TEXT("MinRegionSize")
471#define PCMCIA_DEF_MIN_REGION 0x00010000
472
473#define REGSTR_VAL_P1284MDL TEXT("Model")
474#define REGSTR_VAL_P1284MFG TEXT("Manufacturer")
475
476#define REGSTR_VAL_ISAPNP TEXT("ISAPNP")
477#define REGSTR_VAL_ISAPNP_RDP_OVERRIDE TEXT("RDPOverRide")
478
479#define REGSTR_VAL_PCI TEXT("PCI")
480#define REGSTR_PCI_OPTIONS TEXT("Options")
481#define REGSTR_PCI_DUAL_IDE TEXT("PCIDualIDE")
482#define PCI_OPTIONS_USE_BIOS __MSABI_LONG(0x00000001)
483#define PCI_OPTIONS_USE_IRQ_STEERING __MSABI_LONG(0x00000002)
484
485#define AGP_FLAG_NO_1X_RATE __MSABI_LONG(0x00000001)
486#define AGP_FLAG_NO_2X_RATE __MSABI_LONG(0x00000002)
487#define AGP_FLAG_NO_4X_RATE __MSABI_LONG(0x00000004)
488#define AGP_FLAG_NO_8X_RATE __MSABI_LONG(0x00000008)
489#define AGP_FLAG_REVERSE_INITIALIZATION __MSABI_LONG(0x00000080)
490
491#define AGP_FLAG_NO_SBA_ENABLE __MSABI_LONG(0x00000100)
492#define AGP_FLAG_NO_FW_ENABLE __MSABI_LONG(0x00000200)
493
494#define AGP_FLAG_SPECIAL_TARGET __MSABI_LONG(0x000fffff)
495#define AGP_FLAG_SPECIAL_RESERVE __MSABI_LONG(0x000f8000)
496
497#define REGSTR_KEY_CRASHES TEXT("Crashes")
498#define REGSTR_KEY_DANGERS TEXT("Dangers")
499#define REGSTR_KEY_DETMODVARS TEXT("DetModVars")
500#define REGSTR_KEY_NDISINFO TEXT("NDISInfo")
501#define REGSTR_VAL_PROTINIPATH TEXT("ProtIniPath")
502#define REGSTR_VAL_RESOURCES TEXT("Resources")
503#define REGSTR_VAL_CRASHFUNCS TEXT("CrashFuncs")
504#define REGSTR_VAL_CLASS TEXT("Class")
505#define REGSTR_VAL_CLASSDESC TEXT("ClassDesc")
506#define REGSTR_VAL_DEVDESC TEXT("DeviceDesc")
507#define REGSTR_VAL_BOOTCONFIG TEXT("BootConfig")
508#define REGSTR_VAL_DETFUNC TEXT("DetFunc")
509#define REGSTR_VAL_DETFLAGS TEXT("DetFlags")
510#define REGSTR_VAL_COMPATIBLEIDS TEXT("CompatibleIDs")
511#define REGSTR_VAL_DETCONFIG TEXT("DetConfig")
512#define REGSTR_VAL_VERIFYKEY TEXT("VerifyKey")
513#define REGSTR_VAL_COMINFO TEXT("ComInfo")
514#define REGSTR_VAL_INFNAME TEXT("InfName")
515#define REGSTR_VAL_CARDSPECIFIC TEXT("CardSpecific")
516#define REGSTR_VAL_NETOSTYPE TEXT("NetOSType")
517#define REGSTR_DATA_NETOS_NDIS TEXT("NDIS")
518#define REGSTR_DATA_NETOS_ODI TEXT("ODI")
519#define REGSTR_DATA_NETOS_IPX TEXT("IPX")
520#define REGSTR_VAL_MFG TEXT("Mfg")
521#define REGSTR_VAL_SCAN_ONLY_FIRST TEXT("ScanOnlyFirstDrive")
522#define REGSTR_VAL_SHARE_IRQ TEXT("ForceIRQSharing")
523#define REGSTR_VAL_NONSTANDARD_ATAPI TEXT("NonStandardATAPI")
524#define REGSTR_VAL_IDE_FORCE_SERIALIZE TEXT("ForceSerialization")
525#define REGSTR_VAL_MAX_HCID_LEN 1024
526#define REGSTR_VAL_HWREV TEXT("HWRevision")
527#define REGSTR_VAL_ENABLEINTS TEXT("EnableInts")
528
529#define REGDF_NOTDETIO 0x00000001
530#define REGDF_NOTDETMEM 0x00000002
531#define REGDF_NOTDETIRQ 0x00000004
532#define REGDF_NOTDETDMA 0x00000008
533#define REGDF_NOTDETALL (REGDF_NOTDETIO | REGDF_NOTDETMEM | REGDF_NOTDETIRQ | REGDF_NOTDETDMA)
534#define REGDF_NEEDFULLCONFIG 0x00000010
535#define REGDF_GENFORCEDCONFIG 0x00000020
536#define REGDF_NODETCONFIG 0x00008000
537#define REGDF_CONFLICTIO 0x00010000
538#define REGDF_CONFLICTMEM 0x00020000
539#define REGDF_CONFLICTIRQ 0x00040000
540#define REGDF_CONFLICTDMA 0x00080000
541#define REGDF_CONFLICTALL (REGDF_CONFLICTIO | REGDF_CONFLICTMEM | REGDF_CONFLICTIRQ | REGDF_CONFLICTDMA)
542#define REGDF_MAPIRQ2TO9 0x00100000
543#define REGDF_NOTVERIFIED 0x80000000
544
545#define REGSTR_VAL_APMBIOSVER TEXT("APMBiosVer")
546#define REGSTR_VAL_APMFLAGS TEXT("APMFlags")
547#define REGSTR_VAL_SLSUPPORT TEXT("SLSupport")
548#define REGSTR_VAL_MACHINETYPE TEXT("MachineType")
549#define REGSTR_VAL_SETUPMACHINETYPE TEXT("SetupMachineType")
550#define REGSTR_MACHTYPE_UNKNOWN TEXT("Unknown")
551#define REGSTR_MACHTYPE_IBMPC TEXT("IBM PC")
552#define REGSTR_MACHTYPE_IBMPCJR TEXT("IBM PCjr")
553#define REGSTR_MACHTYPE_IBMPCCONV TEXT("IBM PC Convertible")
554#define REGSTR_MACHTYPE_IBMPCXT TEXT("IBM PC/XT")
555#define REGSTR_MACHTYPE_IBMPCXT_286 TEXT("IBM PC/XT 286")
556#define REGSTR_MACHTYPE_IBMPCAT TEXT("IBM PC/AT")
557#define REGSTR_MACHTYPE_IBMPS2_25 TEXT("IBM PS/2-25")
558#define REGSTR_MACHTYPE_IBMPS2_30_286 TEXT("IBM PS/2-30 286")
559#define REGSTR_MACHTYPE_IBMPS2_30 TEXT("IBM PS/2-30")
560#define REGSTR_MACHTYPE_IBMPS2_50 TEXT("IBM PS/2-50")
561#define REGSTR_MACHTYPE_IBMPS2_50Z TEXT("IBM PS/2-50Z")
562#define REGSTR_MACHTYPE_IBMPS2_55SX TEXT("IBM PS/2-55SX")
563#define REGSTR_MACHTYPE_IBMPS2_60 TEXT("IBM PS/2-60")
564#define REGSTR_MACHTYPE_IBMPS2_65SX TEXT("IBM PS/2-65SX")
565#define REGSTR_MACHTYPE_IBMPS2_70 TEXT("IBM PS/2-70")
566#define REGSTR_MACHTYPE_IBMPS2_P70 TEXT("IBM PS/2-P70")
567#define REGSTR_MACHTYPE_IBMPS2_70_80 TEXT("IBM PS/2-70/80")
568#define REGSTR_MACHTYPE_IBMPS2_80 TEXT("IBM PS/2-80")
569#define REGSTR_MACHTYPE_IBMPS2_90 TEXT("IBM PS/2-90")
570#define REGSTR_MACHTYPE_IBMPS1 TEXT("IBM PS/1")
571#define REGSTR_MACHTYPE_PHOENIX_PCAT TEXT("Phoenix PC/AT Compatible")
572#define REGSTR_MACHTYPE_HP_VECTRA TEXT("HP Vectra")
573#define REGSTR_MACHTYPE_ATT_PC TEXT("AT&T PC")
574#define REGSTR_MACHTYPE_ZENITH_PC TEXT("Zenith PC")
575
576#define REGSTR_VAL_APMMENUSUSPEND TEXT("APMMenuSuspend")
577#define APMMENUSUSPEND_DISABLED 0
578#define APMMENUSUSPEND_ENABLED 1
579#define APMMENUSUSPEND_UNDOCKED 2
580#define APMMENUSUSPEND_NOCHANGE 0x80
581
582#define REGSTR_VAL_APMACTIMEOUT TEXT("APMACTimeout")
583#define REGSTR_VAL_APMBATTIMEOUT TEXT("APMBatTimeout")
584#define APMTIMEOUT_DISABLED 0
585
586#define REGSTR_VAL_APMSHUTDOWNPOWER TEXT("APMShutDownPower")
587
588#define REGSTR_VAL_BUSTYPE TEXT("BusType")
589#define REGSTR_VAL_CPU TEXT("CPU")
590#define REGSTR_VAL_NDP TEXT("NDP")
591#define REGSTR_VAL_PNPBIOSVER TEXT("PnPBIOSVer")
592#define REGSTR_VAL_PNPSTRUCOFFSET TEXT("PnPStrucOffset")
593#define REGSTR_VAL_PCIBIOSVER TEXT("PCIBIOSVer")
594#define REGSTR_VAL_HWMECHANISM TEXT("HWMechanism")
595#define REGSTR_VAL_LASTPCIBUSNUM TEXT("LastPCIBusNum")
596#define REGSTR_VAL_CONVMEM TEXT("ConvMem")
597#define REGSTR_VAL_EXTMEM TEXT("ExtMem")
598#define REGSTR_VAL_COMPUTERNAME TEXT("ComputerName")
599#define REGSTR_VAL_BIOSNAME TEXT("BIOSName")
600#define REGSTR_VAL_BIOSVERSION TEXT("BIOSVersion")
601#define REGSTR_VAL_BIOSDATE TEXT("BIOSDate")
602#define REGSTR_VAL_MODEL TEXT("Model")
603#define REGSTR_VAL_SUBMODEL TEXT("Submodel")
604#define REGSTR_VAL_REVISION TEXT("Revision")
605
606#define REGSTR_VAL_FIFODEPTH TEXT("FIFODepth")
607#define REGSTR_VAL_RDINTTHRESHOLD TEXT("RDIntThreshold")
608#define REGSTR_VAL_WRINTTHRESHOLD TEXT("WRIntThreshold")
609
610#define REGSTR_VAL_PRIORITY TEXT("Priority")
611#define REGSTR_VAL_DRIVER TEXT("Driver")
612#define REGSTR_VAL_FUNCDESC TEXT("FunctionDesc")
613#define REGSTR_VAL_FORCEDCONFIG TEXT("ForcedConfig")
614#define REGSTR_VAL_CONFIGFLAGS TEXT("ConfigFlags")
615#define REGSTR_VAL_CSCONFIGFLAGS TEXT("CSConfigFlags")
616
617#define CONFIGFLAG_DISABLED 0x00000001
618#define CONFIGFLAG_REMOVED 0x00000002
619#define CONFIGFLAG_MANUAL_INSTALL 0x00000004
620#define CONFIGFLAG_IGNORE_BOOT_LC 0x00000008
621#define CONFIGFLAG_NET_BOOT 0x00000010
622#define CONFIGFLAG_REINSTALL 0x00000020
623#define CONFIGFLAG_FAILEDINSTALL 0x00000040
624#define CONFIGFLAG_CANTSTOPACHILD 0x00000080
625#define CONFIGFLAG_OKREMOVEROM 0x00000100
626#define CONFIGFLAG_NOREMOVEEXIT 0x00000200
627#define CONFIGFLAG_FINISH_INSTALL 0x00000400
628#define CONFIGFLAG_NEEDS_FORCED_CONFIG 0x00000800
629#if defined (REMOTE_BOOT)
630#define CONFIGFLAG_NETBOOT_CARD 0x00001000
631#endif
632#define CONFIGFLAG_PARTIAL_LOG_CONF 0x00002000
633#define CONFIGFLAG_SUPPRESS_SURPRISE 0x00004000
634#define CONFIGFLAG_VERIFY_HARDWARE 0x00008000
635#define CONFIGFLAG_FINISHINSTALL_UI 0x00010000
636#define CONFIGFLAG_FINISHINSTALL_ACTION 0x00020000
637#define CONFIGFLAG_BOOT_DEVICE 0x00040000
638
639#define CSCONFIGFLAG_BITS 0x00000007
640#define CSCONFIGFLAG_DISABLED 0x00000001
641#define CSCONFIGFLAG_DO_NOT_CREATE 0x00000002
642#define CSCONFIGFLAG_DO_NOT_START 0x00000004
643
644#define DMSTATEFLAG_APPLYTOALL 0x00000001
645
646#define REGSTR_VAL_ROOT_DEVNODE TEXT("HTREE\\ROOT\\0")
647#define REGSTR_VAL_RESERVED_DEVNODE TEXT("HTREE\\RESERVED\\0")
648#define REGSTR_PATH_READDATAPORT REGSTR_KEY_ISAENUM TEXT("\\ReadDataPort\\0")
649
650#define REGSTR_PATH_MULTI_FUNCTION TEXT("MF")
651#define REGSTR_VAL_RESOURCE_MAP TEXT("ResourceMap")
652#define REGSTR_PATH_CHILD_PREFIX TEXT("Child")
653#define NUM_RESOURCE_MAP 256
654#define REGSTR_VAL_MF_FLAGS TEXT("MFFlags")
655#define MF_FLAGS_EVEN_IF_NO_RESOURCE 0x00000001
656#define MF_FLAGS_NO_CREATE_IF_NO_RESOURCE 0x00000002
657#define MF_FLAGS_FILL_IN_UNKNOWN_RESOURCE 0x00000004
658#define MF_FLAGS_CREATE_BUT_NO_SHOW_DISABLED 0x00000008
659
660#ifndef NEC_98
661#define REGSTR_VAL_EISA_RANGES TEXT("EISARanges")
662#define REGSTR_VAL_EISA_FUNCTIONS TEXT("EISAFunctions")
663#define REGSTR_VAL_EISA_FUNCTIONS_MASK TEXT("EISAFunctionsMask")
664#define REGSTR_VAL_EISA_FLAGS TEXT("EISAFlags")
665#define REGSTR_VAL_EISA_SIMULATE_INT15 TEXT("EISASimulateInt15")
666#else
667#define REGSTR_VAL_EISA_RANGES TEXT("NESARanges")
668#define REGSTR_VAL_EISA_FUNCTIONS TEXT("NESAFunctions")
669#define REGSTR_VAL_EISA_FUNCTIONS_MASK TEXT("NESAFunctionsMask")
670#define REGSTR_VAL_EISA_FLAGS TEXT("NESAFlags")
671#define REGSTR_VAL_EISA_SIMULATE_INT15 TEXT("NESASimulateInt15")
672#endif
673#define EISAFLAG_NO_IO_MERGE 0x00000001
674#define EISAFLAG_SLOT_IO_FIRST 0x00000002
675#define EISA_NO_MAX_FUNCTION 0xff
676#define NUM_EISA_RANGES 4
677
678#define REGSTR_VAL_DRVDESC TEXT("DriverDesc")
679#define REGSTR_VAL_DEVLOADER TEXT("DevLoader")
680#define REGSTR_VAL_STATICVXD TEXT("StaticVxD")
681#define REGSTR_VAL_PROPERTIES TEXT("Properties")
682#define REGSTR_VAL_MANUFACTURER TEXT("Manufacturer")
683#define REGSTR_VAL_EXISTS TEXT("Exists")
684#define REGSTR_VAL_CMENUMFLAGS TEXT("CMEnumFlags")
685#define REGSTR_VAL_CMDRIVFLAGS TEXT("CMDrivFlags")
686#define REGSTR_VAL_ENUMERATOR TEXT("Enumerator")
687#define REGSTR_VAL_DEVICEDRIVER TEXT("DeviceDriver")
688#define REGSTR_VAL_PORTNAME TEXT("PortName")
689#define REGSTR_VAL_INFPATH TEXT("InfPath")
690#define REGSTR_VAL_INFSECTION TEXT("InfSection")
691#define REGSTR_VAL_INFSECTIONEXT TEXT("InfSectionExt")
692#define REGSTR_VAL_POLLING TEXT("Polling")
693#define REGSTR_VAL_DONTLOADIFCONFLICT TEXT("DontLoadIfConflict")
694#define REGSTR_VAL_PORTSUBCLASS TEXT("PortSubClass")
695#define REGSTR_VAL_NETCLEAN TEXT("NetClean")
696#define REGSTR_VAL_IDE_NO_SERIALIZE TEXT("IDENoSerialize")
697#define REGSTR_VAL_NOCMOSORFDPT TEXT("NoCMOSorFDPT")
698#define REGSTR_VAL_COMVERIFYBASE TEXT("COMVerifyBase")
699#define REGSTR_VAL_MATCHINGDEVID TEXT("MatchingDeviceId")
700#define REGSTR_VAL_DRIVERDATE TEXT("DriverDate")
701#define REGSTR_VAL_DRIVERDATEDATA TEXT("DriverDateData")
702#define REGSTR_VAL_DRIVERVERSION TEXT("DriverVersion")
703#define REGSTR_VAL_LOCATION_INFORMATION_OVERRIDE TEXT("LocationInformationOverride")
704
705#define REGSTR_KEY_OVERRIDE TEXT("Override")
706
707#define REGSTR_VAL_CONFIGMG TEXT("CONFIGMG")
708#define REGSTR_VAL_SYSDM TEXT("SysDM")
709#define REGSTR_VAL_SYSDMFUNC TEXT("SysDMFunc")
710#define REGSTR_VAL_PRIVATE TEXT("Private")
711#define REGSTR_VAL_PRIVATEFUNC TEXT("PrivateFunc")
712#define REGSTR_VAL_DETECT TEXT("Detect")
713#define REGSTR_VAL_DETECTFUNC TEXT("DetectFunc")
714#define REGSTR_VAL_ASKFORCONFIG TEXT("AskForConfig")
715#define REGSTR_VAL_ASKFORCONFIGFUNC TEXT("AskForConfigFunc")
716#define REGSTR_VAL_WAITFORUNDOCK TEXT("WaitForUndock")
717#define REGSTR_VAL_WAITFORUNDOCKFUNC TEXT("WaitForUndockFunc")
718#define REGSTR_VAL_REMOVEROMOKAY TEXT("RemoveRomOkay")
719#define REGSTR_VAL_REMOVEROMOKAYFUNC TEXT("RemoveRomOkayFunc")
720
721#define REGSTR_VAL_CURCONFIG TEXT("CurrentConfig")
722#define REGSTR_VAL_FRIENDLYNAME TEXT("FriendlyName")
723#define REGSTR_VAL_CURRENTCONFIG TEXT("CurrentConfig")
724#define REGSTR_VAL_MAP TEXT("Map")
725#define REGSTR_VAL_ID TEXT("CurrentID")
726#define REGSTR_VAL_DOCKED TEXT("CurrentDockedState")
727#define REGSTR_VAL_CHECKSUM TEXT("CurrentChecksum")
728#define REGSTR_VAL_HWDETECT TEXT("HardwareDetect")
729#define REGSTR_VAL_INHIBITRESULTS TEXT("InhibitResults")
730
731#define REGSTR_VAL_PROFILEFLAGS TEXT("ProfileFlags")
732
733#define REGSTR_KEY_PCMCIA TEXT("PCMCIA\\")
734#define REGSTR_KEY_PCUNKNOWN TEXT("UNKNOWN_MANUFACTURER")
735#define REGSTR_VAL_PCSSDRIVER TEXT("Driver")
736#define REGSTR_KEY_PCMTD TEXT("MTD-")
737#define REGSTR_VAL_PCMTDRIVER TEXT("MTD")
738
739#define REGSTR_VAL_HARDWAREID TEXT("HardwareID")
740
741#define REGSTR_VAL_INSTALLER TEXT("Installer")
742#define REGSTR_VAL_INSTALLER_32 TEXT("Installer32")
743#define REGSTR_VAL_INSICON TEXT("Icon")
744#define REGSTR_VAL_ENUMPROPPAGES TEXT("EnumPropPages")
745#define REGSTR_VAL_ENUMPROPPAGES_32 TEXT("EnumPropPages32")
746#define REGSTR_VAL_BASICPROPERTIES TEXT("BasicProperties")
747#define REGSTR_VAL_BASICPROPERTIES_32 TEXT("BasicProperties32")
748#define REGSTR_VAL_COINSTALLERS_32 TEXT("CoInstallers32")
749#define REGSTR_VAL_PRIVATEPROBLEM TEXT("PrivateProblem")
750
751#define REGSTR_KEY_CURRENT TEXT("Current")
752#define REGSTR_KEY_DEFAULT TEXT("Default")
753#define REGSTR_KEY_MODES TEXT("Modes")
754
755#define REGSTR_VAL_MODE TEXT("Mode")
756#define REGSTR_VAL_BPP TEXT("BPP")
757#define REGSTR_VAL_HRES TEXT("HRes")
758#define REGSTR_VAL_VRES TEXT("VRes")
759#define REGSTR_VAL_FONTSIZE TEXT("FontSize")
760#define REGSTR_VAL_DRV TEXT("drv")
761#define REGSTR_VAL_GRB TEXT("grb")
762#define REGSTR_VAL_VDD TEXT("vdd")
763#define REGSTR_VAL_VER TEXT("Ver")
764#define REGSTR_VAL_MAXRES TEXT("MaxResolution")
765#define REGSTR_VAL_DPMS TEXT("DPMS")
766#define REGSTR_VAL_RESUMERESET TEXT("ResumeReset")
767
768#define REGSTR_VAL_DESCRIPTION TEXT("Description")
769
770#define REGSTR_KEY_SYSTEM TEXT("System")
771#define REGSTR_KEY_USER TEXT("User")
772#define REGSTR_VAL_DPI TEXT("dpi")
773
774#define REGSTR_VAL_PCICOPTIONS TEXT("PCICOptions")
775
776#ifndef NEC_98
777#define PCIC_DEFAULT_IRQMASK 0x4eb8
778#else
779#define PCIC_DEFAULT_IRQMASK 0x1468
780#endif
781#define PCIC_DEFAULT_NUMSOCKETS 0
782#define REGSTR_VAL_PCICIRQMAP TEXT("PCICIRQMap")
783
784#define REGSTR_PATH_APPEARANCE TEXT("Control Panel\\Appearance")
785#define REGSTR_PATH_LOOKSCHEMES TEXT("Control Panel\\Appearance\\Schemes")
786#define REGSTR_VAL_CUSTOMCOLORS TEXT("CustomColors")
787
788#define REGSTR_PATH_SCREENSAVE TEXT("Control Panel\\Desktop")
789#define REGSTR_VALUE_USESCRPASSWORD TEXT("ScreenSaveUsePassword")
790#define REGSTR_VALUE_SCRPASSWORD TEXT("ScreenSave_Data")
791
792#define REGSTR_VALUE_LOWPOWERTIMEOUT TEXT("ScreenSaveLowPowerTimeout")
793#define REGSTR_VALUE_POWEROFFTIMEOUT TEXT("ScreenSavePowerOffTimeout")
794#define REGSTR_VALUE_LOWPOWERACTIVE TEXT("ScreenSaveLowPowerActive")
795#define REGSTR_VALUE_POWEROFFACTIVE TEXT("ScreenSavePowerOffActive")
796
797#define REGSTR_PATH_WINDOWSAPPLETS TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Applets")
798
799#define REGSTR_PATH_SYSTRAY TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Applets\\SysTray")
800#define REGSTR_VAL_SYSTRAYSVCS TEXT("Services")
801#define REGSTR_VAL_SYSTRAYBATFLAGS TEXT("PowerFlags")
802#define REGSTR_VAL_SYSTRAYPCCARDFLAGS TEXT("PCMCIAFlags")
803
804#define REGSTR_PATH_NETWORK_USERSETTINGS TEXT("Network")
805
806#define REGSTR_KEY_NETWORK_PERSISTENT TEXT("\\Persistent")
807#define REGSTR_KEY_NETWORK_RECENT TEXT("\\Recent")
808#define REGSTR_VAL_REMOTE_PATH TEXT("RemotePath")
809#define REGSTR_VAL_USER_NAME TEXT("UserName")
810#define REGSTR_VAL_PROVIDER_NAME TEXT("ProviderName")
811#define REGSTR_VAL_CONNECTION_TYPE TEXT("ConnectionType")
812#define REGSTR_VAL_UPGRADE TEXT("Upgrade")
813
814#define REGSTR_KEY_LOGON TEXT("\\Logon")
815#define REGSTR_VAL_MUSTBEVALIDATED TEXT("MustBeValidated")
816#define REGSTR_VAL_RUNLOGINSCRIPT TEXT("ProcessLoginScript")
817
818#define REGSTR_KEY_NETWORKPROVIDER TEXT("\\NetworkProvider")
819#define REGSTR_PATH_NW32NETPROVIDER REGSTR_PATH_SERVICES TEXT("\\NWNP32") REGSTR_KEY_NETWORKPROVIDER
820#define REGSTR_PATH_MS32NETPROVIDER REGSTR_PATH_SERVICES TEXT("\\MSNP32") REGSTR_KEY_NETWORKPROVIDER
821#define REGSTR_VAL_AUTHENT_AGENT TEXT("AuthenticatingAgent")
822
823#define REGSTR_VAL_PREFREDIR TEXT("PreferredRedir")
824#define REGSTR_VAL_AUTOSTART TEXT("AutoStart")
825#define REGSTR_VAL_AUTOLOGON TEXT("AutoLogon")
826#define REGSTR_VAL_NETCARD TEXT("Netcard")
827#define REGSTR_VAL_TRANSPORT TEXT("Transport")
828#define REGSTR_VAL_DYNAMIC TEXT("Dynamic")
829#define REGSTR_VAL_TRANSITION TEXT("Transition")
830#define REGSTR_VAL_STATICDRIVE TEXT("StaticDrive")
831#define REGSTR_VAL_LOADHI TEXT("LoadHi")
832#define REGSTR_VAL_LOADRMDRIVERS TEXT("LoadRMDrivers")
833#define REGSTR_VAL_SETUPN TEXT("SetupN")
834#define REGSTR_VAL_SETUPNPATH TEXT("SetupNPath")
835
836#define REGSTR_VAL_WRKGRP_FORCEMAPPING TEXT("WrkgrpForceMapping")
837#define REGSTR_VAL_WRKGRP_REQUIRED TEXT("WrkgrpRequired")
838
839#define REGSTR_PATH_CURRENT_CONTROL_SET TEXT("System\\CurrentControlSet\\Control")
840#define REGSTR_VAL_CURRENT_USER TEXT("Current User")
841
842#define REGSTR_PATH_PWDPROVIDER TEXT("System\\CurrentControlSet\\Control\\PwdProvider")
843#define REGSTR_VAL_PWDPROVIDER_PATH TEXT("ProviderPath")
844#define REGSTR_VAL_PWDPROVIDER_DESC TEXT("Description")
845#define REGSTR_VAL_PWDPROVIDER_CHANGEPWD TEXT("ChangePassword")
846#define REGSTR_VAL_PWDPROVIDER_CHANGEPWDHWND TEXT("ChangePasswordHwnd")
847#define REGSTR_VAL_PWDPROVIDER_GETPWDSTATUS TEXT("GetPasswordStatus")
848#define REGSTR_VAL_PWDPROVIDER_ISNP TEXT("NetworkProvider")
849#define REGSTR_VAL_PWDPROVIDER_CHANGEORDER TEXT("ChangeOrder")
850
851#define REGSTR_PATH_POLICIES TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Policies")
852
853#define REGSTR_PATH_UPDATE TEXT("System\\CurrentControlSet\\Control\\Update")
854#define REGSTR_VALUE_ENABLE TEXT("Enable")
855#define REGSTR_VALUE_VERBOSE TEXT("Verbose")
856#define REGSTR_VALUE_NETPATH TEXT("NetworkPath")
857#define REGSTR_VALUE_DEFAULTLOC TEXT("UseDefaultNetLocation")
858
859#define REGSTR_KEY_NETWORK TEXT("Network")
860#define REGSTR_KEY_SYSTEM TEXT("System")
861#define REGSTR_KEY_PRINTERS TEXT("Printers")
862#define REGSTR_KEY_WINOLDAPP TEXT("WinOldApp")
863#define REGSTR_KEY_EXPLORER TEXT("Explorer")
864
865#define REGSTR_PATH_RUN_POLICY REGSTR_PATH_POLICIES TEXT("\\Explorer\\Run")
866
867#define REGSTR_VAL_NOFILESHARING TEXT("NoFileSharing")
868#define REGSTR_VAL_NOPRINTSHARING TEXT("NoPrintSharing")
869#define REGSTR_VAL_NOFILESHARINGCTRL TEXT("NoFileSharingControl")
870#define REGSTR_VAL_NOPRINTSHARINGCTRL TEXT("NoPrintSharingControl")
871#define REGSTR_VAL_HIDESHAREPWDS TEXT("HideSharePwds")
872#define REGSTR_VAL_DISABLEPWDCACHING TEXT("DisablePwdCaching")
873#define REGSTR_VAL_ALPHANUMPWDS TEXT("AlphanumPwds")
874#define REGSTR_VAL_NETSETUP_DISABLE TEXT("NoNetSetup")
875#define REGSTR_VAL_NETSETUP_NOCONFIGPAGE TEXT("NoNetSetupConfigPage")
876#define REGSTR_VAL_NETSETUP_NOIDPAGE TEXT("NoNetSetupIDPage")
877#define REGSTR_VAL_NETSETUP_NOSECURITYPAGE TEXT("NoNetSetupSecurityPage")
878#define REGSTR_VAL_SYSTEMCPL_NOVIRTMEMPAGE TEXT("NoVirtMemPage")
879#define REGSTR_VAL_SYSTEMCPL_NODEVMGRPAGE TEXT("NoDevMgrPage")
880#define REGSTR_VAL_SYSTEMCPL_NOCONFIGPAGE TEXT("NoConfigPage")
881#define REGSTR_VAL_SYSTEMCPL_NOFILESYSPAGE TEXT("NoFileSysPage")
882#define REGSTR_VAL_DISPCPL_NODISPCPL TEXT("NoDispCPL")
883#define REGSTR_VAL_DISPCPL_NOBACKGROUNDPAGE TEXT("NoDispBackgroundPage")
884#define REGSTR_VAL_DISPCPL_NOSCRSAVPAGE TEXT("NoDispScrSavPage")
885#define REGSTR_VAL_DISPCPL_NOAPPEARANCEPAGE TEXT("NoDispAppearancePage")
886#define REGSTR_VAL_DISPCPL_NOSETTINGSPAGE TEXT("NoDispSettingsPage")
887#define REGSTR_VAL_SECCPL_NOSECCPL TEXT("NoSecCPL")
888#define REGSTR_VAL_SECCPL_NOPWDPAGE TEXT("NoPwdPage")
889#define REGSTR_VAL_SECCPL_NOADMINPAGE TEXT("NoAdminPage")
890#define REGSTR_VAL_SECCPL_NOPROFILEPAGE TEXT("NoProfilePage")
891#define REGSTR_VAL_PRINTERS_HIDETABS TEXT("NoPrinterTabs")
892#define REGSTR_VAL_PRINTERS_NODELETE TEXT("NoDeletePrinter")
893#define REGSTR_VAL_PRINTERS_NOADD TEXT("NoAddPrinter")
894#define REGSTR_VAL_WINOLDAPP_DISABLED TEXT("Disabled")
895#define REGSTR_VAL_WINOLDAPP_NOREALMODE TEXT("NoRealMode")
896#define REGSTR_VAL_NOENTIRENETWORK TEXT("NoEntireNetwork")
897#define REGSTR_VAL_NOWORKGROUPCONTENTS TEXT("NoWorkgroupContents")
898
899#define REGSTR_VAL_UNDOCK_WITHOUT_LOGON TEXT("UndockWithoutLogon")
900
901#define REGSTR_VAL_MINPWDLEN TEXT("MinPwdLen")
902
903#define REGSTR_VAL_PWDEXPIRATION TEXT("PwdExpiration")
904
905#define REGSTR_VAL_WIN31PROVIDER TEXT("Win31Provider")
906
907#define REGSTR_VAL_DISABLEREGTOOLS TEXT("DisableRegistryTools")
908
909#define REGSTR_PATH_WINLOGON TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Winlogon")
910#define REGSTR_VAL_LEGALNOTICECAPTION TEXT("LegalNoticeCaption")
911#define REGSTR_VAL_LEGALNOTICETEXT TEXT("LegalNoticeText")
912#define REGSTR_VAL_DRIVE_SPINDOWN TEXT("NoDispSpinDown")
913#define REGSTR_VAL_SHUTDOWN_FLAGS TEXT("ShutdownFlags")
914
915#define REGSTR_VAL_RESTRICTRUN TEXT("RestrictRun")
916
917#define REGSTR_KEY_POL_USERS TEXT("Users")
918#define REGSTR_KEY_POL_COMPUTERS TEXT("Computers")
919#define REGSTR_KEY_POL_USERGROUPS TEXT("UserGroups")
920#define REGSTR_KEY_POL_DEFAULT TEXT(".default")
921#define REGSTR_KEY_POL_USERGROUPDATA TEXT("GroupData\\UserGroups\\Priority")
922
923#define REGSTR_PATH_TIMEZONE TEXT("System\\CurrentControlSet\\Control\\TimeZoneInformation")
924#define REGSTR_VAL_TZBIAS TEXT("Bias")
925#define REGSTR_VAL_TZDLTBIAS TEXT("DaylightBias")
926#define REGSTR_VAL_TZSTDBIAS TEXT("StandardBias")
927#define REGSTR_VAL_TZACTBIAS TEXT("ActiveTimeBias")
928#define REGSTR_VAL_TZDLTFLAG TEXT("DaylightFlag")
929#define REGSTR_VAL_TZSTDSTART TEXT("StandardStart")
930#define REGSTR_VAL_TZDLTSTART TEXT("DaylightStart")
931#define REGSTR_VAL_TZDLTNAME TEXT("DaylightName")
932#define REGSTR_VAL_TZSTDNAME TEXT("StandardName")
933#define REGSTR_VAL_TZNOCHANGESTART TEXT("NoChangeStart")
934#define REGSTR_VAL_TZNOCHANGEEND TEXT("NoChangeEnd")
935#define REGSTR_VAL_TZNOAUTOTIME TEXT("DisableAutoDaylightTimeSet")
936
937#define REGSTR_PATH_FLOATINGPOINTPROCESSOR TEXT("HARDWARE\\DESCRIPTION\\System\\FloatingPointProcessor")
938#define REGSTR_PATH_FLOATINGPOINTPROCESSOR0 TEXT("HARDWARE\\DESCRIPTION\\System\\FloatingPointProcessor\\0")
939
940#define REGSTR_PATH_COMPUTRNAME TEXT("System\\CurrentControlSet\\Control\\ComputerName\\ComputerName")
941#define REGSTR_VAL_COMPUTRNAME TEXT("ComputerName")
942
943#define REGSTR_PATH_SHUTDOWN TEXT("System\\CurrentControlSet\\Control\\Shutdown")
944#define REGSTR_VAL_FORCEREBOOT TEXT("ForceReboot")
945#define REGSTR_VAL_SETUPPROGRAMRAN TEXT("SetupProgramRan")
946#define REGSTR_VAL_DOES_POLLING TEXT("PollingSupportNeeded")
947
948#define REGSTR_PATH_KNOWNDLLS TEXT("System\\CurrentControlSet\\Control\\SessionManager\\KnownDLLs")
949#define REGSTR_PATH_KNOWN16DLLS TEXT("System\\CurrentControlSet\\Control\\SessionManager\\Known16DLLs")
950
951#define REGSTR_PATH_CHECKVERDLLS TEXT("System\\CurrentControlSet\\Control\\SessionManager\\CheckVerDLLs")
952#define REGSTR_PATH_WARNVERDLLS TEXT("System\\CurrentControlSet\\Control\\SessionManager\\WarnVerDLLs")
953
954#define REGSTR_PATH_HACKINIFILE TEXT("System\\CurrentControlSet\\Control\\SessionManager\\HackIniFiles")
955
956#define REGSTR_PATH_CHECKBADAPPS TEXT("System\\CurrentControlSet\\Control\\SessionManager\\CheckBadApps")
957
958#define REGSTR_PATH_APPPATCH TEXT("System\\CurrentControlSet\\Control\\SessionManager\\AppPatches")
959
960#define REGSTR_PATH_CHECKBADAPPS400 TEXT("System\\CurrentControlSet\\Control\\SessionManager\\CheckBadApps400")
961
962#define REGSTR_PATH_SHELLSERVICEOBJECT TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\ShellServiceObject")
963#define REGSTR_PATH_SHELLSERVICEOBJECTDELAYED TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\ShellServiceObjectDelayLoad")
964
965#define REGSTR_PATH_KNOWNVXDS TEXT("System\\CurrentControlSet\\Control\\SessionManager\\KnownVxDs")
966
967#define REGSTR_VAL_UNINSTALLER_DISPLAYNAME TEXT("DisplayName")
968#define REGSTR_VAL_UNINSTALLER_COMMANDLINE TEXT("UninstallString")
969
970#define REGSTR_VAL_REINSTALL_DISPLAYNAME TEXT("DisplayName")
971#define REGSTR_VAL_REINSTALL_STRING TEXT("ReinstallString")
972#define REGSTR_VAL_REINSTALL_DEVICEINSTANCEIDS TEXT("DeviceInstanceIds")
973
974#define REGSTR_PATH_DESKTOP REGSTR_PATH_SCREENSAVE
975#define REGSTR_PATH_MOUSE TEXT("Control Panel\\Mouse")
976#define REGSTR_PATH_KEYBOARD TEXT("Control Panel\\Keyboard")
977#define REGSTR_PATH_COLORS TEXT("Control Panel\\Colors")
978#define REGSTR_PATH_SOUND TEXT("Control Panel\\Sound")
979#define REGSTR_PATH_METRICS TEXT("Control Panel\\Desktop\\WindowMetrics")
980#define REGSTR_PATH_ICONS TEXT("Control Panel\\Icons")
981#define REGSTR_PATH_CURSORS TEXT("Control Panel\\Cursors")
982#define REGSTR_PATH_CHECKDISK TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Applets\\Check Drive")
983#define REGSTR_PATH_CHECKDISKSET TEXT("Settings")
984#define REGSTR_PATH_CHECKDISKUDRVS TEXT("NoUnknownDDErrDrvs")
985
986#define REGSTR_PATH_FAULT TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Fault")
987#define REGSTR_VAL_FAULT_LOGFILE TEXT("LogFile")
988
989#define REGSTR_PATH_AEDEBUG TEXT("Software\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug")
990#define REGSTR_VAL_AEDEBUG_DEBUGGER TEXT("Debugger")
991#define REGSTR_VAL_AEDEBUG_AUTO TEXT("Auto")
992
993#define REGSTR_PATH_GRPCONV TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\GrpConv")
994
995#define REGSTR_VAL_REGITEMDELETEMESSAGE TEXT("Removal Message")
996
997#define REGSTR_PATH_LASTCHECK TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\LastCheck")
998#define REGSTR_PATH_LASTOPTIMIZE TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\LastOptimize")
999#define REGSTR_PATH_LASTBACKUP TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\LastBackup")
1000
1001#define REGSTR_PATH_CHKLASTCHECK TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Applets\\Check Drive\\LastCheck")
1002#define REGSTR_PATH_CHKLASTSURFAN TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Applets\\Check Drive\\LastSurfaceAnalysis")
1003
1004typedef struct _DSKTLSYSTEMTIME {
1005 WORD wYear;
1006 WORD wMonth;
1007 WORD wDayOfWeek;
1008 WORD wDay;
1009 WORD wHour;
1010 WORD wMinute;
1011 WORD wSecond;
1012 WORD wMilliseconds;
1013 WORD wResult;
1014} DSKTLSYSTEMTIME,*PDSKTLSYSTEMTIME,*LPDSKTLSYSTEMTIME;
1015
1016#define DTRESULTOK 0
1017#define DTRESULTFIX 1
1018
1019#define DTRESULTPROB 2
1020
1021#define DTRESULTPART 3
1022
1023#define REGSTR_KEY_SHARES TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Network\\LanMan")
1024#define REGSTR_VAL_SHARES_FLAGS TEXT("Flags")
1025#define REGSTR_VAL_SHARES_TYPE TEXT("Type")
1026#define REGSTR_VAL_SHARES_PATH TEXT("Path")
1027#define REGSTR_VAL_SHARES_REMARK TEXT("Remark")
1028#define REGSTR_VAL_SHARES_RW_PASS TEXT("Parm1")
1029#define REGSTR_VAL_SHARES_RO_PASS TEXT("Parm2")
1030
1031#define REGSTR_PATH_PRINT TEXT("System\\CurrentControlSet\\Control\\Print")
1032#define REGSTR_PATH_PRINTERS TEXT("System\\CurrentControlSet\\Control\\Print\\Printers")
1033#define REGSTR_PATH_PROVIDERS TEXT("System\\CurrentControlSet\\Control\\Print\\Providers")
1034#define REGSTR_PATH_MONITORS TEXT("System\\CurrentControlSet\\Control\\Print\\Monitors")
1035#define REGSTR_PATH_ENVIRONMENTS TEXT("System\\CurrentControlSet\\Control\\Print\\Environments")
1036#define REGSTR_VAL_START_ON_BOOT TEXT("StartOnBoot")
1037#define REGSTR_VAL_PRINTERS_MASK TEXT("PrintersMask")
1038#define REGSTR_VAL_DOS_SPOOL_MASK TEXT("DOSSpoolMask")
1039#define REGSTR_KEY_CURRENT_ENV TEXT("\\Windows 4.0")
1040#define REGSTR_KEY_DRIVERS TEXT("\\Drivers")
1041#define REGSTR_KEY_PRINT_PROC TEXT("\\Print Processors")
1042
1043#define REGSTR_PATH_EVENTLABELS TEXT("AppEvents\\EventLabels")
1044#define REGSTR_PATH_SCHEMES TEXT("AppEvents\\Schemes")
1045#define REGSTR_PATH_APPS REGSTR_PATH_SCHEMES TEXT("\\Apps")
1046#define REGSTR_PATH_APPS_DEFAULT REGSTR_PATH_SCHEMES TEXT("\\Apps\\.Default")
1047#define REGSTR_PATH_NAMES REGSTR_PATH_SCHEMES TEXT("\\Names")
1048#define REGSTR_PATH_MULTIMEDIA REGSTR_PATH_SETUP TEXT("\\Multimedia")
1049#define REGSTR_PATH_MULTIMEDIA_AUDIO TEXT("Software\\Microsoft\\Multimedia\\Audio")
1050#define REGSTR_PATH_MULTIMEDIA_AUDIO_IMAGES REGSTR_PATH_MULTIMEDIA_AUDIO TEXT("\\Images")
1051
1052#define REGSTR_PATH_MEDIARESOURCES REGSTR_PATH_CURRENT_CONTROL_SET TEXT("\\MediaResources")
1053#define REGSTR_PATH_MEDIAPROPERTIES REGSTR_PATH_CURRENT_CONTROL_SET TEXT("\\MediaProperties")
1054#define REGSTR_PATH_PRIVATEPROPERTIES REGSTR_PATH_MEDIAPROPERTIES TEXT("\\PrivateProperties")
1055#define REGSTR_PATH_PUBLICPROPERTIES REGSTR_PATH_MEDIAPROPERTIES TEXT("\\PublicProperties")
1056
1057#define REGSTR_PATH_JOYOEM REGSTR_PATH_PRIVATEPROPERTIES TEXT("\\Joystick\\OEM")
1058#define REGSTR_PATH_JOYCONFIG REGSTR_PATH_MEDIARESOURCES TEXT("\\Joystick")
1059#define REGSTR_KEY_JOYCURR TEXT("CurrentJoystickSettings")
1060#define REGSTR_KEY_JOYSETTINGS TEXT("JoystickSettings")
1061
1062#define REGSTR_VAL_JOYUSERVALUES TEXT("JoystickUserValues")
1063#define REGSTR_VAL_JOYCALLOUT TEXT("JoystickCallout")
1064
1065#define REGSTR_VAL_JOYNCONFIG TEXT("Joystick%dConfiguration")
1066#define REGSTR_VAL_JOYNOEMNAME TEXT("Joystick%dOEMName")
1067#define REGSTR_VAL_JOYNOEMCALLOUT TEXT("Joystick%dOEMCallout")
1068
1069#define REGSTR_VAL_JOYOEMCALLOUT TEXT("OEMCallout")
1070#define REGSTR_VAL_JOYOEMNAME TEXT("OEMName")
1071#define REGSTR_VAL_JOYOEMDATA TEXT("OEMData")
1072#define REGSTR_VAL_JOYOEMXYLABEL TEXT("OEMXYLabel")
1073#define REGSTR_VAL_JOYOEMZLABEL TEXT("OEMZLabel")
1074#define REGSTR_VAL_JOYOEMRLABEL TEXT("OEMRLabel")
1075#define REGSTR_VAL_JOYOEMPOVLABEL TEXT("OEMPOVLabel")
1076#define REGSTR_VAL_JOYOEMULABEL TEXT("OEMULabel")
1077#define REGSTR_VAL_JOYOEMVLABEL TEXT("OEMVLabel")
1078#define REGSTR_VAL_JOYOEMTESTMOVEDESC TEXT("OEMTestMoveDesc")
1079#define REGSTR_VAL_JOYOEMTESTBUTTONDESC TEXT("OEMTestButtonDesc")
1080#define REGSTR_VAL_JOYOEMTESTMOVECAP TEXT("OEMTestMoveCap")
1081#define REGSTR_VAL_JOYOEMTESTBUTTONCAP TEXT("OEMTestButtonCap")
1082#define REGSTR_VAL_JOYOEMTESTWINCAP TEXT("OEMTestWinCap")
1083#define REGSTR_VAL_JOYOEMCALCAP TEXT("OEMCalCap")
1084#define REGSTR_VAL_JOYOEMCALWINCAP TEXT("OEMCalWinCap")
1085#define REGSTR_VAL_JOYOEMCAL1 TEXT("OEMCal1")
1086#define REGSTR_VAL_JOYOEMCAL2 TEXT("OEMCal2")
1087#define REGSTR_VAL_JOYOEMCAL3 TEXT("OEMCal3")
1088#define REGSTR_VAL_JOYOEMCAL4 TEXT("OEMCal4")
1089#define REGSTR_VAL_JOYOEMCAL5 TEXT("OEMCal5")
1090#define REGSTR_VAL_JOYOEMCAL6 TEXT("OEMCal6")
1091#define REGSTR_VAL_JOYOEMCAL7 TEXT("OEMCal7")
1092#define REGSTR_VAL_JOYOEMCAL8 TEXT("OEMCal8")
1093#define REGSTR_VAL_JOYOEMCAL9 TEXT("OEMCal9")
1094#define REGSTR_VAL_JOYOEMCAL10 TEXT("OEMCal10")
1095#define REGSTR_VAL_JOYOEMCAL11 TEXT("OEMCal11")
1096#define REGSTR_VAL_JOYOEMCAL12 TEXT("OEMCal12")
1097
1098#define REGSTR_VAL_AUDIO_BITMAP TEXT("bitmap")
1099#define REGSTR_VAL_AUDIO_ICON TEXT("icon")
1100
1101#define REGSTR_PATH_DEVICEINSTALLER TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\Device Installer")
1102
1103#define REGSTR_PATH_DIFX TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\DIFX")
1104
1105#define REGSTR_VAL_SEARCHOPTIONS TEXT("SearchOptions")
1106
1107#define REGSTR_PATH_BIOSINFO TEXT("System\\CurrentControlSet\\Control\\BiosInfo")
1108
1109#define REGSTR_PATH_PCIIR TEXT("System\\CurrentControlSet\\Control\\Pnp\\PciIrqRouting")
1110#define REGSTR_VAL_OPTIONS TEXT("Options")
1111#define REGSTR_VAL_STAT TEXT("Status")
1112#define REGSTR_VAL_TABLE_STAT TEXT("TableStatus")
1113#define REGSTR_VAL_MINIPORT_STAT TEXT("MiniportStatus")
1114
1115#define PIR_OPTION_ENABLED 0x00000001
1116#define PIR_OPTION_REGISTRY 0x00000002
1117#define PIR_OPTION_MSSPEC 0x00000004
1118#define PIR_OPTION_REALMODE 0x00000008
1119#define PIR_OPTION_DEFAULT 0x0000000f
1120
1121#define PIR_STATUS_ERROR 0x00000000
1122#define PIR_STATUS_ENABLED 0x00000001
1123#define PIR_STATUS_DISABLED 0x00000002
1124#define PIR_STATUS_MAX 0x00000003
1125
1126#define PIR_STATUS_TABLE_REGISTRY 0x00000000
1127#define PIR_STATUS_TABLE_MSSPEC 0x00000001
1128#define PIR_STATUS_TABLE_REALMODE 0x00000002
1129#define PIR_STATUS_TABLE_NONE 0x00000003
1130#define PIR_STATUS_TABLE_ERROR 0x00000004
1131#define PIR_STATUS_TABLE_BAD 0x00000005
1132#define PIR_STATUS_TABLE_SUCCESS 0x00000006
1133#define PIR_STATUS_TABLE_MAX 0x00000007
1134
1135#define PIR_STATUS_MINIPORT_NORMAL 0x00000000
1136#define PIR_STATUS_MINIPORT_COMPATIBLE 0x00000001
1137#define PIR_STATUS_MINIPORT_OVERRIDE 0x00000002
1138#define PIR_STATUS_MINIPORT_NONE 0x00000003
1139#define PIR_STATUS_MINIPORT_ERROR 0x00000004
1140#define PIR_STATUS_MINIPORT_NOKEY 0x00000005
1141#define PIR_STATUS_MINIPORT_SUCCESS 0x00000006
1142#define PIR_STATUS_MINIPORT_INVALID 0x00000007
1143#define PIR_STATUS_MINIPORT_MAX 0x00000008
1144
1145#define REGSTR_PATH_LASTGOOD TEXT("System\\LastKnownGoodRecovery\\LastGood")
1146#define REGSTR_PATH_LASTGOODTMP TEXT("System\\LastKnownGoodRecovery\\LastGood.Tmp")
1147
1148#define LASTGOOD_OPERATION 0x000000ff
1149#define LASTGOOD_OPERATION_NOPOSTPROC 0x00000000
1150#define LASTGOOD_OPERATION_DELETE 0x00000001
1151#endif
1152#endif
Note: See TracBrowser for help on using the repository browser.