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

📄 ucontainedobject.pas

📁 这是不可多得的源代码
💻 PAS
字号:
unit uContainedObject;

interface
uses
  Sysutils;

type
  IContainedInterface = interface
    ['{455B65E1-D33A-48D3-8767-28694D611E7F}']
    function GetContainedName(var sName: WideString): HResult; stdcall;
  end;

  TCnObject = class(TContainedObject, IContainedInterface)
  public
    function GetContainedName(var sName: WideString): HResult; stdcall;
  end;

implementation

{ TCnObject }

function TCnObject.GetContainedName(var sName: WideString): HResult;
begin
  sName := 'I am contained Object!';
  Result := S_OK;
end;

end.
 

⌨️ 快捷键说明

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