📄 worddiary_tlb.~pas
字号:
unit WordDiary_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //
// PASTLWTR : $Revision: 1.88 $
// File generated on 01-4-20 下午 05:28:12 from Type Library described below.
// *************************************************************************//
// NOTE:
// Items guarded by $IFDEF_LIVE_SERVER_AT_DESIGN_TIME are used by properties
// which return objects that may need to be explicitly created via a function
// call prior to any access via the property. These items have been disabled
// in order to prevent accidental use from within the object inspector. You
// may enable them by defining LIVE_SERVER_AT_DESIGN_TIME or by selectively
// removing them from the $IFDEF blocks. However, such items must still be
// programmatically created via a method of the appropriate CoClass before
// they can be used.
// ************************************************************************ //
// Type Lib: D:\Borland\Delphi5\Projects\Temp\WordDoc\WordDiary.tlb (1)
// IID\LCID: {8A96459E-33C2-11D5-802B-00606777DF97}\0
// Helpfile:
// DepndLst:
// (1) v2.0 stdole, (C:\WINNT\System32\STDOLE2.TLB)
// (2) v4.0 StdVCL, (C:\WINNT\System32\STDVCL40.DLL)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
interface
uses Windows, ActiveX, Classes, Graphics, OleServer, OleCtrls, StdVCL;
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:
// Type Libraries : LIBID_xxxx
// CoClasses : CLASS_xxxx
// DISPInterfaces : DIID_xxxx
// Non-DISP interfaces: IID_xxxx
// *********************************************************************//
const
// TypeLibrary Major and minor versions
WordDiaryMajorVersion = 1;
WordDiaryMinorVersion = 0;
LIBID_WordDiary: TGUID = '{8A96459E-33C2-11D5-802B-00606777DF97}';
IID_IDiaryApp: TGUID = '{8A96459F-33C2-11D5-802B-00606777DF97}';
DIID_IDiaryAppEvents: TGUID = '{8A9645A1-33C2-11D5-802B-00606777DF97}';
CLASS_DiaryApp: TGUID = '{8A9645A3-33C2-11D5-802B-00606777DF97}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
IDiaryApp = interface;
IDiaryAppEvents = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
DiaryApp = IDiaryApp;
// *********************************************************************//
// Interface: IDiaryApp
// Flags: (4352) OleAutomation Dispatchable
// GUID: {8A96459F-33C2-11D5-802B-00606777DF97}
// *********************************************************************//
IDiaryApp = interface(IDispatch)
['{8A96459F-33C2-11D5-802B-00606777DF97}']
function NewDoc: HResult; stdcall;
function NextDoc: HResult; stdcall;
function PriorDoc: HResult; stdcall;
function SaveDoc: HResult; stdcall;
function ToggleVisible: HResult; stdcall;
function Cancel: HResult; stdcall;
function FirstDoc: HResult; stdcall;
function LastDoc: HResult; stdcall;
end;
// *********************************************************************//
// DispIntf: IDiaryAppEvents
// Flags: (4096) Dispatchable
// GUID: {8A9645A1-33C2-11D5-802B-00606777DF97}
// *********************************************************************//
IDiaryAppEvents = dispinterface
['{8A9645A1-33C2-11D5-802B-00606777DF97}']
end;
// *********************************************************************//
// The Class CoDiaryApp provides a Create and CreateRemote method to
// create instances of the default interface IDiaryApp exposed by
// the CoClass DiaryApp. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
CoDiaryApp = class
class function Create: IDiaryApp;
class function CreateRemote(const MachineName: string): IDiaryApp;
end;
implementation
uses ComObj;
class function CoDiaryApp.Create: IDiaryApp;
begin
Result := CreateComObject(CLASS_DiaryApp) as IDiaryApp;
end;
class function CoDiaryApp.CreateRemote(const MachineName: string): IDiaryApp;
begin
Result := CreateRemoteComObject(MachineName, CLASS_DiaryApp) as IDiaryApp;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -