Training
Certifications
Books
Special Offers
Community




 
Programming Microsoft® Windows® CE .NET, Third Edition
Author Douglas Boling
Pages 1264
Disk 1 Companion CD(s)
Level Int/Adv
Published 05/28/2003
ISBN 9780735618848
Price $59.99
To see this book's discounted price, select a reseller below.
 

More Information

About the Book
Table of Contents
Sample Chapter
Index
Related Series
About the Author

Support: Book & CD

Rate this book
Barnes Noble Amazon Quantum Books

 

Index


A
A through Z keys, 94
ABC widths, 56
Abort method, 722
accelerators, keyboard
   examples, 187-204
   overview, 185-186
accept function, 640, 643, 669
Accept key, 1094
accepting connections, 643
AcceptSocket method, 1138
access rights, 369-371, 388
AccessCode parameter, 1057
acknowledging notifications, 562-563
AC_LINE_BACKUP_POWER, 1034
AC_LINE_OFFLINE, 1034
AcLineStatus field, 1034
AC_LINE_UNKNOWN, 1034
ActionFlags field, 560
ActivateDevice function, 1048, 1051
ActivateDeviceEx function, 1049
ActivateService function, 1087, 1095
Active key, 1048, 1049
active window, 92
ActiveSync. See also RAPI (remote API)
   CeUtil DLL functions, 777-781
   described, 747
   direct socket connections, 795
   Hello World applications, 11
   notifications, 781-794
Add method, 1131
adding
   combo boxes, 219
   command bands, 238-242
   command bar buttons, 211-215
   command bar menus, 209-210
   New menu, 849
   Pocket PC notifications, 860-863
   property pages, 312
AddItem function, 549
AddName method, 720
address space
   application, 362-364, 1025-1027
   overview, 1025-1027
   virtual memory and, 359
addresses, binding socket to, 641-642
addressFamily field, 642
AddTarget method, 719
AdvertiseInterface function, 1066
advertising driver interfaces, 1066
Advise method, 715, 784-785
af parameter, 641
AF_BT, 641-642, 685
AF_INET, 641
AF_IRDA, 641-642
alert messages, 531
aligning text, 45
allocating memory. See also memory management
   heaps, 371-375
   hibernate mode, 380-381
   low-memory conditions, 380-384
   overview, 364
   stack, 375-376
   static data, 376-379
   strings, 379
   thresholds, 381-384
   type selection, 379-380
   virtual, 365-371
AllocationBase field, 369
AllocationProtect field, 369
Alt key, 94, 98, 109, 117
alternative characters, input method, 905
ambiguous text input mode, 952
animation control, 296
annunciators, 808, 809-816, 834
ANSI, 9
apostrophe key, 96
AppendMenu function, 179-181
Application class, 1127
applications. See also memory management; Pocket PC; power management; shortcuts; Smartphone
   address space, 362-364, 1025-1027
   callbacks, OBEX, 714-716
   debugging, 822
   launching, 806-807, 824-830, 869-871
   notifications, 781-794
   permissions, 1080
   service controls, 1087-1089
Apply buttons, 308
appointments, calendar, 286-289
APP_RUN_TO_HANDLE_NOTIFICATION, 562
Arc function, 74
ArcTo function, 74
ARM, 3
Arrays, Platform Invoke, 1144
ASCII, 4
assigning icons to window, 184
asterisk, 410
asterisk key, 95
asynchronous connections, 638, 961
asynchronous device detections, 717-718
asynchronous driver I/O, 1079-1084
asynchronous I/0, serial communication, 588-589
AsyncThread function, 1083
attribute flags, 387, 389
attributes
   device context, 44-46
   file or directory, 392
   supported, 388-389
   window class, 15
audio drivers, 1046
automatic
   application closing, 383
   application launches, 869-871
   event resetting, 513
   power suspensions, 1036
   service loading, 1085
   service starting, 1092
   super service starting, 1094
   window resizing, 846
AUTORADIOBUTTON, 301
auto-repeat feature, 93
auto-repeat sequence, 97
AutoRun, 869-871
AutoStartOnConnect function, 782

B
Back buttons, 266, 932, 944-947
backgrounds
   colors, 44, 46, 51, 178
   Hello World applications, 21
   Today screen items, 879
backlights, 1036-1038
backquote key, 95
backslash key, 95
backspace key, 93
backward compatibility, functions, 39
bands. See command bands control
BaseAddress field, 369
Baseband, 671
batteries. See power management
BatteryChemistry field, 1035
BATTERY_CHEMISTRY_ALKALINE, 1035
BATTERY_CHEMISTRY_LION, 1035
BATTERY_CHEMISTRY_LIPOLY, 1035
BATTERY_CHEMISTRY_NICD, 1035
BATTERY_CHEMISTRY_NIMH, 1035
BATTERY_CHEMISTRY_UNKNOWN, 1035
BatteryFlag field, 1035
BATTERY_FLAG_CHARGING, 1035
BATTERY_FLAG_CRITICAL, 1035
BATTERY_FLAG_HIGH, 1035
BATTERY_FLAG_LOW, 1035
BATTERY_FLAG_NO_BATTERY, 1035
BATTERY_FLAG_UNKNOWN, 1035
BatteryFullLifeTime field, 1035
BatteryLifePercent field, 1035
BatteryLifeTime field, 1035
BATTERY_LIFE_UNKNOWN, 1035
baud rates, 590, 594
BaudRate field, 590
bDisabled field, 962
BEGIN keyword, 183, 301
BeginPaint function, 26-27, 41
beginthreadex function, 670
bEnable flag, 100
bErase parameter, 41
bExclusive field, 962
biBitCount, 70
BI_BITFIELDS, 70
biClrImportant field, 70
biClrUsed parameter, 70
biCompression field, 70
biHeight, 70
bind function, 640-641
binding socket to address, 641-642
BindToDevice method, 718
bInheritHandle parameter, 498, 521
bInitialOwner parameter, 520
bInitialState parameter, 512
BIOS (basic input/output system), 358
BiPlanes parameter, 70
BI_RGB, 70
biSizeImage parameter, 70
bit array organization, 70
BitBlt function, 72
BITMAPINFO structure, 69, 77
BITMAPINFOHEADER structure, 69, 77
bitmaps
   brushes, 77-78
   command bars, 211-212
   custom input, 898-899, 903
   device dependent, 67
   device independent, 68
   DIB sections, 68-71
   drawing, 71-74
   menu bars, 263, 267-268
   overview, 66
   resizing, 73
   resource files, 186
   services, 1093
BITSPIXEL, 45
biWidth, 70
biXPelsPerMeter field, 70
biYPelsPerMeter field, 70
BLACK_PEN, 75
blit functions, 72, 74
blittable data types, 1142
BLOB structure, 673
block mode, 762-763
blocked threads, 500
blocking vs. nonblocking sockets, 648-651
Bluetooth. See also stream sockets
   client side, 686, 691
   described, 637
   discovery, 673-681
   examples, 692-713
   overview, 670-671
   profiles supported, 670
   server side, 685, 689
   service publications, 682-685
   stack, 671
   virtual COM ports, 687-692
   Winsock communication, 685-687
bManualReset parameter, 512
BN_CLICKED, 138
boilerplate, programs, 33
boldness, font, 53
BOOL data type, 440
bOpen parameter, 902
bounding rectangle, 79
Bounds property, 1136
bPiggyback field, 964
bReadAccess field, 532
break state, port, 595
brushes
   hatched, 78, 89
   Hello World applications, 21
   origin location, 78
   overview, 77-78
BS_3STATE, 138
BS_AUTO3STATE, 138, 177
BS_AUTOCHECKBOX, 138, 177
BS_AUTORADIOBUTTON, 138, 177
BS_BOTTOM, 139
BS_CHECKBOX, 138
BS_LEFT, 139
BS_MULTILINE, 139
BS_OWNERDRAW, 139
BS_RADIOBUTTON, 138
BS_RIGHT, 139
BS_TOP, 139
bt_addr structure, 642
BT_ADDR_GIAC, 674
BthGetCurrentMode function, 672
BTHNS_INQUIRYBLOB, 674
BTHNS_LUP_NO_ADVANCE, 675
BTHNS_LUP_RESET_ITERATOR, 675
BTHNS_SETBLOB structure, 682
BTHPROTO_RFCOMM, 641
bubbles, notification, 859
buf parameter, 644
buffer parameter, 453
buffers
   asynchronous driver I/O, 1079
   bitmaps, 69
   custom RAPI functions, 765
   enumerating network resources, 622-623
   frame, 997, 999, 1001-1003
   length, 5
   network queries, 626
   notification queries, 580
   RAPI error handling, 751
   serial communication, 593, 595
   services, 1089
   short text messages, 970
   shortcuts, 804
   SIP state, 873
   string resources, 186, 203
built-in drivers, 1045
BuiltIn key, 1047
bus drivers, 1046
busy hourglass cursor, 110
Button class, 1130
button controls, 137-140
buttons
   command bars, 211-218
   flags, 13-14
   GAPI, 1000-1001
   grouping, 301
   hardware keys, 824-830
   menu bars, 265-268
   Smartphone, 930, 939-947
bWaitAll parameter, 516
BY_HANDLE_FILE_INFORMATION structure, 395
bytes layout, bitmap, 67
ByteSize field, 591

C
C library I/O functions, 817
c parameter, 1122
C++ exception handling, 549-552
C#, 1116-1118, 1122
cache, 510, 877, 1116
calendar control, 5
Calendar item, 875
calendars, 286-289
CALLBACK, 25
callback function, 66
callbacks, OBEX, 714-716
calling, phone. See cell phones
CallingConvention field, 1142
CALLLOGENTRY structure, 960
CALLLOGSEEK_BEGINNING, 961
CALLLOGSEEK_END, 961
CallWindowProc function, 134
Cancel buttons, 300, 304, 308, 313, 865, 947
Capacity method, 1146
CapEdit control, 207, 294
capitalization, 294
Caps Lock key, 94
CAPTION, 301
caret, 41, 98
Carrier Detect, 597
cascading menus, 179
catch keyword, 549-552
CB_ADDSTRING, 142
cbBufferSize parameter, 533
cbCachedData field, 877
cbClsExtra field, 21
CB_FINDSTRING, 142
CB_GETDROPPEDSTATE, 142
CB_GETEDITSELECT, 142
cbInput parameter, 763
cbInQue field, 597
CB_INSERTSTRING, 142
cBitspPerPel parameter, 67
cbMaxMessage field, 532
cBmpImages field, 263, 941
cbOutQue field, 597
CB_SETEDITSELECT, 142
CBS_EX_CONSTSTRINGDATA, 142
CB_SHOWDROPDOWN, 142
cbSize field
   application launching, 808
   bands, 239
   device discovery, 674
   input methods, 898
   menu bars, 263
   MenuBar control, 941
   RAPI initialization, 750
   right-button clicks, 118
   scroll bars, 146
   SIP changes, 846
   SIP state queries, 873
   SMS system, 973
