《Visual Basic.NET Win32 API大全》PDF下载

  • 购买积分:25 如何计算积分?
  • 作  者:超维度工作室著
  • 出 版 社:北京:中国铁道出版社
  • 出版年份:2003
  • ISBN:7113055230
  • 页数:984 页
图书介绍:本书是一本快速查找Visual Basic.NET Windows API的函数库字典,内容主要包括:控件、硬件与系统、系统设备、绘图、图标、运算、工具栏、文本和字体、打印、文件处理、线程、Windows消息、网络等Windows API 函数。

第1章 网络 1

1-1 closesocket(.NET) 1

1-2 Connect(.NET) 4

1-3 DdeConnect 5

1-4 DdeCreateStringHandle 7

1-5 DdeFreeStringHandle 8

1-6 DdeInitialize 9

1-7 DdeNameService 11

1-8 DdeQueryString 13

1-9 DdeUninitialize 14

1-10 FindCloseUrlCache 16

1-11 FindFirstUrlCacheEntry 17

1-12 FindNextUrlCacheEntry 18

1-13 FtpCreateDirectory(.NET) 20

1-14 FtpDeleteFile(.NET) 21

1-15 FtrFindFirstFile(.NET) 23

1-16 FtpGetCurrentDirectory(.NET) 24

1-17 FtpGetFile(.NET) 26

1-18 FtpPutFile(.NET) 28

1-19 FtpRemoveDirectory(.NET) 30

1-20 FtpRenameFile(.NET) 32

1-21 FtpSetCurrentDirectory(.NET) 33

1-22 gethostbyaddr(.NET) 35

1-24 gethostname(.NET) 36

1-23 gethostbyname(.NET) 36

1-25 GetlpAddrTable 37

1-26 GetIpNetTable 38

1-27 GetIpStatistics 39

1-29 getsockopt(.NET) 40

1-28 GetNetworkParams 40

1-30 GetTcpStatistics 42

1-31 GetTcpTable 43

1-33 htons 44

1-32 GetUdpStatistics 44

1-34 IcmpCloseHandle 45

1-36 IcmpSendEcho 46

1-35 IcmpCreateFile 46

1-37 InetIsOffline 48

1-39 inet_ntoa(.NET) 49

1-38 inet_addr(.NET) 49

1-40 InternetAttemptConnect 50

1-41 InternetCheckConnection 51

1-43 IntemetCombineUrl 52

1-42 InternetCloseHandle 52

1-44 InternetConnect 53

1-45 InternetFindNextFile 55

1-46 InternetGetConnectedState 56

1-47 InternetGetConnectedStateEx 57

1-49 InternetOpen 58

1-48 InternetGetLastResponseInfo 58

1-50 InternetOpenUrl 59

1-51 InternetReadFile 61

1-52 IsDestinationReachable 62

1-53 IsNetworkAlive 63

1-54 IsValidURL 64

1-55 Netbios 65

1-56 NetShareAdd 66

1-57 NetShareDel 67

1-58 NetShareGetInfo 68

1-59 NetWkstaGetInfo 69

1-60 ntohs 70

1-61 RasDial 71

1-62 RasEnumConnections 72

1-63 RasEnumEntries 73

1-64 RasGetConnectionStatistics 74

1-65 RasGetEntryDialParams 75

1-66 RasGetErrorString 76

1-67 RasHangUp 77

1-68 recv(NET) 78

1-70 setsockopt(NET) 79

1-69 Send(NET) 79

1-71 socket(NET) 80

1-72 tapiRequestMakeCall 81

1-73 URLDownloadToFile 82

1-74 UuidCreate(NET) 83

1-75 WNetAddConnection 84

1-76 WNetAddConnection2 86

1-77 WNetCancelConnection 88

1-78 WNetCancelConnection2 89

1-79 WNetCloseEnum 90

1-80 WNetEnumResource 91

1-81 WNetGetConnection 92

1-82 WNetGetUser 93

1-83 WNetOpenEnum 95

1-84 WSAAsyncSelect(.NET) 96

1-86 WSACleanup 97

1-85 WSACancelBlockingCall 97

1-87 WSAGetLastError 98

1-89 WSAStartup 99

1-88 WSAIsBlocking 99

2-1 ImageList_Draw(.NET) 101

第2章 图像 101

2-2 lmageList_DrawEx(.NET) 102

2-3 LoadImage(.NET) 104

2-4 OleCreatePictureIndirect 105

2-5 OleLoadPicturePath 107

2-6 SetBitmapBits 108

2-7 SetDIBitsToDevice(.NET) 109

2-8 TransparentBlt 110

3-1 AngleArc(.NET) 113

第3章 绘图 113

3-2 Arc(.NET) 114

3-3 ArcTo(.NET) 115

3-5 Chord 116

3-4 BeginPath(.NET) 116

3-6 CombineRgn(.NET) 117

3-7 CopyRect 119

3-8 CreateBrushIndirect(.NET) 120

3-9 CreateCompatibleDC(.NET) 121

3-10 CreateDC(.NET) 122

3-11 CreateDIBPatternBrushPt(.NET) 123

