Visual Basic程序员Windows API编程手册

Visual Basic程序员Windows API编程手册
作 者: 林永
出版社: 人民邮电出版社
丛编项: Visual Basic程序员
版权说明: 本书为公共版权或经版权方授权,请支持正版图书
标 签: 窗口软件 程序设计
ISBN 出版时间 包装 开本 页数 字数
未知 暂无 暂无 未知 0 暂无

作者简介

暂缺《Visual Basic程序员Windows API编程手册》作者简介

内容简介

本书是一本面向Visual Basic程序员的Windows API编程手册。书中收录了Visual Basic编程中涉及到的标准Windows API函数,涵盖窗口、硬件系统、消息、设备场景、绘图、图形、图像处理、文本、字体、打印、文件、进程和线程、网络、多媒体等各个方面,详细介绍了API函数在Visual Basic中使用的方法。 书中大部分函数后给出了有针对性的简短示例,大部分章节的末尾给出了函数应用的综合性实例,帮助读者在尽可能短的时间内掌握Windows API编程技巧,创建功能强大的应用程序。 本书内容丰富,实用性强,主要面向初、中级的Visual Basic程序员,也可作为有经验的Visual Basic程序员编程的参考手册。

图书目录

第1章 Windows API简介

1.1 动态链接库(DLL)

1.2 应用程序编程接口(API)

1.2.1 Windows API与Visual Basic

1.2.2 主要的DLL库及其功能简介

1.2.3 在Visual Basic中调用Windows API

1.3 Windows API相关概念

1.3.1 句柄

1.3.2 数据类型

第2章 窗口与消息函数

2.1 获取窗口的信息函数

2.1.1 GetClassInfo,GetClassInfoEx

2.1.2 GetClassLong

2.1.3 GetClassName

2.1.4 GetClassWord

2.1.5 SetClassLong

2.1.6 SetClassWord

2.1.7 GetDesktopWindow

2.1.8 GetWindowLong

2.1.9 GetWindowWord

2.1.10 SetWindowLong

2.1.11 SetWindowWord

2.1.12 GetWindowText

2.1.13 GetWindowTextLength

2.1.14 SetWindowText

2.1.15 IsChild

2.1.16 IsIconic

2.1.17 IsWindow

2.1.18 IsWindowEnabled

2.1.19 IsWindowUnicode

2.1.20 IsWindowVisible

2.1.21 IsZoomed

2.1.22 GetWindowContextHelpId

2.1.23 GetWindowPlacement

2.2 确定窗口相互间关系的函数

2.2.1 EnumWindows

2.2.2 EnumChildWindows

2.2.3 EnumThreadWindows

2.2.4 FindWindow

2.2.5 FindWindowEx

2.2.6 GetWindow

2.2.7 GetActiveWindow

2.2.8 GetCapture

2.2.9 GetFocus

2.2.10 GetForegroundWindow

2.2.11 GetLastActivePopup

2.2.12 GetParent

2.2.13 GetTopWindow

2.2.14 AnyPopup

2.2.15 ChildWindowFromPoint,ChildWindowFromPointEx

2.2.16 SetActiveWindow

2.2.17 SetCapture

2.2.18 SetFocus,SetFocusAPI

2.2.19 SetForegroundWindow

2.2.20 SetParent

2.3 控制窗口外观和行为的函数

2.3.1 ArrangeIconicWindows

2.3.2 BeginDeferWindowPos

2.3.3 BringWindowToTop

2.3.4 CascadeWindows,CascadeWindowsBynum

2.3.5 CloseWindow

2.3.6 DeferWindowPos

2.3.7 DestroyWindow

2.3.8 EnableWindow

2.3.9 EndDeferWindowPos

2.3.10 FlashWindow

2.3.11 LockWindowUpdate

2.3.12 MoveWindow

2.3.13 OpenIcon

2.3.14 ReleaseCapture

2.3.15 SetWindowPlacement

2.3.16 SetWindowPos

2.3.17 ShowOwnedPopups

2.3.18 ShowWindow

2.3.19 ShowWindowAsync

2.3.20 TileWindows

2.3.21 UpdateWindow

2.4 操作窗口中客户区的函数

2.4.1 AdjustWindowRect,AdjustWindowRectEx

2.4.2 ClientToScreen

2.4.3 CopyRect

2.4.4 DrawAnimatedRects

2.4.5 EqualRect

2.4.6 GetClientRect

2.4.7 GetUpdateRect

2.4.8 GetWindowRect

2.4.9 InflateRect

2.4.10 IntersectRect

2.4.11 InvalidateRect,InvalidateRectBynum

2.4.12 OffsetRect

2.4.13 PtInRect

2.4.14 RedrawWindow

2.4.15 ScrollWindow

2.4.16 ScrollWindowEx

2.4.17 SetRect

2.4.18 SetRectEmpty

2.4.19 SubtractRect

2.4.20 ValidateRect

2.5 其他与窗口相关的函数

2.5.1 AttachThreadInput

2.5.2 ScreenToClient

2.5.3 SetWindowContextHelpId

2.5.4 WindowFromPoint

2.6 综合示例

第3章 硬件与系统函数

3.1 键盘输入与字符集函数

3.1.1 ActivateKeyboardLayout

3.1.2 GetKeyboardLayout

3.1.3 GetAsyncKeyState

3.1.4 GetKeyboardLayoutList

3.1.5 GetKeyboardLayoutName

3.1.6 GetKeyboardState

3.1.7 GetKeyboardType

3.1.8 GetKeyNameText

3.1.9 GetKeyState

3.1.10 keybd_event

3.1.11 LoadKeyboardLayout

3.1.12 MapVirtualKey

3.1.13 MapVirtualKeyEx

3.1.14 OemKeyScan

3.1.15 OemToChar,OemToCharBuff

3.1.16 SetKeyboardState

3.1.17 ToAscii,ToAsciiEx

3.1.18 ToUnicode

3.1.19 UnloadKeyboardLayout

3.1.20 VkKeyScan,VkKeyScanEx

3.2 语言地区代码页相关函数

3.2.1 CharToOem,CharToOemBuff

3.2.2 ConvertDefaultLocale

3.2.3 EnumCalendarInfo

3.2.4 EnumDateFormats

3.2.5 EnumSystemCodePages

3.2.6 EnumDateFormats

3.2.7 EnumTimeFormats

3.2.8 GetACP

3.2.9 GetCPInfo

3.2.10 GetCurrencyFormat,GetCurrencyFormatBynum

3.2.11 GetDateFormat

3.2.12 GetKBCodePage

3.2.13 GetOEMCP

3.2.14 GetLocaleInfo

3.2.15 GetLocalTime

3.2.16 GetNumberFormat,GetNumberFormatBynum

3.2.17 GetOEMCP

3.2.18 GetSystemDefaultLangID

3.2.19 GetSystemDefaultLCID

3.2.20 GetThreadLocale

3.2.21 GetTimeFormat

3.2.22 GetTimeZoneInformation

3.2.23 GetUserDefaultLangID

3.2.24 GetUserDefaultLCID

3.2.25 IsValidCodePage

3.2.26 IsValidLocale

3.2.27 SetLocaleInfo

3.2.28 SetLocalTime

3.2.29 SetThreadLocale

3.2.30 SystemTimeToTzSpecificLocalTime

3.3 系统信息相关函数

3.3.1 GetSysColor

3.3.2 GetSystemInfo

3.3.3 GetSystemMetrics

3.3.4 GetSystemPowerStatus

3.3.5 GetSystemTime

3.3.6 GetSystemTimeAdjustment

3.3.7 GetTickCount

3.3.8 GetUserName

3.3.9 GetVersion

3.3.10 GetVersionEx

3.3.11 GlobalMemoryStatus函数

3.3.12 SetComputerName

3.3.13 SetSysColors

3.3.14 SetSystemTime

3.3.15 SetSystemTimeAdjustment

3.3.16 SetThreadLocale

3.3.17 SetTimeZoneInformation

3.3.18 SystemParametersInfo,SystemParametersInfoByval

3.4 光标(插入符)与鼠标输入函数