cbStruct field, 861
cbStructure field, 620
cBufferSize parameter, 580
cbWndExtra field, 21, 132
cbxPitch field, 999, 1001
cbyPitch field, 999, 1001
cCharacters parameter, 99
CCS_VERT, 238
cDayState field, 288
CDDB_VALIDDBFLAGS, 444
CDDB_VALIDMODTIME, 444
CDDB_VALIDNAME, 444
CDDB_VALIDSORTSPEC, 444
CDDB_VALIDTYPE, 444
CEBLOB data type, 440
CeCheckPassword function, 752
CeClearUserNotification function, 562
CeCloseHandle function, 752
CeCopyFile function, 752
CeCreateDatabase function, 755
CeCreateDatabaseEx function, 445, 447, 755
CeCreateDatabaseEx2 function, 443-447, 452
CeCreateDirectory function, 752
CeCreateFile function, 752
CeCreateProcess function, 752
CeDatabaseSeekEx function, 452
CEDB_ALLOWREALLOC, 453
CEDBASEINFO structure, 756
CEDBASEINFOEX structure, 444, 452, 458
CEDB_AUTOINCREMENT, 447
CEDB_EXNOTIFICATION, 448
CEDB_FIND_DATA structure, 756
CEDB_MAXPROPDATASIZE, 441
CEDB_MAXRECORDSIZE, 441
CEDB_NOCOMPRESS, 444
CEDB_PROPDELETE, 455
CEDB_PROPNOTFOUND, 455
CEDB_SEEK_BEGINNING, 450
CEDB_SEEK_CEOID, 450
CEDB_SEEK_CURRENT, 450
CEDB_SEEK_END, 450
CEDB_SEEK_VALUEFIRSTEQUAL, 450
CEDB_SEEK_VALUEGREATER, 450
CEDB_SEEK_VALUENEXTEQUAL, 450
CEDB_SEEK_VALUESMALLER, 450
CEDB_SORT_CASESENSITIVE, 446
CEDB_SORT_DESCENDING, 446
CEDB_SORT_IGNOREKANATYPE, 446
CEDB_SORT_IGNORENONSPACE, 446
CEDB_SORT_IGNORESYMBOLS, 446
CEDB_SORT_IGNOREWIDTH, 446
CEDB_SORT_NONNULL, 446
CEDB_SORT_UNIQUE, 445
CEDB_SORT_UNKNOWNFIRST, 446
CEDB_SYSTEMDB, 444
CeDeleteDatabaseEx function, 455, 755
CeDeleteFile function, 752
CeDeleteRecord function, 455, 755
CEDEVICE_POWER_STATE, 1043, 1068-1069
CEDIRINFO structure, 458
CeEnumDBVolumes function, 442, 755
CEFILEINFO structure, 457
CeFindAllDatabases function, 755-757
CeFindAllFiles function, 752-755, 762
CeFindClose function, 752
CE_FIND_DATA structure, 754, 762
CeFindFirstDatabase function, 755
CeFindFirstDatabaseEx function, 456, 755
CeFindFirstFile function, 752
CeFindNextDatabase function, 755
CeFindNextDatabaseEx function, 456, 755
CeFindNextFile function, 752
CE_FRAME, 597
CeGetCallerTrust function, 527
CeGetClassname function, 758
CeGetCurrentTrust function, 526
CeGetDesktopDeviceCaps function, 752
CeGetFileAttributes function, 752
CeGetFileSize function, 752
CeGetFileTime function, 752
CeGetLastError function, 751
CeGetOidGetInfo function, 754
CeGetSpecialFolderPath function, 757
CeGetStorageInformation function, 762
CeGetStoreInformation function, 751-752
CeGetSystemInfo function, 752
CeGetSystemMetrics function, 752
CeGetSystemPowerStatusEx function, 752
CeGetTempPath function, 757
CeGetThreadPriority function, 505
CeGetThreadQuantum function, 506
CeGetUserNotification function, 580
CeGetUserNotificationHandles function, 580
CeGetUserNotificationPreferences function, 561, 567
CeGetVersionEx function, 749, 752
CeGetWindow function, 758
CeGetWindowLong function, 758
CeGetWindowText function, 758
CeGlobalMemoryStatus function, 752
CEGUID, 441, 443, 447, 452, 456
CeHandleAppNotifications function, 562
cell phones. See also device-to-device communication; Short Message Service (SMS); Smartphone
   dialing, 958
   logs, 959-961
   Pocket PC, 832-833
celt parameter, 717
CeMountDBVol function, 441, 755
CeMoveFile function, 752
CEM_UPCASEALLWORDS, 294
CENOTIFICATION structure, 448
CE_NOTIFICATION_INFO_HEADER structure, 580
CE_NOTIFICATION_TRIGGER structure, 559, 562, 580
CENOTIFYREQUEST structure, 448
centering text, 43
cEntries parameter, 71
CEOID, 447
CeOidGetInfo function, 444, 755
CeOidGetInfoEx function, 755
CeOidGetInfoEx2 function, 457
CEOIDINFOEX structure, 457
CeOpenDatabase function, 755
CeOpenDatabaseEx function, 755
CeOpenDatabaseEx2 function, 447-449
CE_OVERRUN, 597
CEPROPID structure, 453
CEPROPVAL structure, 451, 455
CeRapiFreeBuffer function, 751, 755-756, 762
CeRapiGetError function, 751
CeRapiInit function, 750, 761, 777
CeRapiInitEx function, 750, 761
CeRapiInvoke function, 752, 762, 766-767, 776
CeRapiUninit function, 750-751, 762
CeReadFile function, 752
CeReadRecordProps function, 755, 757
CeReadRecordPropsEx function, 452-455, 755
CERECORDINFO structure, 458
CeRegCloseKey function, 757
CeRegCreateKeyEx function, 757
CeRegDeleteKey function, 757
CeRegDeleteValue function, 757
CeRegEnumKeyEx function, 757
CeRegEnumValue function, 757
CeRegOpenKeyEx function, 757
CeRegQueryInfoKey function, 757
CeRegQueryValueEx function, 757
CeRegSetValueEx function, 757
CeRemoveDirectory function, 752
CeRunAppAtEvent function, 557, 565
CeRunAppAtTime function, 557
CE_RXPARITY, 597
CeSeekDatabase function, 451, 755
CeSeekDatabaseEx function, 449
CeSetDatabaseInfo function, 755
CeSetDatabaseInfoEx function, 755
CeSetDatabaseInfoEx2 function, 452
CeSetEndOfFile function, 752
CeSetFileAttributes function, 752
CeSetFilePointer function, 752
CeSetFileTime function, 752
CeSetPowerOnEvent function, 1060
CeSetThreadPriority function, 505
CeSetThreadQuantum function, 506
CeSetUserNotification function, 557
CeSetUserNotificationEx function, 557-560, 563-565
CeSHCreateShortcut function, 757
CeSHGetShortcutTarget function, 757
CESVC_CUSTOM_MENU, 778
CeSvcDeleteVal function, 781
CESVC_DEVICES, 778
CESVC_DEVICE_SELECTED, 778
CESVC_DEVICEX, 778
CeSvcEnumProfiles function, 779
CESVC_FILTERS, 778
CeSvcGetBinary function, 781
CeSvcGetDword function, 781
CeSvcGetString function, 780-781
CeSvcOpen function, 777, 782
CeSvcOpenEx function, 779
CESVC_ROOT_MACHINE, 778
CESVC_ROOT_USER, 778
CESVC_SERVICES_COMMON, 778
CESVC_SERVICES_USER, 778
CeSvcSetBinary function, 781
CeSvcSetDword function, 781
CeSvcSetString function, 781-782
CESVC_SYNC, 778
CESVC_SYNC_COMMON, 778
CE_TXFULL, 597
CeUnmountDBVol function, 443, 755
CE_USER_NOTIFICATION structure, 560-561, 580
CeUtil DLL functions, 777-780
CEVT_LPWSTR constant, 446
CeWriteFile function, 752
CeWriteRecordProps function, 455, 755
cFindData parameter, 756
cHandles parameter, 580
channel field, 689
char fields, 639
character sets, fonts, 54
characters. See also SIP (soft input panel)
   cell distances, 44
   clipping, 54
   combined, 98
   filenames, 387
   Unicode, 4
   virtual keys, 93-100, 185
   widths, 53
   wildcards, 410
CharSet field, 1141
check boxes, 138
check marks, 180
checked boxes or buttons, 138, 215
CheckMenuItem function, 180
CheckPassword function, 752
child controls, 147
child driver power management, 1069
child windows, 129, 878
Choose Color dialog boxes, 315
Chord function, 74
chzAppName, 669
cidt field, 960
CIL (Common Intermediate Language), 1113, 1116
circles, 79
class field, 302
class library, Compact Framework, 1125
class registration, Today screen, 878
class styles, 20
Clear key, 94
Clear to Send (CTS) signal, 597
ClearCommBreak function, 595-596
ClearCommError function, 597
clearing notifications, 562, 565-566
ClearType, 54
CLEARTYPE_COMPAT_QUALITY, 54
CLEARTYPE_QUALITY, 54
client window areas, 26
clipping characters, 54
clipping rectangles, 44
clipping regions, 41
Clone method, 717
Close buttons, 300, 304, 308, 313-314, 834
Close commands, 834
Close function, 1058, 1091
Close method, 1138
CloseHandle function, 391, 514, 519, 521, 586, 692, 1058
CloseMsgQueue function, 534
closesocket function, 645
closing
   applications for low memory, 382
   files, 391
   phone logs, 961
   Pocket PC application copies, 843
   ports, 586, 1096
   processes, 497-498
   property sheets, 314
   registry keys, 420
   sockets, 644
CLR (common language runtime), 1120-1125
clrBack field, 240
clrBk field, 941
CLRBREAK, 596
CLRDTR, 596
clrFore field, 240
CLRIR, 596
CLRRTS, 596
clsid field, 861
CMDBAR_HELP, 220
CMDBAR_OK, 220
CNS_SIGNALLED, 581
CNT_CLASSICTIME, 562
CNT_PERIOD, 559
CNT_TIME, 559
CoCreateInstance function, 714, 784-785
code fragments, Hello World applications, 28-37
code pitching, 1116
CoInitialize function, 784
color backlit displays, 1036-1038
COLOR_BTNFACE, 140
COLOR_BTNSHADOW, 140
COLORREF, 76, 287
colors
   bitmaps, 67, 70
   brushes, 77
   controls, 178
   month calendar control, 287
   number supported, 44
   overview, 4
   owner-draw buttons, 140
   Today screen items, 879