3-13 CreateEllipticRgnIndirect(.NET) 124

3-12 CreateEllipticRgn(.NET) 124

3-14 CreateHatchBrush(.NET) 125

3-15 CreatePalette(.NET) 126

3-16 CreatePattemBrush(.NET) 128

3-18 CreatePenIndirect(.NET) 129

3-17 CreatePen(.NET) 129

3-19 CreatePolygonRgn(.NET) 131

3-20 CreatePolyPolygonRgn(.NET) 132

3-21 CreateRectRgn(.NET) 133

3-22 CreateRectRgnIndirect(.NET) 134

3-24 CreateSolidBrush(.NET) 135

3-23 CreateRoundRectRgn(.NET) 135

3-25 DeleteDC(.NET) 136

3-26 DeleteObject(.NET) 137

3-27 DrawAnimatedRects 138

3-28 DrawEdge 139

3-29 DrawFocusRect 141

3-30 DrawIcon(.NET) 142

3-31 DrawIconEx(.NET) 143

3-32 DrawState 145

3-33 DrawText(.NET) 146

3-34 DrawTextEx(.NET) 148

3-35 Ellipse(.NET) 149

3-36 EndPath 150

3-37 EqualRgn(.NET) 151

3-38 ExtFloodFill 152

3-39 FillPath 153

3-40 FillRect(.NET) 154

3-41 FillRgn(.NET) 155

3-42 FloodFill 157

3-43 FrameRect 158

3-44 FrameRgn(.NET) 159

3-45 GdiGradientFillRect(.NET) 160

3-47 GetBkColor 162

3-46 GetArcDirection(.NET) 162

3-48 GetClipRgn(.NET) 163

3-49 GetColorAdjustment 164

3-50 GetDC(.NET) 165

3-52 GetNearestColor(.NET) 166

3-51 GetLayout 166

3-53 GetObject 167

3-54 GetObjectType 168

3-55 GetPixel(.NET) 170

3-57 GetRgnBox(.NET) 172

3-56 GetPolyFillMode(.NET) 172

3-59 GetStockObject 174

3-58 GetROP2 174

3-60 GetWindowDC(.NET) 175

3-61 GradientFillRect(.NET) 176

3-62 GradientFillTriangle(.NET) 177

3-63 InflateRect(.NET) 179

3-64 IntersectClipRect(.NET) 180

3-65 IntersectRect(.NET) 181

3-66 InvertRect 182

3-67 InvertRgn(.NET) 183

3-68 IsRectEmpty(.NET) 184

3-70 MonitorFromPoint(.NET) 185

3-69 LineTo(.NET) 185

3-71 MonitorFromRect(.NET) 186

3-72 MonitorFromWindow(.NET) 187

3-73 MoveToEx(.NET) 188

3-74 OffsetClipRgn 189

3-76 OffsetRgn(.NET) 190

3-75 OffsetRect(.NET) 190

3-78 PaintDesktop 192

3-77 OleTranslateColor 192

3-79 PatBlt 193

3-80 Pie(.NET) 194

3-81 PlgBlt 195

3-82 PolyBezier(.NET) 196

3-83 PolyBezierTo(.NET) 197

3-84 PolyDraw(.NET) 198

3-85 Polygon(.NET) 199

3-86 Polyline(.NET) 200

3-87 PolylineTo(.NET) 201

3-88 PolyPolygon(.NET) 202

3-89 PolyPolyline(.NET) 203

3-90 PolyTextOut(.NET) 204

3-91 PtInRect 205

3-92 PtInRegion(.NET) 206

3-93 RealizePalette 207

3-94 Rectangle(.NET) 208

3-95 RedrawWindow 209

3-96 ReleaseDC 210

3-98 ScrollDC 211

3-97 RoundRect 211

3-99 SelectClipRgn(.NET) 213

3-100 SelectObject(.NET) 214

3-102 SetArcDirection(.NET) 215

3-101 SelectPalette 215

3-103 SetBkMode 216

3-104 SetColorAdjustment 217

3-106 SetLayout 218

3-105 SetDeviceGammaRamp 218

3-107 SetMapMode 219

3-108 SetPixel(.NET) 220

3-109 SetPixelV(.NET) 221

3-111 SetRect(.NET) 222

3-110 SetPolyFillMode 222

3-112 SetRectEmpty(.NET) 223

3-113 SetROP2 224

3-114 SetStretchBltMode 225

3-115 SetSysColors 226

3-116 StretchBlt(.NET) 227

3-117 StrokeAndFillPath 228

3-119 SubtractRect 229

3-118 StrokePath 229

3-120 TranslateColor 230

3-121 UnionRect(.NET) 231

4-2 InitCommorControlsEx 233

4-1 InitCommonControls 233

第4章 动态链接 233

4-3 LoadLibrary 234

4-4 LoadLibraryEx 235

5-1 AddAccessAllowedAce 237

第5章 帐户与权限 237

5-2 AddAccessDeniedAce 238

5-3 AddAce 239

5-4 AdjustTokenPrivileges 241

5-5 AllocateAndInitializeSid 242

5-6 EqualSid 243

5-7 FreeSid(.NET) 245

5-8 GetAce 246

5-9 GetAclInformation 247

5-11 GetDefaultUserProfileDirectory 248

5-10 GetAllUsersProfileDirectory 248

5-12 GetLengthSid 249

5-13 GetPriorityClass(.NET) 250

5-14 GetPrivateProfileInt 251

5-15 GetPrivateProfileSection 252

5-16 GetPrivateProfileSectionNarnes 253

5-17 GetPrivateProfileString 254

5-18 GetProfileInt 255

5-19 GetProfilesDirectory 256

5-20 GetProfileString 257

5-21 GetSecurityDescriptorDacl 258

5-22 GetTokenInformation 259

5-23 GetUserName(.NET) 261

5-24 GetUserNameEx(.NET) 262

5-25 GetUserProfileDirectory 263

5-26 InitializeAcl 264

5-27 InitializeSecurityDescriptor 265

5-28 IsNTAdmin 266

5-30 LookupAccountName 267

5-29 IsValidSid 267

5-32 NetUserGetInfo 269

5-31 LookupPrivilegeValue 269

5-33 OpenSCManager 271

5-34 PwdChangePassword 272

5-35 SetSecurityDescriptorDacl 273

6-1 CopyMemory(.NET) 275

第6章 内存 275

6-2 CoTaskMemFree(.NET) 276

6-3 FillMemory(.NET) 277

6-4 FreeEnvironmentStrings(.NET) 278

6-5 FreeLibrary(.NET) 279

6-6 GlobalAlloc 280

6-8 GlobalLock 283

6-7 GlobalFree 283

6-9 GlobalMemoryStatus 284

6-10 GlobalMemoryStatusEx 285

6-11 GlobalUnlock 286

6-12 HeapAlloc 289

6-13 HeapFree 290

6-15 IsBadStringPtr 291

6-14 IsBadReadPtr 291

6-16 IsBadWritePtr 292

6-17 NetApiBufferFree 293

6-18 RpcStringFree 294

6-20 VarPtr 295

6-19 SetWindowWord 295

6-21 VirtualAlloc 296

6-22 VirtualFree 297

6-23 VirtualLock 298

6-24 VirtualUnlock 299

6-25 ZeroMemory 300

7-2 EmptyClipboard(.NET) 303

7-1 CloseClipboard(.NET) 303

第7章 剪贴板 303

7-3 GetClipboardData(.NET) 304

7-4 IsClipboardFormatAvailable 305

7-5 OpenClipboard(.NET) 306

7-7 SetClipboardViewer 307

7-6 SetClipboardData(.NET) 307

8-1 AppendMenu(.NET) 309

第8章 菜单 309

8-2 CreatePopupMenu(.NET) 310

8-3 DeleteMenu 311

8-4 DestroyMenu(.NET) 312

8-6 EndMenu 313

8-5 DrawMenuBar 313

8-7 GetMenu(.NET) 314

8-8 GetMenuItemCount(NET) 315

8-9 GetMenuItemID(.NET) 316

8-10 GetMenuItemInfo(.NET) 317

8-11 GetMenuItemRect 318

8-13 InsertMenuItem(.NET) 319

8-12 GetSubMenu(.NET) 319

8-14 ModifyMenu(.NET) 321

8-15 RegisterHotKey 322

8-16 RemoveMenu(.NET) 323

8-17 SetMenuItemBitmaps 324

8-18 SetMenuItemlnfo(.NET) 325

8-19 TrackPopupMenu(.NET) 326

8-20 TrackPopupMenuEx(.NET) 327

8-21 UnregisterHotKey 328

9-2 AdjustWindowRectEx 331

9-1 AdjustWindowRect 331

第9章 窗口 331

9-3 AllowSetForegroundWindow 332

9-4 AnimateWindow 333

9-5 BeginDeferWindowPos 334

9-7 CheckMenuRadioItem(.NET) 335

9-6 BringWindowToTop(.NET) 335

9-8 CloseWindow(.NET) 336

9-9 CreateWindowEx(.NET) 337

9-10 DeferWindowPos 340

9-12 DoFileDownload 342

9-11 DestroyWindow(.NET) 342

9-13 DrawCaption 343

9-14 DrawFrameControl 344

9-15 EnableWindow(.NET) 346

9-16 EndDeferWindowPos 347

9-17 EnumChildWindows 348

9-18 EnumDesktops 349

9-19 EnumProps 350

9-20 EnumPropsEx 351

9-21 EnumWindows 353

9-22 ExitWindowsEx 354

9-23 FindWindow 355

9-25 FlashWindow 356

9-24 FindWindowEx 356

9-26 FlashWindowEx 357

9-27 FlatSB_EnableScrollBar 358

9-28 FlatSB_GetScrollInfo 359

9-29 FlatSB_GetScrollPos 360

9-30 FlatSB_GetScrollProp 362

9-31 FlatSB_GetScrollRange 363

9-32 FlatSB_SetScrollInfo 364

9-33 FlatSB_SetScrollPos 365

9-34 FlatSB_SetScrollProp 366

9-35 FlatSB_SetScrollRange 367

9-36 FlatSB_ShowScrollBar 368

9-37 GetActiveWindow(.NET) 369

9-38 GetAncestor(.NET) 370

9-39 GetClassInfo 371

9-40 GetClassInfoEx 372

9-42 GetClientRect(.NET) 373

9-41 GetClassName 373

9-43 GetDesktopWindow 374

9-44 GetFocus(.NET) 375

9-46 GetParent(.NET) 376

9-45 GetForegroundWindow(.NET) 376

9-47 GetProp 377

9-48 GetTitleBarInfo 378

9-50 GetWindowLong 379

9-49 GetWindow 379

9-51 GetWindowPlacement(.NET) 380

9-52 GetWindowRect(.NET) 381

9-53 GetWindowsDirectory 382

9-54 GetWindowText(.NET) 383

9-55 GetWindowTextLength(.NET) 384

9-57 InitializeFlatSB 385

9-56 GetWindowWord 385

9-58 IsChild 386

9-60 IsWindow 387

9-59 IsIconic(.NET) 387

9-61 IsWindowEnabled(.NET) 388

9-62 IsWindowVisible(.NET) 389

9-64 MoveWindow(.NET) 390

9-63 IsZoomed(.NET) 390

9-65 RegisterClass 391

9-66 ReleaseMutex(.NET) 392

9-68 SetActiveWindow 393

9-67 RemoveProp 393

9-69 SetClassWord 394

9-71 SetLayeredWindowAttributes(.NET) 395

9-70 SetForegroundWindow 395

9-72 SetParent 396

9-73 SetProp 397

9-74 SetWindowLong 398

9-75 SetWindowPlacement(.NET) 399

9-76 SetWindowPos(.NET) 400

9-77 SetWindowRgn(.NET) 401

9-78 SHAppBarMessage 402

9-79 ShowScrollbar(.NET) 403

9-80 ShowWindow(.NET) 404

9-81 UninitializeFlatSB 405

9-83 WindowFromDC 406

9-82 UnregisterClass 406

9-84 WindowFromPoint 407

10-1 BroadcastSystemMessage 409

第10章 消息 409

10-2 DispatchMessage 410

10-3 FindCloseChangeNotification 411

10-4 FindFirstChangeNotification 412

10-5 FindNextChangeNotification 413

10-6 FormatMessage 414

10-7 GetMessage 416

10-9 GetIcmpStatistics 417

10-8 GetMessageExtraInfo 417

10-11 GetLastError 419

10-10 GetInputState 419

10-12 GetNumberOfEventLogRecords 420

10-13 GetOldestEventLogRecord 421

10-14 GetQueueStatus 422

10-15 NetMessageBufferSend 424

10-16 PeekMessage 425

10-17 PostMessage 426

10-19 ResetEvent 427

10-18 PostQuitMessage 427

10-20 SendInput 428

10-21 SendMessage 429

10-22 SendMessageTimeout 430

10-23 TranslateMessage 431

10-24 WaitMessage 432

11-1 BackupEventLog 433

第11章 系统 433

11-3 ChangeDisplaySettings 434

11-2 BlockInput 434

11-4 ChangeDisplaySettingsEx 436

11-5 ClearEventLog(.NET) 438

11-6 ClientToScreen 439

11-7 CloseEventLog(.NET) 440

11-8 CloseHandle(.NET) 441

11-9 CloseServiceHandle 442

11-10 CoCreateGuid(.NET) 443

11-11 CreateMutex(.NET) 444

11-12 DeregisterEventSource 445

11-13 DsBrowseForContainer 446

11-14 EnumResourceNames 447

11-15 EnumServicesStatus 449

11-16 GetComputerName(.NET) 450

11-17 GetComputerNameEx(.NET) 451

11-19 GetEnvironmentStrings(.NET) 453

11-18 GetConsoleDisplayMode 453

11-20 GetEnvironmentVariable(.NET) 454

11-21 GetFreeResources 455

11-22 GetLocalelnfo(.NET) 456

11-23 GetNativeSystemInfo 457

11-24 GetPwrCapabilities 458

11-25 GetStdHandle 459

11-26 GetSysColor 460

11-27 GetSysColorBrush 461

11-28 GetSystemDirectory(.NET) 462

11-29 GetSystemInfo 463

11-30 GetSystemMenu 464

11-31 GetSystemMetrics 465

11-32 GetSystemPaletteEntries 466

11-33 GetSystemPowerStatus 468

11-34 GetSystemTime(.NET) 469

11-36 GetTickCount(.NET) 470

11-35 GetSystemTimeAdjustment 470

11-37 GetVersion(.NET) 471

11-39 InitiateSystemShutdown 472

11-38 GetVersionEx(.NET) 472

11-40 IsProcessorFeaturePresent 473

11-41 IsPwrHibernateAllowed 474

11-42 IsPwrShutdownAllowed 475

11-44 IsSystemResumeAutomatic 476

11-43 IsPwrSuspendAllowed 476

11-46 LockWindowUpdate 477

11-45 IsWow64Process 477

11-47 LockWorkStation 478

11-49 RegisterEventSource 479

11-48 OpenEventLog 479

11-50 RegisterServiceProcess 480

11-51 ReportEvent 481