3.4.1 ClipCursor,ClipCursorBynum

3.4.2 CreateCaret

3.4.3 DestroyCaret

3.4.4 GetCaretBlinkTime

3.4.5 GetCaretPos

3.4.6 GetClipCursor

3.4.7 GetCursor

3.4.8 GetCursorPos

3.4.9 GetDoubleClickTime

3.4.10 HideCaret

3.4.11 SetCursor

3.4.12 SetCursorPos

3.4.13 SetDoubleClickTime

3.4.14 mouse_event

3.4.15 ShowCaret

3.4.16 ShowCursor

3.4.17 SwapMouseButton

3.5 其他函数

3.5.1 Beep

3.5.2 ExitWindowsEx

3.5.3 ExpandEnvironmentStrings

3.5.4 FreeEnvironmentStrings

3.5.5 GetEnvironmentStrings

3.5.6 GetEnvironmentVariable

3.5.7 GetLastError

3.5.8 GetQueueStatus

3.5.9 MessageBeep

3.5.10 SetEnvironmentVariable

3.6 综合示例

第4章 设备场景函数

4.1 获取和释放设备场景函数

4.1.1 CreateCompatibleDC

4.1.2 CreateDC,CreateDCBynum

4.1.3 CreateIC

4.1.4 DeleteDC

4.1.5 GetDC

4.1.6 GetDCEx

4.1.7 GetWindowDC

4.1.8 ReleaseDC

4.1.9 WindowFromDC

4.2 坐标映射函数

4.2.1 CombineTransform

4.2.2 DPtoLP

4.2.3 GetDCOrgEx

4.2.4 GetGraphicsMode

4.2.5 GetMapMode

4.2.6 GetViewportExtEx

4.2.7 GetViewportOrgEx

4.2.8 GetWindowExtEx

4.2.9 GetWindowOrgEx

4.2.10 GetWorldTransform

4.2.11 LPtoDP

4.2.12 ModifyWorldTransform

4.2.13 OffsetViewportOrgEx

4.2.14 OffsetWindowOrgEx

4.2.15 ScaleViewportExtEx

4.2.16 ScaleWindowExtEx

4.2.17 ScrollDC

4.2.18 SetGraphicsMode

4.2.19 SetMapMode

4.2.20 SetViewportExtEx

4.2.21 SetViewportOrgEx

4.2.22 SetWindowExtEx

4.2.23 SetWindowOrgEx

4.2.24 SetWorldTransform

4.3 区域和剪裁函数

4.3.1 CombineRgn

4.3.2 CreateEllipticRgn

4.3.3 CreateEllipticRgnIndirect

4.3.4 CreatePolygonRgn

4.3.5 CreatePolyPolygonRgn

4.3.6 CreateRectRgn

4.3.7 CreateRectRgnIndirect

4.3.8 CreateRoundRectRgn

4.3.9 EqualRgn

4.3.10 ExcludeClipRect

4.3.11 ExcludeUpdateRgn

4.3.12 ExtCreateRegion

4.3.13 ExtSelectClipRgn

4.3.14 FillRgn

4.3.15 FrameRgn

4.3.16 GetBoundsRect

4.3.17 GetClipBox

4.3.18 GetClipRgn

4.3.19 GetRegionData

4.3.20 GetRgnBox

4.3.21 GetUpdateRgn

4.3.22 InvertRgn

4.3.23 ModifyWorldTransform

4.3.24 OffsetClipRgn

4.3.25 OffsetRgn

4.3.26 PaintRgn

4.3.27 PtInRegion

4.3.28 PtVisible

4.3.29 RectInRegion

4.3.30 RectVisible

4.3.31 SelectClipRgn

4.3.32 SetBoundsRect

4.3.33 SetRectRgn

4.3.34 SetWindowRgn

4.3.35 ValidateRgn

4.4 堆栈函数

4.4.1 RestoreDC

4.4.2 SaveDC

4.5 设备场景信息函数

·GetDeviceCaps

第5章 绘图函数

5.1 GDI绘图对象创建函数

5.1.1 CreateBrushIndirect

5.1.2 CreateBrushIndirect

