📄 mysec_tlb.pas
字号:
unit Mysec_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 : 1.2
// File generated on 2007-7-2 16:20:47 from Type Library described below.
// ************************************************************************ //
// Type Lib: E:\网络验证\com\md5.tlb (1)
// LIBID: {98F2C51F-925E-4984-984F-8B73CF0DBFA4}
// LCID: 0
// Helpfile:
// HelpString: md5 Library
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\system32\stdole2.tlb)
// ************************************************************************ //
{$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
{$WARN SYMBOL_PLATFORM OFF}
{$WRITEABLECONST ON}
{$VARPROPSETTER ON}
interface
uses Windows, ActiveX, Classes, Graphics, StdVCL, Variants;
// *********************************************************************//
// 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
MysecMajorVersion = 1;
MysecMinorVersion = 0;
LIBID_Mysec: TGUID = '{98F2C51F-925E-4984-984F-8B73CF0DBFA4}';
IID_Imake: TGUID = '{CD1EE61D-631E-447E-B68C-3F1FE201CF5F}';
CLASS_make: TGUID = '{82EAC7A6-F4EF-436F-90B8-4F2E83C096C1}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
Imake = interface;
ImakeDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
make = Imake;
// *********************************************************************//
// Interface: Imake
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {CD1EE61D-631E-447E-B68C-3F1FE201CF5F}
// *********************************************************************//
Imake = interface(IDispatch)
['{CD1EE61D-631E-447E-B68C-3F1FE201CF5F}']
procedure OnStartPage(const AScriptingContext: IUnknown); safecall;
procedure OnEndPage; safecall;
function RivestStr(const Str: WideString): WideString; safecall;
function RivestFile(const FileName: WideString): WideString; safecall;
function MimeEncodeString(const s: WideString): WideString; safecall;
function MimeDecodeString(const s: WideString): WideString; safecall;
function BlowFish_DN(PT: Int64): Int64; safecall;
function BlowFish_EN(PT: Int64): Int64; safecall;
function BlowFish_Func(PT: LongWord): LongWord; safecall;
function BlowFish_Init(const Key: WideString): WideString; safecall;
function BlowFish_convert(const S: WideString): Int64; safecall;
end;
// *********************************************************************//
// DispIntf: ImakeDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {CD1EE61D-631E-447E-B68C-3F1FE201CF5F}
// *********************************************************************//
ImakeDisp = dispinterface
['{CD1EE61D-631E-447E-B68C-3F1FE201CF5F}']
procedure OnStartPage(const AScriptingContext: IUnknown); dispid 201;
procedure OnEndPage; dispid 202;
function RivestStr(const Str: WideString): WideString; dispid 203;
function RivestFile(const FileName: WideString): WideString; dispid 204;
function MimeEncodeString(const s: WideString): WideString; dispid 205;
function MimeDecodeString(const s: WideString): WideString; dispid 206;
function BlowFish_DN(PT: {??Int64}OleVariant): {??Int64}OleVariant; dispid 207;
function BlowFish_EN(PT: {??Int64}OleVariant): {??Int64}OleVariant; dispid 208;
function BlowFish_Func(PT: LongWord): LongWord; dispid 209;
function BlowFish_Init(const Key: WideString): WideString; dispid 210;
function BlowFish_convert(const S: WideString): {??Int64}OleVariant; dispid 211;
end;
// *********************************************************************//
// The Class Comake provides a Create and CreateRemote method to
// create instances of the default interface Imake exposed by
// the CoClass make. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
Comake = class
class function Create: Imake;
class function CreateRemote(const MachineName: string): Imake;
end;
implementation
uses ComObj;
class function Comake.Create: Imake;
begin
Result := CreateComObject(CLASS_make) as Imake;
end;
class function Comake.CreateRemote(const MachineName: string): Imake;
begin
Result := CreateRemoteComObject(MachineName, CLASS_make) as Imake;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -