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

📄 platform.reg

📁 Windows CE documentation and examples from the Windows CE development manuals. There are lots of exa
💻 REG
📖 第 1 页 / 共 5 页
字号:
;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this sample source code is subject to the terms of the Microsoft
; license agreement under which you licensed this sample source code. If
; you did not accept the terms of the license agreement, you are not
; authorized to use this sample source code. For the terms of the license,
; please see the license agreement between you and Microsoft or, if applicable,
; see the LICENSE.RTF on your install media or the root of your tools installation.
; THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
;

#include "$(_TARGETPLATROOT)\SRC\DRIVERS\String\string.reg"

; Our variables
#define BUILTIN_ROOT HKEY_LOCAL_MACHINE\Drivers\BuiltIn
;#define PCI_BUS_ROOT $(BUILTIN_ROOT)\PCI
#define DRIVERS_DIR $(_PUBLICROOT)\common\oak\drivers

; @CESYSGEN IF CE_MODULES_RAMFMD
; @CESYSGEN IF FILESYS_FSREGHIVE
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
   "Flags"=dword:1          ; see comment in common.reg
; END HIVE BOOT SECTION
; @CESYSGEN ENDIF FILESYS_FSREGHIVE


; @CESYSGEN IF CE_MODULES_FILESYS && COREDLL_DEVLOAD
; @XIPREGION IF PACKAGE_OEMXIPKERNEL
;
; HIVE BOOT SECTION

; Support XIP in IMGFS
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\IMGFS]
    "XIP"=dword:1

; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
    "Name"="MSFLASH for AMD Nor"
    "Folder"="NOR Flash"

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
    "DriverPath"="Drivers\\BuiltIn\\AmdNorFMD"
    ; LoadFlags 0x01 == load synchronously
    "LoadFlags"=dword:1
    "Order"=dword:0
    "BootPhase"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\RAMFMD]
   "Flags"=dword:00010000
; END HIVE BOOT SECTION
; @XIPREGION ENDIF PACKAGE_OEMXIPKERNEL
; @CESYSGEN ENDIF CE_MODULES_FILESYS && COREDLL_DEVLOAD


; HIVE BOOT SECTION
; mount RAMFMD as root file system + hive storage
; format for TFAT (rather than FAT)
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash_RAMFMD\FATFS]
    "MountAsBootable"=dword:1
    "MountAsRoot"=dword:1
    "FormatTfat"=dword:1

; @CESYSGEN IF CE_MODULES_FSREPLXFILT
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash_RAMFMD\FATFS\Filters\fsreplxfilt]
    "Dll"="fsreplxfilt.dll"
    "Order"=dword:1 ; must be loaded before other filters
; @CESYSGEN ENDIF CE_MODULES_FSREPLXFILT

; load RAMFMD in boot phase 0
; Set the Order to zero so that it loads before any other persistent 
; storage device (e.g., RAMDISK)
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\RAMFMD]
    "BootPhase"=dword:0
    "Order"=dword:0

;
; Describe the memory range for the FMD to use on this platform.
; If these values are zero, the RAMFMD driver uses defaults.
;
; If no address is provided, RAMFMD uses VirtualAlloc() to allocate
; the buffer for the FMD emulation.
;
; If a large FMD is desired, space can be set aside using the 
; g_dwExtensionRAMFMDSize FIXUPVAR in config.bib.  This tells
; the OAL to set aside a certain amount of memory discovered by
; OEMGetExtensionDRAM() (which exists outside of CONFIG.BIB)
; for RAMFMD.  The OAL then writes the address and size
; of the memory to these values during boot, when it handles
; the IOCTL_HAL_INITREGISTRY callback from filesys.
;
[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\RAMFMD]
    "Address"=dword:0
    "Size"=dword:00200000   ; 2 MB

; END HIVE BOOT SECTION
; @CESYSGEN ENDIF CE_MODULES_RAMFMD

; @XIPREGION IF DEFAULT_REGISTRY
; Must go in default.fdf to allow loading of registry!
[HKEY_LOCAL_MACHINE\System\Platform]
    "DataPath" = "\\"
    "PSAtRoot"=dword:1
; @XIPREGION ENDIF DEFAULT_REGISTRY

; @CESYSGEN IF CE_MODULES_FILESYS && COREDLL_DEVLOAD
; @XIPREGION IF PACKAGE_OEMXIPKERNEL
IF BSP_NONOR !
; HIVE BOOT SECTION

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\AmdNorFMD]
   "Dll"="amdnord.dll"
   "Order"=dword:2
   "Prefix"="DSK"
   "Ioctl"=dword:4
   "Profile"="MSFlash"
   "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
   "MemBase"=dword:B2020000
   "MemLen"=dword:01FE0000
   "Flags"=dword:00010000

; END HIVE BOOT SECTION
ENDIF ; BSP_NONOR !
; @XIPREGION ENDIF PACKAGE_OEMXIPKERNEL
; @CESYSGEN ENDIF CE_MODULES_FILESYS && COREDLL_DEVLOAD

; @CESYSGEN IF WCESHELLFE_MODULES_CTLPNL
; @XIPREGION IF DEFAULT_DEVICEEMULATOR_REG
; This registry setting controls the checkboxes displayed in the Sounds CPL
; under "enable clicks & taps". Set bit0 if you have a keyboard, set bit1 if
; you have a touch screen. Set bit2 if you have HW buttons (NOTE: for now
; HW buttons are mutually exclusive with the keyboard)
[HKEY_LOCAL_MACHINE\ControlPanel]
IF IMGTPC !
    "InputConfig"=dword:3   ; 3 => keybd and touch screen
ENDIF IMGTPC !
IF IMGTPC
    "InputConfig"=dword:1   ; 1 => keybd only
ENDIF IMGTPC    
; @XIPREGION ENDIF DEFAULT_DEVICEEMULATOR_REG
; @CESYSGEN ENDIF WCESHELLFE_MODULES_CTLPNL

; @XIPREGION IF DEFAULT_DEVICEEMULATOR_REG
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
    "ACSuspendTimeout"=dword:0          ; timeout disabled on AC power
    "ACResumingSuspendTimeout"=dword:0      ; timeout diasable on AC power
    "BattSuspendTimeout"=dword:B4       ; 3 minutes (180 seconds) on battery
    "BattResumingSuspendTimeout"=dword:F    ; 15 seconds

; Don't prompt when establishing a network connection. This is disabled for emulator
; as it would otherwise detract from the SDK emulator experience as everytime the ISV would
; launch the emulator they would be prompted. User can always go to the connections CPL
; and change the setting.
[HKEY_CURRENT_USER\ControlPanel\Notifications\{8ddf46e7-56ed-4750-9e58-afc6ce486d03}]
 "Options"=dword:0
; @XIPREGION ENDIF DEFAULT_DEVICEEMULATOR_REG

; @CESYSGEN IF CE_MODULES_DEVICE

; @XIPREGION IF DEFAULT_DEVICEEMULATOR_REG
; Resources available at time of device.exe initialization.
; Key names are descriptive; resource ids are definitive.
; System ids are defined in ddk\inc\resmgr.h.
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Drivers\Resources\IRQ]
   "Identifier"=dword:1
   "Minimum"=dword:1
   "Space"=dword:20
   "Ranges"="1-0x20"
;  "Shared"=""

[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
   "Identifier"=dword:2
   "Minimum"=dword:0
   "Space"=dword:10000
   "Ranges"="0-0xFFFF"

; END HIVE BOOT SECTION
; @XIPREGION ENDIF DEFAULT_DEVICEEMULATOR_REG

; @CESYSGEN IF CE_MODULES_POINTER
; @CESYSGEN IF GWES_MGBASE
; @XIPREGION IF DEFAULT_DEVICEEMULATOR_REG
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
  "MaxCalError"=dword:7
; portrait 
;  "CalibrationData"="500,512 762,268 758,760 244,758 241,266 "
; Landscape 
;   "CalibrationData"="515,503 763,748 258,749 269,255 764,255 "
; @XIPREGION ENDIF DEFAULT_DEVICEEMULATOR_REG
; @CESYSGEN ENDIF GWES_MGBASE
; @CESYSGEN ENDIF CE_MODULES_POINTER   

; @CESYSGEN IF CE_MODULES_DISPLAY
; @XIPREGION IF DEFAULT_DEVICEEMULATOR_REG
IF BSP_NODISPLAY !
[HKEY_LOCAL_MACHINE\Drivers\Display\S3C2410\CONFIG]
    "DisplayDll"="DeviceEmulator_lcd.dll"
    "LCDVirtualFrameBase"=dword:A3F00000
    "LCDPhysicalFrameBase"=dword:33F00000

[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
    "Display"="DeviceEmulator_lcd.dll"

; GWES will pass this value to the LCD driver; the driver will open the
; key to which it points to read its configuration.
[HKEY_LOCAL_MACHINE\System\GDI\DisplayCandidates]
    "Candidate10"="Drivers\\Display\\S3C2410\\CONFIG"

IF BSP_NOBACKLIGHT !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Backlight]
    "Prefix"="BKL"
    "Dll"="backlight.dll"
    "Index"=dword:1
    "Order"=dword:1
    "IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"

; Backlight tab of Display control panel (timeouts in seconds)
[HKEY_CURRENT_USER\ControlPanel\Backlight]
    "BatteryTimeout"=dword:3c	; 60 seconds
    "BacklightOnTap"=dword:1
    "ACTimeout"=dword:258	; 600 seconds
    "ACBacklightOnTap"=dword:1
ENDIF BSP_NOBACKLIGHT !

; GWES uses this to set the default display contrast
; (yes, Keybd is unintuitive)
[HKEY_CURRENT_USER\ControlPanel\Keybd]
    "Contrast"=dword:15   ; 0 (lowest contrast) - 15 (highest contrast)

ENDIF ; BSP_NODISPLAY !
; @XIPREGION ENDIF DEFAULT_DEVICEEMULATOR_REG
; @CESYSGEN ENDIF CE_MODULES_DISPLAY

; @CESYSGEN IF CE_MODULES_KEYBD
; @XIPREGION IF DEFAULT_DEVICEEMULATOR_REG
; Keybd driver is the same.
IF BSP_NOKEYBD !

; Eventually, we will want to make smartfon and wpc specific keybd.reg
; and LayMgr.reg files so that other platforms which can be built both
; CEBase and wpc/smartfon will not have to duplicate the entirety of this
; code.  However, currently there is no intuitive place to store these
; files.  So for now we will make our localization decisions here and
; not include the common reg files if our project is wpc/smartfon

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]
    "DriverName"="kbdmouse.dll"
    "Irq"=dword:1
    "IOBase"=dword:B1600000
    "SSPBase"=dword:B1900000

IF IMGTPC !
; Is keyboard plugged in?
[HKEY_CURRENT_USER\Software\Microsoft\Shell]
"HasKeyboard"=dword:1
ENDIF ; IMGTPC !

#if ! (defined IMGPPC || defined IMGTPC)
; This gets the keyboard working, mapping a request for e0010409 onto the keyboard driver's 00000409
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts\e0010409]
    "Keyboard Layout"="00000409"
#include "$(DRIVERS_DIR)\keybd\keybd.reg"
#include "$(DRIVERS_DIR)\keybd\LayMgr.reg"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Layouts\$(input_locale)]
    "Matrix"="kbdmouse.dll"
#endif

; @CESYSGEN IF CE_MODULES_KBDA1
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Layouts\00000401]
        "Matrix"="kbdmouse.dll"
; @CESYSGEN ENDIF CE_MODULES_KBDA1

; @CESYSGEN IF CE_MODULES_KBDHEB
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Layouts\0000040D]
        "Matrix"="kbdmouse.dll"
; @CESYSGEN ENDIF CE_MODULES_KBDHEB

; @CESYSGEN IF CE_MODULES_KBDTH0
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Layouts\0000041E]
        "Matrix"="kbdmouse.dll"
; @CESYSGEN ENDIF CE_MODULES_KBDTH0

; @CESYSGEN IF CE_MODULES_KBDINHIN
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Layouts\00010439]
        "Matrix"="kbdmouse.dll"
; @CESYSGEN ENDIF CE_MODULES_KBDINHIN

; @CESYSGEN IF CE_MODULES_KBDINMAR
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Layouts\0000044E]
        "Matrix"="kbdmouse.dll"
; @CESYSGEN ENDIF CE_MODULES_KBDINMAR

; @CESYSGEN IF CE_MODULES_KBDINPUN
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Layouts\00000446]
        "Matrix"="kbdmouse.dll"
; @CESYSGEN ENDIF CE_MODULES_KBDINPUN

; @CESYSGEN IF CE_MODULES_KBDINTEL
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Layouts\0000044A]
        "Matrix"="kbdmouse.dll"
; @CESYSGEN ENDIF CE_MODULES_KBDINTEL

; @CESYSGEN IF CE_MODULES_KBDINGUJ
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Layouts\00000447]
        "Matrix"="kbdmouse.dll"
; @CESYSGEN ENDIF CE_MODULES_KBDINGUJ

; @CESYSGEN IF CE_MODULES_KBDINKAN

⌨️ 快捷键说明

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