5.1.3 CreateDIBPatternBrush,CreateDIBPatternBrushPt

5.1.4 CreateEnhMetaFile

5.1.5 CreateHatchBrush

5.1.6 CreateMetaFile

5.1.7 CreatePatternBrush

5.1.8 CreatePen

5.1.9 CreatePenIndirect

5.1.10 CreateSolidBrush

5.1.11 ExtCreatePen

5.1.12 GetStockObject

5.1.13 GetSysColorBrush

5.2 绘图对象选取和释放函数

5.2.1 DeleteObject

5.2.2 EnumObjects

5.2.3 GetCurrentObject

5.2.4 GetObjectAPI

5.2.5 GetObjectType

5.3 绘图属性和绘图函数

5.3.1 AngleArc

5.3.2 Arc,ArcTo

5.3.3 CancelDC

5.3.4 Chord

5.3.5 DrawEdge

5.3.6 DrawEscape

5.3.7 DrawFocusRect

5.3.8 DrawFrameControl

5.3.9 DrawState

5.3.10 Ellipse

5.3.11 ExtFloodFill

5.3.12 FillRect

5.3.13 FloodFill

5.3.14 FrameRect

5.3.15 GdiFlush

5.3.16 GdiGetBatchLimit

5.3.17 GdiSetBatchLimit

5.3.18 GetArcDirection

5.3.19 GetBkColor

5.3.20 GetBkMode

5.3.21 GetBrushOrgEx

5.3.22 GetCurrentPositionEx

5.3.23 GetMiterLimit

5.3.24 GetNearestColor

5.3.25 GetPixel

5.3.26 GetPolyFillMode

5.3.27 GetROP2

5.3.28 GetSysColorBrush

5.3.29 InvertRect

5.3.30 LineDDA

5.3.31 LineTo

5.3.32 MoveToEx

5.3.33 PaintDesktop

5.3.34 Pie

5.3.35 PolyBezier,PolyBezierTo

5.3.36 PolyDraw

5.3.37 Polygon

5.3.38 Polyline,PolyLineTo

5.3.39 PolyPolygon

5.3.40 PolyPolyline

5.3.41 Rectangle

5.3.42 RoundRect

5.3.43 SetArcDirection

5.3.44 SetBkColor

5.3.45 SetBkMode

5.3.46 SetBrushOrgEx

5.3.47 SetMiterLimit

5.3.48 SetPixel

5.3.49 SetPixelV

5.3.50 SetPolyFillMode

5.3.51 SetROP2

5.4 路径函数

5.4.1 AbortPath

5.4.2 BeginPath

5.4.3 CloseFigure

5.4.4 EndPath

5.4.5 FillPath

5.4.6 FlattenPath

5.4.7 GetPath

5.4.8 PathToRegion

5.4.9 SelectClipPath

5.4.10 StrokeAndFillPath

5.4.11 StrokePath

5.4.12 WidenPath

5.5 图元文件函数

5.5.1 CloseEnhMetaFile

5.5.2 CloseMetaFile

5.5.3 CopyEnhMetaFile

5.5.4 CopyMetaFile

5.5.5 CreateEnhMetaFile

5.5.6 CreateMetaFile

5.5.7 DeleteEnhMetaFile

5.5.8 DeleteMetaFile

5.5.9 EnumEnhMetaFile

5.5.10 EnumMetaFile

5.5.11 GdiComment

5.5.12 GetEnhMetaFile

5.5.13 GetEnhMetaFileBits

5.5.14 GetEnhMetaFileDescription

5.5.15 GetEnhMetaFileHeader

5.5.16 GetEnhMetaFilePaletteEntries

5.5.17 GetMetaFile

5.5.18 GetMetaFileBitsEx

5.5.19 GetWinMetaFileBits

5.5.20 PlayEnhMetaFile

5.5.21 PlayEnhMetaFileRecord

5.5.22 PlayMetaFile

5.5.23 PlayMetaFileRecord

5.5.24 SetEnhMetaFileBits

5.5.25 SetMetaFileBitsEx

5.5.26 SetWinMetaFileBits

