Index
R
radio buttons, 138, 301
radio frequency communicationBluetoothdiscovery, 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
readingdatabase 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, databasedeleting, 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
registeringdriver 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
registryapplication 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
removingdirectories, 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
resizingbitmaps, 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
resourcesaccelerators, 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
resumingdevice 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