COLOR_STATIC, 178
COM connection notifications, 783-786
COM in-proc servers, 896
combined characters, 98
combo boxes
   adding, 219
   controls, 141
   Smartphone, 950
comma key, 95
command bands control
   adding, 238-242
   configuring, 242-243
   creating, 237-238
   examples, 246-260
   height, 245
   hiding, 246
   image lists, 237
   messages, 245
   overview, 236
   saving layout, 243-245
command bar control
   bitmaps, 211-212
   buttons, 211-218
   combo boxes, 219
   creating, 209
   design guidelines, 221
   destroying, 221
   examples, 221-236
   height, 220
   hiding, 220
   image references, 213-215
   initializing, 206
   vs. menu bar, 260
   menus, 209-210
   overview, 209
   resizing, 220
   resources, 210
   tooltips, 219
   visibility, 221
CommandBands_AddAdornments function, 243
CommandBands_AddBands function, 238
CommandBands_Create function, 237, 242
CommandBands_GetCommandBar function, 242
CommandBands_GetRestoreInformation function, 243, 260
CommandBands_Height function, 245
COMMANDBANDSRESTOREINFO structure, 244, 259
CommandBands_Show function, 246
CommandBar_AddAdornments function, 220
CommandBar_AddBitmap function, 211, 213, 216
CommandBar_AddButtons function, 213
CommandBar_AddToolTips function, 219
CommandBar_Align_Adornments function, 220
CommandBar_Create function, 209
CommandBar_Destroy function, 221
CommandBar_DrawMenuBar function, 210
CommandBar_GetMenu function, 210
CommandBar_InsertButton function, 214
CommandBar_InsertComboBox function, 219
CommandBar_InsertMenubar function, 209
CommandBar_InsertMenubarEx function, 210
CommandBar_IsVisible function, 221
CommandBar_Show function, 220
command-line interface services, 1098
command-line parameters, 9
CommCrtl.h file, 207
COMMTIMEOUTS structure, 592, 1061
committed virtual pages, 360
common controls. See also command bands control; command bar control; menu bar control
   CapEdit, 294
   date and time picker, 289-291
   initializing, 206
   list view, 292-294
   month calendar, 286-289
   overview, 205
   programming, 206-208
   progress bar, 295
   status bar, 295
   tab, 295
   toolbar, 296
   trackbar, 295
   tree view, 296
   unsupported, 296
   up-down, 295
common dialog boxes, 314
Common Intermediate Language (CIL), 1113, 1116
common language runtime (CLR), 1120-1125
COMMPROP structure, 594
communication. See device-to-device communication; interprocess communication; serial communication
Compact Framework. See .NET Compact Framework
comparing Windows CE to standard Windows, 3-7
compile targets, Hello World applications, 11
compile-time versioning, 1030-1031
componentization, 5
compression, 70, 393
COMSTAT structure, 597
concatenation, 968
concurrent versions, Hello World applications, 14
CONNDLG_RO_PATH, 618
connect function, 640, 643
Connect method, 669, 718, 1138
CONNECTDLGSTRUCT structure, 618
connectionless sockets, 644
connection-oriented connections. See stream sockets
connectivity. See also desktop connectivity; networks
   datagram, 639, 645
   enumeration, 965
   Hello World applications, 11
   Smartphone connection manager, 961-965
   status, 964-965
   stream, 639-645
CONNECT_UPDATE_PROFILE, 618-619
CONNMGR_CONNECTIONINFO structure, 962
ConnMgrConnectionStatus function, 963-964
CONNMGR_DESTINATION_INFO structure, 965
ConnMgrEnumDestinations function, 962, 965
ConnMgrEstablishConnection function, 961, 962
CONNMGR_PARAM_DESTNETID, 962
CONNMGR_PRIORITY_LOWBKGND, 962
CONNMGR_PRIORITY_VOICE, 962
ConnMgrRegisterScheduledConnection function, 963
ConnMgrUnregisterScheduledConnection function, 964
console
   applications, 817-823
   drivers, 818, 822-823
   Hello World applications, 11
   services, 1093, 1098
   windows, 818
Console class, 1117-1118
const keyword, 378
Context registry value, 1086, 1095
CONTEXT structure, 555
CONTROL, 953, 955
Control class, 1127, 1134
CONTROL keyword, 185, 301
CONTROL statement, 301
ControlBox property, 1133
control-break processing, 93
CONTROL_C_EXIT, 555
ControlCollection class, 1131
controls. See also common controls; dialog boxes; soft keyboards
   buttons, 137-140
   colors, 178
   combo boxes, 141
   edit, 140
   examples, 147-178
   group boxes, 138
   order, 950
   overview, 5, 135-137
   scroll bar, 143-147
   Smartphone, 950-956
   static, 142
   Windows Forms applications, 1130-1131
Controls property, 1131
converting
   ASCII and Unicode, 639
   font point size, 53
   thread to fiber, 507
ConvertThreadToFiber function, 507
coordinate transformations, 40
coordinates, text formatting, 44-45
CopyFile function, 409
copying files, 409
cPlanes parameter, 67
cPropID parameter, 455
CPUs, 3, 10, 501
crColor parameter, 76-77
Create method, 1134
CREATE_ALWAYS, 388-389, 442
CreateBitmap function, 67, 70
CreateCompatibleBitmap function, 67
CreateCompatibleDC function, 72
CreateDialog function, 307, 880
CreateDialogIndirect function, 307
CreateDialogIndirectParam function, 307
CreateDialogParam function, 307
CreateDIBPatternBrushPt function, 77, 89
CreateDIBSection function, 69-70
CreateDirectory function, 409
CreateEvent function, 512, 559
CreateFiber function, 508
CreateFile function, 388-390, 405, 586, 690, 1052
CreateFileForMapping function, 406-408
CreateFileMapping function, 529, 546
CreateFontIndirect function, 53, 54
CreateHatchBrush function, 78, 89
CREATE_INVALIDGUID macro, 442
CreateMenu function, 179
CreateMsgQueue function, 531
CreateMutex function, 520
CREATE_NEW, 388, 442
CREATE_NEW_CONSOLE, 495
CreateNewItem method, 850
CreatePen function, 76
CreatePenIndirect function, 76
CreatePopupMenu function, 179
CreateProcess function, 494-497, 516, 806
CreatePropertySheetPage function, 311
CreateSemaphore function, 519
CreateSolidBrushes function, 77
CREATESTRUCT structure, 127
CREATE_SUSPENDED, 495, 503
CREATE_SYSTEMGUID macro, 443, 456
CreateThread function, 376, 502-504, 670
CreateWindow function, 22-23, 130, 136, 177, 286, 845, 956
CreateWindowEx function, 22-23, 130, 136
cRegEnts parameter, 1049
critical memory state, 381-384
critical sections, 521-523
CRITICAL_SECTION structure, 522
cross-platform applications
   overview, 1028
   power management
      changing, 1036-1039
      overview, 1033
      Power Manager, 1039-1043
      querying state, 1033-1035
   versions
      compile-time, 1030-1031
      explicit linking, 1032
      overview, 1028-1030
      run-time checking, 1032-1033
CSADDR_INFO structure, 675
CS_DBLCLKS, 20, 109
csDuration field, 861
CS_GLOBALCLASS, 20
CS_HREDRAW, 20, 847
CSIDL_APPDATA, 956
CSIDL_BITBUCKET, 801
CSIDL_DESKTOP, 801
CSIDL_DRIVES, 802
CSIDL_FAVORITES, 802
CSIDL_FONTS, 802
CSIDL_PERSONAL, 802
CSIDL_PROGRAMS, 802, 805
CSIDL_RECENT, 802
CSIDL_STARTMENU, 805
CSIDL_STARTUP, 802
CS_NOCLOSE, 20
CS_PARENTDC, 20
CS_VREDRAW, 20, 847
CTL_CODE macro, 1061
CtlID field, 139
CtlType field, 139
Ctrl key, 94, 98, 109
Ctrl+Q, 847
CTS (Clear to Send) signal, 597
current
   console settings, 822
   databases, 456
   directory, 385
   file positions, 391
   driver power state, 1069
   memory state, 360-362
   mounted database volumes, 442
   point functions, 75
   services running, 1088
   SIP, 872, 874
   time displays, 834
   time estimates, 973
cursors. See mouse; touch screens
custom button appearance, 139
custom commands, service, 1093
custom controls, 866
custom date and time picker format, 290-291
custom pens, 76
custom Pocket PC input methods
   components, 896
   examples, 905-928
   IIMCallback interface, 896-897, 902-905, 928
   IIMCallback2 interface, 896, 902-905, 928
   IInputMethod interface, 895-901, 907
   IInputMethod2 interface, 895-902, 928
   overview, 895
   threads, 896
custom RAPI functions, 762-768
custom Start menu, 805
custom Today screen items
   debugging, 881
   examples, 881-895
   implementing, 876-880
   item window, 878-879
   options dialog, 880
   overview, 875
   refreshing, 880
   registering, 880
   user interaction, 879
custom windows, 1128
CustomItemOptionsDlgProc function, 876, 894
customizing Windows CE, 5
Cut bitmap image, 268
CW_USEDEFAULT, 23, 845
cxIdeal field, 241
cxMinChild field, 240
cxWidth field, 999
cyHeight field, 999
cyMinChild field, 240
cyp field, 877-878, 894

D
dashed lines, 76
Data Set Ready (DSR) signal, 597
data transfers, sockets, 644
data types
   CLR, 1120-1122
   databases, 439-440
   managed vs. unmanaged, 1142
   overview, 5
   registry, 419
databases
   communication, 534
   creating, 443-447
   data types, 439-440
   deleting, 455
   designing, 440
   enumerating, 456
   examples, 458-488
   indexes, 440
   information queries, 457-458
   mounted, 441-442
   object store, 443
   opening, 447-449
   overview, 439-440
   RAPI functions, 755-757
   reading records, 452-455
   searching records, 449-452
   sort order, 452
   type values, 444
   unmounted, 443
   volumes, 441
   writing records, 455
datagram connections, 639, 645
date and time picker control, 5, 206, 289-291
DATETIMEPICK_CLASS, 289
days, calendar, 286-289
DB_CEOID_CHANGED, 449
DB_CEOID_CREATED, 449
DB_CEOID_DATABASE_DELETED, 449
DB_CEOID_RECORD_DELETED, 449
DBGPARAM structure, 1071
dbSize field, 960
DC (device contexts). See device contexts (DC)
DCB structure, 589, 594
DCBlength field, 590
DCX_LOCKWINDOWUPDATE, 42
DCX_NORESETATTRS, 42
DCX_PARENTCLIP, 42
DCX_VALIDATE, 42
DDBs (device dependent bitmaps), 67
dead characters, 98
debug zones, 1070-1071
debugging
   console and, 822
   service zone bitmaps, 1093
   Today screen items, 881