第6章 位图、图标和光栅运算函数

6.1 Windows中图像的处理概述

6.2 设备无关位图函数

6.2.1 CreateDIBitmap

6.2.2 CreateDIBSection

6.2.3 GetDIBColorTable

6.2.4 GetDIBits

6.2.5 SetDIBColorTable

6.2.6 SetDIBits

6.2.7 SetDIBitsToDevice

6.2.8 StretchDIBits

6.3 设备相关位图函数

6.3.1 CopyImage

6.3.2 CreateBitmap

6.3.3 CreateBitmapIndirect

6.3.4 CreateCompatibleBitmap

6.3.5 GetBitmapBits

6.3.6 GetBitmapDimensionEx

6.3.7 LoadBitmap,LoadBitmapBynum

6.3.8 LoadImage,LoadImageBynum

6.3.9 SetBitmapBits

6.3.10 SetBitmapDimensionEx

6.4 位图传输函数

6.4.1 BitBlt

6.4.2 GetStretchBltMode

6.4.3 MaskBlt

6.4.4 PatBlt

6.4.5 PlgBlt

6.4.6 SetStretchBltMode

6.4.7 StretchBlt

6.5 图标和指针函数

6.5.1 CreateCursor

6.5.2 CreateIcon

6.5.3 CreateIconIndirect

6.5.4 DestroyCursor

6.5.5 DestroyIcon

6.5.6 DrawIcon

6.5.7 DrawIconEx

6.5.8 ExtractAssociatedIcon

6.5.9 ExtractIcon

6.5.10 GetIconInfo

6.5.11 LoadCursor,LoadCursorBynum

6.5.12 LoadCursorFromFile

6.5.13 LoadIcon,LoadIconBynum

6.6 调色板

6.6.1 计算机色彩系统

6.6.2 调色板

6.7 综合示例

第7章 菜单函数

7.1 菜单函数

7.1.1 AppendMenu

7.1.2 CheckMenuItem

7.1.3 CheckMenuRadioItem

7.1.4 CreateMenu

7.1.5 CreatePopupMenu

7.1.6 DeleteMenu

7.1.7 DestroyMenu

7.1.8 DrawMenuBar

7.1.9 EnableMenuItem

7.1.10 GetMenu

7.1.11 GetMenuCheckMarkDimensions

7.1.12 GetMenuContextHelpId

7.1.13 GetMenuDefaultItem

7.1.14 GetMenuItemCount

7.1.15 GetMenuItemID

7.1.16 GetMenuItemInfo

7.1.17 GetMenuItemRect

7.1.18 GetMenuState

7.1.19 GetMenuString

7.1.20 GetSubMenu

7.1.21 GetSystemMenu

7.1.22 HiliteMenuItem

7.1.23 InsertMenu

7.1.24 InsertMenuItem

7.1.25 IsMenu

7.1.26 LoadMenu

7.1.27 LoadMenuIndirect

7.1.28 MenuItemFromPoint

7.1.29 ModifyMenu,ModifyMenuBynum

7.1.30 RemoveMenu

7.1.31 SetMenu

7.1.32 SetMenuContextHelpId

7.1.33 SetMenuDefaultItem

7.1.34 SetMenuItemBitmaps

7.1.35 SetMenuItemInfo

7.1.36 TrackPopupMenu,TrackPopupMenuBynum

7.1.37 TrackPopupMenuEx

7.2 综合示例

第8章 文本和字体函数

8.1 文本和字体简介

8.2 文本和字体函数

8.2.1 AddFontResource

8.2.2 CreateFont

8.2.3 CreateFontIndirect

8.2.4 CreateScalableFontResource

8.2.5 DrawText

8.2.6 DrawTextEx

8.2.7 EnumFontFamilies

8.2.8 EnumFontFamiliesEx

8.2.9 EnumFonts

8.2.10 ExtTextOut

8.2.11 GetAspectRatioFilterEx

8.2.12 GetCharABCWidths

8.2.13 GetCharABCWidthsFloat

8.2.14 GetCharacterPlacement

8.2.15 GetCharWidth,GetCharWidth32,GetCharWidthFloat

