⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iefav_plugin.dpr

📁 驱动备份顾名思义就是备份操作系统的各个硬件的驱动程序
💻 DPR
字号:
library IEFav_Plugin;

{ Important note about DLL memory management: ShareMem must be the
  first unit in your library's USES clause AND your project's (select
  Project-View Source) USES clause if your DLL exports any procedures or
  functions that pass strings as parameters or function results. This
  applies to all strings passed to and from your DLL--even those that
  are nested in records and classes. ShareMem is the interface unit to
  the BORLNDMM.DLL shared memory manager, which must be deployed along
  with your DLL. To avoid using BORLNDMM.DLL, pass string information
  using PChar or ShortString parameters. }

uses
  Windows,
  SysUtils,
  Classes,
  Forms,
  UntMain in 'UntMain.pas' {Form1},
  untLoadFav in 'untLoadFav.pas',
  untFileInfo in 'untFileInfo.pas',
  untBackUp in 'untBackUp.pas';

{$R *.res}

//宿主程序(驱动备份)获取插件名称
function PluginName():ShortString;stdcall;
begin
  result:='备份IE搜索夹';
end;

//宿主程序(驱动备份)调用的"关于插件"
procedure PluginAbout(handle:HWND);stdcall;
  var str:string;
begin
  str:='备份IE搜索夹'+#13+#10+#13+
       '版本:1.0.0.23'+#13+#10+#13+
       '作者:林仕君'+#13+#10+#13+
       'E-mail:moufer@21cn.com  '+#13+#10+#13+
       'http://moufer.51.net/';
  messagebox(handle,Pchar(Str),'关于',0+64);
end;

////宿主程序(驱动备份)调用的打开插件事件
procedure PluginFormShow;stdcall;
begin
  Application.CreateForm(TForm1, Form1);
  Form1.ShowModal;
end;

//注册宿主程序(驱动备份)调用的函数名
exports
  PluginName,
  PluginAbout,
  PluginFormShow;
begin
end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -