Справочник по функциям Windows API

В данном справочнике приводятся примеры использования различных функций API при написании программ на Visual Basic. Если вы только приступили к программированию с помощью API, то прочитайте сначала Введение. Также ознакомьтесь с определениями терминов, если Вы не понимаете некоторые используемые термины.

Выбирайте способ работы с функциями API:


Список функций по алфавиту

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

    A
  1. AccessibleObjectFromPoint
  2. ActivateKeyboardLayout
  3. AddFontResource
  4. AdjustTokenPrivileges
  5. AllocConsole
  6. AlphaBlend
  7. AngleArc
  8. AnimateWindow
  9. AppendMenu
  10. Arc
  11. ArcTo
  12. AttachThreadInput
  13. auxGetVolume
  14. auxSetVolume

  15. B
  16. BackupEventLog
  17. Beep
  18. BeginPath
  19. BitBlt
  20. BlockInput
  21. BringWindowToTop

  22. C
  23. CallNextHookEx
  24. CallWindowProc
  25. ChangeDisplaySettings
  26. CharLower
  27. CharToOem
  28. CharUpper
  29. CheckMenuRadioItem
  30. ChooseColor
  31. ChooseFont
  32. Chord
  33. ClearEventLog
  34. ClientToScreen
  35. ClipCursor
  36. CloseClipboard
  37. CloseEventLog
  38. CloseHandle
  39. ClosePrinter
  40. CloseServiceHandle
  41. CloseWindow
  42. CoCreateGuid
  43. CombineRgn
  44. CommDlgExtendedError
  45. CompareFileTime
  46. CompareString
  47. ConfigurePort
  48. ControlService
  49. CopyFile
  50. CopyImage
  51. CopyMemory
  52. CopyRect
  53. CoTaskMemFree
  54. CountClipboardFormats
  55. CreateBitmap
  56. CreateBrushIndirect
  57. CreateCaret
  58. CreateCompatibleBitmap
  59. CreateCompatibleDC
  60. CreateCursor
  61. CreateDC
  62. CreateDirectory
  63. CreateDirectoryEx
  64. CreateEllipticRgn
  65. CreateEllipticRgnIndirect
  66. CreateFile
  67. CreateFont
  68. CreateFontIndirect
  69. CreateHatchBrush
  70. CreateIconIndirect
  71. CreateMenu
  72. CreatePatternBrush
  73. CreatePen
  74. CreatePenIndirect
  75. CreatePolygonRgn
  76. CreatePolyPolygonRgn
  77. CreatePopupMenu
  78. CreateProcess
  79. CreateRectRgn
  80. CreateRectRgnIndirect
  81. CreateRoundRectRgn
  82. CreateSolidBrush
  83. CreateStatusWindow
  84. CreateToolBarEx
  85. CreateWindowEx
    D
  86. DefWindowProc
  87. DeleteDC
  88. DeleteFile
  89. DeleteObject
  90. DestroyCursor
  91. DestroyIcon
  92. DestroyMenu
  93. DestroyWindow
  94. DeviceCapabilities
  95. DeviceIOControl
  96. DialogBoxParam
  97. DllGetVersion
  98. DragAcceptFiles
  99. DragQueryFile
  100. DrawAnimatedRects
  101. DrawCaption
  102. DrawEdge
  103. DrawFocusRect
  104. DrawFrameControl
  105. DrawIcon
  106. DrawIconEx
  107. DrawMenuBar
  108. DrawState
  109. DrawText
  110. DrawTextEx
  111. DuplicateIcon

  112. E
  113. Ellipse
  114. EmptyClipboard
  115. EnableTheming
  116. EnableWindow
  117. EndDialog
  118. EndDoc
  119. EndMenu
  120. EndPage
  121. EndPath
  122. EnumChildWindows
  123. EnumClipboardFormats
  124. EnumDisplayDevices
  125. EnumDisplaySettings
  126. EnumFontFamiliesEx
  127. EnumJobs
  128. EnumPorts
  129. EnumPrinters
  130. EnumProcesses
  131. EnumProcessModules
  132. EnumPropsEx
  133. EnumServicesStatus
  134. EnumSystemCodePages
  135. EnumThreadWindows
  136. EnumWindows
  137. EqualRect
  138. EqualRgn
  139. ExitProcess
  140. ExitWindowsDialog
  141. ExitWindowsEx
  142. ExtFloodFill
  143. ExtractAssociatedIcon
  144. ExtractIcon
  145. ExtractIconEx
    F
  146. FatalAppExit
  147. FileTimeToLocalFileTime
  148. FileTimeToSystemTime
  149. FillMemory
  150. FillRect
  151. FillRgn
  152. FindClose
  153. FindExecutable
  154. FindFirstFile
  155. FindNextFile
  156. FindWindow
  157. FindWindowEx
  158. FlashWindow
  159. FlashWindowEx
  160. FlatSB_EnableScrollBar
  161. FlatSB_GetScrollPos
  162. FlatSB_GetScrollProp
  163. FlatSB_GetScrollRange
  164. FlatSB_SetScrollPos
  165. FlatSB_SetScrollProp
  166. FlatSB_SetScrollRange
  167. FlatSB_ShowScrollBar
  168. FormatMessage
  169. FrameRect
  170. FrameRgn
  171. FreeConsole
  172. FreeLibrary
    G
  173. GetACP
  174. GetActiveWindow
  175. GetArcDirection
  176. GetAsyncKeyState
  177. GetBrushOrgEx
  178. GetCapture
  179. GetCaretBlinkTime
  180. GetClassInfo
  181. GetClassInfoEx
  182. GetClassLong
  183. GetClassName
  184. GetClientRect
  185. GetClipCursor
  186. GetClipboardData
  187. GetClipboardFormatName
  188. GetComputerName
  189. GetConsoleCP
  190. GetConsoleCursorInfo
  191. GetConsoleFontSize
  192. GetConsoleScreenBufferInfo
  193. GetConsoleTitle
  194. GetConsoleWindow
  195. GetCPInfo
  196. GetCurrencyFormat
  197. GetCurrentConsoleFont
  198. GetCurrentDirectory
  199. GetCurrentPositionEx
  200. GetCurrentProcess
  201. GetCurrentProcessId
  202. GetCurrentThemeName
  203. GetCurrentThread
  204. GetCurrentThreadId
  205. GetCursor
  206. GetCursorPos
  207. GetDateFormat
  208. GetDC
  209. GetDesktopWindow
  210. GetDeviceCaps
  211. GetDIBits
  212. GetDiskFreeSpace
  213. GetDiskFreeSpaceEx
  214. GetDlgItem
  215. GetDlgItemText
  216. GetDoubleClickTime
  217. GetDriveType
  218. GetEnvironmentVariable
  219. GetFileAttributes
  220. GetFileInformationByHandle
  221. GetFileSize
  222. GetFileTime
  223. GetFileVersionInfo
  224. GetFileVersionInfoSize
  225. GetFocus
  226. GetForegroundWindow
  227. GetFullPathName
  228. GetIconInfo
  229. GetKeyboardLayout
  230. GetKeyboardLayoutList
  231. GetKeyboardLayoutName
  232. GetKeyboardState
  233. GetKeyboardType
  234. GetKeyState
  235. GetLastError
  236. GetLastInputInfo
  237. GetLocaleInfo
  238. GetLocalTime
  239. GetLogicalDrives
  240. GetLogicalDriveStrings
  241. GetLongPathName
  242. GetMenu
  243. GetMenuInfo
  244. GetMenuItemCount
  245. GetMenuItemInfo
  246. GetMessage
  247. GetModuleFileNameEx
  248. GetMonitorInfo
  249. GetNumberFormat
  250. GetNumberOfEventLogRecords
  251. GetObject
  252. GetOEMCP
  253. GetOpenFileName
  254. GetParent
  255. GetPixel
  256. GetPolyFillMode
  257. GetPrinterDriver
  258. GetPriorityClass
  259. GetPrivateProfileInt
  260. GetPrivateProfileString
  261. GetProcAddress
  262. GetProductInfo
  263. GetProfileInt
  264. GetProfileString
  265. GetProp
  266. GetRgnBox
  267. GetSaveFileName
  268. GetScrollInfo
  269. GetShortPathName
  270. GetStdHandle
  271. GetStockObject
  272. GetSubMenu
  273. GetSysColor
  274. GetSysColorBrush
  275. GetSystemDefaultLCID
  276. GetSystemDirectory
  277. GetSystemInfo
  278. GetSystemMenu
  279. GetSystemMetrics
  280. GetSystemPowerStatus
  281. GetSystemTime
  282. GetSystemTimeAsFileTime
  283. GetTempFileName
  284. GetTempPath
  285. GetTextAlign
  286. GetTextCharacterExtra
  287. GetTextColor
  288. GetThreadLocale
  289. GetThreadPriority
  290. GetTickCount
  291. GetTimeFormat
  292. GetTimeZoneInformation
  293. GetTitleBarInfo
  294. GetTopWindow
  295. GetUserDefaultLCID
  296. GetUserName
  297. GetVersion
  298. GetVersionEx
  299. GetVolumeInformation
  300. GetWindow
  301. GetWindowDC
  302. GetWindowLong
  303. GetWindowPlacement
  304. GetWindowRect
  305. GetWindowRgn
  306. GetWindowsDirectory
  307. GetWindowText
  308. GetWindowTextLength
  309. GetWindowThreadProcessId
  310. GlobalAlloc
  311. GlobalFree
  312. GlobalLock
  313. GlobalMemoryStatus
  314. GlobalMemoryStatusEx
  315. GlobalSize
  316. GlobalUnlock
    H
  317. HideCaret
  318. HtmlHelp
    I
  319. ImageList_Draw
  320. InflateRect
  321. InitCommonControls
  322. InitCommonControlsEx
  323. InitializeFlatSB
  324. InsertMenuItem
  325. IntersectRect
  326. InvalidateRect
  327. InvertRect
  328. InvertRgn
  329. IsBadStringPtr
  330. IsCharAlpha
  331. IsCharAlphaNumeric
  332. IsCharLower
  333. IsCharUpper
  334. IsChild
  335. IsClipboardFormatAvailable
  336. IsDebuggerPresent
  337. IsIconic
  338. IsNTAdmin
  339. IsProcessorFeaturePresent
  340. IsPwrHibernateAllowed
  341. IsRectEmpty
  342. IsThemeActive
  343. IsUserAnAdmin
  344. IsWindow
  345. IsWindowEnabled
  346. IsWindowVisible
  347. IsZoomed
    J
    K
  348. keybd_event
  349. KillTimer
    L
  350. LineTo
  351. LoadBitmap
  352. LoadCursor
  353. LoadCursorFromFile
  354. LoadIcon
  355. LoadImage
  356. LoadKeyboardLayout
  357. LoadLibrary
  358. LocalFileTimeToFileTime
  359. LockWindowUpdate
  360. LockWorkStation
  361. LogonUser
  362. LookupAccountName
  363. LookupPrivilegeValue
  364. lstrcmp
  365. lstrcmpi
  366. lstrcpy
  367. lstrcpyn
  368. lstrlen

  369. M
  370. MessageBeep
  371. MessageBox
  372. MessageBoxEx
  373. MessageBoxIndirect
  374. ModifyMenu
  375. MonitorFromPoint
  376. mouse_event
  377. MoveFile
  378. MoveMemory
  379. MoveToEx
  380. MoveWindow
  381. MulDiv

  382. N
  383. NetApiBufferFree
  384. NetLocalGroupAdd
  385. NetMessageBufferSend
  386. NetQueryDisplayInformation
  387. NetRemoteTOD
  388. NetScheduleJobAdd
  389. NetScheduleJobDel

  390. O
  391. ObjectPropertyDialog
  392. OemToChar
  393. OffsetRect
  394. OffsetRgn
  395. OleCreatePictureIndirect
  396. OleTranslateColor
  397. OpenClipBoard
  398. OpenEventLog
  399. OpenPrinter
  400. OpenProcess
  401. OpenProcessToken
  402. OpenSCManager
  403. OpenService
    P
  404. PageSetupDlg
  405. PaintDesktop
  406. PathAddBackSlash
  407. PathAddExtension
  408. PathCommonPrefix
  409. PathCompactPath
  410. PathCompactPathEx
  411. PathFileExists
  412. PathFindExtension
  413. PathFindFieName
  414. PathIsDirectory
  415. PathIsFileSpec
  416. PathIsPrefix
  417. PathIsRelative
  418. PathRelativePathTo
  419. PathRemoveBackSlash
  420. PathRemoveFileSpec
  421. PathStripPath
  422. PathToRegion
  423. PickIconDlg
  424. Pie
  425. PolyBezier
  426. PolyBezierTo
  427. Polygon
  428. Polyline
  429. PolylineTo
  430. PolyPolygon
  431. PolyPolyline
  432. PostMessage
  433. PrintDlg
  434. PrinterProperties
  435. PStoreCreateInstance
  436. PtInRect
  437. PtInRegion
    Q
  438. QueryPerformanceCounter
  439. QueryPerformanceFrequency
  440. QueryServiceConfig
  441. QueryServiceStatus
    R
  442. ReadConsole
  443. ReadFile
  444. Rectangle
  445. RectInRegion
  446. RedrawWindow
  447. RegCloseKey
  448. RegConnectRegistry
  449. RegCreateKeyEx
  450. RegDeleteKey
  451. RegDeleteValue
  452. RegEnumKeyEx
  453. RegEnumValue
  454. RegisterClass
  455. RegisterClassEx
  456. RegisterHotKey
  457. RegisterServiceProccess
  458. RegNotifyChangeKeyValue
  459. RegOpenKeyEx
  460. RegQueryValueEx
  461. RegSetValueEx
  462. ReleaseCapture
  463. ReleaseDC
  464. RemoveDirectory
  465. RemoveFontResource
  466. RemoveMenu
  467. RemoveProp
  468. RestartDialog
  469. RoundRect
  470. RunDialog
    S
  471. ScreenToClient
  472. ScrollWindow
  473. SelectClipPath
  474. SelectObject
  475. SendInput
  476. SendMessage
  477. SendMessageTimeOut
  478. SetActiveWindow
  479. SetArcDirection
  480. SetBitmapBits
  481. SetBkColor
  482. SetBkMode
  483. SetBrushOrgEx
  484. SetCaretBlinkTime
  485. SetClassLong
  486. SetClipboardData
  487. SetComputerName
  488. SetConsoleCursorInfo
  489. SetConsoleCursorPosition
  490. SetConsoleTextAttribute
  491. SetConsoleTitle
  492. SetCurrentDirectory
  493. SetCursor
  494. SetCursorPos
  495. SetDIBits
  496. SetDoubleClickTime
  497. SetEnvironmentVariable
  498. SetErrorMode
  499. SetFileAttributes
  500. SetFilePointer
  501. SetFileTime
  502. SetFocus
  503. SetForegroundWindow
  504. SetKeyboardState
  505. SetLastError
  506. SetLastErrorEx
  507. SetLayeredWindowAttributes
  508. SetLocaleInfo
  509. SetLocalTime
  510. SetMenu
  511. SetMenuInfo
  512. SetMenuItemBitmaps
  513. SetMenuItemInfo
  514. SetParent
  515. SetPixel
  516. SetPixelV
  517. SetPolyFillMode
  518. SetPriorityClass
  519. SetProp
  520. SetRect
  521. SetRectEmpty
  522. SetScrollInfo
  523. SetSuspendState
  524. SetSysColors
  525. SetSystemCursor
  526. SetSystemPowerState
  527. SetSystemTime
  528. SetTextAlign
  529. SetTextCharacterExtra
  530. SetTextColor
  531. SetThreadLocale
  532. SetThreadPriority
  533. SetTimer
  534. SetVolumeLabel
  535. SetWindowLong
  536. SetWindowPlacement
  537. SetWindowPos
  538. SetWindowRgn
  539. SetWindowsHookEx
  540. SetWindowText
  541. SetWindowTheme
  542. SfcGetNextProtectedFile
  543. SfcIsFileProtected
  544. SHAddToRecentDocs
  545. SHAppBarMessage
  546. SHAutoComplete
  547. SHBrowseForFolder
  548. Shell_NotifyIcon
  549. ShellAbout
  550. ShellExecute
  551. ShellExecuteEx
  552. SHEmptyRecycleBin
  553. SHFileOperation
  554. SHFormatDrive
  555. SHGetFileInfo
  556. SHGetFolderLocation
  557. SHGetFolderPath
  558. SHGetPathFromIDList
  559. SHGetSpecialFolderLocation
  560. SHGetSpecialFolderPath
  561. ShowCaret
  562. ShowCursor
  563. ShowScrollBar
  564. ShowWindow
  565. ShowWindowAsync
  566. SHQueryRecycleBin
  567. Sleep
  568. StartDoc
  569. StartPage
  570. StartService
  571. StretchBlt
  572. StrFormatByteSize
  573. StrFromTimeInterval
  574. StrokePath
  575. StrTrim
  576. SubtractRect
  577. SwapMouseButton
  578. SystemParametersInfo
  579. SystemTimeToFileTime
    T
  580. TerminateProcess
  581. TextOut
  582. TrackMouseEvent
  583. TrackPopupMenu
  584. TrackPopupMenuEx
  585. TransparentBlt
    U
  586. UnhookWindowsHookEx
  587. UninitializeFlatSB
  588. UnionRect
  589. UnregisterClass
  590. UnregisterHotKey
  591. UpdateWindow
  592. UrlCreateFromPath

  593. V
  594. VerQueryValue

  595. W
  596. WaitForSingleObject
  597. waveOutGetVolume
  598. waveOutSetVolume
  599. WideCharToMultiByte
  600. WindowFromPoint
  601. WinExec
  602. WinHelp
  603. WriteConsole
  604. WriteFile
  605. WritePrivateProfileString
  606. WriteProfileString
    X
    Y
    Z
  607. ZeroMemory

В начало


Список функций с обратным вызовом по алфавиту


Другая информация по функциям

Реклама