图书介绍

API for Windows 2000/XP详解2025|PDF|Epub|mobi|kindle电子书版本百度云盘下载

API for Windows 2000/XP详解
  • 张桂勇,陈芳琼编著 著
  • 出版社: 北京:清华大学出版社
  • ISBN:7302073120
  • 出版时间:2003
  • 标注页数:415页
  • 文件大小:17MB
  • 文件页数:429页
  • 主题词:窗口软件(软件)-程序设计

PDF下载


点此进入-本书在线PDF格式电子书下载【推荐-云解压-方便快捷】直接下载PDF格式图书。移动端-PC端通用
种子下载[BT下载速度快]温馨提示:(请使用BT下载软件FDM进行下载)软件下载地址页直链下载[便捷但速度慢]  [在线试读本书]   [在线获取解压码]

下载说明

API for Windows 2000/XP详解PDF格式电子书版下载

下载的文件为RAR压缩包。需要使用解压软件进行解压得到PDF格式图书。

建议使用BT下载工具Free Download Manager进行下载,简称FDM(免费,没有广告,支持多平台)。本站资源全部打包为BT种子。所以需要使用专业的BT下载软件进行下载。如BitComet qBittorrent uTorrent等BT下载工具。迅雷目前由于本站不是热门资源。不推荐使用!后期资源热门了。安装了迅雷也可以迅雷进行下载!

(文件页数 要大于 标注页数,上中下等多册电子书除外)

注意:本站所有压缩包均有解压码: 点击下载压缩包解压工具

图书目录

目录1

第1章 概述1

1.1 什么是API1

1.2 为什么要用API函数1

1.3 Windows 32 API简介2

1.4 关于本书的几点说明2

第2章 如何在VB中调用DLL API5

2.1 基本知识5

2.2 函数声明中的传值和地址7

2.3 参数的传递8

2.4 访问Windows API函数9

2.5 调用Windows API的注意事项10

第3章 在Delphi中使用API函数13

3.1 在Delphi中使用API函数13

3.2 在VC++中使用API函数14

第4章 Windows消息函数15

4.1 BroadcastSystemMessage15

4.3 GetlnputState16

4.2 DispatchMessage16

4.4 Get Message17

4.5 GetMessageExtraInfo18

4.6 GetMessagePos18

4.7 GetMessageTime18

4.8 GetQueueStatus18

4.9 InSendMessage20

4.10 PeekMessage20

4.12 PostThreadMessage21

4.11 PostMessage21

4.13 RegisterHotKey22

4.14 RegisterWindowsMessage23

4.15 ReplyMessage24

4.16 SendAsyncProc24

4.17 SendMessage25

4.18 SendMessageCallback26

4.19 SendMessageTimeout26

4.20 SendNotifyMessage27

4.21 TranslateMessage27

4.23 WaitMessage28

4.22 UnregisterHotKey28

4.24 综合示例:SendMessage的应用29

第5章 硬件与系统函数32

5.1 ActivateKeyboardLayout32

5.2 ChangeDisplaySettings32

5.3 ChangeDisplaySettingsEx34

5.4 ClipCursor35

5.5 ConvertDefaultLocale36

5.6 EnumDisplaySettings36

5.7 EnumCalendarInfo37

5.8 EnumSystemCodePages38

5.9 ExitWindowsEx38

5.10 GetAsyncKeyState39

5.11 GetClipCursor39

5.12 GetCommandLine40

5.13 GetComputerName40

5.14 GetCursor40

5.15 GetCursorPos41

5.16 GetDeviceCaps41

5.17 GetEnvironmentVariable44

5.18 GetInputState45

5.19 GetKeyboardState46

5.20 GetKeyNameText47

5.21 GetKeyState47

5.22 GetLastError48

5.23 GetLocaleInfo49

5.24 GetLocalTime49

5.25 GetSysColor50

5.26 GetSystemInfo51

5.27 GetSystemMetrics52

5.28 GetSystemPowerStatus54

5.29 GetSystemTime55

5.30 GetUserName55

5.31 GetVersion56

5.32 GetVersionEx56

5.33 keybd_event57

5.34 MciSendString58

5.36 mouse_event59

5.35 MessageBeep59

5.38 SetComputerName61

5.37 SetCaretPos61

5.39 SetCursor62

5.40 SetCursorPos62

5.41 SetKeyboardState62

5.42 SetLastError63

5.43 SetSysColors63

5.44 SetSystemCursor64

5.46 SetTimer65

5.45 SetSystemTime65

5.47 SetWindowsHookEx66

5.48 ShowCursor69

5.49 SystemParametersInfo69

5.50 ToAscii70

5.51 ToUnicode71

5.52 VkKeyScan71

6.1 AnyPopup73

6.2 AttachThreadInput73

第6章 控件与消息函数73

6.3 BeginDeferWindowPos74

6.4 CascadeWindowsBynum75

6.5 ChildWindowFromPoint75

6.6 ChildWindowFromPointEX76

6.7 CloseWindow76

6.8 ClientToScreen77

6.9 DeferWindowPos78

6.10 DestroyWindow79

6.13 EnumChildWindows80

6.11 EnableWindow80

6.12 EndDeferWindowPos80

6.14 EnumThreadWindows82

6.15 EnunWindows82

6.16 FindWindowEx83

6.17 GetActiveWindow84

6.18 GetCapture84

6.19 GetClassInfo85

6.21 GetClassName86

6.20 GetClassLong86

6.23 GetClientRect87

6.22 GetClassWord87

6.24 GetDesktopWindow88

6.25 GetFocus89

6.26 GetForegroundWindow89

6.27 GetTopWindow89

6.28 GetParent89

6.29 GetWindow91

6.30 GetWindowWord92

6.31 GetWindowLong93

6.32 GetWindowPlacement94

6.33 GetWindowRect96

6.34 GetWindowText96

6.35 GetWindowTextLength97

6.36 IsChild97

6.38 IsWindowEnabled98

6.39 IsWindowVisible98

6.37 IsIconic98

6.40 MessageBoxIndirect99

6.41 IsZoomed101

6.42 MoveWindow102

6.43 LockWindowUpdate102

6.44 OffsetRect103

6.45 OpenIcon103

6.46 RedrawWindow103

6.47 ReleaseCapture104

6.49 SetCapture105

6.48 SetActiveWindow105

6.50 SetClassLong106

6.51 SetClassWord107

6.52 SetFocus107

6.53 SetForegroundWindow108

6.54 SetParent109

6.55 SetWindowPos111

6.56 SetWindowText113

6.58 SetWindowLong114

6.57 SetWindowWord114

6.59 ShowWindow115

6.60 TileWindows117

6.61 WindowFromPoint117

6.62 综合示例:带预览功能的文件打开对话框119

6.63 综合示例:屏蔽文本框的右键菜单122

第7章 设备场景函数125

7 1 AddFontResource125

7.2 CombineRgn126

7.3 CreateEllipticRgn126

7.5 CreateFont127

7.4 CreateEllipticRgnIndirect127

7.6 CreateFontIndirect129

7.7 CreateCompatibleDC131

7.8 CreateDC131

7.9 CreateIC132

7.10 CreateScalableFontResource133

7.11 DeleteDC134

7.12 DrawText134

7.14 ExcludeClipRect137

7.13 DrawTextEx137

7.16 FrameRgn138

7.15 ExcludeUpdateRgn138

7.17 FillRgn139

7.18 GetBoundsRect139

7.19 GetClipBox140

7.20 GetClipRgn140

7.21 GetDC141

7.22 GetDeviceCaps142

7.24 GetRgnBox145

7.23 GetDCOrgEx145

7.25 GetUpdateRgn146

7.26 GetWindowDC146

7.27 GetWindowRgn148

7.28 IntersectClipRect148

7.29 InvalidateRgn150

7.30 InvertRgn150

7.32 OffsetRgn151

7.31 OffsetClipRgn151

7.33 PtInRegion152

7.34 PtVisible153

7.35 RectVisible153

7.36 ReleaseDC153

7.37 RestoreDC154

7.38 SaveDC154

7.39 SetMapMode155

7.40 SetWindowExtEx156

7.42 SetWindowRgn157

7.41 SetWindowOrgEx157

7.43 WindowFronDC159

第8章 菜单函数160

8.1 AppendMenu160

8.2 CheckMenuItem161

8.3 CheckMenuRadioItem162

8.4 CreateMenu162

8.5 CreatePopupMenu163

8.7 DestroyMenu164

8.6 DeleteMenu164

8.8 DrawMenuBar165

8.9 EnableMenuItem165

8.10 GetMenu166

8.11 GetMenuCheckMarkDimensions166

8.12 GetMenuContextHelpId167

8.13 GetMenuDefaultItem167

8.14 GetMenuItemCount167

8.15 GetMenuItemID168

8.16 GetMenuItemInfo168

8.17 GetMenuItemRect169

8.18 GetMenuState170

8.19 GetMenuString171

8.20 GetSubMenu171

8.21 GetSystemMenu171

8.22 HiliteMenuItem173

8.23 InsertMenu173

8.25 IsMenu175

8.24 InsertMenuItem175

8.26 LoadMenu176

8.27 LoadMenuIndirect176

8.28 MenuItemFromPoint177

8.29 ModifyMenu177

8.30 RemoveMenu178

8.31 SetMenu179

8.32 SetMenuItemBitmaps179

8.34 TrackPopupMenu181

8.33 SetMenuItemInfo181

8.35 TrackPopupMenuEx182

8.36 综合示例:在系统菜单上添加自定义菜单项183

8.37 综合示例:建立自己的Windows开始菜单185

第9章 进程与线程函数186

9.1 CallNamedPipe186

9.2 CancelWaitableTimer186

9.3 CreateEvent187

9.4 CreateMutex187

9.5 CreateProcess188

9.6 CreateSemaphore190

9.7 ExitProcess191

9.8 FindCloseChangeNotification191

9.9 FindExecutable192

9.10 FindFirstChangeNotification193

9.11 FindNextChangeNotification194

9.12 FreeLibrary194

9.13 GetCurrentProcess194

9.16 GetExitCodeProcess195

9.17 GetExitCodeThread195

9.14 GetCurrentProcessId195

9.15 GetCurrentThread195

9.18 GetModuleFileName196

9.19 GetPriorityClass197

9.20 GetModuleHandle198

9.21 GetProcessShutdownParameters198

9.22 GetProcessTimes199

9.25 GetThreadPriority200

9.24 GetStartupInfo200

9.23 GetProcessWorkingSetSize200

9.26 GetThreadTimes201

9.27 LoadLibraryEx202

9.28 GetWindowThreadProcessId202

9.29 LoadModule202

9.30 SetProcessShutdownParameters203

9.31 SetProcessWorkingSetSize203

9.32 SetPriorityClass203

9.34 ShellExecute204

9.33 SetThreadPriority204

9.35 TerminateProcess205

9.36 WinExec205

第10章 绘图函数207

10.1 AbortPath207

10.2 AngleArc207

10.3 Arc208

10.4 BeginPath209

10.6 Chord210

10.5 CancelDC210

10.7 CreateBrushIndirect211

10.8 CreateDIBPattemBrush212

10.9 CreateDIBPattemBrushPt212

10.10 CreateEnhMetaFile213

10.11 CreateHatchBrush213

10.12 CreateMetaFile214

10.13 CreatePatternBrush215

10.15 CreatePenIndirect216

10.14 CreatePen216

10.16 CreateSolidBrush217

10.17 DeleteEnhMetaFile217

10.18 DeleteMeteFile218

10.19 DeleteObject218

10.20 Ellipse218

10.21 EndPath220

10.22 EnumEnhMetaFile220

10.23 EnumMetaFile221

10.24 EnumObjects221

10.26 ExtFloodFill222

10.25 ExtCreatePen222

10.27 FillPath223

10.28 FillRect223

10.29 FlattenPath224

10.30 GdiFlush224

10.31 GetBkColor225

10.32 GetBkMode225

10.33 GetBrushOrgEx225

10.35 GetCurrentPositionEx226

10.34 GetCurrentObject226

10.36 GetEnhMetaFile227

10.37 GetNearestColor227

10.38 GetObject227

10.39 GetObjectType228

10.40 GetPixel229

10.41 GetROP2229

10.42 GetStockObject231

10.43 InvertRect232

10.44 LineTo233

10.45 MoveToEx233

10.46 PaintDesktop234

10.47 Pie235

10.48 PathToRegion236

10.49 PlayEnhMetaFile237

10.50 PlayEnhMetaFileRecord237

10.51 PolyBezier238

10.52 PolyDraw239

10.53 Polyline240

10.54 PolylineTo241

10.55 PolyPolyline241

10.56 LineTo242

10.57 MoveToEx243

10.58 Rectangle243

10.59 SelectClipPath244

10.60 SelectObject244

10.62 SetBkColor245

10.61 SetArcDirection245

10.63 SetBkMode246

10.64 SetBrushOrgEx246

10.65 SetPixel246

10.66 SetPixelV247

10.67 SetROP2247

10.68 ScreenToClient248

10.69 StrokeAndFillPath249

TreeView250

10.70 综合示例:带背景图片的250

第11章 位图和图标及光栅运算函数252

11.1 BitBlt252

11.2 CopyIcon254

11.3 CreateBitmap254

11.4 CreateCompatibleBitmap255

11.5 CreateCursor256

11.6 CreateDIBitmap256

11.7 CreateDIBSection257

11.8 CreateIcon259

11.10 DestroyCursor260

11.9 CreateIconIndirect260

11.11 DestroyIcon261

11.12 DrawIcon261

11.13 DrawIconEx262

11.14 ExtractAssociatedIcon262

11.15 ExtractIcon264

11.16 ExtractIconEx265

11.17 GetBitmapBits267

11.19 GetDIBColorTable268

11.18 GetBitmapDimensionEx268

11.20 GetDIBits269

11.21 GetIconInfo270

11.22 GetStretchBltMode270

11.23 LoadBitmap270

11.24 LoadCursor271

11.25 LoadCursorFromFile272

11.26 LoadIcon273

11.27 Loadimage273

11.29 PlgBlt275

11.28 PatBlt275

11.30 SetBitmapBits277

11.31 SetBitmapDimensionEx278

11.32 SetDIBits278

11.33 SetDIBitsToDevice279

11.34 SetStretchBltMode280

11.35 StretchBlt280

11.36 StretchDIBits281

11.37 综合示例:屏幕放大镜282

第12章 打印函数284

12.1 Abortdoc284

12.2 AbortPrinter284

12.3 AddForm285

12.4 AddJob285

12.5 AddPort286

12.6 AddPrinter286

12.8 AdvancedDocumentProperties287

12.9 ClosePrinter287

12.7 AddPrinterConnection287

12.10 ConfigurePort288

12.11 ConnectToPrinterDlg288

12.12 DeleteForm288

12.13 DeletePort289

12.14 DeletePrinter289

12.15 DeletePrinterConnection290

12.16 DeletePrinterDriver290

12.17 DeviceCapabilities290

12.18 DocumentProperties293

12.19 EndDoc294

12.20 EndPage294

12.21 EndPagePrinter294

12.22 EnumJobs295

12.23 EnumPorts295

12.24 EnumPrinterDrivers296

12.25 EnumPrinters297

12.26 Escape298

12.27 GetJob299

12.29 GetPrinterDriver300

12.28 GetPrinter300

12.30 GetPrinterDriverDirectory301

12.31 GetPrintProcessorDirectory301

12.32 OpenPrinter302

12.33 PrinterMessageBox302

12.34 PrinterProperties303

12.35 ReadPrinter303

12.36 ResetDC304

12.37 ResetPrinter304

12.39 SetPrinter305

12.38 SetJob305

12.40 SetPrinterData306

12.41 StartDoc307

12.42 StartDocPrinter307

12.43 StartPage308

12.44 StartPagePrinter308

12.45 WritePrinter309

第13章 网络函数310

13.1 WNetAddConnection310

13.3 WNetCancelConnection311

13.2 WNetAddConnection2311

13.5 WNetCloseEnum312

13.4 WNetCancelConnection2312

13.6 WNetConnectionDialog313

13.7 WNetDisconnectDialog313

13.8 WNetEnumResource313

13.9 WNetGetConnection314

13.10 WNetGetLastError315

13.11 WNetGetUniversalName316

13.13 WNetOpenEnum317

13.12 WnetGetUser317

第14章 文件处理函数319

14.1 CloseHandle319

14.2 CopyMemory319

14.3 CopyFile319

14.4 CopyFileEx320

14.5 CopyProgressRoutine320

14.6 CreateDirectory321

14.7 CreateFile322

14.8 DeleteFile323

14.9 FileTimeToLocalFileTime324

14.10 FileTimeToSystemTime324

14.11 FindClose324

14.12 FindFirstFile326

14.13 FindNextFile326

14.14 FlushFileBuffers326

14.16 GetBinaryType327

14.15 FlushViewOfFile327

14.17 GetCurrentDirectory328

14.18 GetDiskFreeSpace328

14.19 GetDiskFreeSpaceEx329

14.20 GetDriveType329

14.21 GetFileAttributes330

14.22 GetFileSize331

14.23 GetFileTime332

14.24 GetFileVersionInfo333

14.26 GetLogicalDrives334

14.25 GetFullPathName334

14.27 GetLogicalDriveStrings335

14.28 GetPrivateProfileInt336

14.29 GetPrivateProfileSection337

14.30 GetPrivateProfileString338

14.31 GetProfileInt339

14.32 GetProfileSection339

14.33 GetProfileString340

14.34 GetShortPathName341

14.35 GetSystemDirectory341

14.36 GetTempFileName342

14.37 GetTempPath342

14.38 GetVolumeInformation343

14.39 GetWindowsDirectory344

