⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 common.reg

📁 基于WinCE5.0平台的三星S3C2440的BSP包更新.
💻 REG
📖 第 1 页 / 共 5 页
字号:
REGEDIT4
;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this source code is subject to the terms of the Microsoft end-user
; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
; If you did not accept the terms of the EULA, you are not authorized to use
; this source code. For a copy of the EULA, please see the LICENSE.RTF on your
; install media.
;

; @CESYSGEN IF FILESYS_FSREGHIVE
; This tag MUST come before all registry settings and HIVE BOOT SECTION tags.
; OUTPUTHIVE
; @CESYSGEN ENDIF

; HIVE BOOT SECTION
; Place data here which would be required for a hive-based boot.  That includes
; data necessary for starting drivers to reach a hive located outside ROM or
; RAM.  This data will be put into boot.hiv as well as into your default system
; hive.  Any configuration which does not use the hive-based registry will
; include this data in its registry, in the same manner as the data outside the
; hive boot section.

; set LCID in common.str, *not* directly in common.reg
[HKEY_LOCAL_MACHINE\nls]
        "DefaultLCID" = dword:LOC_LCID

; END HIVE BOOT SECTION

; MUI Register setttins :
;   HKLM\MUI\Enable - enable MUI or not
;   HKLM\MUI\SysLang - system default langid
;   HKCU\MUI\CurLang - langid for current user

[HKEY_LOCAL_MACHINE\MUI]
   ; Update the enable field to enable MUI
IF SYSGEN_MULTIUI
	"Enable"=dword:1
ENDIF
   ; Update the SysLang field to set system default langid
   "SysLang"=dword:LOC_LCID

[HKEY_CURRENT_USER\MUI]
   ; Update the CurLang field to set user default langid
   "CurLang"=dword:LOC_LCID


[HKEY_LOCAL_MACHINE\init]
IF IMGCELOGENABLE
; At most one CeLog flush app (CeLogFlush, OSCapture) can be used
IF IMGAUTOFLUSH
        "Launch05"="CeLogFlush.exe"
ENDIF
IF IMGOSCAPTURE
        "Launch05"="OSCapture.exe"
ENDIF
ENDIF
; @CESYSGEN IF CE_MODULES_SHELL
IF IMGNOKITL !
        "Launch10"="shell.exe"
ENDIF IMGNOKITL !
; @CESYSGEN ENDIF
; @CESYSGEN IF CE_MODULES_DEVICE
        "Launch20"="device.exe"
; @CESYSGEN IF CE_MODULES_SHELL
IF IMGNOKITL !
	"Depend20"=hex:0a,00
ENDIF IMGNOKITL !
; @CESYSGEN ENDIF
; @CESYSGEN ENDIF
IF IMGKCOVER
        "Launch25"="CoverSrv.exe"
ENDIF
; @CESYSGEN IF CE_MODULES_GWES
        "Launch30"="gwes.exe"
        "Depend30"=hex:14,00
; @CESYSGEN ENDIF
; @CESYSGEN IF CE_MODULES_BTGW
	"Launch99"="btgw.exe"
	"Depend99"=hex:14,00
; @CESYSGEN ENDIF


IF IMGSHIMENABLE
[HKEY_LOCAL_MACHINE\Software\Microsoft\TxtShell]
	"AppVerifier"="appverifsh.dll"
ENDIF

; HIVE BOOT SECTION
; Set Device RootKey and registry enumerator
; @CESYSGEN IF CE_MODULES_DEVICE
[HKEY_LOCAL_MACHINE\Drivers]
    "RootKey"="Drivers\\BuiltIn"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn]
    "Dll"="BusEnum.dll"
    "BusName"="BuiltIn"
    "Flags"=dword:8
    "BusIoctl"=dword:2a0048
    "InterfaceType"=dword:0
    "IClass"=multi_sz:"{B3CC6EBA-5507-4196-8E41-2BF42E4A47C9}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
; @CESYSGEN ENDIF
; END HIVE BOOT SECTION

; @CESYSGEN IF CE_MODULES_DEVICE

