Congratulations to Comrade csdn norains for publishing the Windows CE archive.

Source: Internet
Author: User

Comrade norains is very diligent in writing blogs and has a high quality. Practical engineers and blogs are valuable for users to taste, because it is not the so-called unverified blogs that professors put together in the early days, now I occasionally search for the past. It's a calm engineer. I was also involved in writing a book on WinCE, but I couldn't write it all at once. I found myself writing badly and disappointed myself. Later, I had to apologize to the initiator and quit. As far as I know, the wince book is a professional-driven book with excellent content and many MVPs participated. I searched the internet a few times ago and haven't found it yet, therefore, writing a book is not that easy. It is estimated that the price is about Based on the market price. It is far worse than making money for a project. It is no wonder that few people are willing to write books and write good books. Think about yourself now, and you are so ashamed of yourself. This book is good and everyone will be pleasantly surprised.

 

 

Directory

Chapter 1 basics 1-something that beginners can easily ignore
1.1 Overview 1-Basic Knowledge
1.1.1 what is Windows CE1
1.1.2 where to Download Windows CE2
1.1.3 what is sdk2
1.1.4 what is platform builder 2
1.1.5 What ide is used to develop applications 3
1.2 Program Execution Process 3-Do beginners really understand the process?
1.2.1 portal or winmain3
1.2.2 message loop 4
1.3 first window program 4 -- everything starts from the window
1.3.1 registration Window 4
1.3.2 create window 6
1.3.3 exit Program 8
1.4 thread creation window 8 -- Why message loop and creation window must be in the same thread
1.5 encapsulation window creation process 13 -- how static registration functions correspond to objects
1.5.1 conflict between registration information and member functions 13
1.5.2 simplified cwndbase encapsulation 13
1.6 registry 23 -- reading/writing the registry is no longer cumbersome
1.6.1 view registry 23
1.6.2 read/write 24
1.6.3 simplified the CREG package by 24
1.7 many benefits of vector 38 -- vector can completely replace Arrays
1.7.1 dynamic memory allocation 38
1.7.2 storage string 39
1.7.3 storage memory data 39
1.7.4 application instance 40
1.8 string can also be wonderful 41 -- no cstring, and STD: String
1.8.1 macro definition 41
1.8.2 initialization 42
1.8.3 value 42
1.8.4 append 42
1.8.5 dealing with API functions 43

Chapter 4 Drawing 44 -- beautiful interfaces start with drawing
2.1hdc overview 44 -- drawing Basics
2.2 drawing BMP 45-the system API is sufficient
2.2.1 reading bitmap 45
2.2.2 Drawing bitmap 47
2.2.3 release resource 49
2.3 use cache to remove Paster flashes 49-solve the problem that multiple images will flash
2.3.1 use cache 49
2.3.2.cmemdc encapsulation simplification 50
2.4 simulate iPhone sliding effect 56 on the left -- iphone sliding effect is not a dream
2.4.1 principle 56
2.4.2 implementation 56
2.5 simulate iPhone gesture slide effects 57-dancing freely
2.5.1 principle 57
2.5.2 implementation 60
2.6 plot limit 67-the simplest DirectShow example
2.6.1 function call process 67
2.6.2 show source file specific region 70
2.6.3 cimager encapsulation simplified 72
2.7 draw gif83-how to display continuously
2.8 saving HDC as a tool for debugging the interface
2.8.1 BMP file header information 84
2.8.2 save HDC to memory 86
2.8.3 save the file 87
2.8.4 complete writebmp source code 90
2.9 screenshots 93
2.10 translucent effect 94-mix screenshots with alphablend

Chapter 4 multimedia 97: Entering the extraordinary age
3.1 play wav97-Use API to play the simplest WAV
3.2 recording 97 -- recording can be performed with a microphone
3.2.1wav Format 97
3.2.2 preparations 100
3.2.3 Message Processing 102
3.2.4 save file 103
3.2.5 simplified the crecord package by 103
3.2.6 details of crecord implementation 116
3.3 directshow116 -- playing a video is no longer difficult
3.3.1 play audio file 117
3.3.2 play video file 120
3.3.3 cmedia encapsulation simplified by 121
3.3.4 cmedia and playback format 138
3.4 principle of synchronous display of lyrics 139-The trick is only to get time
3.5 text scroll principle 141 -- the scroll of the lyrics is nothing more than this
3.6 DirectShow audio gradient 143--wav and MP3 playback channels derived from different applications

Chapter 4 Application of the 4th-to-COM technology for input method development
4.1 basic interface of the Input Method structure 145--com
4.2 COM interface function implementation 146 -- or registry
4.3 cclassfactory implementation 149
4.4 Implementation of cinputmethod 151
4.5 Implementation of cimwnd 154 -- cwndbase class instance
4.6 complete source code 156
4.7 input method load 170 -- no load, not used
4.7.1 system customization 170
4.7.2 manually load 171
4.8 Microsoft traditional handwriting recognition database 176-easy-to-use stroke Recognition
4.8.1 calling process 176
4.8.2 call process of crecognizer encapsulation 179
4.8.3 Add the recognition library in platform builder 186

Chapter 2 events and Control Panel 5th -- remove the control panel veil
5.1 event overview 189-a handy communication tool
5.1.1 create event 189
5.1.2 send event 191
5.1.3 receive event 192
5.2 data transmission of different processes 194-data transmission is the foundation of everything
5.2.1 registration 195
5.2.2 memory ing 196
5.2.3 event 198
5.3 Control Panel and drive communication 199 -- seamless connection between control panel and drive
5.3.1 Control Panel Structure 199
5.3.2 simple control panel program 200
5.3.3 control panel and driver communication 206
5.3.4 how to call control panel 207

