You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

134 lines
6.0 KiB
Plaintext

unit Client_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 2010-5-31 16:28:50 from Type Library described below.
// ************************************************************************ //
// Type Lib: E:\p2p_msn\client\DsrClient.tlb (1)
// LIBID: {5B442FCA-4F62-4E94-9FF4-0F2FD4A93EFD}
// LCID: 0
// Helpfile:
// HelpString: Client 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
ClientMajorVersion = 1;
ClientMinorVersion = 0;
LIBID_Client: TGUID = '{5B442FCA-4F62-4E94-9FF4-0F2FD4A93EFD}';
IID_Iimclient: TGUID = '{FC5DE364-E7F1-45F5-A7B1-3AEC36225D47}';
DIID_IimclientEvents: TGUID = '{0DB7EB7A-7F0F-4BE8-812F-D62AEFA78A4E}';
CLASS_imclient: TGUID = '{0CB43A63-0EB5-43FC-92E1-5445CEE52DE3}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
Iimclient = interface;
IimclientDisp = dispinterface;
IimclientEvents = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
imclient = Iimclient;
// *********************************************************************//
// Interface: Iimclient
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {FC5DE364-E7F1-45F5-A7B1-3AEC36225D47}
// *********************************************************************//
Iimclient = interface(IDispatch)
['{FC5DE364-E7F1-45F5-A7B1-3AEC36225D47}']
procedure sendlogin(const username: WideString; const userpass: WideString;
const email: WideString; const msn: WideString; const mobile: WideString;
const userdept: WideString); safecall;
procedure sendmsg(const Fitem: WideString; const Ftitle: WideString;
const Fcontent: WideString; const ReceVer: WideString; const cmd: WideString;
const FreceVerNotes: WideString); safecall;
end;
// *********************************************************************//
// DispIntf: IimclientDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {FC5DE364-E7F1-45F5-A7B1-3AEC36225D47}
// *********************************************************************//
IimclientDisp = dispinterface
['{FC5DE364-E7F1-45F5-A7B1-3AEC36225D47}']
procedure sendlogin(const username: WideString; const userpass: WideString;
const email: WideString; const msn: WideString; const mobile: WideString;
const userdept: WideString); dispid 203;
procedure sendmsg(const Fitem: WideString; const Ftitle: WideString;
const Fcontent: WideString; const ReceVer: WideString; const cmd: WideString;
const FreceVerNotes: WideString); dispid 201;
end;
// *********************************************************************//
// DispIntf: IimclientEvents
// Flags: (4096) Dispatchable
// GUID: {0DB7EB7A-7F0F-4BE8-812F-D62AEFA78A4E}
// *********************************************************************//
IimclientEvents = dispinterface
['{0DB7EB7A-7F0F-4BE8-812F-D62AEFA78A4E}']
end;
// *********************************************************************//
// The Class Coimclient provides a Create and CreateRemote method to
// create instances of the default interface Iimclient exposed by
// the CoClass imclient. The functions are intended to be used by
// clients wishing to automate the CoClass objects exposed by the
// server of this typelibrary.
// *********************************************************************//
Coimclient = class
class function Create: Iimclient;
class function CreateRemote(const MachineName: string): Iimclient;
end;
implementation
uses ComObj;
class function Coimclient.Create: Iimclient;
begin
Result := CreateComObject(CLASS_imclient) as Iimclient;
end;
class function Coimclient.CreateRemote(const MachineName: string): Iimclient;
begin
Result := CreateRemoteComObject(MachineName, CLASS_imclient) as Iimclient;
end;
end.