Index
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
widthscombo 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
procedurescode 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
WinsockBluetooth, 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
WNetdisconnecting 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