11-52 SetComputerName 482

11-53 SetEnvironmentVariable 483

11-54 SetSuspendedState 484

11-56 SetSystemTime 485

11-55 SetSystemPowerState 485

11-57 SetupPromptReboot 486

11-58 SHAddToRecentDocs 487

11-59 SHAutoComplete 488

11-60 SHEmptyRecycleBin 489

11-61 SHRestartSystemMB 490

11-62 SHRunDialog 491

11-64 SystemParametersInfo 492

11-63 SHShutDownDialog 492

11-65 VeirifyScreenSavePwd 493

11-66 VerLanguageName 494

11-68 WritePrivateProfileSection 495

11-67 WinHelp 495

11-69 WritePrivateProfileString 496

11-70 WriteProfileString 497

12-2 CharLowerBuif(.NET) 499

12-1 CharLower(.NET) 499

第12章 文本 499

12-3 CharUpper(.NET) 500

12-4 CompareString(.NET) 501

12-5 ExtTextOut(.NET) 503

12-6 GetCurrencyFormat(.NET) 504

12-7 GetNumberFormat(.NET) 505

12-8 GrayString 506

12-9 SetTextAlign 507

12-10 SetTextCharacterExtra 508

12-12 SetWindowText(.NET) 509

12-11 SetTextColor 509

12-13 TabbedTextOut(.NET) 510

12-14 TextOut(.NET) 511

13-1 IsCharAlpha(.NET) 513

13-2 lsCharAlphaNumeric(.NET) 513

第13章 字符与字符串 513

13-3 IsCharLower(.NET) 514

13-4 IsCharUpper(.NET) 515

13-5 IsTextUnicode 516

13-7 lstrcmp(.NET) 518

13-6 Istrcat(.NET) 518

13-8 lstrcmpi(.NET) 519

13-9 lstrcpy(.NET) 520

13-10 lstrcpyn(.NET) 521

13-11 lstrlen(.NET) 522

13-12 lstrlenW(.NET) 523

13-13 UuidToString(.NET) 524

13-14 WideCharToMultiByte 525

14-2 OutputDebugString(.NET) 527

14-1 IsDebuggerPresent(.NET) 527

第14章 调试 527

14-3 SetLastError 528

14-4 SetLastErrorEx 529

15-1 ClipCursor 531

第15章 光标 531

15-3 CreateCursor(.NET) 532

15-2 CreateCaret 532

15-4 DestroyCursor(.NET) 534

15-6 GetClipCursor 535

15-5 GetCaretBlinkTime 535

15-7 GetCursor(.NET) 536

15-9 HideCaret 537

15-8 GetCursorPos(.NET) 537

15-10 LoadCursor(.NET) 538

15-11 LoadCursorFromFile(.NET) 539

15-12 SetCaretBlinkTime 540

15-14 SetCursorPos(.NET) 541

15-13 SetCursor(.NET) 541

15-15 SetSystemCursor 542

15-16 ShowCaret 543

15-17 ShowCursor(.NET) 544

16-2 CopyImage(.NET) 547

16-1 CopyIcon 547

第16章 图标 547

16-4 DuplicateIcon(.NET) 549

16-3 Destroylcon(.NET) 549

16-5 ExtractAssociatedIcon 550

16-6 ExtractIcon 551

16-7 ExtractIconEx 552

16-8 LoadIcon(.NET) 553

16-10 Shell_NotifyIcon(.NET) 554

16-9 OpenIcon(.NET) 554

16-11 SHUpdateRecycleBinIcon 555

17-1 AlphaBlend 557

第17章 位图 557

17-2 BitBlt(.NET) 558

17-3 CreateBitmap(.NET) 560

17-4 CreateCompatibleBitmap(.NET) 561

17-5 CreateDIBSection(.NET) 562

17-6 GdiAlphaBlend 564

17-7 GdiTransparentBlt(.NET) 566

17-8 GetBitmapBits(.NET) 567

17-9 GetDIBits(.NET) 568

17-10 GetStretchBltMode 571

18-2 mouseevent 573

18-1 GetDoubleClickTime(.NET) 573

第18章 鼠标 573

18-3 ReleaseCapture 574

18-4 SetCapture 575

18-6 SwapMouseButton 576

18-5 SetDoubleClickTime 576

18-7 TrackMouseEvent 577

18-8 TrackMouseEvent2 578

19-2 GetKeyboardLayout 579

19-1 GetAsyncKeyState 579

第19章 键盘 579

19-3 GetKeyboardLayoutName 580

19-5 GetKeyboardType 581

19-4 GetKeyboardState 581

19-6 GetKeyState 582

19-7 keyb_event 583

19-8 LoadKeyboardLayout 584

19-10 SetFocus 585

19-9 Putfocus 585

19-11 SetKeyboardState 586

20-1 joyGetDevCaps 589

第20章 控制器 589

20-3 joyGetPos 590

20-2 joyGetNumDevs 590

21-2 hiword 593

21-1 hibyte 593

第21章 算术 593

21-3 lobyte 594

21-4 loword 595

21-5 MulDiv(.NET) 596

22-1 FileTimeToLocalFileTime 597