8.2.16 GetFontData

8.2.17 GetFontLanguageInfo

8.2.18 GetGlyphOutline

8.2.19 GetKerningPairs

8.2.20 GetOutlineTextMetrics

8.2.21 GetRasterizerCaps

8.2.22 GetTabbedTextExtent

8.2.23 GetTextAlign

8.2.24 GetTextCharacterExtra

8.2.25 GetTextCharset

8.2.26 GetTextCharsetInfo

8.2.27 GetTextColor

8.2.28 GetTextExtentExPoint

8.2.29 GetTextExtentPoint,GetTextExtentPoint32

8.2.30 GetTextFace

8.2.31 GetTextMetrics

8.2.32 GrayString,GrayStringByString

8.2.33 PolyTextOut

8.2.34 RemoveFontResource

8.2.35 SetMapperFlags

8.2.36 SetTextAlign

8.2.37 SetTextCharacterExtra

8.2.38 SetTextColor

8.2.39 SetTextJustification

8.2.40 TabbedTextOut

8.2.41 TextOut

第9章 打印函数

9.1 Windows打印简介

9.2 打印函数

9.2.1 AbortDoc

9.2.2 AbortPrinter

9.2.3 AddForm

9.2.4 AddJob

9.2.5 AddMonitor

9.2.6 AddPort

9.2.7 AddPrinter

9.2.8 AddPrinterConnection

9.2.9 AddPrinterDriver

9.2.10 AddPrintProcessor

9.2.11 AddPrintProvidor

9.2.12 AdvancedDocumentProperties

9.2.13 ClosePrinter

9.2.14 ConfigurePort

9.2.15 ConnectToPrinterDlg

9.2.16 DeleteForm

9.2.17 DeleteMonitor

9.2.18 DeletePort

9.2.19 DeletePrinter

9.2.20 DeletePrinterConnection

9.2.21 DeletePrinterDriver

9.2.22 DeletePrintProcessor

9.2.23 DeletePrintProvidor

9.2.24 DeviceCapabilities

9.2.25 DocumentProperties

9.2.26 EndDocAPI

9.2.27 EndDocPrinter

9.2.28 EndPage

9.2.29 EndPagePrinter

9.2.30 EnumForms

9.2.31 EnumJobs

9.2.32 EnumMonitors

9.2.33 EnumPorts

9.2.34 EnumPrinterDrivers

9.2.35 EnumPrinters

9.2.36 EnumPrintProcessorDatatypes

9.2.37 EnumPrintProcessors

9.2.38 Escape

9.2.39 FindClosePrinterChangeNotification

9.2.40 FindFirstPrinterChangeNotification

9.2.41 FindNextPrinterChangeNotification

9.2.42 FreePrinterNotifyInfo

9.2.43 GetForm

9.2.44 GetJob

9.2.45 GetPrinter

9.2.46 GetPrinterData

9.2.47 GetPrinterDriver

9.2.48 GetPrinterDriverDirectory

9.2.49 GetPrintProcessorDirectory

9.2.50 OpenPrinter

9.2.51 PrinterMessageBox

9.2.52 PrinterProperties

9.2.53 ReadPrinter

9.2.54 ResetDC

9.2.55 ResetPrinter

9.2.56 ScheduleJob

9.2.57 SetAbortProc

9.2.58 SetForm

9.2.59 SetJob

9.2.60 SetPrinter

9.2.61 SetPrinterData

9.2.62 StartDoc

9.2.63 StartDocPrinter

9.2.64 StartPage

9.2.65 StartPagePrinter

9.2.66 WritePrinter

第10章 文件处理函数

10.1 文件介绍

10.2 文件的创建和存取函数

10.2.1 CloseHandle

10.2.2 CreateFile

10.2.3 CreateFileMapping

10.2.4 FlushFileBuffers

10.2.5 FlushViewOfFile

10.2.6 lclose

10.2.7 lcreat

10.2.8 llseek

10.2.9 LockFile

10.2.10 LockFileEx

10.2.11 lopen

10.2.12 MapViewOfFile,MapViewOfFileEx

