List of Listings
Chapter 1: Hello Windows CE
Listing 1-1: Hello1, A simple Windows application
Listing 1-2: Hello2, a simple Windows application using the MessageBox function
Listing 1-3: The Hello3 program
Listing 1-4: The HelloCE program
Chapter 2: Drawing on the Screen
Listing 2-1: The TextDemo program
Listing 2-2: The FontList program enumerates all fonts in the system.
Listing 2-3: The Shapes program
Chapter 3: Input: Keyboard, Mouse, and Touch Screen
Listing 3-1: The KeyTrac program
Listing 3-2: The PenTrac program
Listing 3-3: The TicTac1 program
Chapter 4: Windows, Controls, and Menus
Listing 4-1: The CtlView program
Listing 4-2: The DOIView program
Chapter 5: Common Controls and Windows CE
Listing 5-1: The CmdBar program
Listing 5-2: The CmdBand program
Listing 5-3: The MenuBar example
Chapter 6: Dialog Boxes and Property Sheets
Listing 6-1: The DlgDemo program
Chapter 7: Memory Management
Listing 7-1: The top portion of a map file showing the size of the data segments in an application
Chapter 8: Files and the Registry
Listing 8-1: The FileView program
Listing 8-2: The RegView program
Chapter 9: Windows CE Databases
Listing 9-1: The AlbumDB program
Chapter 10: Modules, Processes, and Threads
Listing 10-1: The list of protected functions and registry keys
Listing 10-2: The source code for XTalk
Chapter 11: Notifications
Listing 11-1: The NoteDemo program
Chapter 12: Serial Communications
Listing 12-1: The CeChat source code
Chapter 13: Windows CE Networking
Listing 13-1: The ListNet source
Chapter 14: Device-to-Device Communication
Listing 14-1: The MySquirt source code
Listing 14-2: The BtHello source code
Listing 14-3: The ObexSquirt source code
Chapter 15: Connecting to the Desktop
Listing 15-1: The RapiDir source code
Listing 15-2: RapiServ.cpp, a simple block-mode RAPI server DLL
Listing 15-3: FindSrv.cpp, a stream-mode RAPI server DLL
Listing 15-4: RapiFind.cpp, a stream-mode RAPI client application
Listing 15-5: CnctNote source code
Chapter 16: The Explorer Shell
Listing 16-1: TBIcons source code
Listing 16-2: The CEFind program
Chapter 17: Programming the Pocket PC
Listing 17-1: The HelloPPC application
Listing 17-2: The NewMenuX example
Chapter 18: Extending the Pocket PC
Listing 18-1: The PowerBar example
Listing 18-2: The NumPanel source code
Chapter 19: Programming the Smartphone
Listing 19-1: The HelloSP source code
Listing 19-2: The SMSTalk source code
Chapter 20: GAPI, the Game API
Listing 20-1: The GAPIShow source code
Chapter 22: Device Drivers and Services
Listing 22-1: The GenDriver example
Listing 22-2: The TickSrv example
Listing 22-3: The PCClient example
Chapter 23: Programming the .NET Compact Framework
Listing 23-1: HelloCF source code
Listing 23-2: HelloCF with a using statement
Listing 23-3: HelloCF that defines its own namespace
Listing 23-4: HelloCF written in Visual Basic .NET
Listing 23-5: The IrSquirtCF source code