DEBUG_ONLY_THIS_PROCESS, 495
DEBUG_PROCESS, 495
DEBUGREGISTER macro, 1071
DEBUGZONE macro, 1070, 1079
decommit virtual memory, 368
DEF (function definition) files, 765
default
   file system, 386
   fonts, 53, 55
   local heaps, 364
   stack size, 376
DEFAULT_QUALITY, 54
DefWindowProc function, 35-36
Deinit function, 1057, 1087, 1090
delegate keyword, 1122
delegates, CLR, 1122-1123
Delete key, 94
DeleteCriticalSection function, 523
DeleteDC function, 73
DeleteFiber function, 508
DeleteFile function, 409
DeleteObject function, 66
deleting
   connections, 619
   critical sections, 523
   database records, 455
   databases, 455
   directories, 409
   event objects, 514
   fibers, 508
   files, 409
   fonts, 57
   mutexes, 521
   registry keys, 419
   registry values, 419, 781
   semaphores, 519
DeregisterDevice function, 692, 1050
DeregisterService function, 1089, 1092
Deselect method, 901
desktop connectivity
   CeUtil DLL functions, 777-781
   direct socket, 795
   notifications
      COM method, 783-786
      examples, 786-794
      overview, 781
      registry method, 782-783
      Windows CE side, 794
   overview, 747
   RAPI
      custom functions, 762-768
      ending sessions, 751
      error handling, 750
      examples, 758-762, 768-777
      initializing, 750
      overview, 748
      pre-defined functions, 751-758
      versions, 749
desktops, described, 129
DestroyCommandBand function, 260
destroying
   command bars, 221
   directories, 409
   event objects, 514
   fibers, 508
   fonts, 57
   mutexes, 521
   semaphores, 519
   separate heap, 375
   windows, 27, 36
DestroyWindow function, 308
detecting running applications, 827
DEVFLAGS_LOADLIBRARY, 1049
DEVFLAGS_NAKEDENTRIES, 1049
DEVFLAGS_NOLOAD, 1049
DEVFLAGS_UNLOAD, 1049
device attributes, 388
device context handles, 1056
device contexts (DC)
   attributes, 44-46
   bitmaps, 71
   described, 26
   DIB, 69
   fonts, 54-57
   overview, 41-43
   window regions, 41
device dependent bitmaps (DDBs), 67
device discovery
   Bluetooth, 672-681
   OBEX, 716-718
device drivers. See also stream device drivers
   asynchronous I/O, 1079-1084
   building, 1070-1071
   debug zones, 1070-1071
   enumerating, 1050-1052
   examples, 1071-1079
   interface classes, 1065-1067
   load process, 1047-1050
   names, 1046, 1052
   overview, 1045
   power management, 1067-1070
   reading, 1052-1054
   types, 1045-1046
   unloading, 1050
   writing, 1052-1054
device escape codes, 1037
device field, 689
device independent bitmaps (DIBs), 68-71, 77
Device Manager, 1046-1047, 1051, 1054-1056, 1084
DeviceDx field, 1069
DeviceFlags parameter, 1043
DeviceIoControl function, 691, 1053, 1061, 1087
DEVICELIST structure, 646
DevicePowerNotify function, 1068
DeviceState parameter, 1043
device-to-device communication
   Bluetooth
      discovery, 672-681
      examples, 692-713
      overview, 670-671
      service publications, 682-685
      stack, 671
      virtual COM ports, 687-692
      Winsock, 685-687
   IrSock, 645-651
   OBEX
      application callbacks, 714-716
      communication process, 718-720
      discovery, 716-718
      examples, 720-744
      initializing, 714
      overview, 714
   overview, 637
   sockets, 638
DHCP (Dynamic Host Configuration Protocol), 1098
dialing. See cell phones
dialog boxes
   Choose Color, 315
   common, 314
   creating, 302-303
   examples, 316-353
   File Open, 314
   full-screen, 865-866
   informational, 866-867
   input dialogs, 866-867
   modeless vs. modal, 307-308
   overview, 297-298
   Pocket PC, 864-869
   Print, 315
   procedures, 303-308
   property sheets, 297, 308-314, 868-869
   Save As, 315
   scrolling, 950
   Smartphone, 949-950
   styles, 300
   templates, 298-302
   title bars, 300
   Today item options, 880, 882
   types, 298
   units, 299
Dialog Manager, 298
DialogBox function, 302-303
DialogBoxIndirect function, 303
DialogBoxIndirectParam function, 303-304
DialogBoxParam function, 302-304
dialogs. See dialog boxes
DIB_PAL_COLORS, 77
DIB_RGB_COLORS, 71, 77
DIBs (device independent bitmaps), 68-71, 77
dimensions, text, 43
direct memory access (DMA), 367
direct socket connectivity, 795
directories
   creating, 409
   current, 385
   described, 800
   destroying, 409
   vs. drives, 413-415
   information queries, 392-393
   management functions, 409
   moving, 409
   names, 386, 409
   searching, 410-413
   special folders, 801-803
directory management RAPI functions, 752-755
DirectX, 997
disabled buttons, 138, 215
DisableThreadLibraryCalls function, 493
DISCARDABLE keyword, 183, 185
discardable keyword, 299
DISCDLGSTRUCT structure, 620
DISC_NO_FORCE, 620
Disconnect method, 721
disconnecting remote resources, 619-620
DiscoverDevices method, 1137
discovery process
   Bluetooth, 672-681
   OBEX, 716-718
DispatchMessage function, 24, 303, 307
display DC, 42, 44
displaying
   menus, 181
   Pocket PC notifications, 859
   SIP, 846-847
   text, 43
displays. See also drawing
   GAPI, 999-1000
   overview, 4
   power management, 1036-1038
   stylus, 109
   user feedback, 110
   writing storage, 110-116
Dispose method, 1138
DLGTEMPLATE structure, 303
DLL Hell, 998
DLL key, 1047
DllCanUnloadNow function, 896
DllGetClassObject function, 896
DllImport attribute, 1140
DllMain function, 492
DllRegisterServer function, 896
DLLs
   debugging, 822
   vs. EXE, 489-493
   trusted vs. untrusted, 525-527
DLL_THREAD_ATTACH, 493
DLL_THREAD_DETACH, 493
DllUnregisterServer function, 896
DMA (direct memory access), 367
DM_RESETSCROLL, 950
DM_SETCHECK, 138
Do prefix, 35
DoCreateBtnWnd function, 177
documents, recently used, 805
Documents submenu, 805
DoDestroyMain, 35
DoMouseSip routine, 928
DONT_RESOLVE_DLL_REFERENCES, 492
DoOpenMain, 405
DoPaintMain, 35
DoPaintSip routine, 928
Double data type, 440
double screen taps, 109
Down Arrow key, 94
down state, key, 98
down volume button, 945
dpCurrParams structure, 1093
DRAFT_QUALITY, 54
drag list control, 296
DrawButton function, 178
DrawEllipse method, 1130
drawing
   bitmaps, 66-74
   device contexts, 41-43
   GAPI, 1001
   lines, 74-75
   overview, 39-40
   pens, 75-77
   regions, 40-41
   shapes
      brushes, 77-78
      circles, 79
      ellipses, 79
      examples, 82-89
      fill functions, 80-82
      overview, 77
      polygons, 80
      rectangles, 78-80
   WM_PAINT, 40-43
DRAWITEMSTRUCT structure, 139
DrawText function, 27, 43, 51
drivers. See also serial communication; stream device drivers
   asynchronous I/O, 1079-1084
   Bluetooth, 687
   building, 1070-1071
   debug zones, 1070-1071
   enumerating, 1050-1052
   examples, 1071-1079
   interface classes, 1065-1067
   load process, 1047-1050
   names, 1046, 1052
   overview, 1045
   power management, 1067-1070
   reading, 1052-1054
   types, 1045-1046
   unloading, 1050
   writing, 1052-1054
drives vs. directories, 386, 413-415
drop-down buttons, 216-218
drop-down combo boxes, 141
drop-down list combo boxes, 141
DS_ABSALIGN, 300
DS_CENTER, 300
DS_MODALFRAME, 300
DSR (Data Set Ready) signal, 597
DS_SETFONT, 300
DS_SETFOREGROUND, 300
DT_CALCRECT, 43, 51
DT_CENTER, 43
DTM_SETFORMAT, 290
DTN_FORMAT, 291
DTN_FORMATQUERY, 291
DTN_USERSTRING, 290
DTN_WMKEYDOWN, 291
DTR_CONTROL_DISABLE, 590
DTR_CONTROL_ENABLE, 591
DTR_CONTROL_HANDSHAKE, 591
DTS_APPCANPARSE, 290
DT_SINGLELINE, 43
DTS_LONGDATEFORMAT, 289
DTS_SHORTDATEFORMAT, 289
DTS_SHOWNONE, 289
DTS_TIMEFORMAT, 289
DTS_UPDOWN, 289
DTVCENTER, 43
duplicate synchronization handles, 521
DUPLICATE_CLOSE_ACCESS, 521
DuplicateHandle function, 521
DUPLICATE_SAME_ACCESS, 521
dwActiveProcessorMask field, 361
dwAdditionalFlags parameter, 412
dwAllocationGranularity field, 361
dwAvailPageFile field, 362
dwAvailPhys field, 361
dwAvailVirtual field, 362
dwBufferSize parameter, 970
dwBytes parameter, 374-375
dwCapability parameter, 719
dwContext registry value, 1050
dwControlFlags parameter, 682
dwConversion parameter, 902
dwCreationDistribution parameter, 388-389
dwCreationFlags parameter, 495, 497, 503
dwCurrentMessages field, 534
dwCurrentRxQueue field, 595
dwCurrentTxQueue field, 595
dwData field, 214
dwData parameter, 1090
dwDbaseType field, 444
dwDbaseType parameter, 456
dwDesiredAccess parameter, 388, 406, 521
dwDeviceFlags parameter, 1068
dwDevNum field, 619
dwDisplayType field, 622
dwEvent field, 559, 564
dwExStyle parameter, 22
dwFileAttributes field, 754
dwFlags field, 118, 263, 309, 448, 962
dwFlags parameter
   database creation, 444
   database opening, 447-448
   keyboard functions, 99
   memory allocations, 374
   message queues, 532
   modules, 492
   mounted database volumes, 442
   records, reading, 453
   remote drives, 618
   SIP changes, 847
dwFlagsAndAttributes parameter, 389, 586
dwFreeType parameter, 368
dwFunc parameter, 596
dwHeight parameter, 1002
dwID field, 861
dwID parameter, 863
dwImDataSize field, 873
dwIndex parameter, 420
dwInfo parameter, 1050
dwInfoLevel parameter, 626
dwInitialSize parameter, 374
dwIoControlCode parameter, 1053
dwLength field, 361
dwLength parameter, 369
dwLenIn parameter, 1061
dwLenOut parameter, 1061
DWL_MSGRESULT, 314
DWL_USER, 351
dwMacRxQueue field, 595
dwMacTxQueue field, 595
dwMask field, 865, 943
dwMaxBaud field, 594
dwMaximumSize parameter, 374
dwMaxMessages field, 532, 534
dwMaxQueueMessages field, 534
dwMemoryLoad field, 361
dwMessage parameter, 808
dwMessageModes parameter, 966
dwMessageStatus field, 972
dwMilliseconds function, 507
dwMilliseconds parameter, 514
dwMoveMethod parameter, 391
dwNameSpace field, 673, 682
dwNumberOfBytesToMap parameter, 407
dwNumberOfProcessors field, 361
dwOffset parameter, 71
dwOffsetScore field, 905
dwOffsetSymbols field, 905
dwOID field, 395, 754
dwOptions parameter, 521
dwOrder field, 877
dwOut parameter, 1092
dwPageSize field, 361
dwParam field, 448
dwParams field, 962
dwPlatformId field, 1032
dwPriority field, 962
dwProcessorType field, 361
dwProvCapabilities field, 595
dwProviderSpecificDataBuffer parameter, 970
dwProviderSpecificDataSize parameter, 967
dwProvSpec1 field, 595
dwProvSpec2 field, 595
dwProvSub field, 595
dwRop parameter, 72
dwScope parameter, 620
dwSeekType parameter, 450
dwSentence parameter, 902
dwServiceMask field, 595
dwServiceState field, 1089
dwSettableBaud field, 594
dwSettableData field, 595
dwSettableParams field, 595
dwSettableStopParity field, 595
dwShareMode parameter, 388
dwSize field, 309, 445, 449, 532, 673
dwSize parameter, 365, 368-369, 442, 534, 900
dwState parameter, 871
dwStyle parameter, 130, 219
dwStyles parameter, 237
dwTimeout field, 972
dwTimeout parameter, 533, 963
dwTop parameter, 1002
dwTotalPageFile field, 362
dwTotalPhys field, 361-362
dwTotalVirtual field, 362
dwType field, 559, 622
dwType parameter, 619
dwUsage parameter, 621
dwValue parameter, 451
dwVolumeSerialNumber field, 395
dwWakeMask, 517
Dynamic Host Configuration Protocol (DHCP), 1098

E
echo requests, 641
edit boxes, Smartphone, 944, 951
edit controls, 5, 140, 301, 945-954
editing registry, 421
editing window structure values, 132-135
EDITTEXT, 301
E_FAIL, 750-751, 898
EIM_AMBIG, 952
EIM_NUMBERS, 952
EIM_SPELL, 952
EIM_TEXT, 952
Ellipse function, 79
ellipses, 79
eMbedded Visual C++, 10, 36
EM_GETINPUTMODE, 952
empty projects, 10
EM_SETEXTENDEDSTYLE, 952
EM_SETINPUTMODE, 952
EM_SETSEL, 140
EM_SETSYMBOLS, 952
emulators, Hello World applications, 10
EnableChanged event, 1137
Enabled property, 1136
EnableMenu function, 944
EnableMenuItem function, 180
end, setting file, 392
End key, 94
END keyword, 183, 301
EndDialog function, 304, 308
ending RAPI sessions, 751
EndPaint function, 26-27, 41
Enter key, 94
EnterCriticalSection function, 522
entry points
   application, 817
   service DLL, 1089-1091
   stream device drivers, 1054-1065
   Today screen, 875
Entry registry value, 1049
EntryPoint field, 1141
EnumDevices method, 716
EnumerateFontFamilies function, 65
enumerating
   connections, 965
   databases, 456
   drivers, 1050-1052
   fonts, 57
   mounted database volumes, 442
   network resources, 620-625
   processes, 527
   registered devices, 779-780
   registry keys, 420
   services, 1088
   windows, 131
EnumFontFamilies function, 58, 65
EnumProperties method, 722
EnumServices function, 1088
EnumWindows function, 131, 527
equal key, 95
erasing backgrounds, 879
ERROR_ALREADY_EXISTS, 389
ErrorChar field, 591
ERROR_FAIL, 959
ERROR_INSUFFICIENT_BUFFER, 533
ERROR_INVALID_PARAMETER, 1062
ERROR_NO_MORE_ITEMS, 420, 623, 780
ERROR_NO_NETWORK, 616
errors. See also exception handling
   RAPI, 750
   serial communication, 597
ERROR_SUCCESS, 966
escape codes, 1037
EscapeCommFunction function, 596
ES_EX_CLEARONBACKPRESSHOLD, 953
ES_LOWERCASE, 140
ES_MULTILINE, 140
ES_PASSWORD, 140
ES_READONLY, 140
ES_UPPERCASE, 140
Ethernet links, 795
EV_BREAK, 588
EV_CTS, 588
EV_DSR, 588
EVENPARITY, 591
Event parameter, 715
events
   CLR, 1122-1123
   memory state, 381-382
   notifications, 563-566
   objects, 512-514
   window procedure, 15-17
   Windows Forms applications, 1131-1132
   Winsock, 638
EV_ERR, 588
EV_RLSD, 588
EV_RXCHAR, 588
EV_RXFLAG, 588, 592
EvtChar field, 592
EV_TXEMPTY, 588
__except keyword, 552-556
exception handling
   C++, 549-552
   overview, 549
   Win32, 552-556
EXCEPTION_ACCESS_VIOLATION, 555
EXCEPTION_CONTINUE_EXECUTION, 554
EXCEPTION_EXECUTE_HANDLER, 553
EXCEPTION_NONCONTINUABLE, 556
EXCEPTION_RECORD structure, 555
EXE files, 489-493
Execute in Place (XIP), 358, 362, 364, 387
Execute key, 94
exit codes, process, 497, 504
Exit commands, 834
ExitProcess function, 497
ExitThread function, 497, 504
expandable edit controls, 953-954
expanded memory, 359
explicit DLL loading, 490
explicit linking, 1032
Explorer shell
   application launching, 806-807, 824-830
   memory management, 817
   namespace, 800
   overview, 799-800
   recent documents list, 805
   shortcuts, 804
   special folders, 801-803
   Start menu, 805
   taskbars, 808-816
EXSTYLE, 300
extended memory, 359
extended style flags, listed, 22
extensions, file, 387
external entry points, 25
external storage, 869
ExtEscape function, 1037
extra spaces, 21, 376
ExtTextOut function, 44, 45, 65

F
fAbortOnError field, 591
fAdd parameter, 1066
FAD_FLAGS, 756
FAD_NAME, 756
FAD_NUM_RECORDS, 756
FAD_NUM_SORT_ORDER, 756
FAD_OID, 756
FAD_SORT_SPEC, 756
FAD_TYPE, 756
FAF_ATTRIB_CHILDREN, 753
FAF_ATTRIB_NO_HIDDEN, 753
FAF_ATTRIBUTES, 753
FAF_CREATION_TIME, 753
FAF_FOLDERS_ONLY, 753
FAF_LASTACCESS_TIME, 753
FAF_LASTWRITE_TIME, 753
FAF_NAME, 753
FAF_NO_HIDDEN_SYS_ROMMODULES, 753
FAF_OID, 753
FAF_SIZE_HIGH, 753
FAF_SIZE_LOW, 753
family, font, 54, 58, 65
fBinary field, 590
FCL (Framework Class Library), 1125
fConnected field, 960
fCreate parameter, 778, 801
FD_CLR, 650
FD_ISSET, 650
FD_SET, 650
fd_set, 650
fDsrSensitivity field, 591
fDtrControl field, 590
fdwFlags field, 873, 899-900, 903
FD_ZERO, 650
feedback, user screen, 110
fEnabled field, 877
fEnded field, 960
fEor field, 597
fErase field, 27
fErrorChar field, 591
ffFormat field, 1000
fForce parameter, 619
FiberProc function, 508
fibers, 507-509
file API. See file system
file browsing service, 719
file communication, 534
file formats, modules, 489-493
File Index value, 395
file management RAPI functions, 752-755
File menu keys, 185
File Open dialog boxes, 314
file pointers, 390-391
file system. See also object store
   closing files, 391
   copying files, 409
   creating directories, 409
   creating files, 388-390
   deleting files, 409
   destroying directories, 409
   drives vs. directories, 413-415
   examples, 396-405
   file times, 393-394
   filename formats, 386, 410
   finding files, 410-413
   information queries, 392-395
   I/O, 387
   management functions, 409
   memory-mapped, 406-408
   moving files, 409
   object store vs. other media, 387
   opening files, 388-390
   overview, 385-387
   pointers, 391
   reading files, 390, 406-408
   security, 385
   temporary files, 410
   truncating files, 392
   types, 387
   writing files, 390, 406-408
FILE_ATTRIBUTE_ARCHIVE, 389
FILE_ATTRIBUTE_COMPRESSED, 392
FILE_ATTRIBUTE_DIRECTORY, 392
FILE_ATTRIBUTE_HAS_CHILDREN, 755
FILE_ATTRIBUTE_HIDDEN, 389
FILE_ATTRIBUTE_INROM, 392
FILE_ATTRIBUTE_NORMAL, 389
FILE_ATTRIBUTE_OFFLINE, 389
FILE_ATTRIBUTE_READONLY, 389
FILE_ATTRIBUTE_ROMMODULE, 392
FILE_ATTRIBUTE_SYSTEM, 389
FILE_ATTRIBUTE_TEMPORARY, 393, 413-414, 754
FILE_BEGIN, 391, 1059
FILE_CURRENT, 391, 1059
FILE_END, 391, 1059
FileFindFirst function, 616, 625
FileFindNext function, 616, 625
FILE_FLAG_BACKUP_SEMANTICS, 389
FILE_FLAG_DELETE_ON_CLOSE, 389
FILE_FLAG_NO_BUFFERING, 389
FILE_FLAG_OVERLAPPED, 387, 389, 586
FILE_FLAG_POSIX_SEMANTICS, 389
FILE_FLAG_RANDOM_ACCESS, 389, 535
FILE_FLAG_SEQUENTIAL_SCAN, 389
FILE_FLAG_WRITE_THROUGH, 389
FILE_MAP_ALL_ACCESS, 407
FILE_MAP_READ, 407
FILE_MAP_WRITE, 407
FILE_SHARE_READ, 388
FILE_SHARE_WRITE, 388
FILETIME data type, 440
FILETIME structure, 393, 960
FileTimeToLocalFileTime function, 394
FileTimeToSystemTime function, 394
fill functions, 80-82
filled rectangles, 78
FillRect function, 80
__finally keyword, 556
FindClose function, 411
FindExInfoStandard constant, 412
FindExSearchLimitToDevices function, 1050
FindExSearchLimitToDirectories value, 412
FindExSearchNameMatch value, 412
FindFirstFile function, 410-413
FindFirstFileEx function, 412, 1050
finding files, 410-413
finding device drivers, 1050-1052
finding windows, 131
FindNextFile function, 411, 413
FindSrv function, 773
FindWindow function, 34, 131, 527-528, 563, 843
fInfoLevelId parameter, 412
FIONBIO, 649
FIONREAD, 649
flags
   attribute, 387, 389
   buttons and icons, 13-14
   common controls, 206
   extended, 22
   supported, 388-389
   text alignment, 45
   text formatting, 43