; HIVE BOOT SECTION

[HKEY_LOCAL_MACHINE\System\Events]
    "SYSTEM/DevMgrApiSetReady"="Device Manager APIs ready"

; END HIVE BOOT SECTION

; @CESYSGEN IF DEVICE_PMIF

;
; Power Manager
;
; HIVE BOOT SECTION

[HKEY_LOCAL_MACHINE\System\Events]
    "SYSTEM/PowerManagerReady"="Power Manager APIs ready"

; END HIVE BOOT SECTION

; @CESYSGEN ENDIF ; DEVICE_PMIF

; @CESYSGEN IF DEVICE_PMIF && !PM_PMSTUBS

; HIVE BOOT SECTION

;
; Power Manager interfaces.  These list the interface classes that the Power
; Manager will monitor for new devices.
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Interfaces]
    "{A32942B7-920C-486b-B0E6-92A702A99B35}"="Generic power-manageable devices"
    "{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"="Power-manageable block devices"
; @CESYSGEN IF CE_MODULES_NDIS
    "{98C5250D-C29A-4985-AE5F-AFE5367E5006}"="Power-manageable NDIS miniports"
; @CESYSGEN ENDIF CE_MODULES_NDIS
; @CESYSGEN IF CE_MODULES_GWES
    "{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"="Power-manageable display"
; @CESYSGEN ENDIF CE_MODULES_GWES



;
; Default System Power States
;
; OEMs may choose to customize this set of system power states to
; reflect the capabilities of their platform.  For example, they
; may wish to create power states reflecting critical battery
; levels, in or out of cradle, on or off of AC power.  If the Power
; Manager module is actively determining when to switch system power
; states, OEMs may need to update the PM source code when they
; add new power states.
;
; To remove these state definitions from the configuration for a platform,
; include the line:
;   [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State]
; in the device's platform.reg file.  Uncomment the line in the
; platform.reg file.
;

;
; In this system power state, the user is interacting actively with
; the system.
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\On]
    "Default"=dword:0           ; D0
    "Flags"=dword:10000         ; POWER_STATE_ON

; @CESYSGEN IF PM_PM_DEFAULT_PDD

;
; In this system power state, the user may be interacting with the
; system, but not actively.  For instance, they might be looking at
; the screen or they might not.  In this power state the system is
; "idle" but still in use by the user, so all devices still be
; operational (but possibly with some latency).
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle]
    "Default"=dword:1           ; D1
    "Flags"=dword:0

;
; In this system power state, the user is not considered to be using
; the system, even passively.  However, the system is not suspended
; and system programs may be doing work on the user's behalf.  In this
; power state the system is "idle" but might still be used by system
; programs.  Devices that aren't actively doing work might be powered
; down.
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\SystemIdle]
    "Default"=dword:2           ; D2
    "Flags"=dword:0

; @CESYSGEN IF CE_MODULES_GWES
;
; Turn the display off during SystemIdle.
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\SystemIdle\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
    "Default"=dword:4           ; D4
; @CESYSGEN ENDIF CE_MODULES_GWES

; @CESYSGEN ENDIF ; PM_PM_DEFAULT_PDD

;
; In this system power state, the system is suspended.  Devices are turned
; off, interrupts are not being serviced, and the CPU is stopped.
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\Suspend]
    "Default"=dword:3           ; D3
    "Flags"=dword:200000        ; POWER_STATE_SUSPEND

;
; Entering this system power state reboots the system with a clean object
; store.  If an OEM includes this state in their platform, they must
; support KernelIoControl() with IOCTL_HAL_REBOOT.
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\ColdReboot]
    "Default"=dword:4           ; D4
    "Flags"=dword:800000        ; POWER_STATE_RESET

;
; Entering this system power state reboots the system.  If an OEM includes this state in
; their platform, they must support KernelIoControl() with IOCTL_HAL_REBOOT.
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\Reboot]
    "Default"=dword:4           ; D4
    "Flags"=dword:800000        ; POWER_STATE_RESET

