zoukankan      html  css  js  c++  java
  • 【温故Delphi】GAEA用到Win32 API目录

      Delphi是Windows平台下著名的快速应用程序开发工具,它在VCL中封装并使用了大量的Win32 API。

      GAEA基于VCL开发的工具类产品,在程序中使用了大量的Win32 API,将经常用到或涉及到的API罗列并梳理一下。

    系统API

      1、事件对像:CreateEvent、setevent、ResetEvent和WaitForSingleObject;

      2、互斥体:CreateMutex,OpenMutex和ReleaseMutex

      3、时间:GetTickCount,Sleep,GetCPUTickCount

      4、QueryPerformanceFrequency,QueryPerformanceCounter,PerformanceCounter,GetProcessorInfo

      5、DLL相关:LoadLibrary,FreeLibrary

      6、GetLastError

    进程API

      1、CreateProcess,ShellExecute

      2、ExitProcess,TerminateProcess,GetExitCodeProcess

      3、GetProcessID

      4、其他:CreateToolhelp32Snapshot,Process32First,Process32Next

    窗口API

      1、EnableWindow,IsWindowEnabled,EnumThreadWindows

      2、LockWindowUpdate:锁定指定窗口,禁止它更新,同时只能有一个窗口处于锁定状态

      3、FindWindow:查找窗口,GetWindowLong:该函数获得有关指定窗口的信息

    文件API

      1、GetTempFileName

      2、CreateFile,CopyFile,DeleteFile,OpenFile

      3、GetFileAttributes:获取文件属性,

      4、FindFirstFile,FindNextFile,遍历文件夹查找文件

  • 相关阅读:
    微信、陌陌等著名IM软件设计架构详解
    腾讯首度公开S级手游品质管理方法
    input(file)按钮美化
    巧用css提高浏览器兼容性
    开博首记
    接口测试
    列表、元组操作
    Cacti应用
    Cacti修改采集精度为1分钟
    Centos Cacti 0.8.8g
  • 原文地址:https://www.cnblogs.com/liustdelphi/p/3855355.html
Copyright © 2011-2022 走看看