Flags field, 1041, 1069
flags parameter, 42, 644
Flags value, 1049
flAllocationType parameter, 365
flash card volumes, opening, 390
flash memory, 956
flncUpdate field, 27
flNewProtect parameter, 369
fLocal field, 689
flOptions parameter, 373
flProtect parameter, 366, 406
FlushFileBuffers function, 392
FlushViewOfFile function, 407
fMask field, 146, 239, 807
fMaximized field, 245
fmode, 45
fnBar field, 147
fnBar parameter, 146
fNull field, 591
focus, input, 92-92
folders, 800-803
FontFamily function, 65
FontFamilyCallback function, 65
fonts
   available, 57
   boldness, 53
   characteristics, 55-57
   creating, 53-54
   destroying, 57
   enumerating, 57
   examples, 58-66
   family, 54, 58, 65
   height, 53, 56
   overview, 52-52
   raster, 52
   selecting into device context, 54
   sharpening, 54
   TrueType, 52
   types supported, 52
   width, 53, 56
fOptions field, 682
fOptions flag, 877
foreground colors, text, 44, 51
Form class, 1128
Format method, 1124
formats
   date and time picker control, 289-291
   filenames, 386, 410
   modules, 489-493
   text, 43
FormBorderStyle property, 1133, 1136
forms, top-level, 1133
FormWindowState property, 1133
fOutCtsFlow field, 590
fOutgoing field, 960
fOutX field, 591
fParity field, 590
fragmenting local heaps, 373, 379
frame buffer, 997, 999, 1001-1003
Framework Class Library (FCL), 1125
fRedraw parameter, 146
Free method, 803
free space, 414-415
free virtual pages, 360
freeing
   local heap memory, 372
   memory, 871
   resources, GAPI, 1003
   separate heap, 375
   separate heap memory, 374
   virtual memory, 368
FreeLibrary function, 491
free-memory levels, 381-384
fRemoveFromRegistry parameter, 1096
fRestore field, 27
friendly names, driver, 1052
fRoam field, 960
fRtsControl field, 591
fSearchOp parameter, 412, 1050
fSecurity field, 682
fShow parameter, 221
fSizeOnDraw field, 877
fsModifiers parameter, 828
fsState field, 213, 943
fsStyle field, 214
fStyle field, 239
ftEndTime field, 960
ftLastModified field, 445
FTP service, 719
ftStartTime field, 960
fTXContinueOnXoff field, 591
fTxim field, 597
fuFlags field, 218
fuFlags parameter, 179
full-screen dialog boxes, 865-866
full-screen windows, 871
FuncName function, 763
function calls, 6
function definition (DEF) files, 765
function keys, 97
fWinIni parameter, 872

G
gaining window focus, 92
Game API (GAPI)
   buttons, 1000-1001
   displays, 999-1000
   drawing to screen, 1001
   examples, 1004-1021
   frame buffer, 1001-1003
   functions, 998
   hardware keys and, 829
   initialization, 998-1001
   overview, 997-998
   partial screen display, 1002
   Pocket PC, 997
   releasing, 1003
   resuming, 1003
   Smartphone, 997
   starting, 1001
   suspending, 1003
   versioning, 997
garbage collection, 1116
gateways, 1098
GDI (Graphics Device Interface), 40
GE_HWNDFIRST, 131
generic functions, 762
GENERIC_READ, 388, 406
GENERIC_WRITE, 388, 406
Get method, 720
GetAsyncKeyState function, 99
GetCallerProcess function, 1063
GetCapture function, 117
getchar, 9
GetCharABCWidths function, 56
GetCharWidth32 function, 57
GetClientRect function, 26, 898
GetCommMask function, 588
GetCommModemStatus function, 597
GetCommProperties function, 590, 594
GetCommState function, 589
GetCommTimeouts function, 592
GetConfigData function, 1079
GetCurrentPermissions function, 1080
GetCurrentPositionEx function, 74
GetCurrentProcess function, 521, 1063
GetDC function, 42
GetDCEx function, 42
GetDesktopWindow function, 132
GetDeviceCaps function, 40, 44, 53, 76, 752, 1033
GetDialogBaseUnits function, 299
GetDIBColorTable function, 71
GetDiskFreeSpaceEx function, 414, 762, 765
GetDlgItem function, 136, 219
GetEventData function, 514
GetExceptionCode function, 555
GetExceptionInformation function, 555
GetExitCodeProcess function, 497
GetExitCodeThread function, 504
GetFiberData function, 507
GetFileAttributes function, 392
GetFileInformationByHandle function, 395
GetFileSize function, 394, 405
GetFileTime function, 393
GetFocus function, 92
gethostbyname function, 795
GetImData method, 900
GetInfo method, 898-899, 928
GetItemInfo function, 488
GetKeyboardStatus function, 100
GetKeyState function, 98, 109, 117
GetLastError function, 389, 392, 618
GetMessage function, 23-24, 303, 307, 502
GetModuleFileName function, 870
GetMouseMovePoints function, 111
GetMsgQueueInfo function, 533
GetObject function, 73
GetParent function, 130
GetProcAddress function, 352, 491, 749, 1054, 1087
GetProcessHeap function, 375
GetRapiStat method, 767
GetScrollInfo function, 147
GetServiceHandle function, 1088, 1096
getsockopt function, 645, 647, 669
GetStockObject function, 21, 75, 77, 89
GetStoreInformation function, 362, 415, 751
GetStream method, 1138
GetStudioPathW function, 822
GetSysColor function, 140
GetSysColorBrush function, 178
GetSystemInfo function, 360, 870
GetSystemPowerStatusEx function, 894
GetSystemPowerStatusEx2 function, 1033
GetTempFileName function, 410
GetTextColor function, 44
GetTextExtentPoint function, 204
GetTextMetrics function, 55, 65
GetThreadPriority function, 505
GetTickCount method, 1140
GetVal, 303-304
GetValDlgProc, 303
GetVersionEx function, 1032
getwchar, 9
GetWindow function, 131
GetWindowDC function, 43
GetWindowLong function, 132, 134, 351
GetWindowRect function, 262
GetWindowText function, 1146
GetWindowThreadProcessId function, 498
global heaps, 364
GlobalMemoryStatus function, 361
glyphs, 57
GN_CONTEXTMENU, 118
goto statement, 556
GradientFill function, 81
GRADIENT_RECT structure, 82
graphics. See drawing
Graphics class, 1129
Graphics Device Interface (GDI), 40
Graphics Windowing and Event handler (GWE), 40
grayed-out buttons, 138
grayscale, 77
Greenwich Mean Time, 394
grfFlags field, 861, 877
grfFlags parameter, 817
grippers, command band control, 236
grnumUpdateMask parameter, 863
group boxes, 138
grouping buttons, 301
guid field, 449
guidDest field, 963
guidDestNet field, 962
GUIDs, 684, 686
GW_CHILD, 131
GWE (Graphics Windowing and Event handler), 40
GwesPowerOffSystem function, 1036
GW_HWNDLAST, 131
GW_HWNDNEXT, 131
GW_HWNDPREV, 131
GWL_DLGPROC, 133
GWL_EXSTYLE, 132
GWL_ID, 132
GWL_MSGRESULT, 133
GWL_STYLE, 132
GWL_USER, 133
GWL_USERDATA, 132
GWL_WNDPROC, 132
GX function, 998
GXBeginDraw function, 998, 1001
GXCloseDisplay function, 998, 1003
GXCloseInput function, 998, 1003
GXDisplayProperties structure, 999
GX.DLL, 997
GXEndDraw function, 1002
GX_FULLSCREEN, 999
GXGetDefaultKeys function, 998, 1000
GXGetDisplayProperties function, 998-999, 1004
gx.h, 998
GXIsDisplayDRAMBuffer function, 998, 1003
GX_LANDSCAPEKEYS, 1000
gx.lib, 998
GX_NORMALKEYS, 1000
GXOpenDisplay function, 998
GXOpenInput function, 998, 1001
GXResume function, 998, 1003
GXSetViewport function, 998, 1002
GXSuspend function, 998, 1003

H
Handheld PC, 381-384, 747
HandleGripper routine, 928
handles
   device contexts, 26, 41-43
   inheritance, 527
   service, 1088
hard disk volumes, opening, 390
hardware. See drivers
hardware keys, 824-830
hatched brushes, 78, 89
hbmBack field, 240
hbrBackground field, 21
HCI (Host Controller Interface), 671
hComPort, 589
hCursor field, 21
HDC (handle to device context), 26
hDC field, 139
hdc field, 27
hdc parameter, 57
hDeviceContext parameter, 1060
hDlg field, 865
hDlg parameter, 304
header control, 206
HeapAlloc function, 374
HeapCreate function, 373
HeapDestroy function, 375
HeapFree function, 374, 455
HEAP_GENERATE_EXCEPTIONS, 373
HEAP_NO_SERIALIZE, 373-374
HeapReAlloc function, 374
HEAP_REALLOC_IN_PLACE_ONLY, 374
heaps
   considerations for, 379
   described, 364
   global, 364
   local, 364, 372-373
   managed applications, 1116
   overview, 371
   separate, 364, 373-375
HeapSize function, 375
HEAP_ZERO_MEMORY, 374
heights
   command bands, 245
   command bars, 220
   dialog boxes, 299
   fonts, 53, 56
   GAPI displays, 999, 1002
   menu bars, 262
   MenuBar control, 939
   round rectangles, 80
   Today screen items, 877-878, 882
Hello World applications
   code fragments (HelloCE), 28-37
   concurrent versions, 14
   console support, 11
   creating, 10-11
   message boxes (Hello2), 12-14
   overview, 7-9
   running, 11
   Windows-based (Hello3)
      message loops, 23-24
      overview, 15-17
      source code, 17-20
      window class registration, 20-21
      window creation, 22-23
      window procedure, 24-28