;;;;
;;;; Entering this system power state shuts down the system.  All devices are powered off,
;;;; resuming may require user intervention.  The system will cold boot on resume.
;;;; Supporting this power state requires that the OEM customize the Power Manager
;;;; to recognize POWER_STATE_OFF and take platform-specific action to remove
;;;; power.
;;;;
;;;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\ShutDown]
;;;    "Default"=dword:4           ; D4
;;;    "Flags"=dword:20000         ; POWER_STATE_OFF

; @CESYSGEN IF CE_MODULES_NDIS

;
; Since we generally don't want arbitrary network adapters to be wake
; sources, override the default suspend setting to turn adapters completely
; off.  Add adapters to this section that we DO want to be wake sources, or
; have the application using the adapter use the SetPowerRequirement() API
; to make it a wake source.
;
; NDIS maps power manager device power states to NDIS device power states
; as follows:
;   PM State                        NDIS State
;
;       D0                      NdisDeviceStateD0
;       D1                      NdisDeviceStateD0
;       D2                      NdisDeviceStateD0
;
;       D4                      NdisDeviceStateD3
;       D3                      See below.
;
; Note on D3:  If an adapter supports wake sources, NDIS will map
; the PM device power state D3 to the highest-power-consuming state
; reported by the miniport driver in response to an OID_PNP_CAPABILITIES
; query. For example, suppose the miniport reports:
;       MinLinkChangeWakeUp     NdisDeviceStateD2
;       MinMagicPacketWakeUp    NdisDeviceStateD1
;       MinPatternWakeUp        NdisDeviceStateD2
; For this miniport, NDIS translates D3 from Power Manager to
; NdisDeviceStateD1.
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}]
    "Default"=dword:4           ; D4

; @CESYSGEN ENDIF CE_MODULES_NDIS

; @CESYSGEN IF PM_PM_PDA_PDD

;
; Normal operation, but with UI disabled
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\ScreenOff]
    "Default"=dword:0           ; D0
    "Flags"=dword:100000		; POWER_STATE_IDLE

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\ScreenOff\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
    "Default"=dword:4           ; D4

;
; System is operating in unattended mode, UI is disabled
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\Unattended]
    "Default"=dword:0           ; D0
    "Flags"=dword:0
; @CESYSGEN IF CE_MODULES_WAVEAPI
    "wav1:"=dword:4             ; sound disabled
; @CESYSGEN ENDIF ; CE_MODULES_WAVEAPI

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\Unattended\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
    "Default"=dword:4           ; D4

;
; The system enters this state when it resumes and determines whether to turn on
; devices or go back to sleep.
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\Resuming]
    "Default"=dword:2           ; D2
    "Flags"=dword:0

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\Resuming\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
    "Default"=dword:4           ; D4

;
; Make sure the system power management thread runs at a higher priority than
; driver ISTs that may call SetSystemPowerState().  This is to avoid race conditions
; between the PM and drivers or applications that may want to update the system power
; state.  Most drivers don't run above THREAD_PRIORITY_HIGHEST (249); if any that
; might call SetSystemPowerState() have a higher priority than this, adjust
; the PM's SystemPriority256 value accordingly.
;
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power]
	"SystemPriority256"=dword:F8			; 248 - THREAD_PRIORITY_TIME_CRITICAL

; @CESYSGEN ENDIF ; PM_PM_PDA_PDD

;
; Default Activity Timers
;

;
; These registry values set up activity timers inside the Power Manager.
; GWES and/or other system components need to reset them periodically
; to keep the associated inactivity event from being set.
;
; OEMs can define other timers instead of or in addition to the ones in this
; file.  Generally this will be done in conjunction with modifications to
; the Power Manager platform sources.
;
; Defining timers causes the PM to create a set of named events for resetting
; the timer and for obtaining its activity status.  See the PM documentation
; for more information.
;
; To remove these timer definitions from the configuration for a platform,
; include the line:
;   [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\ActivityTimers]
; in the device's platform.reg file.  Uncomment the line in the
; platform.reg file.
;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -