|
|
 |

 |
|
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.
|
|
|
|
|
 |
|
|
Index
M
main window creation, Hello World applications, 22-23
MainMessages table, 35
MainWndProc, 24, 34-35
MAKEINTRESOURCE macro, 184, 302
MAKELONG macro, 446
MAKELPARAM macro, 945
MAKEWORD macro, 638
managed applications
advantages, 1114-1115
common language runtime, 1120-1125
described, 1113
examples, 1117
namespaces, 1118-1119
overview, 1116-1117
Visual Basic .NET, 1119
Visual C#, 1117
managed types vs. unmanaged types, 1142
manual
driver interface advertisements, 1066
driver loading, 1049
event resets, 513
file pointer adjustments, 391
file time setting, 394
service loading, 1085
map files, static data, 377-379
mapping
files to memory, 406-408
modes, 39
physical memory, 1026
remote drives, 616-619
virtual pages, 359
MapPtrToProcess function, 1063
MapViewOfFile function, 407, 546
MapVirtualKey function, 99
MapWindowPoints function, 218
MARKPARITY, 591
Marshal class, 1146
marshaling support, 1142
MaskBlt function, 74
masking image, 74
matching fonts, 54
MAX_PATH, 386, 801
MB_ABORTRETRYIGNORE, 13, 947
MB_DEFBUTTON1, 13
MB_DEFBUTTON2, 13
MB_DEFBUTTON3, 13
MB_ICONASTERISK, 13, 948
MB_ICONERROR, 13
MB_ICONEXCLAMATION, 13, 948
MB_ICONHAND, 13, 948
MB_ICONINFORMATION, 13
MB_ICONQUESTION, 13, 948
MB_ICONSTOP, 13
MB_ICONWARNING, 13
MB_OK, 13, 947
MB_OKCANCEL, 13, 947
MB_RETRYCANCEL, 13, 947
MB_SETFOREGROUND, 14
MB_TOPMOST, 14
MB_YESNO, 13, 947
MB_YESNOCANCEL, 13, 947
MCM_GETMINREQRECT, 287
MCM_SETCOLOR, 287
MCM_SETFIRSTDAYOFWEEK, 287
MCM_SETMAXSELCOUNT, 287
MCM_SETRANGE, 287
MCN_GETDAYSTATE, 288
MCN_SELCHANGE, 288
MCN_SELECT, 288
MCS_DAYSTATE, 287
MCS_MULTISELECT, 287
MCS_NOTODAY, 287
MCS_NOTODAYCIRCLE, 287
MCS_WEEKNUMBERS, 287
MEM_AUTO_COMMIT, 366
MEM_COMMIT, 365
memcopy function, 72
MEM_DECOMMIT, 368
MEM_IMAGE, 370
MEM_MAPPED, 370
memory. See also memory allocation; memory management
application launch keys, 829
architecture confirmation, 362
asynchronous driver I/O, 1080
code fragments, 35
device context, 72
fibers, 509
file system, 386-387, 393
fonts, 57
footprints, 381
fragmentation, 373, 379
frame buffer, 997, 999, 1001-1003
freeing, 368, 372, 374, 871
input method, 900
managed applications, 1116
mutexes, 520
Out Of Memory Error dialog box, 817
overview, 4
paged, 359-360
registry organization, 416
Smartphone, 956-957
states, 381-384
string resources, 186
Today screen items, 877
Windows CE architecture, 1025-1027
memory allocation
heaps, 371-375
hibernate mode, 380-381
low-memory conditions, 380-384
overview, 364
stack, 375-376
static data, 376-379
thresholds, 381-384
type selection, 379-380
strings, 379
virtual, 365-371
memory management
application address space, 362-364
current state, 360-362
overview, 357
RAM, 357-358, 361, 363, 376, 380
ROM, 358, 364, 377
virtual, 359-362
memory maps, device, 586
memory-mapped files, 406-408, 1026
memory-mapped objects, 406-408, 529-530
MEM_PRIVATE, 370
MEM_RELEASE, 368
MEM_RESERVE, 365
MEM_TOP_DOWN, 366
menu bar control
bitmaps, 268
vs. command bar, 260
configuring, 268
creating, 262-263
examples, 269-286
height, 262
menus, 269
overview, 5, 260-262
Pocket PC, 834, 844
resources, 263-268
MenuBar control
buttons, 939-947
creating, 940-942
described, 930
menus, 942-944
overview, 939
MENUITEM keyword, 183
menus. See also menu bar control; New menu
adding, 209-210
commands, 181
Document, 805
examples, 187-204
overview, 21, 179-181
Smartphone, 942-944
Start, 805
merging data streams, GAPI, 1002
message boxes, 12-14, 944, 947
message class values, 968
message structure, 1134
MessageBox function, 12-14, 947
messages. See also Short Message Service (SMS)
accelerators, 185
code fragments, 28-37
concatenation, 968
debug zones, 1070-1071
hibernation, 380-381
keyboards, 92-98, 100-108
loops, 23-24, 303, 307, 514, 517
mouse, 109-110, 116-117
queues, 16-17, 185, 531-534
scroll bar, 143-145
stylus, 110
waiting on, 517-518
window notifications, 15-17
MessageWindow class, 1127, 1134-1135, 1162
MF_BYCOMMAND, 179
MF_BYPOSITION, 179
MF_CHECKED, 179
MF_GRAYED, 179
MF_POPUP, 180
MF_STRING, 179
microprocessor identification, 360
middle mouse button, 93
minimal power state, requesting, 1043
Minimize buttons, 262, 1133
MinimizeBox property, 1133
minimized windows, 844
minus key, 95
MIPS, 3
MM_TEXT mapping mode, 40
mobile devices. See also device-to-device communication
colors supported, 44
Windows CE vs. standard Windows, 3-7
modal dialog boxes, 298, 303, 307-308, 944
MOD_CONTROL, 828
modeless dialog boxes, 298, 307-308
modeless property sheets, 309
modem control signal status, 597
MOD_KEYUP, 828, 947
MOD_SHIFT, 828
module-level security, 995
modules
overview, 489-493
run-level, 995
security, 525-527
trusted, 995
MOD_WIN, 828
monitoring driver interfaces, 1067
monitoring TCP/IP ports. See super service
monospaced fonts, 54
month calendar control, 206, 286-289
MONTHCAL_CLASS, 286
MONTHDAYSTATE, 288
mounted database volumes, 441-443
mouse
messages, 109-110, 116-117
overview, 4, 91
right button clicks, 117-118
vs. touch screens, 110
wheel rolls, 109
MOVEABLE, 265
MoveFile function, 409
MoveToEx function, 75
moving file pointers, 391
moving files and directories, 409
moving seek pointers, 961
MS_CTS_ON, 597
MS_DSR_ON, 597
MSG structure, 23-24
MSG_PEEK, 644
MSGQUEUE_ALLOW_BROKEN, 532-534
MSGQUEUEINFO structure, 533
MSGQUEUE_MSGALERT, 533
MSGQUEUE_NOPRECOMMIT, 532, 534
MSGQUEUEOPTIONS structure, 531
MsgWaitForMultipleObjects function, 514
MsgWaitForMultipleObjectsEx function, 517-518
MS_RING_ON, 597
MS_RLSD_ON, 597
multibyte strings, 639
MultiByteToWideChar function, 639, 753
multilevel sort indexes, 440
multilingual considerations, 54, 98
multiple. See also cross-platform applications
objects waiting, 516
Smartphone instances, 939
text lines, 43
threads, input method, 896
using directives, 1118
multitap text input mode, 951
multitasking system. See interprocess communication
multithreaded system. See threads
mutexes, 520-521, 546
MyCreateHatchBrush function, 89
MyIInputMethod object, 928
MYMSG_METHCALL, 928
MyPowerEventHandler method, 1123
N
Name value, 826
named memory-mapped objects, 529-530
namelen parameter, 641
names
application launch keys, 825
Bluetooth drivers, 687
connection notifications, 782
console drivers, 818
directories, 386, 409
drivers, 1046, 1052
files, 386, 409
mapping remote drives, 616-619
namespaces, 1118
RAPI functions, 748
registry subkeys, 420
shortcuts, 804
temporary files, 410
UNC syntax, 616
namespaces, 512, 800, 1118-1119
native code, 1114
native drivers, 1045
navigating file system
drives vs. directories, 413-415
finding files, 410-413
management functions, 409
overview, 408
temporary files, 410
navigation bar, Pocket PC, 834, 871
navigation buttons, 824
nBmpId field, 263, 941
nBufferMax parameter, 186
nCmdShow parameter, 9, 23, 33
.NET Compact Framework
examples, 1147-1162
Framework Class Library, 1125
managed applications
advantages, 1114-1115
common language runtime, 1120-1125
examples, 1117
namespaces, 1118-1119
overview, 1116-1117
Visual Basic .NET, 1119
Visual C#, 1117
managed vs. unmanaged code, 1113
overview, 1113-1115
Platform Invoke, 1139-1146
unique classes, 1134-1139
unmanaged code, 1113, 1140-1146
Windows Forms applications, 1126-1133
NETRESOURCE structure, 617, 621, 623
\network folder, 616
NETWORK folder, 413
networks. See also connectivity; device-to-device communication
disconnecting remote resources, 619-620
enumerating resources, 620-625
examples, 627-635
functions, 616
mapping remote drives, 616-619
overview, 615-616
querying, 625-627
UNC names, 616
new keyword, 1123, 1130
New menu
adding, 849
from applications, 858-859
examples, 850-858
overview, 849
Next method, 717-718
nFileIndexHigh field, 395
nFileIndexLow field, 395
nFolder parameter, 801
nHeight parameters, 67
NIF_ICON, 809
NIF_MESSAGE, 809
NIM_ADD, 808
NIM_DELETE, 808
NIM_MODIFY, 808
nMax field, 146
nMaxSound field, 560
NMDAYSTATE, 288
NMHDR structure, 207, 288
nMin field, 146
NMN_GETAPPREGKEY, 858-859
NMN_INVOKECOMMAND, 270, 850, 859
NMNEWMENU structure, 858
NMN_NEWMENUDESTROY, 859
NMSELCHANGE structure, 288
nNumberOfArguments parameter, 556
nNumberOfLinks field, 395
NOMENU, 941
nonblocking sockets, 638, 648-651
nonclient window areas, 26
nondirectory directories, 413
nonshared mode, New menu, 849
nonsignaled states, event, 512
non-XIP DLLs, 364
NOPARITY, 591
normal memory state, 381-384
NOTIFICATION_EVENT_DEVICE_CHANGE, 565
NOTIFICATION_EVENT_RESTORE_END, 565
NOTIFICATION_EVENT_RS232_DETECTED, 565
NOTIFICATION_EVENT_SYNC_END, 565
NOTIFICATION_EVENT_TIME_CHANGE, 565
NOTIFICATION_EVENT_TZ_CHANGE, 565
NOTIFICATION_EVENT_WAKEUP, 565
notifications. See also device-to-device communication; services
bubbles, 859
combo boxes, 219
command bands, 245
common controls, 207
connections
COM method, 783-786
examples, 786-794
overview, 781
registry method, 782-783
Windows CE side, 794
controls, 136, 147, 177
date and time picker, 291
driver interfaces, 1067
drop-down buttons, 217
examples, 566-579
month calendar, 288
overview, 557
phone calls, 959
Pocket PC, 850, 858-864, 868-869
power, 1040-1042
property sheets, 310
querying, 580-581
super service, 1097
system event, 564-566
taskbar icons, 809
timer event, 563
user
acknowledging, 562-563
configuring, 561
overview, 557
setting, 558-560
virtual list view mode, 293
window, 15-17
Notify method, 715
NOTIFYICONDATA structure, 808
nPage field, 146
nPages field, 310
nParameter parameter, 504
nPos field, 146
npPriority field, 861
nPriority value, 505
nResult parameter, 304
nStartPage/pStartPage, 310
nToolBarId field, 263-264, 941
nTrackPos field, 146
NULL_PEN, 75
Num Lock key, 95, 97
numbers
querying, 972
Smartphone items, 940
Smartphone keypad, 951
NUMCOLORS, 45
Numeric keypad keys, 95
numeric text input mode, 952
numRange parameter, 678
num_responses field, 674
nWidth parameter, 67, 76
nXOrg parameter, 78
nYOrg parameter, 78
O
ObexFTP, 719
Object Exchange (OBEX)
application callbacks, 714-716
communication process, 718-720
discovery, 716-718
examples, 720-744
initializing, 714
overview, 714
object IDs, 395, 452, 455, 457-458
object store
databases, 443
described, 358, 386
vs. other media, 387
size, 387, 415, 751
space, 751
objects, memory-mapped, 406-408
OBJTYPE_DATABASE, 457
OBJTYPE_DIRECTORY, 457
OBJTYPE_FILE, 457
OBJTYPE_RECORD, 457
ODDPARITY, 591
OE_DEVICE_ARRIVAL, 715, 717
OE_DEVICE_DEPARTURE, 716
OE_DEVICE_UPDATE, 716, 718
OEM_CERTIFY_RUN, 527
OEM_CERTIFY_TRUST, 527
OE_QUERY_PASSWORD, 715
oid field, 449
oidParent field, 449
oidRecord parameter, 455
OK buttons, 220, 300, 308, 313-314, 834, 865, 1133
OnCommandSelected method, 863
OnCreateMain function, 65
OnDismiss method, 861
ONE5STOPBITS, 591
ONESTOPBIT, 591
OnLinkSelected method, 863
OnLogActive method, 785
OnLogDisconnection method, 785
OnLogIpAddr method, 785
OnLogListen method, 785
OnPaint method, 1128
OnPaintMain function, 51, 65, 89
OnShow method, 861
opaque, 44, 46, 89
Open function, 1057, 1091
OPEN_ALWAYS, 388-389, 442
OPEN_EXISTING, 388, 442
opening
database volumes, 441
databases, 447-449
files, 388-390, 406
registry keys, 417
serial ports, 586
storage volumes, 390
OpenMsgQueue function, 532
OpenProcess function, 498
OpenSemaphore function, 519
operating systems. See also drivers; services
address space, 1025-1027
RAPI functions, 748
versions, 1028-1033
Options button, 901
options dialogs, 880, 882
optname parameter, 645
Order registry value, 1047
ordering bands, 245
origin, brush, 78
orphaned graphic resources, 57
OSVERSIONINFO structure, 1032
Out Of Memory Error dialog box, 817
Out parameter, 1122
OUT_IT_ONLY_PRECIS, 54
outlining shapes, 75-77
out-of-memory messages, 382
OutputDebugString function, 1070
overlapped I/O, 387, 586-588
overriding application launch keys, 828-830
overriding Smartphone keys, 945
owned windows, 130
Owner Info item, 875
owner-draw buttons, 139
ownership, dialog box, 302
P
packed formats, 67, 77
pad bytes, 67
Page Down key, 94
Page Up key, 94
paged memory, 359-360
PAGE_EXECUTE, 366
PAGE_EXECUTE_READ, 366
PAGE_EXECUTE_READWRITE, 366
PAGE_GUARD, 366
PAGE_NOACCESS, 367, 371
PAGE_NOCACHE, 367
PAGE_READONLY, 366
PAGE_READWRITE, 366
pages
property
adding, 312
creating, 311-313
described, 308
procedures, 313
removing, 312
switching, 314
vs. regions, 367-368
PageSetupDialog function, 352
paging files, 362
PaintEventArgs parameter, 1129
PAINTFONTINFO structure, 65
painting
bitmaps, 71-74
device contexts, 41-43
overview, 40
regions, 40-41
windows, 25-27
PaintSingleFontFamily function, 65
PAINTSTRUCT structure, 26
palette, colors, 70
PAN (personal area networking), 637
parent oid, 458
parent windows, 23, 129-130
Parity field, 591
parseBlobToRecs routine, 680
partial screen displays, GAPI, 1002
Pascal language stack frames, 25
PatBlt function, 74
Pause key, 97
PauseDeviceEnum method, 714
pbBuffer parameter, 970
pbProviderSpecificBuffer parameter, 970
pbProviderSpecificData parameter, 967
PBT_POWERINFOCHANGE, 1040, 1042
PBT_POWERSTATUSCHANGE, 1040
PBT_RESUME, 1040
PBT_TRANSITION, 1040
pBuffer parameter, 1089
pBuffer pointer, 1058
pBufIn parameter, 1061
pBufOut parameter, 1061
PBYTE variable, 763
PC connectivity. See desktop connectivity
pcbOutput parameter, 763
pcBytesNeeded parameter, 580
PCEGUID parameter, 456
pceun parameter, 563
pcHandlesNeeded parameter, 580
pCharacterBuffer parameter, 99
pcImDataSize field, 901
pclsid parameter, 863
pContext parameter, 1056
pcRefCount field, 312
PCur value, 795
PDA devices, 5
PDA options, 832-833
pDestInfo, 965
pdwBufferLen parameter, 1089
pdwDllBuf parameter, 1088
pdwErrorMargin parameter, 973
pdwFlags parameter, 533
pdwServiceEntries parameter, 1089
pdwStatus parameter, 963
PEGPROPIDs, 445
Pending method, 1138
pens, 75-78
period key, 95
permanent menu additions, 849
persistent connections, 618
personal area networking (PAN), 637
pfnCallBack field, 310
pfnDlgProc field, 311
pguid parameter, 442, 444
ph parameter, 959
phantom frame buffer, 1002-1003
phConnection parameter, 962
phkResult parameter, 418
phMessageAvailableEvent parameter, 966
phone. See cell phones
phone API, 958-961
PhoneCloseCallLog function, 961
PhoneGetCallLogEntry function, 959
PhoneMakeCall function, 958-959
PHONEMAKECALLINFO structure, 958
PhoneOpenCallLog function, 959-961
PhoneSeekCallLog function, 961
phSvc parameter, 779
physical address space, 1026
physical memory, 359
pictures. See drawing; painting
pidls (pointer to an ID list), 801-802
Pie function, 74
pIn parameter, 1097
pInput parameter, 763
P/Invoke
arguments, 1142-1146
arrays, 1144
data types, 1142
described, 1139
examples, 1140-1142
strings, 1145-1146
structures, 1143
piRecord parameter, 961
pixels
bitmaps, 67
brushes, 77
vs. dialog unit conversions, 299
fonts, 53-54
GAPI, 997, 999
lines, 75
overview, 4
rectangles, 78
placement, dialog box, 298-302
Platform Invoke
arguments, 1142-1146
arrays, 1144
data types, 1142
described, 1139
examples, 1140-1142
strings, 1145-1146
structures, 1143
platforms
address space, 1025-1027
Hello World applications, 10
versions, 1028-1033
plus sign key, 95
PMCF_DEFAULT, 959
PMCF_PROMPTBEFORECALLING, 959
PMCLASS_GENERIC_DEVICE, 1067
PMEMORY_BASIC_INFORMATION structure, 369
pMesh parameter, 82
PName value, 795
pndBuffer parameter, 863
PnpId registry value, 1052
Pocket PC. See Pocket PC applications; Pocket PC shell
connectivity, 747
dialog box support, 864-869
free-memory levels, 381-384
full-screen windows, 871
memory management, 871
navigation buttons, 824
New menu, 849-859
notifications, 859-864
overview, 5, 831-833
vs. Pocket PC-like devices, 831, 833
SIP control, 872-874
SMS messages, 965
Start menu, 805
Pocket PC applications
Ctrl+Q, 847
differences, 843-848
examples, 834-843
main window size, 845
menu bars, 844
overview, 834
project templates, 848-849
single instance, 834, 843
SIP, 846-847
Pocket PC AppWizard, 265
Pocket PC AutoRun, 869-871
Pocket PC Phone Edition, 832
Pocket PC shell
custom 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
vs. Explorer shell, 799-800
overview, 833-834
special folders, 801
Today screen
debugging, 881
described, 833
examples, 881-895
implementing, 876-880
item window, 878-879
options dialog, 880
overview, 875
refreshing, 880
registering, 880
user interaction, 879
poid parameter, 447
point size, fonts, 53
POINT structure, 74
pointer to an ID list (pidls), 801-802
pointers
database, 447, 449, 452
file, 390-391
window class extra space, 21
points, stylus, 111
PolyBezierTo function, 74
Polygon function, 80
polygons, 80
Polyline function, 74
pop-up menus, 179-183, 187, 266
port field, 642
PORTEMUPortParams structure, 688, 691
ports. See device drivers; serial communication; super service
positions
stylus, 110
window, 23
PostKeybdMessage function, 99
PostMessage method, 1135
PostQuitMessage, 36
pOut parameter, 1092
Power array, 1069
Power button, 96
Power Control Panel applet, 882
power management
batteries, 358, 501, 882
changing
overview, 1036
preventing suspensions, 1039
screen displays, 1036-1038
suspending system, 1036
waking devices, 1039
drivers, 1067-1070
overview, 1033
powering down, 1036
powering up, 1039
serial communication, 598
states, 1033-1043
Power Manager
device drivers, 1067
notifications, 1040-1042
overview, 1039
setting state, 1042-1043
POWER_BROADCAST structure, 1041
POWER_CAPABILITIES structure, 1068
PowerDown function, 1059, 1091
PowerEventHandler delegate, 1123
POWER_FORCE, 1043
powering down, 1036
powering up, 1039
POWER_NAME, 1043, 1068
POWER_NOTIFY_ALL, 1040
POWER_RELATIONSHIP structure, 1068-1069
POWER_STATE_BOOT, 1041
POWER_STATE_CRITICAL, 1041
POWER_STATE_IDLE, 1041
POWER_STATE_OFF, 1041
POWER_STATE_ON, 1041
POWER_STATE_RESET, 1041-1042
POWER_STATE_SUSPEND, 1041
PowerUp function, 1060, 1091
ppFindData parameter, 756
ppFindDataArray parameter, 754
ppIRAPIStream parameter, 763, 767
ppOutput parameter, 763
PPOWER_BROADCAST_POWER_INFO structure, 1042
ppvBits parameter, 71
pRange array, 678
pRecord parameter, 682
predefined brushes, 21
predefined RAPI functions, 751-758
predefined sort orders, 452
predefined window classes. See controls
preempted threads, 523
Prefix registry value, 1048
prefixes, Hungarian, 6-7
preventing power suspensions, 1039
previous key state, 97
prgbCachedData field, 877, 880
Print dialog boxes, 315
Print Screen key, 94, 97
printer DC, 44
printf function, 818
printf statement, 9, 11, 13, 762, 776
printf style, 1071
priorities, thread scheduling, 499-501, 504-505
priority classes, 499
priority inversions, thread, 501
procedures
dialog boxes, 303-308
property pages, 313
PROCESS_ATTACH, 878
processes. See also interprocess communication
address space, 1026
creating, 494-497
described, 489
events, 512
overview, 493
terminating, 497-498
waiting on, 515
PROCESS_INFORMATION structure, 495, 516
PROCESSOR_ARCHITECTURE_ATM, 361
PROCESSOR_ARCHITECTURE_INTEL, 361
PROCESSOR_ARCHITECTURE_SHx, 361
PROCESSOR_HITACHI_SH3, 361
PROCESSOR_HITACHI_SH4, 361
program memory, 358
Programs folder, 801
Programs menu, 930
Programs submenu, 805
progress bar control, 206, 295
project templates, 848-849
properties, database, 439-440, 455
property IDs, 445, 451
property pages
adding, 312
creating, 311-313
described, 308
procedures, 313
removing, 312
switching, 314
property sheets
closing, 314
creating, 309-310
described, 297
examples, 352
modeless, 309
overview, 308
pages, 311-314
Pocket PC, 868-869
PropertyBag object, 718-719
PropertySheet function, 309
propidfield, 451
proportional fonts, 54
PROPSHEETHEADER structure, 309, 311, 868
PROPSHEETPAGE structure, 311, 313, 351, 868
PropSheetPageProc function, 868
Protect field, 370
protected functions, 525
protected registry keys, 525
Protocol registry value, 1094
protocols, SMS messages, 973
proxies, Smartphone connections, 962
PSCB_GETLINKTEXT, 310, 353, 869
PSCB_GETTITLE, 310
PSCB_GETVERSION, 310
PSCB_INITIALIZE, 352
PSCB_INITIALIZED, 310, 868
PSCB_PRECREATE, 310
PS_DASH, 76
pShiftStateBuffer parameter, 99
PSH_MAXIMIZE, 868
PSH_MODELESS, 309
PSH_PROPSHEETPAGE, 310
PSH_PROPTITLE, 309
PSH_USECALLBACK, 868
PSH_USEPSTARTPAGE, 310
PS_INSIDEFRAME, 79
PS_MESSAGE_CLASS, 968
PS_MESSAGE_CLASSUNSPECIFIED, 968
PSM_ADDPAGE, 312
PSM_REMOVEPAGE, 312
psmsaDestinationAddress parameter, 967
psmsaSMSCAddress parameter, 967
psmshHandle parameter, 966
PSN_APPLY, 314, 351
PSN_KILLACTIVE, 314
PSN_QUERYCANCEL, 314
PSN_RESET, 314
PSNRET_NOERROR, 314
PSNRET_VALID_NOCHANGEPAGE, 314
PS_NULL, 76
PSN_SETACTIVE, 314
pSort parameter, 447
PSP_DLGINDIRECT, 311
PSP_PREMATURE, 312-313
PSP_USECALLBACK, 312
PSP_USEREFPARENT, 312
PSP_USETITLE, 311
psReplaceOption field, 968
PSRO_NONE, 968
PSRO_REPLACE_TYPEn, 968
PS_SOLID, 76
PST_FAX, 595
PST_MODEM, 595
pstReceiveTime parameter, 970
pstValidityPeriod parameter, 967
pszAppName field, 959
pszCalledParty field, 959
pszCaption field, 309
pszComment field, 959
pszDestAddress field, 959
pszHTML field, 861
pszIcon field, 310
pszMenu parameter, 210
pszNameType field, 960
pszNewApp parameter, 826
pszNote field, 960
pszNumber field, 960
pszPath parameter, 778
pszTemplate/pResource, 311
pszTitle field, 311, 862
ptDown field, 118
PtInRect function, 127
PtrToStringUni method, 1146
public designations, 1122
publishing services, Bluetooth, 682-685
puChar parameter, 904
pull model, 15
PulseEvent function, 513
PUN_DIALOG, 560
pUnk1 parameter, 715
pUnk2 parameter, 715
PUN_LED, 560
PUN_REPEAT, 560
PUN_SOUND, 560
PUN_VIBRATE, 560
PURE, 265
PurgeComm function, 595
PURGE_RXABORT, 596
PURGE_RXCLEAR, 596
PURGE_TXABORT, 596
PURGE_TXCLEAR, 596
push buttons, 137
push model, 15
Push protocol, 714
puShift parameter, 904
Put method, 720
pvDevice parameter, 1068
pvImData field, 873, 900
pvSystemState, 1043
PwrDeviceMaximum, 1068
PwrDeviceUnspecified, 1068-1069
pwszBuf parameter, 823
pwszDialogText field, 560
pwszDialogTitle field, 560
pwszSound field, 560
Q
QS_ALLINPUT, 517
QS_INPUT, 517
QS_KEY, 517
QS_MOUSE, 517
QS_MOUSEBUTTON, 517
QS_MOUSEMOVE, 517
QS_PAINT, 517
QS_POSTMESSAGE, 517
QS_SENDMESSAGE, 517
QS_TIMER, 517
quantums, 499, 506
QUERYESCSUPPORT, 1037
querying. See also discovery
process
application permissions, 1080
call logs, 959
command band control, 244
console settings, 822
database information, 457-458
device power capabilities, 1068
device power changes, 1069
directory information, 392-393
driver power state, 1069
file information, 391-395
font characteristics, 55-57
GAPI button information, 1000-1001
heap memory, 372, 374
networks, 625-627
notifications, 580-581
registry subkeys, 420
registry values, 418, 421
serial communication status, 597
serial port capabilities, 594-595
services, 678, 1092
SIP, 872, 874
SMS information, 972
super service acceptance, 1097
system colors, 140
system memory, 360-362
system power state, 1033-1035
thread information, 504-506
virtual memory access rights, 369-371
window structure, 131
question mark, 410
R
radio buttons, 138, 301
radio frequency communication
Bluetooth
discovery, 672-681
overview, 670-671
stack, 671
described, 637
RaiseException function, 555
RAM (random access memory), 293, 357-358, 361, 376, 380, 386
RAPI (remote API)
custom functions, 762-767
described, 747
ending sessions, 751
error handling, 750
examples, 758-762, 768-777
functions, 748
initializing, 750
overview, 748-749
predefined functions, 751-757
versions, 749
RapiFind method, 776
RAPIFindFile function, 773
RAPIGetDiskSize function, 765
raster fonts, 52
raw sockets, 641
RBBIM_CHILD, 240
RBBIM_CHILDSIZE, 240
RBBIM_COLORS, 240
RBBIM_ID, 240
RBBIM_IDEALSIZE, 241
RBBIM_LPARAM, 241
RBBIM_STYLE, 239
RBBS_BREAK, 239
RBBS_CHILDEDGE, 239
RBBS_FIXEDBMP, 239
RBBS_FIXEDSIZE, 239
RBBS_GRIPPERALWAYS, 239
RBBS_HIDDEN, 239
RBBS_NOGRIPPER, 239, 242, 260
RBBS_NOVERT, 239
RB_IDTOINDEX, 243-244
RBN_HEIGHTCHANGE, 245
RBS_AUTOSIZE, 237
RBS_BANDBORDERS, 237
RBS_FIXEDORDER, 238, 245
RBS_SMARTLABELS, 238, 240, 242, 259
RBS_VARHEIGHT, 238, 242
RBS_VERTICALGRIPPER, 238
RC (resource) files, 298
RCDATA, 265
rcPaint field, 27
rcSipRect field, 873, 899-900, 903
rcVisibleDesktop field, 873
read file access, 388
Read function, 1058, 1091
Read method, 768, 776
readable file times, 394
ReadDoneEvent function, 547
ReaderThread procedure, 545
ReadEvent function, 547
ReadFile function, 390, 587, 592, 692, 1053, 1058
reading
database records, 452-455
drivers, 1052-1054
files, 390, 406-408
registry values, 418, 780
serial port data, 587
ReadIntervalTimeout function, 592
ReadMsgQueue function, 533
read-only data, 363, 376
read-only data segments. See resources
ReadProcessMemory function, 498
ReadTotalTimeoutConstant function, 592
ReadTotalTimeoutMultiplier function, 592
read/write data, 363-364, 376, 378
read/write file access, 388
real-time key state, 98
rebar control, 206, 236
REBARBANDINFO structure, 238, 241, 259
Receive Line Signal Detect (RLSD), 597
ReceiveSipInfo method, 900
receiving data, sockets, 644
receiving SMS messages, 969-971
recent documents list, 805
record button, 945
records, database
deleting, 455
described, 439
property limits, 440
reading, 452-455
searching for, 449-452
writing, 455
rect parameter, 44
RECT structure, 26
Rectangle function, 78-79
rectangle function, 894
rectangles, 78-80, 899
recv function, 640, 644
recvfrom function, 644
recycle bins, 801
redefining sort orders, 452
redirecting console input and output, 822-823
redirector files, 615
redrawing backgrounds, 21
redrawing menus, 210
reducing file size, 392
ref keyword, 1122
reference types, 1120-1122
referencing command bar images, 213-215
refreshing services, 1091
refreshing Today screen items, 880
REG_BINARY, 419
RegCloseKey function, 420
RegCreateKeyEx function, 418
RegDeleteKey function, 419
RegDeleteValue function, 419
REG_DWORD, 419
REG_DWORD_BIG_ENDIAN, 419
REG_DWORD_LITTLE_ENDIAN, 419
RegEnumKeyEx function, 420
RegEnumValue function, 421
REG_EXPAND_SZ, 419
REGINI structure, 1049
regions, window, 40-41, 54, 367-368
RegionSize field, 369
RegisterBtService function, 713
RegisterCallback method, 900
RegisterCallback2 method, 901
RegisterClass function, 20-21, 109, 132, 878
RegisterDevice function, 688, 1048, 1050
RegisterHotKey function, 828
registering
driver DLLs, 1048
hot keys, 828
list view control, 292
Today screen custom items, 880
Today screen item windows, 878
virtual COM port drivers, 689
window class, 20-21, 33
RegisterService function, 690, 1086-1087, 1096
registry
application launch keys, 826-827
application launches, 782-783
CeUtil DLL functions, 777-781
closing keys, 420
command band control, 244
creating keys, 417
current drivers, 1051
data types, 419
deleting keys, 419
deleting values, 419
driver interface classes, 1066
driver load process, 1047
editing, 421
enumerating keys, 420
examples, 421-438
loading services, 1085, 1087
New menu, 849, 850
opening keys, 417
organization, 416
overview, 415
protected keys, 525
RAPI functions, 757
reading values, 418
services, 1092
super service, 1094, 1096
system power states, 1040
Today screen custom items, 880, 882
writing values, 419-420
REG_LINK, 419
REG_MULTI_SZ, 419
REG_NONE, 419
RegOpenKeyEx function, 417
RegQueryValueEx function, 418
REG_RESOURCE_LIST, 419
RegSetValueEx function, 419
REG_SZ, 419
RELEASE folder, 413
Release method, 773, 776
ReleaseCapture function, 117
ReleaseDC function, 73
ReleaseMutex function, 520, 547
ReleasePowerRequirement function, 1043
ReleaseSemaphore function, 519
releasing buttons and display, GAPI, 1003
remote API (RAPI). See RAPI (remote API)
remote drives, mapping, 616-619
remote resources, disconnecting, 619-620
RemoteAddr field, 675
REMOTE_NAME_INFO, 627
REMOTE_NAME_INFO_LEVEL, 626
RemoveDirectory function, 409
removing
directories, 409
Pocket PC notifications, 864
power requirements, 1043
property pages, 312
service registry entries, 1092
renaming files and directories, 409
reordering bands, 245
repeat count, key, 97
report mode, list view, 292-293
RequestDeviceNotifications function, 1067
requesting minimal power states, 1043
requesting specific power states, 1042
RequestPowerNotifications function, 1040
Reserved parameter, 418
reserved virtual pages, 360
reserving memory. See memory management
Reset method, 717
ResetCmd value, 826
ResetEvent function, 513
resetting device enumeration, 717
resetting user input timer, 1039
resizing
bitmaps, 73
command bars, 220
local heap memory, 372
main window, 845
separate heap memory, 374
Today screen items, 879
resolution, 4, 111
resource (RC) files, 298
RESOURCE_CONNECTED, 621
RESOURCEDISPLAYTYPE_DOMAIN, 622
RESOURCEDISPLAYTYPE_GENERIC, 622
RESOURCEDISPLAYTYPE_SERVER, 622
RESOURCEDISPLAYTYPE_SHARE, 622
RESOURCE_GLOBALNET, 621
RESOURCE_REMEMBERED, 621
resources
accelerators, 185-186
bitmaps, 186
examples, 187-204
icons, 184
leaks, 57
limitations, 4
menu bars, 263-268
overview, 181-182
scripts, 182-183
segments, application, 379
strings, 186
templates, 298-302
types, 183
RESOURCETYPE_DISK, 619, 622
RESOURCETYPE_PRINT, 619, 622
RESOURCEUSAGE_CONNECTABLE, 621
RESOURCEUSAGE_CONTAINER, 621
restarting sessions, 645
restoring Smartphone Back keys, 946
restricted functions, Smartphone, 995
Result property, 1134
ResumeThread function, 503, 506
resuming
device enumeration, 714
GAPI applications, 1003
suspended devices, 1039
threads, 506
Retry/Cancel buttons, 947
return codes, memory allocation, 383
RF (radio frequency). See radio frequency communication
RFCOMM channel, 684, 686, 689, 691
RFCOMM_CHANNEL_MULTIPLE, 689
RFCOMM_PORT_FLAGS_AUTHENTICATE, 689
RFCOMM_PORT_FLAGS_ENCRYPT, 689
RFCOMM_PORT_FLAGS_KEEP_DCD, 689
RFCOMM_PORT_FLAGS_REMOTE_DCB, 689
RGB macro, 76-77
RGBQUAD structure, 69-71, 77
rgbReserved field, 27
rgdwFlags field, 446
rghNotifications parameter, 580
rgPropID field, 445
rgPropID parameter, 453
rgPropVal array, 455
rgSortSpecs field, 445
rich edit control, 296
Right Alt key, 95
Right Arrow key, 94
right bracket key, 96
Right Control key, 95
Right Shift key, 95
right SoftKeyBar button, 945
right-button clicks, 4, 93, 117-118
RLSD (Receive Line Signal Detect), 597
RNRSERVICE_DELETE, 683
RNRSERVICE_REGISTER, 682
ROM (read only memory), 358, 364, 377, 386, 393
root keys, 415-416
RootKey registry value, 1047
ROOT_KEY structure, 416
ROP codes, 72
round rectangles, 80
RoundRect function, 80
RTS_CONTROL_DISABLE, 591
RTS_CONTROL_ENABLE, 591
RTS_CONTROL_HANDSHAKE, 591
RTS_CONTROL_TOGGLE, 591
Run method, 1127
run-level modules, 995
run-time version checking, 1032-1033
S
samDesired parameter, 418
Save As dialog boxes, 315
saving band layout, 243-245
saving Smartphone data, 956-957
saving text messages, 965
SB_BUTTON, 145
SB_CTL, 146
SB_ENDSCROLL, 145
SB_HORZ, 146
SB_LINExxx codes, 144
SB_PAGEDOWN, 204
SB_PAGEUP, 204
SB_PAGExxx codes, 144
SB_SETPOSITION, 143
SB_THUMBPOSITION, 143
SB_THUMBTRACK, 143
SB_TOP, 145
SB_VERT, 146
scan code translations, 99
SCHEDULECONNECTIONINFO structure, 963
scheduled connections, 961, 963
scheduled notifications, 580-581
scheduling system resuming, 1039
scheduling threads, 499-502
SCHMBM_GETSUBMENU, 944
SCHMBM_OVERRIDEKEY, 945, 947
screens. See also drawing
overview, 4
power management, 1036-1038
stylus, 109
user feedback, 110
writing storage, 110-116
scripts, resource, 182-183
scroll bar controls, 143-147
scroll codes, 144-145
Scroll Lock key, 95, 97
ScrollDC function, 108
SCROLLINFO structure, 146-147
scrolling buttons, 824
scrolling dialogs, 950
scrolling text, 108
SD_BOTH, 645
sDLLPath field, 877
SDP (Service Discovery Protocol), 680, 682-685
SdpQueryUuid structure, 678
SDP_SERVICE_ATTRIBUTE_REQUEST, 678
SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST, 678
SDP_SERVICE_SEARCH_REQUEST, 678
SD_RECEIVE, 645
SD_SEND, 645
searching database records, 449-452
searching device drivers, 1050-1052
searching directories, 410-413
SearchThread function, 713
security
file system, 385
overview, 525-527
Smartphone, 929, 995-996
Seek function, 1059, 1091
seek pointers, call log, 959
seeking database records, 449-452
SEE_MASK_FLAG_NO_UI, 807
SEE_MASK_NOCLOSEPROCESS, 807
select function, 649
Select key, 94
Select method, 898-899, 928
SelectObject function, 55, 57, 66, 72
semaphore objects, 518-520
semicolon key, 95
send function, 640, 644
SendAlternatives2 method, 905
SendCharEvent method, 928
SendCharEvents method, 904
SendDlgItemMessage function, 137
SenderThread procedure, 545
SendEvent function, 547
SendFile function, 669
sending data, sockets, 644
sending IOCTL commands to services, 1088
sending SMS messages, 966-969
SendMessage function, 137, 184, 208
SendMessage method, 1135
SendSmsMessage routine, 994
SendString method, 905
sendto function, 644
SendVirtualKey method, 903
separate heaps, 364, 373-375, 380
separator key, 95
sequence, keyboard messages, 100
serial communication
asynchronous I/0, 588-589
errors, 597
examples, 598-613
overview, 585-586
ports
closing, 586
configuring, 589-592
controlling, 595-596
opening, 586
overview, 585
querying capabilities, 594-595
reading from, 587
timeout values, 592-593
writing to, 587
power management, 598
status, 597
serial links, 795
serial numbers, volume, 395
serial ports, Bluetooth communication, 687-692
SD_RECEIVE, 645
SD_SEND, 645
ServerThread function, 713
service discovery, Bluetooth, 677-681
Service Discovery Protocol (SDP), 680, 682-685
service publications, Bluetooth, 682-685
ServiceAddPort function, 1095-1096
serviceClassId field, 642
ServiceClosePort function, 1096
ServiceEnumInfo structure, 1089
serviceHandle parameter, 678
SERVICE_INIT_STANDALONE, 1090
SERVICE_INIT_STARTED, 1090
SERVICE_INIT_STOPPED, 1090
ServiceIoControl function, 1087-1088
services
application controls, 1087-1089
architecture, 1085
command-line interface, 1098
console, 1093
currently running, 1088
custom commands, 1093
described, 1045
entry points, 1089-1091
examples, 1098-1112
IOCTL commands, 1091-1094
life cycle, 1085-1087
loading, 1087
options supported, 1094
overview, 1084
refreshing, 1091
removing registry entries, 1092
starting, 1087, 1091-1092
state, 1092
stopping, 1087, 1091
super service, 1094-1098
unloading, 1087, 1089, 1092
zone bitmaps, 1093
Services Manager
Init function, 1090
overview, 1084
service architecture, 1085
service life cycle, 1086
standalone, 1094
ServicesExeCallbackFunctions structure, 1094
ServiceUnbindPorts function, 1096
SetBkMode function, 879
SETBREAK, 596
SetBrushOrgEx function, 78
SetCapture function, 116
SetCommBreak function, 595-596
SetCommMask function, 588
SetCommState function, 589
SetCommTimeouts function, 592
SetCursor function, 110
SetDevicePower function, 1068
SetDIBColorTable function, 71
SETDTR, 596
SetEndOfFile function, 392
SetEvent function, 513
SetEventData function, 513
SetFileAttributes function, 393
SetFilePointer function, 391, 1059
SetFileTime function, 394
SetFocus function, 92
SetForegroundWindow function, 34, 528, 844
SetImData method, 900
SetImInfo method, 903, 928
SetIMMActiveContext method, 902
SetInterruptEvent function, 1060
SETIR, 596
SetLastError field, 1141
SetPassword method, 722
SetPath method, 721
SETPOWERMANAGEMENT, 1037
SetPowerRequirement function, 1043
SetProcPermissions function, 1080
SetRapiStat method, 767
SETRTS, 596
SetScrollInfo function, 145-147
setsockopt function, 648
SetStudioPathW function, 823
SetSystemPowerState function, 1042
SetTextAlign function, 45
SetTextColor function, 44
SetThreadPriority function, 504
Settings key, 416
SetupComm function, 593
SetWindowLong function, 132, 134-135, 314
SetWindowPos function, 133-134
SETXOFF, 596
SETXON, 596
SHACTIVATEINFO structure, 846
SHAddToRecentDocs function, 806
SHA_INPUT DIALOG, 847
shapes
brushes, 77-78
circles, 79
ellipses, 79
examples, 82-89
fill functions, 80-82
overview, 77
polygons, 80
rectangles, 78-80
SHARD_PATH, 806
SHARD_PIDL, 806
shared mode, New menu, 849
ShareMode parameter, 1057
sharpening fonts, 54
SHCMBF_COLORBK, 263, 941
SHCMBF_EMPTYBAR, 263, 844
SHCMBF_HIDDEN, 263
SHCMBF_HIDESIPBUTTON, 263
SHCMBF_HMENU, 263
SHCMBM_GETMENU, 269, 944
SHCMBM_GETSUBMENU, 269
SHCMBM_SETSUBMENU, 269
SHCreateMenuBar function, 262, 265, 492, 844, 932, 940
SHCreateShortcut function, 804, 805
SHCreateShortcutEx function, 804
sheets. See property sheets
shell management RAPI functions, 757
ShellExecuteEx function, 806
SHELLEXECUTEINFO structure, 806
Shell_NotifyIcon function, 808-809
shells. See also Pocket PC 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
SHFS_HIDESIPBUTTON, 871
SHFS_HIDESTARTICON, 871
SHFS_HIDETASKBAR, 871
SHFS_SHOWSIPBUTTON, 871
SHFS_SHOWSTARTICON, 871
SHFS_SHOWTASKBAR, 871
SHFullScreen function, 871
SHGetAppKeyAssoc function, 827
SHGetAutoRunPath function, 870
SHGetFromIDList function, 802
SHGetMalloc function, 802
SHGetShortcutTarget function, 804
SHGetSpecialFolderLocation function, 802, 805
SHGetSpecialFolderPath function, 801, 805, 956
SHHandleWMActivate function, 847, 867
SHHandleWMSettingChange function, 846
SHIDIF_DIPDOWN, 865
SHIDIF_DONEBUTTON, 865
SHIDIF_FULLSCREENNOMENUBAR, 866
SHIDIF_SIZEDLG, 865
SHIDIF_SIZEDLGFULLSCREEN, 866
SHIDIM_FLAGS, 865
Shift key, 94, 98, 109
SHInitDialog function, 865, 867, 880, 949
SHINITDLGINFO structure, 865
SHInitExtraControls function, 867
SHInputDialog function, 867
SHLoadDIBitmap function, 68, 184
SHMBOF_NODEFAULT, 946
SHMBOF_NOTIFY, 946
SHMENUBARINFO structure, 262, 264-265, 268, 844, 940
SHNF_CRITICAL, 861
SHNF_DISPLAYON, 861
SHNF_FORCEMESSAGE, 861
SHNN_LINKSEL, 863
SHNotificationAdd function, 860
SHNOTIFICATIONDATA structure, 860, 863
SHNotificationGetData function, 863
SHNotificationRemove function, 864
SHNotificationUpdate function, 863
SHNP_ICONIC, 861
SHNP_INFORM, 861
SHNUM_DURATION, 863
SHNUM_HTML, 864
SHNUM_ICON, 864
SHNUM_PRIORITY, 863
SHNUM_TITLE, 864
Short Message Service (SMS)
accessing, 966
configuring, 972-973
examples, 974-995
overview, 965
receiving messages, 969-971
saving messages, 965
sending messages, 966-969
service center numbers, 972
shortcuts, 185-186, 804, 824-830
Showing method, 900
ShowWindow function, 9
ShowWindow statement, 23
SHRecognizeGesture function, 118
SHRGINFO structure, 118
SHRG_LONGDELAY, 118
SHRG_NOTIFYPARENT, 118
SHRG_RETURNCMD, 118
SHSendBackToFocusWindow function, 947
SHSetAppKeyWndAssoc function, 828
SHShowOutOfMemory function, 817
SHSipInfo function, 845, 872, 874, 901, 1030
SHSipPreference function, 866, 872, 1030
shutdown function, 644
SHx, 3
SIF_DISABLENOSCROLL, 146
SIF_POS, 146
SIF_RANGE, 146
SIF_TRACKPOS, 147
signaled states, event, 512
simulating
keystrokes, 99
Off button, user pressing, 1036
right mouse clicks, 118
soft keyboards, 91
sin_family field, 641
single instance, Pocket PC, 834, 843
single lines, text, 43
SIP (soft input panel)
button, 261
.NET Compact Framework, 1136-1137
Pocket PC, 834, 846-847, 866-867, 871-874
SIP Control Panel applet, 901
SIP_DOWN, 866
SIPF_DISABLECOMPLETION, 899
SIPF_DOCKED, 873, 899, 903, 928
SIPF_LOCKED, 873, 899
SIPF_ON, 873, 899
SIP_FORCEDOWN, 866
SIPINFO structure, 872, 900-901
SIP_UNCHANGED, 866
SIP_UP, 866
size
dialog boxes, 298-302
drives, 414
file searches, 411
filenames, 386
files, 392, 394-395
fonts, 53
group boxes, 138
heap memory, 372, 374
icons, 184
input method, 899, 903
input panel, 900
object store, 387, 415
pages, 359
scroll bars, 146
separate heap, 374
shapes, 77-89
SIP, 1136
stack, 375
static data areas, 377-379
text messages, 970
Today screen items, 879
top-level forms, 1133
windows, 23, 26, 37, 845
Size property, 1136
Skip method, 717
skipping enumeration devices, 717
slash mark key, 95
Sleep function, 507, 1036
slots, address space, 1026
Smartphone
applications, 932-939
buttons, 930, 944-947
communication features, 958
connection manager, 961-965
controls, 950-956
dialing, 958
dialog boxes, 949-950
file operation, 956-957
logs, 959-961
MenuBar control, 939-947
message boxes, 944, 947-948
multiple instances of, 939
overview, 833, 929-930
phone API, 958-961
restricted functions, 995
security, 995-996
user interface, 930-931
SM_MODE_RECEIVE, 966
SMS (Short Message Service)
accessing, 966
configuring, 972-973
examples, 974-995
overview, 965
receiving messages, 969-971
saving messages, 965
sending messages, 966-969
service center numbers, 972
SMS_ADDRESS structure, 967-968, 970, 972
SMSAT_INTERNATIONAL, 968
SmsClearMessageNotification function, 973
SmsClose function, 966, 968
smsdeDataEncoding parameter, 967
SMSDE_GSM, 967
SMSDE_OPTIMAL, 967
SMSDE_UCS2, 967
SmsGetMessageSize function, 970
SmsGetMessageStatus function, 967
SmsGetPhoneNumber function, 972
SmsGetSMSC function, 972
SmsGetTime function, 973
SMS_HANDLE, 966
SMS_MODE_SEND, 966, 969
SMS_MSGTYPE_TEXT, 966, 973
SmsOpen function, 966, 968, 995
SMS_OPTION_DELIVERY_NONE, 967
SMS_OPTION_DELIVERY_NO_RETRY, 967
SmsQueryMessageStatus function, 972
SmsReadMessage function, 969-971
SMSREGISTRATIONDATA structure, 973
SmsSendMessage function, 966-969, 972
SmsSetMessageNotification function, 973
SmsSetSMSC function, 972
SMS_STATUS_INFORMATION structure, 972
SO_BTH_GET_MODE, 672
sockaddr, 642
SOCKADDR structure, 1094, 1096
SOCKADDR_BTH structure, 642-643, 675
SOCKADDR_IN structure, 641, 643
SOCKADDR_IRDA structure, 642-643
SOCK_DGRAM, 641
Socket class, 1137
socket function, 640-641
socket stream, 1137
SOCKET_ADDRESS, 675
SOCKET_ERROR, 675
sockets. See also stream sockets; super service
connectivity, 795
IrSock
blocking vs. nonblocking, 648-651
examples, 651-670
options, 647-648
overview, 645-647
nonblocking mode, 638
overview, 637
SOCK_STREAM, 641
soft input panel (SIP). See SIP (soft input panel)
soft keyboards, 91
SoftKeyBar control, 941, 949
Software key, 416
SO_LINGER, 648
SOL_IRLMP, 645
SOMAXCONN, 643
sort orders, database, 452
SORTORDERSPECEX structure, 445, 447
space
code fragments, 35
freeing memory, 368, 372, 374, 871
overview, 4
between text letters, 46
Spacebar, 94
SPACEPARITY, 591
special folders, 801-803
specifying registry keys, 415
SPI_GETBATTERYIDLETIMEOUT, 1039
SPI_GETCURRENTIM, 872, 874
SPI_GETEXTERNALIDLETIMEOUT, 1039
SPI_GETPLATFORMTYPE, 1032
SPI_GETSIPINFO, 872, 901
SPI_GETWAKEUPIDLETIMEOUT, 1039
spinner controls, Smartphone, 954-956
SPI_SETCURRENTIM, 872
SPI_SETSIPINFO, 872, 901
sprintf-style function, 1124
SP_SERIALCOMM, 595
SQL_IRLMP, 648
SQL_SOCKET, 648
square boxes, 138
SRCCOPY, 72
SrchDirectory function, 773
SRCINVERT, 72
SRCPAINT, 72
SS_BITMAP, 142
SS_CENTER, 142
SS_CENTERIMAGE, 143
SS_ICON, 142
SS_LEFT, 142
SS_LEFTNOWORDWRAP, 142
SS_NOPREFIX, 143
SS_NOTIFY, 143
SS_RIGHT, 142
stack, 364, 375-376, 380, 637, 671
stack frames, 25
STACK_SIZE_PARAM_IS_A_RESERVATION, 503
stand-alone control scroll bar, 146
standalone Services Manager, 1085, 1094
standard dialog boxes, 314
Start icon, 871
Start menu, 805, 833
StartDeviceEnum method, 716-717
starting games, 1001
starting services, 1087, 1091-1092
starting super service, 1094
State field, 369
StateFlags parameter, 1042
states
key, 97-98, 109, 117
querying service, 1092
virtual page, 360
static controls, 142
static data, 363-364, 376-379, 380
static keyword, 1117
status bar control, 206, 295
status information
checked/unchecked buttons, 215
connections, 964-965
exceptions, 555
keyboards, 100
memory state, 360-362, 381-384
modem control signals, 597
short text messages, 967, 972
system power state, 1033-1035
stDischargeTime field, 972
stEndTime field, 559
STILL_ACTIVE, 497, 504
stock brushes, 77
stock pens, 75
StopBits field, 591
StopDeviceEnum method, 716
StopDeviceNotifications function, 1067
stopping file searches, 411
stopping services, 1087, 1091
Storage Card directories, 386
storage cards, 869
storage volumes, opening, 390
STORE_INFORMATION structure, 415
storing content data. See resources
storing files. See file system
stream device drivers
described, 1046
entry points
overview, 1055
xxx_Close, 1058
xxx_Deinit, 1057
xxx_Init, 1056
xxx_IOControl, 1060-1065
xxx_Open, 1057
xxx_PowerDown, 1059
xxx_PowerUp, 1060
xxx_Read, 1058
xxx_Seek, 1059
xxx_Write, 1059
names, 1046
overview, 1054-1055
services and, 1085
stream mode, 762, 767
stream sockets
client side, 643
closing, 644
connection acceptance, 643
connection process, 640
creating, 641
data transfers, 644
listen mode, 642
overview, 639-640
server side, 641-642
StretchBlt function, 72-73
string resources, 186
StringBuilder class, 1124, 1146
strings
common language runtime, 1123-1125
length, 5
memory allocation, 379
Platform Invoke, 1145-1146
structures, Platform Invoke, 1143
stServiceCenterTimeStamp field, 972
stStartTime field, 559
style flags, 13-14, 22, 133-134
styles, dialog box, 300
stylus
examples, 118-127
inking, 110-116
input focus, 116-117
messages, 110, 116-117
overview, 110
right-button clicks, 117-118
tap, 93
window changes, 116-117
subclassing windows, 134-135
subfolders, 805
subkeys, 417, 881
submenus, 179, 260, 269, 805
super service
controlling programmatically, 1096
examples, 1098-1112
IOCTL commands, 1097-1098
loading, 1095
overview, 1094-1096
starting, 1094
suspend counts, 506
suspending
device enumeration, 714
GAPI applications, 1003
system power, 1036
threads, 506
SuspendThread function, 506
switch statement, 25, 28
switching property pages, 314
SwitchToFiber function, 508
SWP_DRAWFRAME, 134
SWP_FRAMECHANGED, 134
SWP_HIDEWINDOW, 134
SWP_NOACTIVATE, 134
SWP_NOMOVE, 134
SWP_NOSIZE, 134
SWP_NOZORDER, 134
SWP_SHOWWINDOW, 134
Sync service, 719
synchronization
critical sections, 521-523
duplicate handles, 521
event objects, 512-514
interlocked variable access, 523-525
memory-mapped objects, 529
mutexes, 520-521
overview, 511
semaphore objects, 518-520
waiting, 514-518
synchronous connections, 961, 963
synchronous device detections, 716, 718
synchronous I/O, 588
system event notifications
examples, 566-579
overview, 564-566
system heap, 358
system information RAPI functions, 752
System.Console.WriteLine, 1118
SystemIdleTimerReset function, 1039
SystemParametersInfo function, 1039
SystemPowerState field, 1041
SYSTEM_POWER_STATUS_EX2 structure, 1034
systems programming. See also memory management; power management
memory architecture, 1025-1027
overview, 1025
SYSTEMTIME structure, 288, 394, 967, 970
systemwide unique identifiers, 395
szAppName field, 33, 964
szCmdLine field, 964
szCmdLine parameter, 496
szDbaseName field, 444
szDescription field, 639
szDllName field, 1088
szName field, 877
szPrefix field, 1089
szPrefix parameter, 1088
szRegWritePath parameter, 1096
szShortcut parameter, 804
szSystemStatus field, 639
szTip field, 809
szToken field, 963, 964
T
T9 text input mode, 952
tab control, 206, 295
Tab key, 93
TA_BASELINE, 45
TA_BOTTOM, 45
TA_CENTER, 45
TA_LEFT, 45
TA_NOUPDATECP, 45
TA_RIGHT, 45
tabs, 868-869, 950
tap-and-hold gestures, 118
TAPI (Telephony API), 958
taps. See also mouse; Smartphone; touch screens
input focus, 116-117
screen position, 109
single vs. double, 109
taskbars
described, 129
examples, 809-816
overview, 808-809
Tasks item, 875
TA_TOP, 45
TA_UPDATECP, 45
TB_AUTOSIZE, 220
TBBUTTON structure, 213-214
TBBUTTONINFO structure, 943
TB_CHECKBUTTON, 215
TB_GETBUTTONINFO, 214, 942
TB_GETIMAGELIST, 216
TB_GETRECT, 218
TBIF_COMMAND, 943
TBIF_LPARAM, 943
TBIF_STATE, 943
TBIF_TEXT, 943
TB_ISBUTTONCHECKED, 215
TB_LOADIMAGES, 216
TBN_DROPDOWN, 217
TB_SETBUTTONINFO, 214, 942
TB_SETDISABLEDIMAGELIST, 216
TBSTATE_AUTOSIZE, 267
TBSTATE_CHECKED, 214, 267
TBSTATE_DROPDOWN, 267
TBSTATE_ENABLED, 213, 267, 943
TBSTATE_HIDDEN, 213
TBSTATE_INDETERMINATE, 214
TBSTATE_PRESSED, 214
TBS_TRANSPARENT, 260
TBSTYLE_AUTOSIZE, 214
TBSTYLE_BUTTON, 214, 942
TBSTYLE_CHECK, 214
TBSTYLE_CHECKGROUP, 214
TBSTYLE_DROPDOWN, 214, 942
TBSTYLE_GROUP, 214
TBSTYLE_SEP, 214
TCS_BOTTOM, 353
TCS_EX_REGISTERDROP, 295
TCS_HOTTRACK, 295
telephones. See cell phones
Telephony API (TAPI), 958
templates
dialog boxes, 298-302
filenames, 410
Pocket PC, 848-849
temporary files, 410
temporary New menu additions, 849
TerminateInstance function, 33
TerminateProcess function, 497
terminating processes, 497-498
terminating zeros, 186
testing for keyboards, 100
text. See also Short Message Service (SMS)
alignment, 45
background colors, 44
background mode, 46
device context attributes, 44-46
displaying, 43
entry cursor, 41
examples, 46-51
fonts, 52-54
foreground colors, 44
formatting, 43
overview, 43-44
scrolling, 108
Smartphone controls, 951-953
window, 22
TEXT macro, 23, 43, 753
TEXTMETRIC structure, 55, 66
TEXT_PROVIDER_SPECIFIC_DATA structure, 967-969
theme colors, Today screen, 879
third-party drivers, 1046
thread stack, 376
ThreadFunc function, 503
THREAD_PRIORITY_ABOVE_IDLE, 500
THREAD_PRIORITY_ABOVE_NORMAL, 500, 505
THREAD_PRIORITY_BELOW_NORMAL, 500
THREAD_PRIORITY_HIGHEST, 500
THREAD_PRIORITY_IDLE, 500, 504
THREAD_PRIORITY_LOWEST, 500
THREAD_PRIORITY_NORMAL, 500-501, 504
THREAD_PRIORITY_TIME_CRITICAL, 500, 504
ThreadProc routine, 509
threads
address space, 1026
described, 489
creating, 502-504
custom input methods, 896
fibers, 507-509
local storage, 509-511
overview, 499
power management, 501
priority changes, 504-505
priority processing, 499-501
resuming, 506
scheduling, 499-502
serial communication, 588
serial port data, 587
suspending, 506
synchronization
critical sections, 521-523
events, 512-514
examples, 535-549
interlocked variable access, 523-525
mutexes, 520-521
overview, 511
semaphores, 518-520
waiting, 514-518
time quantums, 499, 506
thresholds, memory, 381-384
throw keyword, 549-552
thumb positions, 143, 145
TicksSinceLast method, 1140
time
date and time picker control, 289-291
file access, 393-394
notification start and end, 559
OBEX device discovery, 716
process terminations, 498
SMS time estimates, 973
thread quantums, 499, 506
thread scheduling, 499-502
user input timer resets, 1039
time zone translations, 394
timeout parameter, 516
timeout values, serial communication, 592-593, 598
timeouts, preventing suspension, 1039
timer event notifications
examples, 566-579
overview, 563
TIMEVAL structure, 650
title bars, 133, 300
tlit field, 877
tlitCustom field, 877
TLS (thread local storage), 509-511
TlsAlloc function, 511
TlsFree function, 511
TlsGetValue function, 511
TLS_MINIMUM_AVAILABLE, 510
TlsSetValue function, 511
tmExternalLeading field, 56, 66
tmHeight field, 56, 66
Today screen
debugging, 881
described, 833
examples, 881-895
implementing, 876-880
item window, 878-879
options dialog, 880
overview, 875
refreshing, 880
registering, 880
user interaction, 879
Today screen Control Panel applet, 875, 877, 880-881
Today title bar, 875
TODAYDRAWWATERMARKINFO structure, 879
TODAYLISTITEM structure, 876, 878, 880, 894
TODAYLISTITEMTYPE enumeration, 877
TODAYM_DRAWWATERMARK, 879
TODAYM_GETCOLOR, 879
toggled state, key, 98
tool tip control, 207
toolbar control, 206, 296
tooltips, 219, 296
top-down Start menu, 833
top-level forms, 1133
top-level windows, 23, 129
ToString method, 1125
touch panel drivers, 1046
touch screens
examples, 118-127
inking, 110-116
input focus, 116-117
messages, 110
overview, 4, 110
right-button clicks, 117-118
stylus, 110
tap-and-hold gestures, 118
taps, 109, 116-117
TPMPARAMS structure, 181, 218
TPM_RETURNCMD, 181
TPM_VERTICAL, 218
trackbar control, 206, 295
TrackingPopupMenu function, 181
TrackPopupMenuEx function, 218
transferring data, sockets, 644
transferring files. See Object Exchange (OBEX)
transition key state, 97
TranslateAccelerator function, 185
TranslateMessage function, 24, 307
translating file times, 394
translating virtual key codes, 99
TransmitCommChar function, 587, 597
TRANSPARENT, 879
transparent, 46, 73, 89
TransparentImage function, 73
transport technologies. See device-to-device communication
tree view control, 206, 296
triggering notifications. See notifications
TRIVERTEX structure, 81
TrueType fonts, 52, 54
TRUNCATE_EXISTING, 388, 442
truncating files, 392
trusted modules, 525-527, 995
try keyword, 549-556
TryEnterCriticalSection function, 522
tszAppName field, 973
tszParams field, 973
tszProtocolName field, 973
TVS_CHECKBOXES, 296
TVS_SINGLESEL, 296
TVS_TRACKSELECT, 296
TWOSTOPBITS, 591
Type field, 370
Type parameter, 641
U
uBand parameter, 242
uBytes parameter, 372-373
uCallbackMessage field, 808
UDM_SETBUDDY, 954
UDN_EXPANDING, 955
UDS_ALIGNRIGHT, 953
UDS_AUTOBUDDY, 953
UDS_EXPANDABLE, 953, 955
UDS_HORZ, 955
UDS_NOSCROLL, 953, 955
UDS_SETBUDDYINT, 955
UDS_WRAP, 955
uEnable parameter, 180
uFirstChar parameter, 56
uFlag parameter, 373
uFlags field, 808
uFlags parameter, 179, 372
uiAction parameter, 872, 874
uID field, 808
uIDNewItem parameter, 180
uiEndTime field, 963
uiParam parameter, 872
uiPeriod field, 963
uiStartTime field, 963
UiVal data type, 440
ULARGE_INTEGER structure, 414
uLastChar parameter, 56
ulMaxConnLatency parameter, 963
ulMaxCost parameter, 963
ul_reason_for_call parameter, 493
ulRecordLength parameter, 682
UlVal data type, 440
ulZoneMask field, 1071
uMapType parameter, 100
uMsg parameter, 310, 868
Unadvise method, 784
unblocking threads, 501
UNC (Universal Naming Convention), 616, 623, 626
unchecked button state, 215
unchecked check boxes, 138
unchecked radio buttons, 138
undocking input panels, 903
Unicode, 4, 9, 33, 639
uninitialized read/write data, 378
UNIVERSAL_NAME_INFO_LEVEL, 626
unloading drivers, 1050
unloading services, 1087, 1089, 1092
unloading Today screen items, 880
unmanaged code, 1114, 1140-1146
unmanaged types, 1142
unmapping virtual pages, 368
UnmapViewOfFile function, 407
unmounted database volumes, 441, 443
unnamed memory-mapped objects, 529-530
UnregisterHotKey function, 829
unregistering hot keys, 829
unregistering Today screen item windows, 878
un-subclassing windows, 135
unsupported common controls, 296
untrusted modules, 525-527, 995
uNumToolTips parameter, 220
Up Arrow key, 94
up volume button, 945
UpdateWindow statement, 23
up-down control, 207, 295, 953-956
up/down state, key, 98
uppercase, 294
upportflags field, 689
User component, 40
user feedback, screen, 110
user input timers, resetting, 1039
user notifications
acknowledging, 562-563
configuring, 561
described, 557
examples, 566-579
overview, 557
querying, 580-581
setting, 558-560
user screen writing storage, 110-116
UserOptionsDlg method, 901
using directives, 1118
uStartIndex, 71
uSvc flag, 778
UTC (universal time format), 394
uType field, 449
uType parameter, 13
uuidService field, 689
uUnique parameter, 410
V
val field, 451
valid window regions, 27, 40-41
ValidateRect function, 41
validating virtual pages, 359
value types, 1120-1122
values, registry
deleting, 419
overview, 415-416
reading, 418
subkeys, 421
writing, 419-420
variables
interlocked access, 523-525
prefixes, 6-7
VER_PLATFORM_WIN32, 1032
versions
compile-time, 1030-1031
explicit linking, 1032
GAPI, 997
Hello World applications, 14
overview, 1028-1030
RAPI, 749
run-time checking, 1032-1033
Windows CE platforms, 1029
version-sensitive DLLs, 998
vertical progress bars, 295
vertical scroll bars, 146
Vertical Scrollbar Visibility value, 416
vertical tap position, 109
vertical text limitations, 295
vertically centered text, 43
VIDEO_POWER_MANAGEMENT, 1038
virtual COM ports, Bluetooth communication, 687-692
virtual key codes, 824-826, 903
virtual keys, 93-100, 185
virtual list view mode, 293-294
virtual memory, 359-362, 365-371
virtual pages, 359-360, 365-371
virtual RAM disks, 358
virtual serial ports, 672
VirtualAlloc function, 365
VirtualFree function, 368
VirtualProtect function, 369
VirtualQuery function, 369
Virtualxxx functions, 364
visibility
command bar, 221
navigation items, 871
window, 130
VisibleDesktop property, 1136
Visual Basic .NET, 1116, 1119, 1123
Visual C#, 1116-1118, 1122
vkAppKey parameter, 826
VKey parameter, 99
Vk_LEFT, 825
VK_LWIN, 826
VK_MENU, 117
VK_OFF, 1036
VK_RETURN, 825
VK_RIGHT, 825
VK_TBACK, 945
VK_TRECORD, 945
VK_TSOFT1, 945
VK_TSOFT2, 945
VK_TVOLUMEDOWN, 945
VK_TVOLUMEUP, 945
VK_UP, 825
VK_xx, 93-100
volume buttons, 945
volumes
database, 441-443
opening, 390
serial numbers, 395
W
WAIT_ABANDONED, 515-516
waitable timers, 512
WaitCommEvent function, 588, 592
WAIT_FAILED, 515-516
WaitForMultiple functions, 514
WaitForMultipleObjects function, 516, 548
WaitForSingleObject function, 514, 520, 532, 546, 1041
waiting, synchronization, 514-518
WAIT_OBJECT_0, 515-516, 518
WAIT_TIMEOUT, 515-516
WakeFromDx field, 1069
waking suspended devices, 1039
WC_CAPEDIT, 294
WCE emulators, 10
WC_LISTVIEW, 292
wcProvChar field, 595
wcscpy, 9
WC_SIPPREF, 867
wDay field, 288
weeks, calendar, 286-289
wFlags field, 451, 455
wheel rotations, mouse, 109
WHEEL_DELTA, 110
while loop, 501, 507
WHITE_PEN, 75
wID field, 240
wide dashed lines, 76
WideCharToMultiByte function, 639, 753
widths
combo boxes, 219
dialog boxes, 299
fonts, 53, 56
GAPI displays, 999
shapes, 77-89
wildcards, 410
Win32 exception handling, 552-556
Win32 subset, 6
WIN32_FIND_DATA structure, 411
WIN32_PLATFORM_HPC2000, 1031
WIN32_PLATFORM_HPCPRO, 1031
WIN32_PLATFORM_PSPC, 34, 849, 1031
WIN32_PLATFORM_WFSP, 1031
WIN32_WCE, 1031
window. See also controls; dialog boxes; drawing; resources; text
areas, 26
child, 129
customizing, 1128
destroying, 27, 36
editing structure values, 132-135
enumerating, 131
finding, 131
full screen, 871
Hello World applications, 22-23
icons, 184
input focus, 92, 116-117
locations, 527-528
management functions, 130-135, 757
notifications, 15-17
overview, 129
painting, 25-27
positions, 23
procedures
code fragments, 28-37
vs. dialog box procedures, 304
Hello World applications, 24-28
overview, 15-17
regions, 40-41, 54
resizing, 845
size, 23, 26, 37
tooltips, 219, 296
validation, 27
visibility, 130
window classes, 15, 20-21, 33, 135-137, 184, 297
Windows CE. See also drivers; services
components, 40
configurations, 5
customizing, 5
memory map, 1025-1027
vs. other Windows platforms, 3-7
overview, 3-7
platform versions, 1029
Windows Context Menu key, 97
Windows controls. See controls
Windows Forms applications, 1126-1133
Windows matching fonts, 54
Windows message coordination, 15-17
Windows Networking. See WNet
Windows-based applications, 15-17
WinMain procedure, 497
WINS (Windows Internet Naming Service), 1098
Winsock
Bluetooth, 672, 685-687
initializing, 638-639
vs. IrSock, 645
overview, 638
stacks, 637
stream sockets, 639-645
wireless communication. See device-to-device communication
wKeyFlags field, 445
wLenData field, 451
WM_ACTIVATE, 846, 867
WM_BUTTONDOWN, 109
WM_CAPTURECHANGED, 117
WM_CHAR, 93, 96, 101, 824, 904
WM_CLOSE, 36, 497, 829
WM_COMMAND, 136, 181, 183, 207, 304, 351
WM_COPYDATA, 528-529
WM_CREATE, 23, 127, 176, 304, 405
WM_CTLCOLORBUTTON, 178
WM_CTLCOLORSTATIC, 178, 894
WM_DBNOTIFICATION, 448
WM_DEADCHAR, 98
WM_DESTROY, 27
WM_DRAWITEM, 139, 178
WM_ENTERIDLE, 303
WM_ERASEBACKGROUND, 41
WM_ERASEBKGND, 21, 879
WM_GETTEXT, 140
WM_HELP, 220, 300
WM_HIBERNATE, 130, 380-382
WM_HOTKEY, 828, 945, 947
WM_HSCROLL, 143, 178
WM_INITDIALOG, 304-306, 351, 865-866, 894, 949
WM_KEYDOWN, 93, 96, 101, 824, 904
WM_KEYUP, 93, 96, 101, 824, 904
WM_KEYxx, 93
WM_KEYxxx, 904
WM_KILLFOCUS, 92, 1003
WM_LBUTTONDBLCLK, 109
WM_LBUTTONDOWN, 109-116, 134, 204
WM_LBUTTONUP, 109-110, 880
WM_MBUTTONDOWN, 109
WM_MBUTTONUP, 109
WM_MOUSEMOVE, 109, 111-116
WM_MOUSEWHEEL, 109
WM_NCxxx, 26
WM_NOTIFY, 118, 207, 217, 245, 351, 437, 488
wMonth field, 288
WM_PAINT, 23, 25-27, 40-43, 100, 108, 204, 245
WM_QUIT, 24, 27
WM_RBUTTONDOWN, 109, 117
WM_RBUTTONUP, 117
WM_SETFOCUS, 92, 1003
WM_SETTEXT, 140
WM_SETTINGCHANGE, 290, 846
wMsg field, 962
wMsg parameter, 25
WM_SIZE, 127, 176, 204, 794
WM_SYSCHAR, 93, 96
WM_SYSKEYDOWN, 93
WM_SYSKEYUP, 93
WM_SYSKEYxx, 93
WM_TODAYCUSTOM_CLEARCACHE, 880
WM_TODAYCUSTOM_QUERYREFRESHCACHE, 878, 894
WM_USER, 448, 808, 1135
WM_VSCROLL, 143, 178, 204
WM_xSCROLL, 147
WNDCLASS structure, 20-21, 132
WndProc method, 1127, 1134
WNet
disconnecting remote resources, 619-620
enumerating resources, 620-625
examples, 627-635
functions, 616
mapping remote drives, 616-619
overview, 615-616
querying, 625-627
UNC names, 616
WNetAddConnection functions, 616
WNetAddConnection2 function, 617
WNetAddConnection3 function, 616-618
WNetCancelConnection2 function, 619
WNetCloseEnum function, 623
WNetConnectionDialog1 function, 618
WNetDisconnectDialog function, 619
WNetDisconnectDialog1 function, 620
WNetEnumResource function, 622
WNetGetConnection function, 625
WNetGetLastError function, 618
WNetGetUniversalName function, 626
WNetGetUser function, 627
WNetOpenEnum function, 620-625
wNumProps field, 445
wNumReaders field, 534
wNumRecords field, 445
wNumSortOrder parameter, 444
wNumWriters field, 534
wPacketLength field, 594
wPacketVersion field, 594
wParam field, 962
wParam parameter, 24-25, 92-93, 96, 100, 109, 136, 181
wProcessorArchitecture field, 360
wProcessorLevel field, 361
wProcessorRevision field, 361
Wrap To Window value, 416
WrapString function, 204
write file access, 388
Write function, 1059, 1091
Write method, 768, 773
WriteFile function, 587, 592, 692, 1053, 1059
WriteFile parameter, 391
WriteLine method, 1117-1118, 1124
WriteMsgQueue function, 532
WriteProcessMemory function, 498
WriteTotalTimeoutConstant function, 592
WriteTotalTimeoutMultiplier function, 592
writing. See also text
custom functions, 763-767
database records, 455
drivers, 1052-1054
files, 390, 406-408
registry values, 419-420, 780
serial port data, 587
WSAAsync function, 648
WSAAsyncSelect function, 638
WSACleanup function, 639
WSAData structure, 638
WSA_E_NO_MORE, 675
WSAEWOULDBLOCK, 643
WSAGetLastError function, 639, 641
WSALookupServiceBegin function, 673-678
WSALookupServiceEnd function, 676
WSALookupServiceNext function, 674
WSAQUERYSET structure, 673, 678, 682
WSASetService function, 682-685
WSAStartup function, 638
WSAWOULDBLOCK, 649
WS_CAPTION, 133, 300-301
WS_CHILD, 130, 219
WS_EX_CAPTIONOKBTN, 300
WS_EX_CAPTIONOKBUTTON, 22
WS_EX_CLIENTEDGE, 22
WS_EX_CONTEXTHELP, 22, 300
WS_EX_NOACTIVATE, 22
WS_EX_NOANIMATION, 22
WS_EX_NODRAG, 22
WS_EX_OVERLAPPEDWINDOW, 22
WS_EX_STATICEDGE, 22
WS_EX_TOPMOST, 22
WS_EX_WINDOWEDGE, 22
WS_GROUP, 301
WS_OVERLAPPED, 130, 380
WS_POPUP, 300
WS_SYSMENU, 300
WS_TABSTOP, 301
WS_VISIBLE, 23, 130, 176, 219, 380
WS_VSCROLL, 950
wVersion field, 444-445
wYear field, 288
X
x coordinates, 44-45
XIP (Execute in Place), 358, 362, 364, 387
XIP DLLs, 362
XOFF characters, 591, 597
XoffLim field, 591
XON characters, 591
XonLim field, 591
XON/XOFF control, 591
xxx_Close, 1058
xxx_Deinit, 1057, 1090
xxx_Init, 1056, 1089
xxx_IOControl, 1060-1065, 1090
xxx_Open, 1057
xxx_PowerDown, 1059
xxx_PowerUp, 1060
xxx_Read, 1058
xxx_Seek, 1059
xxx_Write, 1059
Y
y coordinates, 44-45
Yes/No buttons, 947
Z
zero terminated string resources, 186
zone bitmaps, 1093
Z-order, 92, 381
Previous
Last Updated: May 30, 2003
|