10.2.13 OpenFile

10.2.14 OpenFileMapping

10.2.15 SetEndOfFile

10.2.16 SetFilePointer

10.2.17 UnlockFile

10.2.18 UnlockFileEx

10.2.19 UnmapViewOfFile

10.3 文件的属性函数

10.3.1 CompareFileTime

10.3.2 DosDateTimeToFileTime

10.3.3 FileTimeToDosDateTime

10.3.4 FileTimeToLocalFileTime

10.3.5 FileTimeToSystemTime

10.3.6 GetBinaryType

10.3.7 GetFileAttributes

10.3.8 GetFileInformationByHandle

10.3.9 GetFileSize

10.3.10 GetFileTime

10.3.11 GetFileType

10.3.12 GetFileVersionInfo

10.3.13 GetFileVersionInfoSize

10.3.14 GetFullPathName

10.3.15 GetTempFileName

10.3.16 SetFileAttributes

10.3.17 SetFileTime

10.3.18 SystemTimeToFileTime

10.3.19 VerLanguageName

10.3.20 VerQueryValue

10.4 文件的操作函数

10.4.1 CopyFile

10.4.2 DeleteFile

10.4.3 FindClose

10.4.4 FindFirstFile

10.4.5 FindNextFile

10.4.6 hread

10.4.7 hwrite

10.4.8 lread

10.4.9 lwrite

10.4.10 MoveFile,MoveFileEx

10.4.11 ReadFile

10.4.12 ReadFileEx

10.4.13 SearchPath

10.4.14 VerFindFile

10.4.15 VerInstallFile

10.4.16 WriteFile

10.4.17 WriteFileEx

10.5 压缩文件函数

10.5.1 GetCompressedFileSize

10.5.2 GetExpandedName

10.5.3 LZClose

10.5.4 LZCopy

10.5.5 LZInit

10.5.6 LZOpenFile

10.5.7 LZRead

10.5.8 LZSeek

10.6 目录函数

10.6.1 CreateDirectory,CreateDirectoryEx

10.6.2 GetCurrentDirectory

10.6.3 GetSystemDirectory

10.6.4 GetTempPath

10.6.5 GetVolumeInformation

10.6.6 GetWindowsDirectory

10.6.7 RemoveDirectory

10.7 驱动器函数

10.7.1 GetDiskFreeSpace

10.7.2 GetDiskFreeSpaceEx

10.7.3 GetDriveType

10.7.4 GetLogicalDrives

10.7.5 GetLogicalDriveStrings

10.7.6 SetVolumeLabel

10.8 注册表简介

10.9 注册表的创建和存取函数

10.9.1 RegCloseKey

10.9.2 RegConnectRegistry

10.9.3 RegCreateKey

10.9.4 RegCreateKeyEx

10.9.5 RegOpenKey

10.9.6 RegOpenKeyEx

10.9.7 RegSaveKey

10.10 注册表项目的操作

10.10.1 RegDeleteKey

10.10.2 RegDeleteValue

10.10.3 RegEnumKey

10.10.4 RegEnumKeyEx

10.10.5 RegEnumValue

10.10.6 RegFlushKey

10.10.7 RegGetKeySecurity

10.10.8 RegLoadKey

10.10.9 RegNotifyChangeKeyValue

10.10.10 RegQueryInfoKey

10.10.11 RegQueryValue

10.10.12 RegQueryValueEx

10.10.13 RegReplaceKey

10.10.14 RegRestoreKey

10.10.15 RegSetKeySecurity

10.10.16 RegSetValue

10.10.17 RegSetValueEx

10.10.18 RegUnLoadKey

10.11 INI文件函数

10.11.1 GetPrivateProfileInt

10.11.2 GetPrivateProfileSection

10.11.3 GetPrivateProfileString

10.11.4 GetProfileInt

10.11.5 GetProfileSection

10.11.6 GetProfileString

10.11.7 WritePrivateProfileSection

10.11.8 WritePrivateProfileString

10.11.9 WriteProfileSection

10.11.10 WriteProfileString

10.12 设备控制函数

10.12.1 DeviceIoControl

