登录
首页 » Windows开发 » 程序运行初期,程序首先会通过LoadLibrary函数加载动态链接库Shell32.dll,并且把加载后的操作句柄存储在LibHandle中。然后通过@SHEm...

程序运行初期,程序首先会通过LoadLibrary函数加载动态链接库Shell32.dll,并且把加载后的操作句柄存储在LibHandle中。然后通过@SHEm...

于 2022-11-16 发布 文件大小:1.17 kB
0 101
下载积分: 2 下载次数: 1

代码说明:

程序运行初期,程序首先会通过LoadLibrary函数加载动态链接库Shell32.dll,并且把加载后的操作句柄存储在LibHandle中。然后通过@SHEmptyRecycleBin:=GetProcAddress (LibHandle, SHEmptyRecycleBinA )语句读取SHEmptyRecycleBinA函数的地址,如果以上语句能够正确执行(也就是@SHEmptyRecycleBin不等于nil),那么就调用SHEmptyRecycleBin完成清空回收站的操作。最后释放动态链接库。-The early run, the program will first of all through the LoadLibrary function to load dynamic link library Shell32.dll, and after the load operation is stored in the handle of LibHandle. Then @ SHEmptyRecycleBin: = GetProcAddress (LibHandle, SHEmptyRecycleBinA) statement read function SHEmptyRecycleBinA address, If the above statement to the correct implementation (that is, @ SHEmptyRecycleBin does not mean nil), then call the Empty Recycle Bin SHEmptyRecycleBin complete operation. Finally the release of a dynamic link library.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104269会员总数
  • 42今日下载