Help buttons, 220, 300
Help key, 94
heRapiInit field, 750
hFile parameter, 492
hHeap field, 448
hHeap parameter, 374, 454
hibernate mode, 380-381
hIcon field, 21, 310, 809, 861
hIcon/pszIcon, 311
hidden application windows, 381
hidden directories, 801
hidden SIP, 846-847
hiding command bands, 246
hiding command bars, 220
Hiding method, 900
hiding navigation bars, 1133
hierarchies, registry, 416
HighPart field, 414
hImageNarrow field, 899
hImageWide field, 899
hInst parameter, 210, 211
hInst variable, 33
hInstance field, 21, 311
hInstance parameter, 8, 23, 303
hInstApp field, 807
hinstDLL field, 877
hInstRes field, 263, 941
historical information, 286
Hitachi SHx constants, 361
hKey parameter, 418
HKEY_CLASSES_ROOT, 416
HKEY_CURRENT_USER, 416, 777
HKEY_LOCAL_MACHINE, 416, 777
hkl parameter, 902
hlMinRcvBw parameter, 963
hlOptions parameter, 418
hMem parameter, 373
hMenu field, 859
hMenu parameter, 130
Hnd registry value, 1051
hNotification parameter, 559
hOldFont, 65
hollow rectangles, 78
Home key, 94
Home screen, Smartphone, 930
horizontal scroll bars, 146
Horizontal Scrollbar Visibility value, 416
horizontal tap position, 109
horizontally centered text, 43
Host Controller Interface (HCI), 671
hot key control, 296
hot keys, 828
hourglass cursor, 110
how parameter, 645
hPrevInstance parameter, 8
hProcess field, 807
hrpnClip parameter, 42
hrRapiInit field, 750
hSection parameter, 71
hServiceHandle field, 1089
hSrc parameter, 74
hSyncHandle, 518
hTemplate parameter, 389
hTemplateFile parameter, 406
Hungarian prefixes, 6-7
hWnd field, 448, 808, 962
hwnd field, 807
hWnd parameter, 303
hwnd parameter, 99, 902
Hwnd property, 1135
HWND_BOTTOM, 133
hwndChild field, 240
hwndClient field, 118
hwndCustom field, 877
hwndFrom field, 207
hWndInsertAfter parameter, 133
hwndMB field, 263, 941
HWND_NOTTOPMOST, 133
hwndOwner field, 618, 620
hwndOwner parameter, 801
hwndPage field, 314
hwndParent field, 263, 844, 941
hwndParent parameter, 878
hwndSink field, 861
HWND_TOP, 133
HWND_TOPMOST, 133
hyphen key, 95

I
iBitmap field, 213
iButton parameter, 210, 215, 219
ICC_BAR_CLASSES, 206
ICC_CAPEDIT_CLASS, 207
ICC_COOL_CLASSES, 206
ICC_DATE_CLASSES, 206, 286, 289
ICC_LISTVIEW_CLASSES, 206, 292
ICC_PROGRESS_CLASS, 206
ICC_TAB_CLASSES, 206
ICC_TOOLTIP_CLASSES, 207
ICC_TREEVIEW_CLASSES, 206
ICC_UPDOWN_CLASS, 207
IClass registry value, 1066
IClassFactory interface, 907
ICMP (Internet Control Message Protocol), 641
icons
   flags, 13-14
   resource files and, 184
   Smartphone, 930, 948
   taskbar, 808-816
ID lists, item, 801
id parameter, 823
ID values, resource, 183
IDABORT, 14
idBitmap parameter, 211
IDB_STD_SMALL_COLOR, 211
ID_BTNBARRES, 942
IDB_VIEW_SMALL_COLOR, 211
IDCANCEL, 14, 304, 306, 313
IDccMan interface, 784
IDccManSink interface, 784
idComboBox parameter, 219
identifying
   files, 395
   items, 800
   microprocessors, 360
   platforms, 1032
   services, 677-681
IDeviceEnum interface, 717
idFrom field, 207
IDIGNORE, 14
ID_MENU, 942
idMenu parameter, 210
IDM_MENU, 265
IDM_NEWMENUMAX, 859
IDM_SHAREDNEW, 266, 849
IDM_SHAREDNEWDEFAULT, 266
idNewItem parameter, 179
IDNO, 14
IDOK, 14, 304, 306, 313, 948
IDRETRY, 14
ID_TODAY_CUSTOM, 876
ID_VIEWMENU, 269
IDYES, 14
if statement, 523
ifClipPrecision field, 54
ifFaceName field, 54
ifPitchAndFamily field, 54
IID_INewMenuItemServer interface, 849
iImage field, 240, 242
I_IMAGENONE, 266, 941
IIMCallback interface, 896-897, 902-905, 928
IIMCallback2 interface, 896, 902-905, 928
IIMCallbackEx interface, 896
IInputMethod interface, 895-901, 907
IInputMethod2 interface, 895-902, 928
IM (input method), SIP
   described, 895
   examples, 905-928
   IIMCallback interface, 896-897, 902-905, 928
   IIMCallback2 interface, 896, 902-905, 928
   IInputMethod interface, 895-901, 907
   IInputMethod2 interface, 895-902, 928
   overview, 896
   threads, 896
image index values, 212-213, 268
image list control, 237
image references, command bar, 213-215
ImageList_Add function, 237
ImageList_Create function, 237
ImageList_Duplicate function, 216
IMalloc interface, 802
imaxmtu field, 689
iMaxSockets parameter, 639
iMaxUdpDg field, 639
IME (Input Method Editor), 895, 902
IMINFO structure, 898, 903
immediate painting, 42
immediately reserving memory blocks, 366
IMMF_CAPSLOCK, 952
IMMF_SETCLR_CAPSLOCK, 952
IMMF_SETCLR_SHIFT, 952
IMMF_SHIFT, 952
immutable strings, 1123
import tables, 490
Imports keyword, 1119
imtu field, 689
iNarrow field, 899
Inbox item, 875
Index registry value, 1048, 1086
index values, 212-213, 242, 268
indexes, 439-440
indirect frame buffer access, 1002-1003
informational dialogs, 866-867
infrared communication
   described, 637
   IrSock
      blocking vs. nonblocking, 648-651
      examples, 651-670
      options, 647-648
      overview, 645-647
Infrared Data Association (IrDA). See IrDA (Infrared Data Association)
infrared links, 795
Init function, 1056, 1087, 1089, 1095
InitCommonControls function, 206, 292
InitCommonControlsEx function, 206, 286, 289
Initialize method, 714
InitializeCriticalSelection function, 522
InitializeCustomItem function, 876-879, 894
initialized read/write data, 378
initializing
   common controls, 206
   date and time picker control, 289
   GAPI, 998-1001
   month calendar control, 287
   RAPI, 750
   RAPI sessions, 761
   Winsock, 638-639
InitInstance function, 33-34
InitInstance procedure, 545
inking, 110-116
input
   keyboards
      examples, 100-108
      functions, 98-100
      input focus, 92
      messages, 92-98
      overview, 91
      testing for, 100
   mouse messages, 109-110, 116-117
   overview, 91
   stylus messages, 110
   touch screens
      examples, 118-127
      inking, 110-116
      input focus, 116-117
      overview, 110
      right-button clicks, 117-118
input dialogs, 866-867
input focus, 92, 116-117
input method, Pocket PC. See Pocket PC shell
input method (IM), SIP
   described, 895
   examples, 905-928
   IIMCallback interface, 902-905
   IIMCallback2 interface, 902-905
   IInputMethod interface, 897-901
   IInputMethod2 interface, 897-902
   overview, 896
   threads, 896
Input Method Editor (IME), 895, 902
input panel, SIP, 896, 903
InputPanel class, 1136-1137
InrunshDx field, 1069
Insert key, 94
InsertMenu function, 179
installable drivers. See stream device drivers
instance handles, Hello World applications, 21, 23
interface classes, device, 1065-1067
interlocked variable access, 523-525
InterlockedCompareExchange function, 524
InterlockedCompareExchangePointer function, 525
InterlockedDecrement function, 524
InterlockedExchange function, 524
InterlockedExchangeAdd function, 525
InterlockedExchangePointer function, 525
InterlockedIncrement function, 524
InterlockedTestExchange function, 524
international considerations, 54, 98
Internet Control Message Protocol (ICMP), 641
interprocess communication
   databases, 534
   examples, 535-549
   files, 534
   finding processes, 527-528
   memory-mapped objects, 529-530
   message queues, 531-534
   overview, 527
   WM_COPYDATA, 528
interrupt conditions, system power and, 1039
iNumImages parameter, 211
invalid window areas, 27, 40-41
InvalidateRect function, 41, 108
INVALID_HANDLE_VALUE, 389, 411, 586
INVALID_SOCKET, 641, 643
invoking user-defined RAPI functions, 762
I/O control (IOCTL). See IOCTL
commands
I/O functions
   closing files, 391
   creating files, 388-390
   examples, 396-405
   file times, 393-394
   information queries, 392-395
   library functions, 817
   opening files, 388-390
   overview, 387
   pointer adjustments, 391
   reading files, 390
   size queries, 394-395
   truncating files, 392
   writing files, 390
IObex interface, 714, 716
IObex2 interface, 714
IObexDevice interface, 714, 718
IObexSink interface, 714, 717
IOControl function, 1060-1065, 1090-1091
IOCTL codes, 1053, 1061
IOCTL commands
   device interface classes, 1065-1067
   passing to volume, 390
   serial ports, 589
   services, 1088-1094
   super service, 1097-1098
   virtual COM ports, 690-692
IOCTL_ASYNC, 1083
IOCTL_BLUETOOTH_GET_PEER_DEVICE, 692
IOCTL_BLUETOOTH_GET_RFCOMM_CHANNEL, 691
IOCTL_CHECKSUM, 1065
IOCTL_POWER_GET, 1069
IOCTL_POWER_QUERY, 1069
IOCTL_POWER_SET, 1070
IOCTL_PSL_NOTIFY, 1084
IOCTL_REGISTER_POWER_RELATIONSHIP, 1069
IOCTL_SERVICE_CALLBACK_FUNCTIONS, 1094
IOCTL_SERVICE_CONNECTION, 1097
IOCTL_SERVICE_CONSOLE, 1093
IOCTL_SERVICE_CONTROL, 1093
IOCTL_SERVICE_DEBUG, 1093
IOCTL_SERVICE_DEREGISTER_SOCKADDR, 1097
IOCTL_SERVICE_INSTALL, 1092
IOCTL_SERVICE_NOTIFY_ADDR_CHANGE, 1097
IOCTL_SERVICE_QUERY_CAN_DEINIT, 1092
IOCTL_SERVICE_REFRESH, 1091
IOCTL_SERVICE_REGISTER_SOCKADDR, 1097
IOCTL_SERVICE_START, 1091
IOCTL_SERVICE_STARTED, 1097
IOCTL_SERVICE_STATUS, 1092
IOCTL_SERVICE_STOP, 1091
IOCTL_SERVICE_SUPPORTED_OPTIONS, 1094
IOCTL_SERVICE_UNINSTALL, 1092
ioctlsocket function, 649
iom field, 960
IP addresses, 795
IP_ADAPTER_INFO structure, 1097
IPropertyBag interface, 715
iProtocol registry value, 1096
IRAPIStream interface, 767, 773, 776
IrDA (Infrared Data Association). See also stream sockets
   described, 637
   IrSock
      blocking vs. nonblocking, 648-651
      examples, 651-670
      options, 647-648
      overview, 645-647
      vs. Winsock, 645
   .NET Compact Framework classes, 1137-1139