第22章 时间 597

22-2 FileTimeToSystemTime 598

22-3 GetDateFormat(.NET) 600

22-4 GetLocalTime(.NET) 602

22-5 GetTimeFormat 603

22-6 LocalFileTimeToFileTime(.NET) 605

22-7 NetRemoteTOD 606

22-8 SystemTimeToFileTime(.NET) 607

22-9 timeGetTime(.NET) 608

22-10 TouchFileTimes 609

23-2 AVIFileInfo 611

23-1 AVIFileExit 611

第23章 文件 611

23-4 AVIFileOpen 613

23-3 AVIFileInit 613

23-5 AVIFileRelease 614

23-6 CompareFileTime(.NET) 615

23-7 CopyFile(.NET) 616

23-8 CopyFileEx(.NET) 617

23-9 CopyLZFile 618

23-10 CreateDirectory(.NET) 620

23-12 CreateFile(.NET) 621

23-11 CreateDirectoryEx(.NET) 621

23-13 CreateHardLink 623

23-14 CreatePipe 624

23-15 DecryptFile 625

23-16 DeleteFile(.NET) 626

23-17 DeleteUrlCacheEntry 627

23-19 FindClose(.NET) 629

23-18 EncryptFile 629

23-20 FindExecutable 631

23-21 FindFirstFil(.NET) 632

23-22 FindNextFile(.NET) 633

23-23 GetBinaryType 634

23-24 GetCompressedFileSize 635

23-25 GetCurrentDirectory(.NET) 636

23-26 GetExpandedName 637

23-27 GetFileAttributes(.NET) 638

23-28 GetFileInformationByHandle(.NET) 639

23-29 GetFileNameFromBrowse 640

23-30 GetFileSecurity 641

23-31 GetFileSize(.NET) 642

23-32 GetFileSizeEx(.NET) 643

23-33 GetFileTime(.NET) 645

23-34 GetFileTitle(.NET) 646

23-35 GetFileType 647

23-36 GetFileVersiorInfo(.NET) 648

23-38 GetFullPathName 650

23-37 GetFileVersionInfoSize(.NET) 650

23-39 GetModuleFileName(.NET) 651

23-40 GetModuleFileNameEx(.NET) 652

23-41 GetSaveFileName(.NET) 654

23-42 GetSaveFileNamePreview(.NET) 656

23-43 GetTapeParameters 658

23-44 GetTapePosition 659

23-45 GetTapeStatus 660

23-46 GetTempFileName(.NET) 661

23-47 GetTempPath 662

23-48 GetTextExtentPoint32 663

23-49 GetTextMetrics 664

23-50 GetOpenFileName(.NET) 666

23-51 GetOpenFileNamePreview(.NET) 667

23-52 lclose(.NET) 669

23-53 lopen(.NET) 670

23-55 LZCopy 671

23-54 LZClose 671

23-56 LZOpenFile 673

23-57 MakeSureDirectory PathExists(.NET) 674

23-58 MoveFile(.NET) 675

23-59 MoveFileEx(.NET) 676

23-60 OpenFile(.NET) 677

23-61 ReadFile(.NET) 678

23-62 RemoveDirectory(.NET) 679

23-63 SearchTreeForFile 680

23-64 SetEndOfFile 681

23-65 SetFileAttributes(.NET) 682

23-66 SetFilePointer(.NET) 683

23-67 SetFileSecurity 684

23-68 SetFileTime(.NET) 685

23-69 SetupCopyError 687

23-70 SetupDeleteError 688

23-71 SetupRenameError 689

23-73 ShellExecute(.NET) 691

23-72 SHBrowseForFolder 691

23-74 ShellExecuteEx(.NET) 693

23-75 SHFileExists(.NET) 694

23-76 SHFileOperation(.NET) 695

23-77 SHGetFileInfo(.NET) 696

23-79 HQueryRecycleBin 698

23-78 SHPathIsExe 698

23-80 VerQueryValue(.NET) 699

23-81 WinExec(.NET) 700

23-82 WriteFile(.NET) 701

24-2 mciExecute 703

24-1 Beep 703

第24章 多媒体 703

24-3 mciGetErrorString 704

24-4 mciSendCommand 705

24-5 mciSendString 706

24-6 MessageBeep 707

24-7 midiOutClose 708

24-8 midiOutGetDevCaps 709

24-10 midiOutOpen 710

24-9 midiOutGetNumDevs 710

24-11 midiOutShortMsg 711

24-12 mixerClose 712

24-13 mixerGetControlDetails 713

24-14 mixerGetDevCaps 715

24-15 mixerGetID 716

24-16 mixerGetLineControls 717

24-17 mixerGetLineInfo 719

24-18 mixerGetNumDevs 721

24-19 mixerMessage 722

24-20 mixerOpen 723

24-21 mixerSetControlDetails 724

24-22 mmioAscend 726

24-23 mmioClose 728

24-24 mmioDescend 729

24-25 mmioOpen 730

24-26 mmioRead 732

24-27 mmioSeek 734

24-29 PlaySound 735

24-28 mmioStringToFOURCC 735

24-30 sndPlaySound 737

