第1章 概述
1.1 什么是API
1.2 为什么要用API函数
1.3 Windows 32 API简介
1.4 关于本书的几点说明
第2章 如何在VB中调用DLL API
2.1 函数声明中的传值和传地址
2.2 参数的传递
2.3 访问Windows API函数
第3章 Windows消息函数
3.1 BroadcastSystemMessage
3.2 GetMessagePos
3.3 GetMessageTime
3.4 PostMessage,PostMessageBynum,PostMessageBystring
3.5 PostThreadMessage
3.6 ReplyMessage
3.7 SendMessage,SendMessageBynum,SendMessageByString
3.8 SendMessageCallback
3.9 SendMessageTimeout
3.10 SendNotifyMessage
第4章 硬件与系统函数
4.1 ActivateKeyboardLayout
4.2 ChangeDisplaySettings
4.3 ClipCursor,ClipCursorBynum
4.4 ConvertDefaultLocale
4.5 CreateCaret
4.6 EnumDisplaySettings
4.7 EnumCalendarInfo
4.8 EnumsystemCodePages
4.9 ExitWindowsEx
4.10 ExpandEnvironmentStrings
4.11 GetAsyncKeyState
4.12 GetCaretBlinkTime
4.13 GetCaretPos
4.14 GetClipCursor
4.15 GetCommandLine
4.16 GetcomputerName
4.17 GetCursor
4.18 GetCursorPos
4.19 GetDateFormat
4.20 GetDeviceCaps
4.21 GetDoubleClickTime
4.22 GetInputState
4.23 GetKeyboardLayout
4.24 GetKeyboardLayoutList
4.25 GetKeyboardLayoutName
4.26 GetKeyboardState
4.27 GetKeyboardType
4.28 GetKeyNameText
4.29 GetKeyState
4.30 GetLastError
4.31 GetLocaleInfo
4.32 GetNumberFormat
4.33 GetNumberFormatBynum
4.34 GetQueueStaus
4.35 GetSysColor
4.36 GetSystemInfo
4.37 GetSystemMetrics
4.38 GetSystemPowerStatus
4.39 GetSystemTimeAdjustment
4.40 GetThreadLocale
4.41 GetTickCount
4.42 GetUserName
4.43 GetVersionEx
4.44 HideCaret
4.45 keybd_event
4.46 LoadKeyboardLayout
4.47 MapVirtualKeyEx
4.48 mciSendString
4.49 MessageBeep
4.50 mouse_event
4.51 SetCaretBlinkTime
4.52 SetCaretBlinkTime
4.53 SetCaretPos
4.54 SetComputerName
4.55 SetCursorPos
4.56 SetDoubleClickTime
4.57 SetKeyboardState
4.58 SetSysColors
4.59 SetSystemCursor
4.60 SetSystemTime
4.61 SetSystemTimeadjustment
4.62 SetSystemPaletteUse
4.63 ShowCaret
4.64 ShowCursor
4.65 SwapMouseButton
4.66 SystemParametersInfo
4.67 ToAsciiEx
4.68 ToUnicode
4.69 UnloadKeyboardLayout
4.70 VkKeyScanEx
第5章 控件与消息函数
5.1 AnyPopup
5.2 AttachThreadInput
5.3 ArrangeIconicWindows
5.4 BeginDeferWindowPos
5.5 BringWindowToTop
5.6 CascadeWindowsBynum
5.7 ChildWindowFromPointEx
5.8 CloseWindow
5.9 CopyRect
5.10 DeferWindowPos
5.11 DestroyWindow
5.12 EnableWindow
5.13 EnddeferWindowPos
5.14 EnumChildWindows
5.15 EnumThreadWindows
5.16 EnumWindows
5.17 EqualRect
5.18 FindWindowEx
5.19 FlashWindow
5.20 FloodFill
5.21 GetActiveWindow
5.22 GetCapture
5.23 GetClassInfoEx
5.24 GetClassLong
5.25 GetClassName
5.26 GetClassWord
5.27 GetDesktopWindow
5.28 GetFocus
5.29 GetForegroundWindow
5.30 GetTopWindow
5.31 GetWindow
5.32 GetWindowLong
5.33 GetWindowPlacement
5.34 GetWindowRect
5.35 GetWindowText
5.36 GEtWindowTextLength
5.37 IsChild
5.38 IsIconic
5.39 IsWindow
5.40 IsWindowEnabled
5.41 IsWindowVisible
5.42 IsZoomed
5.43 LockWindowUpdate
5.44 OpenIcon
5.45 RedrawWindow
5.46 ReleaseCapture
5.47 ScrollWindow
5.48 ScrollWindowEx
5.49 SetActiveWindow
5.50 SetCapture
5.51 SetClassLong
5.52 SetForegroundWindow
5.53 SetParent
5.54 SetWindowLong
5.55 SetWindowPlacement
5.56 ShowWindow
5.57 本章综合例程——屏幕保护程序
第6章 设备场景函数
6.1 AddFontResource
6.2 CombineRgn
6.3 CreatePolygonRgn
6.4 CreatePolyPolygonRgn
6.5 CreateRectRgn
6.6 CreateRectRgnIndirect
6.7 CreateRoundRectRgn
6.8 CreateCompatibleDC
6.9 CreateDBCynum
6.10 CreateIC
6.11 CreateScalableFontResource
6.12 DeleteDC
6.13 DrawTextEx
6.14 EqualRgn
6.15 ExcludeClipRect
6.16 ExcludeUpdateRgn
6.17 ExtSelectClipRgn
6.18 FillRgn
6.19 GetBoundsRect
6.20 GetClipBox
6.21 GetclipRgn
6.22 GetDC
6.23 GetDCOrgEx
6.24 GetUpdateRgn
6.25 GetWindowDC
6.26 GetWindowRgn
6.27 InvalidateRgn
6.28 InvertRgn
6.29 PtInRegion
6.30 PtVisible
6.31 ReleaseDC
6.32 RestoreDC
6.33 SaveDC
6.34 ScrollDC
6.35 SelectClipRgn
6.36 SetBoundsRect
6.37 SetRectRgn
6.38 SetWindowExtEx
6.39 SetWindowOrgEx
6.40 SetWindowRgn
6.41 WindowFromDC
6.42 本章综合例程——Windows任务管理器
第7章 菜单函数
7.1 AppendMenu
7.2 CheckMenuItem
7.3 CheckMenuRadioItem
7.4 CreateMenu
7.5 CreatePopupMenu
7.6 DeleteMenu
7.7 DestroyMenu
7.8 DrawMenuBar
7.9 EnableMenuItem
7.10 GetMenu
7.11 GetMenuCheckMarkDimensions
7.12 GetMenuContextHelp
7.13 GetMenudefaultItem
7.14 GetMenuItemCount
7.15 GetMenuItemID
7.16 GetMenuItemInfo
7.17 GetMenuItemRect
7.18 GetMenuState
7.19 GetMenuString
7.20 GetSubMenu
7.21
7.22 HiliteMenuItem
7.23 LoadMenu
7.24 LoadMenuIndirect
7.25 IsMenu
7.26 LoadMenu
7.27 LoadMenuIndirect
7.28 MenuItemFromPoint
7.29 ModifyMenuBynum
7.30 RemoveMenu
7.31 SetMenu
7.32 SetMenuItemBitmaps
7.33 SetMenuItemInfo
7.34 TrackPopupMenuEx
第8章 进程与线程函数
8.1 CalNamedPipe
8.2 CancelWaitableTimer
8.3 ConnectNamedPipe
8.4 CreateEvent
8.5 CreateEvent
8.6 CreateMutex
8.7 CreateNamedPipe
8.8 CreatePipe
8.9 CreateProcess
8.10 CreateSemaphore
8.11 CreateWaitableTimer
8.12 DisconnectNamedPipe
8.13 DuplicateHandle
8.14 ExitProcess
8.15 FindCloseChangeNotification
8.16 FindExecutable
8.17 FindFirstChangeNotification
8.18 FindNextChangeNotification
8.19 FreeLibrary
8.20 GetCurrentProcessId
8.21 GetCurrentThread
8.22 GetExitCodeThread
8.23 GetExitCodeThread
8.24 GetHandleInformation
8.25 GetMailslotInfo
8.26 GetModuleFileName
8.27 GetModuleHandle
8.28 GetProcessShutdownParameters
8.29 GetProcessTimes
8.30 GetProcessWorkingSetSize
8.31 GetStartupInfo
8.32 GetThreadPriority
8.33 GetThreadtimes
8.34 GetThreadPriority
8.35 GetWindowThreadProcessId
8.36 LoadModule
8.37 cMsgWaitForMultipleObjects
8.38 SetProcessShutdownParameters
8.39 SetProcessWorkingSetSize
8.40 SetthreadPriority
8.41 ShellExecute
8.42 TerminateProcess
8.43 WinExec
第9章 绘图函数
9.1 AbortPath
9.2 AngleArc
9.3 ArcTo
9.4 BeginPath
9.5 CancelDC
9.6 Chord
9.7 CloseEnhMetaFile
9.8 CloseFigure
9.9 CloseMetaFile
9.10 CopyEnhMetaFile
9.11 CopyMetaFile
9.12 CreateBrushIndirect
9.13 CreateDIBPatternBrush
9.14 CreateDIBPatternBrushPt
9.15 CreateEnhMetaFile
9.16 CreateHatchBrush
9.17 CreateMetaFile
9.18 CreatePatternBrush
9.19 CreatePen
9.20 CreatePenIndirect
9.21 CreateSolidBrush
9.22 DeleteEnhMetaFile
9.23 DeleteMetaFile
9.24 DeleteObject
9.25 DrawEdge
9.26 DrawEscape
9.27 DrawFocusRect
9.28 DrawFrameControl
9.29 DrawState
9.30 Ellipse
9.31 EndPath
9.32 EnumEnhMetaFile
9.33 EnumMetaFile
9.34 EnumObjects
9.35 ExtCreatePen
9.36 ExtFloodFill
9.37 FillPath
9.38 FillRect
9.39 FlattenPath
9.40 FloodFill
9.41 FrameRect
9.42 GdiComment
9.43 GdiFlush
9.44 GdiGetBatchLimit
9.45 GdiSetBatchLimit
9.46 GetArcDirection
9.47 GetBkColor
9.48 GetBkMode
9.49 GetBrushOrgEx
9.50 GetCurrentObjec
9.51 GetCurrentPositionEx
9.52 GetEnhMetaFile
9.53 GetEnhMetaFileBits
9.54 GetEnhMetaFileDescription
9.55 GetEnhMetaFileHeader
9.56 GetEnhMetaFilePaletteEntries
9.57 GetMetaFile
9.58 GetMetaFileBitsEx
9.59 GetMiterLimit
9.60 GetNearestColor
9.61 GetObjectAPI
9.62 GetObjectType
9.63 GetPath
9.64 GetPixel
9.65 GetPolyFillMode
9.66 GetSysColorBrush
9.67 GetROP2
9.68 GetStockObject
9.69 GetWinMetaFileBits
9.70 InvertRect
9.71 LineDDA
9.72 LineToLineTo
9.73 MoveToEx
9.74 PaintDesktop
9.75 PathToRegion
9.76 PlayEnhMetaFile
9.77 PlayEnhMetaFileRecord
9.78 PlayMetaFile
9.79 PlayMetaFileRecord
9.80 PolyBezier
9.81 PolyBezierTo
9.82 PolyDraw
9.83 Polygon
9.84 Polyline
9.85 PolylinePolylineTo
9.86 PolyPolygon
9.87 InvertRect
9.88 LineDDA
9.89 LineTo
9.90 MoveToEx
9.91 Rectangle
9.92 RoundRect
9.93 SelectClipPath
9.94 SelectObject
9.95 SetArcDirection
9.96 SetBkColor
9.97 SetBkMode
9.98 SetBrushOrgEx
9.99 SetEnhMetaFileBits
9.100 SetMetaFileBitsEx
9.101 SetMiterLimit
9.102 SetPixel
9.103 SetPixelV
9.104 SetPolyFillMode
9.105 SetROP2
9.106 SetWinMetaFileBits
9.107 StrokeAndFillPath
9.108 StrokePath
9.109 UnrealizeObject
9.110 WidenPath
第10章 位图、图标和光栅运算函数
10.1 BitBlt
10.2 CopyIcon
10.3 CopyImage
10.4 CreateBitmap
10.5 CreatecompatibleBitmap
10.6 CreateCursor
10.7 CreateDIBitmap
10.8 CreateDIBSection
10.9 CreateIcon
10.10 CreateIconIndirect
10.11 DestroyCursor
10.12 DestroyIcon
10.13 DrawIcon
10.14 DrawIconEx
10.15 ExtractAssociatedIcon
10.16 ExtractIcon
10.17 GetBitmapBits
10.18 GetBitmapDimensionEx
10.19 GetDIBColorTable
10.20 GetDIBits
10.21 GetIconInfo
10.22 GetStretchBltMode
10.23 LoadBitmap
10.24 LoadBitmapBynum
10.25 LoadCursor
10.26 LoadCursorbynum
10.27 LoadCursorFromFile
10.28 LoadIcon
10.29 LoadIconBynum
10.30 Loadimage
10.31 LoadimageBynum
10.32 PatBlt
10.33 PlgBlt
10.34 SetBitmapBits
10.35 SetBitmapDimensionEx
10.36 SetDIBits
10.37 SetDIBitsToDevice
10.38 SetStretchBltMode
10.39 StretchBlt
10.40 StretchDIBits
第11章 打印函数
11.1 Abortdoc
11.2 AbortPrinter
11.3 AddForm
11.4 AddJob
11.5 AddMonitor
11.6 AddPort
11.7 AddPrinter
11.8 AddPrinterConnection
11.9 AddPrinterProcessor
11.10 AddPrinterProvidor
11.11 AdvancedDocumentProperties
11.12 ClosePrinter
11.13 ConfigurePort
11.14 ConnectToPrinterDlg
11.15 DeleteForm
11.16 DeleteMonitor
11.17 DeletePort
11.18 DeletePrinter
11.19 DeletePrinterConnection
11.20 DeletePrinterDriver
11.21 DeletePrinterProcessor
11.22 DeletePrinterProvidor
11.23 DeviceCapabilities
11.24 DocumentProperties
11.25 EndDocAPI
11.26 EndDocPrinter
11.27 EndPage
11.28 EndPagePrinter
11.29 EnumForms
11.30 EnumJobs
11.31 EnumMonitors
11.32 EnumPorts
11.33 EnumPrinterDrivers
11.34 EnumPrinters
11.35 EnumPrintProcessorDatatypes
11.36 EnumPrintProcessors
11.37 Escape
11.38 FindClosePrinterChangeNoftification
11.39 FindFirstPrinterChangeNoftification
11.40 FindNextPrinterChangeNoftification
11.41 FreePrinterNotifyInfo
11.42 GetForm
11.43 GetJob
11.44 GetPrinter
11.45 GetPrinterDriver
11.46 GetPrinterDriverDirectory
11.47 GetPrintProcessorDirectory
11.48 OpenPrinter
11.49 PrinterMessageBox
11.50 PrinterProperties
11.51 ReadPrinter
11.52 ResetDC
11.53 ResetPrinter
11.54 ScheduleJob
11.55 SetAbortProc
11.56 SetForm
11.57 SetJob
11.58 SetPrinter
11.59 SetPrinterData
11.60 StartDoc
11.61 StartDocPrinter
11.62 StartPage
11.63 StartPagePrinter
11.64 WritePrinter
11.65 本章综合例程——打印文件
第12章 网络函数
12.1 WNetAddConnection
12.2 WNetAddConnection2
12.3 WNetAddConnection3
12.4 WNetCancelConnection
12.5 WNetCancelConnection2
12.6 WNetCloseEnum
12.7 WNetConnectionDialog
12.8 WNetDisconnectDialog
12.9 WNetEnumResource
12.10 WNetGetConnection
12.11 WNetGetLastError
12.12 WNetGetUniversalName
12.13 WNetGetUser
12.14 WNetOpenEnum
12.15 本章综合例程——网络资源管理器
第13章 文件处理函数
13.1 TextOut
13.2 CopyFile
13.3 CreateDirectory
13.4 CreateDirectoryEx
13.5 CreateFile
13.6 CreateFileMapping
13.7 DeleteFile
13.8 DeviceIoControl
13.9 DosDateTimeToFileTime
13.10 FileTimeToDosDateTime
13.11 FileTimeToDosFileTime
13.12 FileTimeToSystemTime
13.13 FindClose
13.14 FindFirstFile
13.15 FindNextFile
13.16 FlushFileBuffers
13.17 FlushViewOfFile
13.18 GetBinaryType
13.19 GetCompressedFileSize
13.20 GetCurrentdirectory
13.21 GetDiskFreeSpace
13.22 GetDiskFreeSpaceEx
13.23 GetDriveType
13.24 GetExpandedName
13.25 GetFileAttributes
13.26 GetFileInformationByHandle
13.27 GetFileSize
13.28 GetFileTime
13.29 GetFileType
13.30 GetFileVersionInfo
13.31 GetFileVersionInfoSize
13.32 GetfullPathName
13.33 GetLogicalDrives
13.34 GetLogicalDriveStrings
13.35 GetOverlappedResult
13.36 GetPrivateProfileInt
13.37 GetPrivateProfileSection
13.38 GetPrivateProfileString
13.39 GetProfileInt
13.40 GetProfileSection
13.41 GetProfileString
13.42 GetShortPathName
13.43 GetSystemDirectory
13.44 GetTempfileName
13.45 GetTempPath
13.46 GetVolumeInformation
13.47 GetWindowsDirectory
13.48 hread
13.49 hwrite
13.50 lclose
13.51 llseek
13.52 LockFile
13.53 LockFileEx
13.54 lopen
13.55 lread
13.56 lwrite
13.57 LZClose
13.58 LZCopy
13.59 LZInit
13.60 LZOpenFile
13.61 LZRead
13.62 LZSeek
13.63 MapViewOfFile
13.64 MapViewOfFileEx
13.65 MoveFile
13.66 MoveFileex
13.67 OpenFile
13.68 OpenFileMapping
13.69 QueryDosDevice
13.70 ReadFile
13.71 ReadFileEx
13.72 RegCloseKey
13.73 RegConnectRegistry
13.74 RegCreateKey
13.75 RegCreateKeyEx
13.76 RegDeleteKey
13.77 RegDeleteValue
13.78 RegEnumKey
13.79 RegEnumKeyEx
13.80 RegEnumValue
13.81 RegFlushkey
13.82 RegGetKeySecurity
13.83 RegLoadKey
13.84 RegNotifyChangeKeyValue
13.85 RegOpenKey
13.86 RegOpenKeyEx
13.87 RegQueryInfoKey
13.88 RegQueryValue
13.89 RegQueryvalueEx
13.90 RegReplaceKey
13.91 RegRestoreKey
13.92 RegSaveKey
13.93 RegSetKeySecurity
13.94 RegSetValue
13.95 RegSetValueEx
13.96 RegUnLoadKey
13.97 RemoveDirectory
13.98 SearchPath
13.99 SetCurrentDirectory
13.100 SetEndOfFile
13.101 SetFileAttributes
13.102 SetFileTime
13.103 SetVolumeLabel
13.104 SystemTimeToFileTime
13.105 UnlockFile
13.106 UnlockFileEx
13.107 UnmapViewOfFile
13.108 VerFindFile
13.109 VerInstallFile
13.110 VerlanguageName
13.111 VerQueryValue
13.112 WriteFile
13.113 WriteFileEx
13.114 WritePrivateProfileSection
13.115 WritePrivateProfileString
13.116 WriteProfileSection
13.117 WriteProfileString
13.118 综合例程1——INI文件操作的例子
13.119 综合例程2——编辑注册表
第14章 文本和字体函数
14.1 EnumFonts
14.2 ExtTextOut
14.3 GetAspectRationFilterEx
14.4 GetCharABCWidths
14.5 GetCharABCWidthsFloat
14.6 GetCharacterPlacement
14.7 GetCharWidth32
14.8 GetCharWidthFloat
14.9 GetFontData
14.10 GetFontLanguageInfo
14.11 GetGlyphOutline
14.12 GetKerningPairs
14.13 GetOutlineTextMetrics
14.14 GetRasterizerCaps
14.15 GetTabbedTextExtent
14.16 GetTextAlign
14.17 GetTextCharacterExtra
14.18 GetTextCharset
14.19 GetTextCharsetInfo
14.20 GetTextColor
14.21 GetTextExtentExPoint
14.22 GetTextExtentPoint
14.23 GetTextExtentPoint32
14.24 GetTextFace
14.25 GetTextMetrics
14.26 GrayString
14.27 GrayStringByString
14.28 PolyTextOut
14.29 RemoveFontResource
14.30 SetMapperFlags
14.31 SetTextAlign
14.32 SetTextCharacterExtra
14.33 SetTextColor
14.34 SetTextJustification
14.35 TabbedTextOut
14.36 TextOut
14.37 综合例子——旋转字的作法