irdaAddressFamily field, 642
IrDAClient class, 1137, 1162
irdaDeviceID field, 642
IRDA_DEVICE_INFO structure, 646
IrDAListener class, 1138, 1162
irdaServiceName field, 642
iRecord parameter, 961
irecvquota field, 689
IRLMP_9WIRE_MODE, 648
IRLMP_ENUMDEVICES, 645, 648
IRLMP_IAS_QUERY, 648
IRLMP_IAS_SET, 648
IRLMP_IRLPT_MODE, 648
IRLMP_SEND_PDU_LEN, 648
IRLMP_SHARP_MODE, 648
IrSock
   blocking vs. nonblocking, 648-651
   examples, 651-670
   options, 647-648
   overview, 645-647
   vs. Winsock, 645
IsDialogMessage function, 308
ISdpRecord interface, 680
isendquota field, 689
IShellNotificationCallback interface, 861
IStream interface, 720, 767
iString field, 214
item IDs, 800
item window. See Today screen
itemAction field, 139
itemData field, 139
items, described, 800
itemState field, 139
iterating windows, 131
iUsage parameter, 71
IVal data type, 440
iWide field, 899
iWidth parameter, 219

J-K
JIT (just-in-time) compilation, 1113, 1116
KBDI_KEYBOARD_ENABLED, 100
KBDI_KEYBOARD_PRESENT, 100
Keep registry value, 1049
kernel, 40
kernel mode, 1026
Key registry value, 1051
keybd_event function, 99, 1036
keyboard accelerators
   examples, 187-204
   overview, 185-186
keyboards. See also hardware keys; mouse; Smartphone; touch screens
   drivers, 1046
   examples, 100-108
   functions, 98-100
   input focus, 92
   keys not included, 93, 97
   messages, 92-98
   overview, 4, 91
   soft, 91
   testing for, 100
   virtual keys, 93-100
KEYEVENTF_KEYUP, 99, 904
KEYEVENTF_SILENT, 99, 904
keys
   hardware
      application launching, 825-830
      overview, 824
      virtual codes, 824-826
   keyboard accelerator
      closing, 420
      creating, 417
      deleting, 419
      enumerating, 420-421
      opening, 417
      overview, 415-416
      protected, 525
KeyStateFlags function, 99
keystroke simulation, 99
kfDirect, 1000
kfDirectInverted, 1000
kfLandscape, 1000
kfPalette, 1000

L
languages (international), 54, 98
Latency array, 1069
LB_ADDSTRING, 141
LB_DIR, 141
LB_FIND, 141
LB_GETCURSEL, 141
LB_GETSELITEMS, 141
LB_INSERTSTRING, 141
LB_SETCURSEL, 141
LB_SETSEL, 141
LB_SETSELCOUNT, 141
LBS_EX_CONSTSTRINGDATA, 141-142
lDistanceToMove parameter, 391
LeaveCriticalSection function, 523
LEDs, 54
Left Alt key, 95
Left Arrow key, 94
Left Control key, 95
left bracket key, 95
Left Shift key, 95
left SoftKeyBar button, 945
left-button clicks, 4
left-justified text control, 301
len parameter, 644
length field, 674
letter input, Smartphone keypad, 951
letter spacing, 46
lfEscapement field, 53
lfHeight field, 53
lfOrientation field, 53
lfOutPrecision field, 54
lfQuality field, 54
lfWidth field, 53
limited memory state, 381-384
LINECAPS, 77
lines, 74-77
LineTo function, 75
lInitialCount parameter, 519
Link Manager Protocol, 671
linking versions explicitly, 1032
list box control, 141, 950, 954
list view control, 206, 292-294
listen function, 640, 642
listen mode, socket, 642
listening, connection request, 1138
ListView_InsertItem function, 208
lMaximumCount parameter, 519
LMDATA structure, 905
LMEM_FIXED, 372
LMEM_MOVEABLE, 373, 375
LMEM_ZEROINIT, 372-373
LOAD_LIBRARY_AS_DATAFILE, 492
LoadAccelerators function, 185
LoadBitmap function, 186
LoadCursor function, 21
LoadDevice function, 1048
LoadIcon function, 809
LoadImage function, 68, 184, 186, 809
loading
   DLLs, 490-493
   drivers, 1047-1050
   services, 1085, 1087
   super service, 1095
LoadLibrary function, 490, 749, 1054
LoadLibraryEx function, 492
LoadString function, 186, 203, 379, 492
local heaps, 364, 372-373, 379
LocalAlloc function, 372
LocalFree function, 372, 455
LocalReAlloc function, 372
LocalSize function, 373
locating
   device drivers, 1050-1052
   files, 410-413
   processes on system, 527-528
   windows, 131
Location property, 1136
locations
   input method, 899, 903
   input panel, 900
   shortcut, 804
   SIP, 1136
   top-level forms, 1133
LOGFONT structure, 53-54
logical fonts, 55
logical pixels, 53
Logical Service Access Point (LSAP), 642
LOGPEN structure, 76
LOGPIXELSY, 53
logs, phone call, 959-961
long filenames, 386
loops, message, 23-24
losing window focus, 92
low memory state, 381-384
lowercase, 294
low-memory conditions, 358, 376, 380-384, 817, 1116
LowPart field, 414
low-power waiting state, 501
lpAddress parameter, 365, 368-369
lpAddress pointer, 370
lpApplicationName parameter, 495
lParam field, 241, 962
lParam parameter
   database opening, 448
   font enumeration, 58, 65
   keyboard messages, 93, 97, 100
   menu commands, 181
   mouse messages, 109
   taskbars, 809
   window procedures, 25
   Windows controls, 136
lpArguments parameter, 556
lpBlob field, 673
lpBlob structure, 680
lpBuff parameter, 442
lpBuffer parameter, 186, 391, 532, 622, 626
lpBuffer pointer, 369
lpBytesReturned parameter, 1053
lpCaption parameter, 13
lpcbData parameter, 418
lpcCount parameter, 623
LPCE_FIND_DATA, 754
lpCharSet field, 54
lpClass parameter, 418
lpCmdLine parameter, 9, 496, 670
lpCommandLine parameter, 495
lpComment field, 623
lpConnRes field, 618
lpcPropID parameter, 453
lpData parameter, 418
lpDisposition parameter, 418
lpDistanceToMoveHigh parameter, 391
lpdwLen parameter, 823
lpEventAttributes parameter, 512
lpFile field, 807
lpFileName parameter, 412
lpflOldProtect parameter, 369
lpfnWndProc field, 21
lpHandles parameter, 516
lphEnum parameter, 622
lpLastWriteTime parameter, 394
lpLocalName field, 617, 620, 623
lpLocalName parameter, 625
lplpBuffer parameter, 453
lpMaximumApplicationAddress field, 361
lpMem parameter, 374-375
lpMinimumApplicationAddress field, 361
lpModemStat, 597
lpMutexAttributes parameter, 520
lpName parameter, 407, 512, 519-520, 619
lpNetResource parameter, 617, 621
lpnLength parameter, 625, 627
lpNumberOfBytesRead parameter, 390, 533
lpOutBuffer parameter, 1053
lpOverlapped parameter, 390, 588
lpParameter parameter, 503
lpParameters field, 807
lpPassword parameter, 617
lpPrefixString parameter, 410
lpPreviousCount parameter, 519
lpProcessInformation parameter, 495
lppt parameter, 78
lpRect parameter, 41
lpRegEnts parameter, 1049
lpRemoteName field, 618, 620-621
lpRemoteName parameter, 617, 625
lpSearchFilter parameter, 412
lpSecurityAttributes parameter, 388, 418
lpSemaphoreAttributes parameter, 519
lpStartAddress parameter, 503, 508
lpszApplication field, 559
lpszArguments field, 562, 564
lpszClassName parameter, 21
lpszDir parameter, 804
lpszLib parameter, 1050
lpszMenuName field, 21
lpszName parameter, 447
lpszPath parameter, 801
lpszServiceInstanceName field, 675
lpszValueName parameter, 418
lpText field, 240
lpThreadAttributes parameter, 503
lpToolTips parameter, 220
LPTR, 372
lpType parameter, 418
lpUserName parameter, 617, 627
lpVendorInfo, 639
lpVerb field, 807
LPWSTR data type, 440
lReleaseCount parameter, 519
LR_LOADFROMFILE, 68
LSAP (Logical Service Access Point), 642
LTEXT, 301
LUP_CONTAINERS, 673
LUP_RES_SERVICE, 678
LUP_RETURN_ADDRESS, 674
LUP_RETURN_BLOB, 675
LUP_RETURN_NAME, 674
Lval data type, 440
LVM_FINDTIME, 294
LVM_GETEXTENDEDLISTVIEWSTYLE, 292
LVM_INSERTITEM, 208
LVM_SETEXTENDEDLISTVIEWSTYLE, 292
LVM_SETITEMPOSITION, 293
LVN_GETDISPINFO, 293, 488
LVN_ODCACHEHINT, 293
LVN_ODFINDITEM, 293
LVS_AUTOARRANGE, 293
LVS_EX_CHECKBOXES, 292
LVS_EX_FLATSB, 293
LVS_EX_FULLROWSELECT, 292
LVS_EX_GRIDLINES, 292
LVS_EX_HEADERDRAGDROP, 292
LVS_EX_INFOTIP, 293
LVS_EX_ONECLICKACTIVATE, 292
LVS_EX_REGIONAL, 293
LVS_EX_SUBITEMIMAGES, 292
LVS_EX_TRACKSELECT, 293
LVS_EX_TWOCLICKACTIVATE, 293
LVS_OWNERDATA, 292-293
LVS_SORTASCENDING, 293
LVS_SORTDESCENDING, 293
lWhichEvent parameter, 566


Next



Last Updated: May 30, 2003
Top of Page