Chapter 4 Drive Development 6th-driving is not difficult
6.1 Driver overview 210 -- first look at the basics
6.2 get loaded driver information 210 -- toss the Registry to get driver information
6.2.1 struct information 211
6.2.2 obtain Registry Information 211
6.2.3 extract main information 213
6.2.4 extract other information 215
6.2.5 details: Unicode conversion 216
6.3 one of the simplest drivers 217-the sparrow is small and dirty
6.3.1 driver 217
6.3.2 Registration 218
6.3.3 simplest driver code 219
6.4 dynamic loading and uninstallation of drivers 221-free from system Compilation
6.4.1 load 221
6.4.2 Uninstall any driver 224
6.5 deviceiocontrol and structured embedded pointer 226 -- deviceiocontrol is a bridge between the application layer and the driver
6.5.1 nested pointer error 226
6.5.2 corrected address 228
6.5.3 reason 229
6.6 virtual serial port driver 231-multiple processes can use one serial port
6.6.1 231 from the source
6.6.2 driver constraints 231
6.6.3 vsp_opentracing
6.6.4 vsp_close234
6.6.5 vsp_write235
6.6.6 waitcommevent235
6.6.7 vsp_read238
6.6.8 source code 241
6.6.9 registry value 249
6.6.10 driver call 250
Replace the original driver with a fake version of 6.7-similar to the hacker's Method

Chapter 4 Power Management 7th-an indispensable component of handheld devices
7.1 sc811 power management chip 259-simple chip example
7.2 build hardware circuit 259-detection circuit diagram
7.3 battery power detection code 260-obtain power based on ADC data
7.4 application obtains power information 265-after the driver is completed, only use is available
7.4.1 create a message queue 265
7.4.2 Wait Status Change 268
7.4.3 data analysis 269
7.4.4 simplified cpowerthread encapsulation process 272
7.5 drawing power changes 279-mix and match pictures to achieve dynamic effects

Chapter 4 CPU register read/write 8th -- Operations closest to hardware
8.1 memory ing 281
8.2 operation stmp37xx gpio register 283
8.3 tccw.gpio register 286
8.3.1 tcc7901 register read/write 286
8.3.2 manually write the tcc.pdf driver 291
8.3.3 driver call 300

Chapter 2 hardware debugging 9th-do not deal with hardware, so you cannot understand Windows CE embedded systems
9.1 touch screen 303--pnd indispensable input device
9.1.1 incorrect use after calibration 303
9.1.2 irregular fluctuations of 305
9.1.3 regular click drift 305
9.1.4 a touch screen of the same model cannot be reached 307
9.2 soft switch 308-a classic example of soft-hardware combination
9.2.1 hardware 308
9.2.2 software Article 310
9.3 LCD debugging 311-farewell to the era of unbounded Surfaces
9.3.1 LCD register initialization 311
9.3.2 determine whether the data line is reversed by 314
9.3.3 miscellaneous experience 315
9.4 SDRAM and cpu316-Basis for device Selection
9.4.1 316 connection between SDRAM and CPU
9.4.2 how to determine the size of the SDRAM: 318

Chapter 2 system analysis 10th -- make customized changes to the Windows CE system
10.1 set the volume to 320-the volume also has a small Backdoor
10.2 system interface modification 329-unorthodox Modification
10.3 Windows CE circle message 330 -- find the hidden wm_notify
10.4 desktop modification 331 -- various changes to Explorer
10.4.1 do not drag desktop icon 331
10.4.2 initialize desktop icon sequence 331
10.4.3 Delete menu option 332
10.5 shortcuts 333 -- different from desktop windows
10.5.1 shortcut structure 333
10.5.2 add shortcuts to kernel 333
10.5.3 shortcut menu 334 on the desktop
10.5.4 clear shortcuts arrow 334
10.5.5 shortcut menu 334 of Microsoft built-in Program
10.6 registry 335 -- similar to desktop windows
10.6.1 my computer and recycle bin 335 are not displayed
10.6.2 delete the file directly without putting it back in the recycle bin 335
10.6.3 modify the XP skin color 335
10.6.4 folder ing modify 337
10.6.5 explorer registry induction 338
10.7 format 339-interesting Deep Exploration
10.7.1 source code exploration 339
Function 340
10.7.3 function call 341
10.8 File Association 342 -- different file associations

Chapter 2 System burning 11th-a simple comparison of System burning on the market
11.1 million big talk stories 344
11.2 tt4x0bd345
11.3
11.4 tcc7901352
11.5 au1200356
11.5.1 address 356
11.5.2 start burning 359

Chapter 2 differences between Windows XP and Windows CE Development 12th -- difference makes code portability more important
12.1 differences 367-Overview of differences for beginners
12.2 differences in serial port operations 369-the most common serial port also has its special side
12.2.1 differences between the createfile parameters: 369
12.2.2 single-thread comparison 370
12.2.3 multithreading comparison 371
12.2.4 Windows XP asynchronous mode 375
12.3 difference in message loops 376-the difference in messages may be unexpected
12.4 Windows XP and Windows CE projects coexist in the same file 379 -- everything is just a Configuration Parameter
12.5 differentiate code by macro definition 382 -- make the macro clearer code thinking
12.6 use classes to simplify code migration 383 -- examples of different classes
12.7 Windows CE program porting to Windows XP solution instance 386
12.7.1 retailmsg and debugmsg386
12.7.2 assert388
12.7.3 seteventdata and geteventdata391
12.8 solution instance for porting Windows XP program to Windows CE 399
12.8.1 getcurrentdirectory399
12.8.2 systemtimetotzspecificlocaltime400

Postscript 403
References 404

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.