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,遍历文件夹查找文件

  • 相关阅读:
    Java 中的按值传递
    字符串排序(非字典排序)
    字符串匹配的KMP算法(转)
    效率更高的整数转化为字符串函数
    Trie 树(转)
    C 语言字符串(译)
    linux 下 epoll 编程
    CSS攻击:记录用户密码
    Wireshark(抓包神器)使用方法
    搭建KVM环境——Linux上安装KVM带web管理界面
  • 原文地址:https://www.cnblogs.com/liustdelphi/p/3855355.html
Copyright © 2011-2022 走看看