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

📄 interfaces.pas

📁 Delphi高级开发指南是开发程序的好帮手
💻 PAS
字号:
unit Interfaces;

{ Declaration of specialized interfaces for use by both the components
  and the COM objects in the COM library.

  jfl
}

interface

uses
  ComObj, ActiveX, Windows, DropComponent;

const
  Class_DropTarget: TGUID = '{AC3EF5E0-0B33-11D1-AEEC-0080C7440B7E}';
  Class_ContextMenu: TGUID = '{0B67EC82-0B7E-11D1-AEEC-0080C7440B7E}';
  MK_ALT = $20;   // not defined in Delphi

type
  // Private initialization interface for TDropTarget
  IInitDropTarget = interface( IUnknown )
  ['{DB232EA2-E1C4-11D0-80B1-000021617139}']
    function AllowMultipleFiles( Value: Boolean ): HResult; stdcall;
    function Enabled( Value: Boolean ): HResult; stdcall;
    function SetDropTargetInstance(
      const DropTarget: TCustomDropComponent ): HResult; stdcall;
  end;

implementation

end.

⌨️ 快捷键说明

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