Create a Windows CE Image That Boots to Kiosk Mode
来源:互联网 发布:手机上制作软件的软件 编辑:程序博客网 时间:2024/05/29 14:32
ADDR:http://msdn2.microsoft.com/en-us/library/bb419218.aspx
概述:
这篇文章讲的是,怎样是CE在启动的时候进入Kiosk模式。什么是Kiosk模式呢? 比较常见的例子就是ATM了。在网络上看到,说是可以吧IEexplorer.exe设置成为这种模式,开机即进入浏览器,虽然可以用ALT+TAB进行切换,但是ATM似乎没有keyboard!
我们在定制wince系统的时候都想让系统在启动的时候进入我们的APP或者自制SHELL. 这篇文章实际上就是将的而这个。
在这里大概介绍下实现方法:
在WINCE500/PUBLIC/COMMON/OAK/CATALOG/NEWPLATFORMWIZARDS目录下,有很多的*.xml文件。这些文件是在PB生成新的平台的时候的向导。 文中就是改动了.xml文件,具体在例子中是Windows_Thin_Client.xml,使得explorer无法正常显示。
然后,写一个加载自己shell的exe文件如:shelllanuch.exe,shelllanuch.exe的实现利用了
/WINCE500/PUBLIC/SHELL/OAK/HPC/EXPLORER/MAIN 下的explorer.cpp中的 ProcessStartupFolder()方法。然后将shelllanuch.exe放在startup下,ProcessStartupFolder()就会遍历startup下的程序,从而实现启动自己的shell.
这个和我的blog中收集 的另一篇文章很像:
http://blog.csdn.net/Trueman_onlyme/archive/2009/09/18/4568007.aspx
不同的是,在这篇的文章中,是将explorer.exe弄没了,但shelllanuch.exe得实现没什么不同,只不过是用了explorer的源码。
特别强调的是,在shelllanuch.exe程序中要加入SignalStarted()函数,在文中原意是,只要是利用HKLM/Init 注册表设置启动应用程序,就要使用SignalStarted( ) 具体的可以看原文。
我的理解:
一般的如果你的平台要求的功能比较单一,那么你可以直接用你的APP.exe代替explorer.exe,(即同名替换就可以了);
但我的疑问是:
如果稍微复杂的程序,想实现屏蔽explorer.exe,如果直接代替的话有什么不好?
- Create a Windows CE Image That Boots to Kiosk Mode
- How to Create Windows CE Shortcuts
- Adding a File to a Run-time Image (Windows CE 5.0)
- Windows Embedded CE 6.0: How to Create Shortcuts
- How to create a PV image for XEN
- Create a Base Image
- Create a base image
- Adding a Project to an OS Design (Windows CE 5.0)
- Create a servlet that sends a zip file to the user
- windows CE (HOW TO?)
- How to change mode from c++98 mode in Dev-C++ to a mode that supports C++0x (range based for)?
- How to Create a Windows NT/ Windows 2000 Service
- How to Create a Windows NT/ Windows 2000 Service
- How to create recovery image
- failed to create framebuffer image
- How to stretch a background image of a windows form
- You are using safe update mode and you tried to update a table without a WHERE that uses a K
- RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.
- Visual Basic内嵌汇编语言解决方案
- 英伦之旅
- 收藏:惊人的专业,不凡的唱功,卓越的感情!——徐杰 鑽石夜總會 紅豆
- String类的几个方法
- 诺贝尔奖杂感
- Create a Windows CE Image That Boots to Kiosk Mode
- 父子关系及inverse 详解
- C标准库源码解剖(9):控制函数assert.h, setjmp.h和signal.h
- PHP 环境搭建要领 call to undefined function mysql_connect
- JSP中各种内置对象
- 什么是工作?认真,用心!(转载)
- 《Thinking in Java》RMI远程方法示例代码运行是可能遇到的问题及解决方法
- windows的文件复制粘贴个数限制
- 每天三题系列之杭电OJ 2006 2007 2008