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

📄 userserviceintf.pas

📁 Delphi面向对象编程思想附书源码 好用哦!
💻 PAS
字号:
{ Invokable interface IUserService }

unit UserServiceIntf;

interface

uses InvokeRegistry, Types, XSBuiltIns;

type

  { Invokable interfaces must derive from IInvokable }
  IUserService = interface(IInvokable)
  ['{1FAB59BF-83FD-4855-835C-AB392086FB83}']
    function GetDepList(out iCount:integer):TStringDynArray;stdcall;
    function GetUserList(strName:String): String; stdcall;
    function UpdateUserData(UserData:String):integer; stdcall;
  end;

implementation

initialization
  { Invokable interfaces must be registered }
  InvRegistry.RegisterInterface(TypeInfo(IUserService));

end.
 

⌨️ 快捷键说明

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