14.40 LocalFileTimeToFileTime344

14.41 LockFileEx345

14.42 MoveFile345

14.44 OpenFile346

14.43 MoveFileEx346

14.45 OpenFileMapping348

14.46 QueryDosDevice349

14.47 ReadFile349

14.48 ReadFileEx350

14.49 RegCloseKey350

14.50 RegConnectRegistry351

14.51 RegCreateKey351

14.53 RegDeleteKey352

14.52 RegCreateKeyEx352

14.54 RegDeleteValue353

14.55 RegEnumKeyEx353

14.56 RegEnumValue354

14.57 RegGetKeySecurity355

14.58 RegLoadKey355

14.59 RegNotifyChangeKeyValue356

14.60 RegOpenKey356

14.62 RegQueryValueEx357

14.61 RegOpenKeyEx357

14.63 RegReplaceKey358

14.64 RegRestoreKey359

14.65 RegSaveKey359

14.66 RegSetKeySecurity360

14.67 RegSetValue360

14.68 RemoveDirectory361

14.69 SearchPath361

14.72 SetFileAttributes362

14.71 SetEndOfFile362

14.70 SetCurrentDirectory362

14.73 SetFileSecurity363

14.74 SetFilePointer363

14.75 SetFileTime364

14.76 SetVolumeLabel364

14.77 SystemTimeToFileTime365

14.78 UnlockFile365

14.79 VerLanguageName365

14.80 WritePrivateProfileSection367

14.81 WritePrivateProfileString367

14.83 WriteProfileString368

14.82 WriteProfileSection368

14.84 综合示例:开机自动运行和添加文件右键菜单369

14.85 常用文件处理模块369

第15章 文本和字体函数373

15.1 EnumFontFamilies373

15.2 EnumFontFamiliesEx374

15.3 EnumFonts374

15.4 ExtTextOut375

15.6 GetCharABCWidths377

15.5 GetAspectRatioFilterEx377

15.7 GetCharABCWidthsFloat378

15.8 GetCharWidth32378

15.9 GetCharWidthFloat379

15.10 GetFontLanguageInfo379

15.11 GetGlyphOutline380

15.12 GetKerningPairs380

15.13 GetRasterizerCaps381

15.14 GetTabbedTextExtent381

15.15 GetTextAlign382

15.16 GetTextCharacterExtra383

15.17 GetTextCharset383

15.18 GetTextCharsetInfo383

15.19 GetTextColor384

15.20 GetTextExtentExPoint384

15.21 GetTextExtentPoint385

15.22 GetTextExtentPoint32385

15.25 GrayString386

15.24 GetTextMetrics386

15.23 GetTextFace386

15.26 GrayStringByString387

15.27 Lstrlen388

15.28 PolyTextOut388

15.29 RemoveFontResource389

15.30 SetMapperFlags389

15.31 SetTextAlign390

15.32 SetTextCharacterExtra390

15.33 SetTextColor390

15.34 SetTextJustification391

15.35 TabbedTextOut392

15.36 TextOut393

第16章 Windows XP新增加的API394

16.1 SetFileShortName394

16.2 ConvertFiberToThread394

16.3 CreateFiberEx395

16.4 DuplicateEncryptionInfoFile395

16.5 EnumGeoInfoProc396

16.7 GetConsoleDisplayMode397

16.6 EnumSystemGeoID397

16.8 GetConsoleFontSize398

16.9 GetConsoleProcessList398

16.10 GetConsoleSelectionInfo399

16.11 GetCurrentConsoleFont399

16.12 GetGeoInfo400

16.13 GetLayeredWindowAttributes401

16.14 GetModuleHandleEx402

16.16 GetNumaAvailableMemoryNode403

16.15 GetNativeSystemInfo403

16.17 GetNumaHighestNodeNumber404

16.18 GetNumaNodeProcessorMask404

16.19 GetNumaProcessorNode405

16.20 GetNumaProcessorNode405

16.21 GetRawInputBuffer406

16.22 GetRawInputData406

16.23 GetRawInputDeviceInfo407

16.24 GetRawInputDeviceList408

16.26 GetSystemWow64Directory409

16.25 GetRegisteredRawInputDevices409

16.27 GetUserGeoID410

16.28 GetVolumePathNamesForVolumeName410

16.29 GetWindowRgnBox411

16.30 HeapQueryInformation411

16.31 HeapSetInformation412

16.32 IsGUIThread413

16.33 IsProcessInJob413

16.34 IsWow64Process414

16.35 NumaVirtualQueryNode414

热门推荐