WinCE Essentials Volume and File Control

WinCE Essentials


1. How to Enable warning tones, key click and control Volume:
It is a general question for a WinCE starter here is the answer. There will be a following registry entry available in the platform.reg file entry.

[HKEY_CURRENT_USER\ControlPanel\Volume]
"Key"=dword:10000 ; Keyclicks: 1=soft, 0x10002=loud
"Screen"=dword:10002 ; ScreenTaps: 1=soft, 0x10002=loud
"Mute"=dword:2 ; 7=Enable all sounds (1=Notifications, 2=Apps, 4=Events.)
"Volume"=dword:FFFFFFFF ; 0=off, 0xFFFFFFFF=maximum

a. "Key"=dword:10000 ; Keyclicks: 1=soft, 0x10002=loud
The Possible values of the key clicks sounds are,
10000 - Key click OFF
10001 - Key click Soft (click sound will be minimal)
10002 - Key click Loud (click sound will be maximum)

b. "Screen"=dword:10002 ; ScreenTaps: 1=soft, 0x10002=loud
The Possible values of the screen Taps sounds are,
10000 - Screen Taps OFF
10001 - Screen Taps Soft
10002 - Screen Taps Loud

c. "Mute"=dword:2 ; 7=Enable all sounds (1=Notifications, 2=Apps, 4=Events.)
The Possible values of the screen Taps sounds are,
0 – Mute all sound
1 – Notification sound alone enabled
2 – Sounds from application alone enabled
4 – Sounds created from event alone enabled
7 – Enable all sounds

d. "Volume"=dword:FFFFFFFF ; 0=off, 0xFFFFFFFF=maximum
A valid value between 0 to 0xFFFFFFFF will set the corresponding volume level.
0x00– MUTE
0xFFFFFFFF – Maximum Value

2. How to launch Application at the OS boot up:
In platform.reg file add the following entry. It will launch “YourApp.exe” at the boot up process.

[HKEY_LOCAL_MACHINE\init]
"LaunchXX"="YourApp.exe"
"DependXX"=hex:14,00,1E,00

Here,
XX – Sequence at which the application will launch.
50 – Means before the explorer launches application should launched.
99 – After loading everything explorer and other stuffs (if any) application will launch.
YourApp.exe – This specifies the application name that going to launched.

3. How to add a file to the Windows folder:
ROMIMAGE uses Binary Image Builder (BIB) files to configure how it should configure the ROM. BIB files are just plain text files with keywords defining four different sections.
The syntax to add a file to windows folder is as follows



Example
YourFile1.xxx $(_TARGETPLATROOT)\SRC\APPS\YourFile1.xxx NK SH
YourFile2.xxx $(_TARGETPLATROOT)\SRC\APPS\YourFile2.xxx NK SH

Is the name of the target file. in examples it is taken as “YourFile1.xxx” and “YourFile2.XX”.

Is the path of the target file. Here “$(_TARGETPLATROOT) define the location of the WinCE installed path and “YourFile.xxx” file must be there in the location “$(_TARGETPLATROOT)\SRC\APPS”.


there are two memory section available “File Section” and “Module Section”. Before copying the files, first decide whether the target file belongs to file section or module section.

File section – Eg: Text files, font files and other data files

Module Section – Eg: Executables, DLLs
In some cases it may be the executables / DLLs are also belonging to File section.

How to Specify File/ Module section
Let us take the same example to copy “YourFile1.xxx” and “YourFile2.xxx” to Module section and File section respectively.

MODULES
YourFile1.xxx $(_TARGETPLATROOT)\SRC\APPS\YourFile1.xxx NK SH
FILES
YourFile2.xxx $(_TARGETPLATROOT)\SRC\APPS\YourFile2.xxx NK SH

The order of Modules/ Files is not important.


Here SK is the flag that specifies that “YourFile1.xxx” is a system file and it is hidden (not explicitly shown in the “\windows folder”. Here are the few flags that are used to specify some information about the target file.


S for system file
H for hidden file
U uncompressed target file will be uncompressed (Default for Modules section)
C compressed (Default for File section)
K for load into Kernel space

Comments

  1. mapascog-so-1982 Melody Hill click
    ogenraubio

    ReplyDelete
  2. The Wince Essentials Volume and File Control feature is invaluable in managing storage and data access. How Watch Anime Appreciating its capability to efficiently handle file operations.

    ReplyDelete

Post a Comment

Popular posts from this blog

Drawing National flag using Java Applet

CELog and Kernel Tracker