24-31 waveInAddBuffr 738

24-32 waveInClose 739

24-33 waveInGetDevCaps 740

24-34 waveInGetErrorText 741

24-35 waveInGetNumDevs 742

24-36 waveInOpen 743

24-37 waveInPrepareHeader 744

24-38 waveInReset 745

24-40 waveInStop 746

24-39 waveInStart 746

24-41 waveInUnprepareHeader 747

24-42 waveOutClose 748

24-43 waveOutGetDevCaps 749

24-44 waVeO)utGetErrorText 750

24-45 waveOutGetNunDevs 751

24-46 waveOutGetPosition 752

24-47 waveOutGetVolume 753

24-48 waveOutOpen 754

24-49 waveOutPrepareHeader 755

24-50 waveOutReset 756

24-51 waveOutSetVolume 757

24-52 waveOutUnprepareHeader 758

24-53 waveOutWrite 759

25-1 ChooseColor(.NET) 761

第25章 对话框 761

25-2 ChooseFont(.NET) 762

25-3 CommDlgExtendedError 765

25-4 ConfigurePort 766

25-5 HtmlHelp 767

25-6 MessageBox(.NET) 768

25-7 MessageBoxEx(.NET) 769

25-8 MessageBoxIndirec(.NET) 771

25-9 SHChangeIconDialog 772

25-10 ShellAbout 773

26-1 Module32First(.NET) 775

第26章 模块 775

26-2 Module32Next(.NET) 776

27-1 ClosePrinter(.NET) 779

第27章 打印 779

27-2 DeviceCapabilities 780

27-3 EndD oc 781

27-4 EndPage 782

27-5 EnumJobs 783

27-6 EnumPorts 784

27-7 EnumPrinters 785

27-8 GetPrinter(.NET) 787

27-9 OpenPrinter 789

27-10 PAGESETUPDLG(.NET) 790

27-11 PrintDialog(.NET) 791

27-12 PrinterProperties 792

27-13 PrintWindow 793

27-14 StartDoc 794

27-15 StartPage 795

28-1 CreateProcess(.NET) 797

第28章 线程 797

28-2 CreateProcessWithLogon 799

28-3 CreateThread(.NET) 802

28-4 CreateToolhelp32Snapshot(.NET) 803

28-5 EnumProcesses(.NET) 804

28-6 EnumProcessModules(.NET) 805

28-7 EnumThreadWindows 806

28-8 ExitProcess 808

28-10 GetCommandLine(.NET) 809

28-9 ExitThread(.NET) 809

28-11 GetConsoleProcessList 810

28-12 GetCurrentProcess(.NET) 811

28-14 GetCurrentThread(.NET) 812

28-13 GetCurrentProcessId(.NET) 812

28-15 GetCurrentThreadId 813

28-17 GetExitCodeThread 814

28-16 GetExitCodeProcess(.NET) 814

28-18 GetGuiiResources 815

28-19 GetGUIThreadInfo 816

28-20 GetProcAddre ss 817

28-21 GetProcessHeap 818

28-22 GetProcessMemoryInfo(.NET) 819

28 23 GetProcessTimes(.NET) 820

28-25 GetStartupInfo(.NET) 822

28-24 GetProcessWindowStation 822

28-27 GetThreadPriority(.NET) 823

28-26 GetThreadLocale(.NET) 823

28-28 GetThreadTiimes 824

28-29 GetWindowThreadProcessId 825

28-30 OpenProcess(.NET) 826

28-31 OpenProcessToken 827

28-32 OpenThreadToken 828

28-33 Process32First(.NET) 829

28-34 Process32Next(.NET) 830

28-35 ReadProcessMemory 831

28-36 SetPriorityClass(.NET) 832

28-37 SetThreadPriority(.NET) 833

28-38 SetWindowsHookEx 834

28-39 SHCreateThread(.NET) 835

28-40 Sleep(.NET) 836

28-41 SleepEx(.NET) 837

28-42 SwitchToThread 838

28-44 TerminateThread 839

28-43 TerminateProcess(.NET) 839

28-45 UnhookWindowsHookEx 840

28-47 VDMEnumTaskWOWEx 841

28-46 VDMEnumProcessWOW 841

28-48 WaitForSingleObject(.NET) 842

28-49 WriteProcessMemory 843

29-2 PathAddBackslash 845

29-1 GetShortPathName 845

第29章 路径 845

29-3 PathAddExtension 846

29-4 PathAppend 847

29-5 PathBuildRoot 848

29-6 PathCanonicalize 849

29-8 PathCommonPrefix 850

29-7 PathCombine 850

29-9 PathCompactPath 851

29-10 PathCompactPathEx 852

29-11 PathCreateFromUrl 853

29-12 PathFileExists(.NET) 854

29-14 PathGetCharType 855

29-13 PathFindOnPath 855

29-15 PathGetDriveNumber 856

29-16 PathIsDirectory(.NET) 857

29-17 PathIsDirectoryEmpty(.NET) 858

29-19 PathIsNetworkPath 859

29-18 PathIsLFNFileSpec 859

29-20 PathIsPrefix 860

29-21 PathIsRelative 861

29-23 PathIsSameRoot 862

