IID_IMyServ: TGUID = '{CD5804FE-5C4B-460A-A631-233784FF6B2C}';
CLASS_MyServ: TGUID = '{1C09DBC2-80E1-4565-9197-FE467ABA1928}';
type
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
IMyServ = interface;
IMyServDisp = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
MyServ = IMyServ;
// *********************************************************************//
// Interface: IMyServ
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {CD5804FE-5C4B-460A-A631-233784FF6B2C}
// *********************************************************************//
IMyServ = interface(IAppServer)
['{CD5804FE-5C4B-460A-A631-233784FF6B2C}']
function Login(const UserName: WideString; const Password: WideString): WordBool;
safecall;
procedure IPAdress(const Adress: WideString; const LocalAdress: WideString;
const LocalName: WideString); safecall;
procedure Otvet(Predmet: Integer; Tema: Integer; Vopros: Integer; const VarOtv:
WideString); safecall;
procedure Ocenka(Predmet: Integer; Tema: Integer; Count: Integer; Verno: Integer;
NeVerno: Integer; var Estimation: Integer); safecall;
end;
// *********************************************************************//
// DispIntf: IMyServDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {CD5804FE-5C4B-460A-A631-233784FF6B2C}
// *********************************************************************//
IMyServDisp = dispinterface
['{CD5804FE-5C4B-460A-A631-233784FF6B2C}']
function Login(const UserName: WideString; const Password: WideString): WordBool;
dispid 301;
procedure IPAdress(const Adress: WideString; const LocalAdress: WideString;
const LocalName: WideString); dispid 302;
procedure Otvet(Predmet: Integer; Tema: Integer; Vopros: Integer; const VarOtv:
WideString); dispid 303;
procedure Ocenka(Predmet: Integer; Tema: Integer; Count: Integer; Verno: Integer;
NeVerno: Integer; var Estimation: Integer); dispid 304;
function AS_ApplyUpdates(const ProviderName: WideString; Delta: OleVariant; MaxErrors:
Integer;