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

  • 相关阅读:
    129. Sum Root to Leaf Numbers
    113. Path Sum II
    114. Flatten Binary Tree to Linked List
    112. Path Sum
    100. Same Tree
    300. Longest Increasing Subsequence
    72. Edit Distance
    自定义js标签库
    JS 实现Table相同行的单元格自动合并示例代码
    mysql 高版本only_full_group_by 错误
  • 原文地址:https://www.cnblogs.com/liustdelphi/p/3855355.html
Copyright © 2011-2022 走看看