10.12.2 QueryDosDevice

10.12.3 SetHandleCount

10.13 综合示例

第11章 Windows消息函数

11.1 消息函数

11.1.1 BroadcastSystemMessage

11.1.2 GetMessagePos

11.1.3 GetMessageTime

11.1.4 PostMessage,PostMessageBynum,PostMessageBystring

11.1.5 PostThreadMessage

11.1.6 RegisterWindowMessage

11.1.7 ReplyMessage

11.1.8 SendMessage,SendMessageBynum,SendMessageByString

11.1.9 SendMessageCallback

11.1.10 SendMessageTimeout

11.1.11 SendNotifyMessage

11.2 综合示例

第12章 网络和Internet函数

12.1 网络函数

12.1.1 WNetAddConnection

12.1.2 WNetAddConnection2

12.1.3 WNetAddConnection3

12.1.4 WNetCancelConnection

12.1.5 WNetCancelConnection2

12.1.6 WNetCloseEnum

12.1.7 WNetConnectionDialog

12.1.8 WNetDisconnectDialog

12.1.9 WNetEnumResource

12.1.10 WNetGetConnection

12.1.11 WNetGetLastError

12.1.12 WNetGetUniversalName

12.1.13 WNetGetUser

12.1.14 WNetOpenEnum

12.2 Internet函数

12.2.1 Internet的相关概念

12.2.2 Internet函数简介

12.3 Winsock函数

12.3.1 Windows Sockets规范简介

12.3.2 Winsock函数简介

12.4 综合示例

第13章 进程和线程函数

13.1 进程和线程简介

13.1.1 多任务、进程与线程

13.1.2 线程的同步

13.2 进程和线程操作函数

13.2.1 CreatProcess

13.2.2 ExitProcess

13.2.3 FindExecutable

13.2.4 FreeLibray

13.2.5 GetCurrentProcess

13.2.6 GetCurrentProcessId

13.2.7 GetCurrentThread

13.2.8 GetExitCodeProcess

13.2.9 GetExitCodeThread

13.2.10 GetModuleFileName

13.2.11 GetModuleHandle

13.2.12 GetPriorityClass

13.2.13 GetProcessShutdownParameters

13.2.14 GetProcessTimes

13.2.15 GetProcessWorkingSetSize

13.2.16 GetSartupInfo

13.2.17 GetThreadPriority

13.2.18 GetTheardTimes

13.2.19 GetWindowThreadProcessId

13.2.20 LoadLibrary

13.2.21 LoadLibraryEx

13.2.22 LoadModule

13.2.23 SetPriorityClass

13.2.24 SetProcessShutdownParameters

13.2.25 SetProcessWorkingSetSize

13.2.26 SetThreadPriority

13.2.27 ShellExecute

13.2.28 TerminateProcess

13.2.29 WinExec

13.3 同步函数

13.3.1 DuplicateHandle

13.3.2 GetHandleFormation

13.3.3 MsgWaitForMultipleObjects

13.4 综合示例

第14章 多媒体函数

14.1 音频函数

14.1.1 PlaySound

14.1.2 sndPlaySound

14.2 AVI文件

14.2.1 AVI数字视频的格式

14.2.2 AVI数字视频的特点

14.2.3 AVI采用的压缩算法

14.3 MCI命令字符串接口

14.4 多媒体程序实例

附录

附录A 虚拟键码

附录B 扬声器发音频率

附录C 可用代码页列表

附录D 结构定义

D.1 BITMAP

D.2 CPINFO

D.3 DEVMODE

D.4 FILETIME

D.5 FORM_INFO_1

D.6 LOGBRUSH

D.7 LOGPEN

D.8 MENUITEMINFO

D.9 MONINTOR_INFO_2

D.10 NETRESOURCE

D.11 OSVERSIONINFO

D.12 POINTAPI

D.13 PROVIDOR_INFO_1

D.14 RECT

D.15 RGNDATA

D.16 SYSTEM_INFO

D.17 SYSTEMTIME

D.18 TIME_ZONE_INFORMATION

D.19 WINDOWPLACEMENT

D.20 XFORM