// CodeGear C++Builder
// Copyright (c) 1995, 2020 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'QImport3MSScriptControlTLB.pas' rev: 34.00 (Windows)

#ifndef Qimport3msscriptcontroltlbHPP
#define Qimport3msscriptcontroltlbHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <Winapi.Windows.hpp>
#include <Winapi.ActiveX.hpp>
#include <System.Classes.hpp>
#include <System.Variants.hpp>

//-- user supplied -----------------------------------------------------------

namespace Qimport3msscriptcontroltlb
{
//-- forward type declarations -----------------------------------------------
__interface DELPHIINTERFACE IScriptProcedureCollection;
typedef System::DelphiInterface<IScriptProcedureCollection> _di_IScriptProcedureCollection;
__interface DELPHIINTERFACE IScriptModuleCollection;
typedef System::DelphiInterface<IScriptModuleCollection> _di_IScriptModuleCollection;
__interface DELPHIINTERFACE IScriptError;
typedef System::DelphiInterface<IScriptError> _di_IScriptError;
__interface DELPHIINTERFACE IScriptControl;
typedef System::DelphiInterface<IScriptControl> _di_IScriptControl;
//-- type declarations -------------------------------------------------------
typedef Winapi::Activex::TOleEnum ScriptControlStates;

__interface IScriptProcedureCollection  : public IDispatch 
{
	
};

__interface IScriptModuleCollection  : public IDispatch 
{
	
};

__interface  INTERFACE_UUID("{70841C78-067D-11D0-95D8-00A02463AB28}") IScriptError  : public IDispatch 
{
	virtual HRESULT __safecall Get_Number(int &__Get_Number_result) = 0 ;
	virtual HRESULT __safecall Get_Source(System::WideString &__Get_Source_result) = 0 ;
	virtual HRESULT __safecall Get_Description(System::WideString &__Get_Description_result) = 0 ;
	virtual HRESULT __safecall Get_HelpFile(System::WideString &__Get_HelpFile_result) = 0 ;
	virtual HRESULT __safecall Get_HelpContext(int &__Get_HelpContext_result) = 0 ;
	virtual HRESULT __safecall Get_Text(System::WideString &__Get_Text_result) = 0 ;
	virtual HRESULT __safecall Get_Line(int &__Get_Line_result) = 0 ;
	virtual HRESULT __safecall Get_Column(int &__Get_Column_result) = 0 ;
	virtual HRESULT __safecall Clear() = 0 ;
	#pragma option push -w-inl
	/* safecall wrapper */ inline int _scw_Get_Number() { int __r; HRESULT __hr = Get_Number(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property int Number = {read=_scw_Get_Number};
	#pragma option push -w-inl
	/* safecall wrapper */ inline System::WideString _scw_Get_Source() { System::WideString __r; HRESULT __hr = Get_Source(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property System::WideString Source = {read=_scw_Get_Source};
	#pragma option push -w-inl
	/* safecall wrapper */ inline System::WideString _scw_Get_Description() { System::WideString __r; HRESULT __hr = Get_Description(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property System::WideString Description = {read=_scw_Get_Description};
	#pragma option push -w-inl
	/* safecall wrapper */ inline System::WideString _scw_Get_HelpFile() { System::WideString __r; HRESULT __hr = Get_HelpFile(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property System::WideString HelpFile = {read=_scw_Get_HelpFile};
	#pragma option push -w-inl
	/* safecall wrapper */ inline int _scw_Get_HelpContext() { int __r; HRESULT __hr = Get_HelpContext(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property int HelpContext = {read=_scw_Get_HelpContext};
	#pragma option push -w-inl
	/* safecall wrapper */ inline System::WideString _scw_Get_Text() { System::WideString __r; HRESULT __hr = Get_Text(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property System::WideString Text = {read=_scw_Get_Text};
	#pragma option push -w-inl
	/* safecall wrapper */ inline int _scw_Get_Line() { int __r; HRESULT __hr = Get_Line(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property int Line = {read=_scw_Get_Line};
	#pragma option push -w-inl
	/* safecall wrapper */ inline int _scw_Get_Column() { int __r; HRESULT __hr = Get_Column(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property int Column = {read=_scw_Get_Column};
};

__interface  INTERFACE_UUID("{0E59F1D3-1FBE-11D0-8FF2-00A0D10038BC}") IScriptControl  : public IDispatch 
{
	virtual HRESULT __safecall Get_Language(System::WideString &__Get_Language_result) = 0 ;
	virtual HRESULT __safecall Set_Language(const System::WideString pbstrLanguage) = 0 ;
	virtual HRESULT __safecall Get_State(Winapi::Activex::TOleEnum &__Get_State_result) = 0 ;
	virtual HRESULT __safecall Set_State(Winapi::Activex::TOleEnum pssState) = 0 ;
	virtual HRESULT __safecall Set_SitehWnd(int phwnd) = 0 ;
	virtual HRESULT __safecall Get_SitehWnd(int &__Get_SitehWnd_result) = 0 ;
	virtual HRESULT __safecall Get_Timeout(int &__Get_Timeout_result) = 0 ;
	virtual HRESULT __safecall Set_Timeout(int plMilleseconds) = 0 ;
	virtual HRESULT __safecall Get_AllowUI(System::WordBool &__Get_AllowUI_result) = 0 ;
	virtual HRESULT __safecall Set_AllowUI(System::WordBool pfAllowUI) = 0 ;
	virtual HRESULT __safecall Get_UseSafeSubset(System::WordBool &__Get_UseSafeSubset_result) = 0 ;
	virtual HRESULT __safecall Set_UseSafeSubset(System::WordBool pfUseSafeSubset) = 0 ;
	virtual HRESULT __safecall Get_Modules(_di_IScriptModuleCollection &__Get_Modules_result) = 0 ;
	virtual HRESULT __safecall Get_Error(_di_IScriptError &__Get_Error_result) = 0 ;
	virtual HRESULT __safecall Get_CodeObject(_di_IDispatch &__Get_CodeObject_result) = 0 ;
	virtual HRESULT __safecall Get_Procedures(_di_IScriptProcedureCollection &__Get_Procedures_result) = 0 ;
	virtual HRESULT __safecall _AboutBox() = 0 ;
	virtual HRESULT __safecall AddObject(const System::WideString Name, const _di_IDispatch Object_, System::WordBool AddMembers) = 0 ;
	virtual HRESULT __safecall Reset() = 0 ;
	virtual HRESULT __safecall AddCode(const System::WideString Code) = 0 ;
	virtual HRESULT __safecall Eval(const System::WideString Expression, System::OleVariant &__Eval_result) = 0 ;
	virtual HRESULT __safecall ExecuteStatement(const System::WideString Statement) = 0 ;
	virtual HRESULT __safecall Run(const System::WideString ProcedureName, Winapi::Activex::PSafeArray &Parameters, System::OleVariant &__Run_result) = 0 ;
	#pragma option push -w-inl
	/* safecall wrapper */ inline System::WideString _scw_Get_Language() { System::WideString __r; HRESULT __hr = Get_Language(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property System::WideString Language = {read=_scw_Get_Language, write=Set_Language};
	#pragma option push -w-inl
	/* safecall wrapper */ inline Winapi::Activex::TOleEnum _scw_Get_State() { Winapi::Activex::TOleEnum __r; HRESULT __hr = Get_State(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property Winapi::Activex::TOleEnum State = {read=_scw_Get_State, write=Set_State};
	#pragma option push -w-inl
	/* safecall wrapper */ inline int _scw_Get_SitehWnd() { int __r; HRESULT __hr = Get_SitehWnd(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property int SitehWnd = {read=_scw_Get_SitehWnd, write=Set_SitehWnd};
	#pragma option push -w-inl
	/* safecall wrapper */ inline int _scw_Get_Timeout() { int __r; HRESULT __hr = Get_Timeout(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property int Timeout = {read=_scw_Get_Timeout, write=Set_Timeout};
	#pragma option push -w-inl
	/* safecall wrapper */ inline System::WordBool _scw_Get_AllowUI() { System::WordBool __r; HRESULT __hr = Get_AllowUI(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property System::WordBool AllowUI = {read=_scw_Get_AllowUI, write=Set_AllowUI};
	#pragma option push -w-inl
	/* safecall wrapper */ inline System::WordBool _scw_Get_UseSafeSubset() { System::WordBool __r; HRESULT __hr = Get_UseSafeSubset(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property System::WordBool UseSafeSubset = {read=_scw_Get_UseSafeSubset, write=Set_UseSafeSubset};
	#pragma option push -w-inl
	/* safecall wrapper */ inline _di_IScriptModuleCollection _scw_Get_Modules() { _di_IScriptModuleCollection __r; HRESULT __hr = Get_Modules(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property _di_IScriptModuleCollection Modules = {read=_scw_Get_Modules};
	#pragma option push -w-inl
	/* safecall wrapper */ inline _di_IScriptError _scw_Get_Error() { _di_IScriptError __r; HRESULT __hr = Get_Error(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property _di_IScriptError Error = {read=_scw_Get_Error};
	#pragma option push -w-inl
	/* safecall wrapper */ inline _di_IDispatch _scw_Get_CodeObject() { _di_IDispatch __r; HRESULT __hr = Get_CodeObject(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property _di_IDispatch CodeObject = {read=_scw_Get_CodeObject};
	#pragma option push -w-inl
	/* safecall wrapper */ inline _di_IScriptProcedureCollection _scw_Get_Procedures() { _di_IScriptProcedureCollection __r; HRESULT __hr = Get_Procedures(__r); System::CheckSafecallResult(__hr); return __r; }
	#pragma option pop
	__property _di_IScriptProcedureCollection Procedures = {read=_scw_Get_Procedures};
};

//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE GUID IID_IScriptControl;
extern DELPHI_PACKAGE GUID CLASS_ScriptControl;
}	/* namespace Qimport3msscriptcontroltlb */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_QIMPORT3MSSCRIPTCONTROLTLB)
using namespace Qimport3msscriptcontroltlb;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Qimport3msscriptcontroltlbHPP