29-22 PathIsRoot 862

29-24 PathIsSystemFolder 863

29-25 PathIsUNC 864

29-27 PathIsUNCServerShare 865

29-26 PathIsUNCServer 865

29-28 PathIsURL 866

29-29 PathMakePretty 867

29-31 PathMatchSpec 868

29-30 PathMakeSystemFolder 868

29-32 PathQuoteSpaces 869

29-33 PathStripPath(.NET) 870

29-34 PathStripToRoot 871

29-36 PathUnquoteSpaces 872

29-35 PathToRegion 872

29-37 S etCurrentDirectory(.NET) 873

29-38 SHCreateDirectoryEx(.NET) 874

29-39 SHGetPathFromIDList 875

29-40 SHGetSpecialFolderLocation 876

30-1 GetDiskFreeSpace 879

第30章 磁盘 879

30-2 GetDiskFreeSpaceEx 880

30-3 GetDriveType 881

30-5 GetLogicalDriveStrings 882

30-4 GetLogicalDrives 882

30-6 GetVolumeInfornation 883

30-7 PrepareTape 885

30-8 SetTapeParameters 886

30-9 SetTapePosition 887

30-10 SetupPromptForDisk 889

30-12 SHFormatDrive 891

30-11 SetVolumeLabel 891

30-13 SHGetDiskFreeSpace 892

31-2 CreateTimerQueueTimer 895

31-1 CreateTimerQueue 895

第31章 定时器 895

31-4 DeleteTimerQueueTimer 897

31-3 DeleteTimerQueue 897

31-6 QueryPerformanceCounter(.NET) 899

31-5 KillTimer(.NET) 899

31-7 QueryPerformanceFrequency(.NET) 900

31-8 SetTimer(.NET) 901

31-9 timeKillEvent(.NET) 902

31-10 timeSetEvent(.NET) 903

32-1 RaiseException 905

第32章 异常 905

32-2 ReportFault 906

33-2 FreeConsole(.NET) 907

33-1 AllocConsole(.NET) 907

第33章 控制台 907

33-3 ReadConsole(.NET) 908

33-4 SetConsoleTextAttribute 909

33-5 SetConsoleTitle 910

33-7 WriteConsole(.NET) 911

33-6 SetUnhandledExceptionFilter 911

34-2 DllUnregisterServer 913

34-1 DllRegisterServer 913

第34章 注册表 913

34-3 RegCloseKey(.NET) 914

34-4 RegCreateKey(.NET) 915

34-5 RegCreateKeyEx(.NET) 916

34-6 RegDeleteKey(.NET) 918

34-8 RegEnumKeyEx(.NET) 919

34-7 RegDeleteValue(.NET) 919

34-9 RegEnumValue(.NET) 921

34-10 RegNotifyChangeKeyValue 922

34-11 RegOpenKey(.NET) 924

34-12 RegOpenKeyEx(.NET) 925

34-13 RegQueryValueEx(.NET) 926

34-15 RegSaveKey 928

34-14 RegRestoreKey 928

34-16 RegSetValueEx(.NET) 929

34-17 SHSetValue 931

35-1 AddFontResource 933

第35章 字体 933

35-2 CreateFont(.NET) 934

35-3 CreateFontIndireet(.NET) 937

35-4 EnumFontFamilies(.NET) 938

35-5 EnumFontFamiliesEx(.NET) 940

35-6 EnumFonts 942

35-7 GetConsoleFontSize 943

35-8 GetCurrentConsoleFont 944

35-9 RemoveFontResource 945

36-1 ActivateKeyboardLayout 947

第36章 输入法 947

37-1 CallNextHookEx 949

第37章 应用程序 949

37-2 CallWindowProc(.NET) 950

37-3 FatalAppExit 951

37-4 FatalExit 952

37-5 fCreateShellLink 953

38-1 CryptAcquireContext(.NET) 955

第38章 安全性 955

38-2 CryptCreateHash(.NET) 956

38-3 CryptDecrypt(.NET) 957

38-4 CryptDeriveKey(.NET) 958

38-5 CryptDestroyHash(.NET) 959

38-6 CryptDestroyKey(.NET) 960

38-7 CryptEncrypt(.NET) 961

38-8 CryptExportKey(.NET) 962

38-9 CryptGenKey(.NET) 963

38-10 CryptGetProvParam(.NET) 964

38-11 CryptGetUserKey(.NET) 965

38-12 CryptHashData(.NET) 966

38-13 CryptReleaseContext(.NET) 967

38-14 CryptSignHash(.NET) 968

38-15 CryptVerifySignature(.NET) 969

39-1 auxGetDevCaps 971

第39章 外部设备 971

39-3 auxGetVolume 972

39-2 auxGetNumDevs 972

39-4 auxSetVolume 973

39-5 DeviceloControl 974

39-6 EnumDisplayDevices 976

39-7 EnumDisplayMonitors 977

39-8 EnumDisplaySettings 978

39-10 GetAdaptersInfo 980

39-9 Escape 980

39-11 GetDeviceCaps 981

39-12 GetDeviceGammaRamp 982

39-13 GetMonitorInfo 983