// ************************************************************************ //
// 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.                                         
// ************************************************************************ //

// C++ TLBWRTR : 1.28
// File generated on 2/14/2006 12:29:04 PM from Type Library described below.

// ************************************************************************  //
// Type Lib: c:\Program Files\Microsoft Office\Office\MSACC9.olb (1)
// LIBID: {4AFFC9A0-5F99-101B-AF4E-00AA003F0F07}
// LCID: 0
// Helpfile: c:\Program Files\Microsoft Office\Office\acmain9.chm
// HelpString: Microsoft Access 9.0 Object Library
// DepndLst: 
//   (1) v2.0 stdole, (C:\WINDOWS\System32\stdole2.tlb)
//   (2) v5.0 DAO, (C:\Program Files\Common Files\Microsoft Shared\DAO\dao360.dll)
//   (3) v2.1 Office, (C:\Program Files\Microsoft Office\Office\MSO9.DLL)
//   (4) v2.1 ADODB, (C:\Program Files\Common Files\system\ado\msado21.tlb)
//   (5) v5.3 VBIDE, (C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6EXT.OLB)
// ************************************************************************ //
#ifndef   Access_2KH
#define   Access_2KH

#pragma option push -b -w-inl

#if !defined(__UTILCLS_H)
#include <utilcls.h>
#endif
#if !defined(__UTILCLS_H_VERSION) || (__UTILCLS_H_VERSION < 0x0700)
//
// The code generated by the TLIBIMP utility or the Import|TypeLibrary 
// and Import|ActiveX feature of C++Builder rely on specific versions of
// the header file UTILCLS.H found in the INCLUDE\VCL directory. If an 
// older version of the file is detected, you probably need an update/patch.
//
#error "This file requires a newer version of the header UTILCLS.H" \
       "You need to apply an update/patch to your copy of C++Builder"
#endif
#include <olectl.h>
#include <ocidl.h>
#if defined(USING_ATLVCL) || defined(USING_ATL)
#if !defined(__TLB_NO_EVENT_WRAPPERS)
#include <atl/atlmod.h>
#endif
#endif
#include "DAO_2K.h"
#include "Office_2K.h"
#include "ADODB_2K.h"
#include "VBIDE_2K.h"


// *********************************************************************//
// Forward reference of some VCL types (to avoid including STDVCL.HPP)    
// *********************************************************************//
namespace Stdvcl {class IStrings; class IStringsDisp;}
using namespace Stdvcl;
typedef TComInterface<IStrings> IStringsPtr;
typedef TComInterface<IStringsDisp> IStringsDispPtr;

namespace Access_2k
{

// *********************************************************************//
// HelpString: Microsoft Access 9.0 Object Library
// Version:    9.0
// *********************************************************************//


// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:        
//   Type Libraries     : LIBID_xxxx                                      
//   CoClasses          : CLSID_xxxx                                      
//   DISPInterfaces     : DIID_xxxx                                       
//   Non-DISP interfaces: IID_xxxx                                        
// *********************************************************************//
extern __declspec (package) const GUID LIBID_Access;
extern __declspec (package) const GUID GUID_OldConstants;
extern __declspec (package) const GUID GUID_Constants;
extern __declspec (package) const GUID GUID_AcModuleType;
extern __declspec (package) const GUID GUID_AcCloseSave;
extern __declspec (package) const GUID GUID_AcQuitOption;
extern __declspec (package) const GUID GUID_AcSection;
extern __declspec (package) const GUID GUID_AcControlType;
extern __declspec (package) const GUID GUID_AcDataObjectType;
extern __declspec (package) const GUID GUID_AcDataTransferType;
extern __declspec (package) const GUID GUID_AcSendObjectType;
extern __declspec (package) const GUID GUID_AcObjectType;
extern __declspec (package) const GUID GUID_AcFindField;
extern __declspec (package) const GUID GUID_AcFindMatch;
extern __declspec (package) const GUID GUID_AcFormView;
extern __declspec (package) const GUID GUID_AcDataAccessPageView;
extern __declspec (package) const GUID GUID_AcOpenDataMode;
extern __declspec (package) const GUID GUID_AcFormOpenDataMode;
extern __declspec (package) const GUID GUID_AcOutputObjectType;
extern __declspec (package) const GUID GUID_AcPrintQuality;
extern __declspec (package) const GUID GUID_AcPrintRange;
extern __declspec (package) const GUID GUID_AcRecord;
extern __declspec (package) const GUID GUID_AcSearchDirection;
extern __declspec (package) const GUID GUID_AcSysCmdAction;
extern __declspec (package) const GUID GUID_AcTextTransferType;
extern __declspec (package) const GUID GUID_AcView;
extern __declspec (package) const GUID GUID_AcWindowMode;
extern __declspec (package) const GUID GUID_AcFilterType;
extern __declspec (package) const GUID GUID_AcSpreadSheetType;
extern __declspec (package) const GUID GUID_AcImeMode;
extern __declspec (package) const GUID GUID_AcImeSentenceMode;
extern __declspec (package) const GUID GUID_AcHyperlinkPart;
extern __declspec (package) const GUID GUID_AcProjectType;
extern __declspec (package) const GUID GUID_AcCommand;
extern __declspec (package) const GUID GUID_AcShowToolbar;
extern __declspec (package) const GUID GUID_AcFormatConditionType;
extern __declspec (package) const GUID GUID_AcFormatConditionOperator;
extern __declspec (package) const GUID GUID_AcColorIndex;
extern __declspec (package) const GUID IID_DoCmd;
extern __declspec (package) const GUID IID__RecordsetEvents;
extern __declspec (package) const GUID IID__AccessProperty;
extern __declspec (package) const GUID IID_Properties;
extern __declspec (package) const GUID IID__FormatCondition;
extern __declspec (package) const GUID CLSID_FormatCondition;
extern __declspec (package) const GUID IID_FormatConditions;
extern __declspec (package) const GUID IID__ItemsSelected;
extern __declspec (package) const GUID IID_Children;
extern __declspec (package) const GUID IID__AccessField;
extern __declspec (package) const GUID CLSID_AccessField;
extern __declspec (package) const GUID IID___Help;
extern __declspec (package) const GUID IID__Hyperlink;
extern __declspec (package) const GUID CLSID_AccessHyperlink;
extern __declspec (package) const GUID IID__Page;
extern __declspec (package) const GUID IID_Pages;
extern __declspec (package) const GUID IID__Control;
extern __declspec (package) const GUID CLSID_AccessControl;
extern __declspec (package) const GUID IID___ControlInReportEvents;
extern __declspec (package) const GUID CLSID__ControlInReportEvents;
extern __declspec (package) const GUID IID_Controls_;
extern __declspec (package) const GUID IID__Label;
extern __declspec (package) const GUID IID__LabelEvents;
extern __declspec (package) const GUID CLSID_AccessLabel;
extern __declspec (package) const GUID IID__ChildLabelEvents;
extern __declspec (package) const GUID CLSID__ChildLabel;
extern __declspec (package) const GUID IID__Rectangle;
extern __declspec (package) const GUID IID__RectangleEvents;
extern __declspec (package) const GUID CLSID_AccessRectangle;
extern __declspec (package) const GUID IID__Line;
extern __declspec (package) const GUID IID__LineEvents;
extern __declspec (package) const GUID CLSID_AccessLine;
extern __declspec (package) const GUID IID__Image;
extern __declspec (package) const GUID IID__ImageEvents;
extern __declspec (package) const GUID CLSID_AccessImage;
extern __declspec (package) const GUID IID__CommandButton;
extern __declspec (package) const GUID IID__CommandButtonEvents;
extern __declspec (package) const GUID CLSID_AccessCommandButton;
extern __declspec (package) const GUID IID__OptionButton;
extern __declspec (package) const GUID IID__OptionButtonEvents;
extern __declspec (package) const GUID CLSID_AccessOptionButton;
extern __declspec (package) const GUID IID__OptionButtonInOptionEvents;
extern __declspec (package) const GUID CLSID__OptionButtonInOption;
extern __declspec (package) const GUID IID__Checkbox;
extern __declspec (package) const GUID IID__CheckBoxEvents;
extern __declspec (package) const GUID CLSID_AccessCheckBox;
extern __declspec (package) const GUID IID__CheckBoxInOptionEvents;
extern __declspec (package) const GUID CLSID__CheckBoxInOption;
extern __declspec (package) const GUID IID__OptionGroup;
extern __declspec (package) const GUID IID__OptionGroupEvents;
extern __declspec (package) const GUID CLSID_AccessOptionGroup;
extern __declspec (package) const GUID IID__BoundObjectFrame;
extern __declspec (package) const GUID IID__BoundObjectFrameEvents;
extern __declspec (package) const GUID CLSID_AccessBoundObjectFrame;
extern __declspec (package) const GUID IID__Textbox;
extern __declspec (package) const GUID IID__TextBoxEvents;
extern __declspec (package) const GUID CLSID_AccessTextBox;
extern __declspec (package) const GUID IID__ListBox;
extern __declspec (package) const GUID IID__ListBoxEvents;
extern __declspec (package) const GUID CLSID_AccessListBox;
extern __declspec (package) const GUID IID__Combobox;
extern __declspec (package) const GUID IID__ComboBoxEvents;
extern __declspec (package) const GUID CLSID_AccessComboBox;
extern __declspec (package) const GUID IID__ObjectFrame;
extern __declspec (package) const GUID IID__ObjectFrameEvents;
extern __declspec (package) const GUID CLSID_AccessObjectFrame;
extern __declspec (package) const GUID IID__PageBreak;
extern __declspec (package) const GUID IID__PageBreakEvents;
extern __declspec (package) const GUID CLSID_AccessPageBreak;
extern __declspec (package) const GUID IID__ToggleButton;
extern __declspec (package) const GUID IID__ToggleButtonEvents;
extern __declspec (package) const GUID CLSID_AccessToggleButton;
extern __declspec (package) const GUID IID__ToggleButtonInOptionEvents;
extern __declspec (package) const GUID CLSID__ToggleButtonInOption;
extern __declspec (package) const GUID IID__PaletteButton;
extern __declspec (package) const GUID IID__PaletteButtonEvents;
extern __declspec (package) const GUID CLSID_AccessPaletteButton;
extern __declspec (package) const GUID IID__SubForm;
extern __declspec (package) const GUID IID__SubFormEvents;
extern __declspec (package) const GUID CLSID_AccessSubForm;
extern __declspec (package) const GUID IID__SubReport;
extern __declspec (package) const GUID IID__SubReportEvents;
extern __declspec (package) const GUID CLSID_AccessSubReport;
extern __declspec (package) const GUID IID__CustomControl;
extern __declspec (package) const GUID IID__CustomControlEvents;
extern __declspec (package) const GUID CLSID_AccessCustomControl;
extern __declspec (package) const GUID IID__CustomControlInReportEvents;
extern __declspec (package) const GUID CLSID__CustomControlInReport;
extern __declspec (package) const GUID IID__TabControl;
extern __declspec (package) const GUID IID__TabControlEvents;
extern __declspec (package) const GUID CLSID_AccessTabControl;
extern __declspec (package) const GUID IID__PageEvents;
extern __declspec (package) const GUID CLSID_AccessPage;
extern __declspec (package) const GUID IID__Section;
extern __declspec (package) const GUID IID__SectionEvents;
extern __declspec (package) const GUID CLSID_AccessSection;
extern __declspec (package) const GUID IID__GroupLevel;
extern __declspec (package) const GUID CLSID_AccessGroupLevel;
extern __declspec (package) const GUID IID__SectionInReportEvents;
extern __declspec (package) const GUID CLSID__SectionInReport;
extern __declspec (package) const GUID IID__PageHdrFtrInReportEvents;
extern __declspec (package) const GUID CLSID__PageHdrFtrInReport;
extern __declspec (package) const GUID GUID_RefKind;
extern __declspec (package) const GUID GUID_ProcKind;
extern __declspec (package) const GUID IID_Module;
extern __declspec (package) const GUID IID_Modules;
extern __declspec (package) const GUID IID__Form;
extern __declspec (package) const GUID IID__FormEvents;
extern __declspec (package) const GUID CLSID_AccessForm;
extern __declspec (package) const GUID IID_Forms_;
extern __declspec (package) const GUID IID__Report;
extern __declspec (package) const GUID IID__ReportEvents;
extern __declspec (package) const GUID CLSID_AccessReport;
extern __declspec (package) const GUID IID_Reports;
extern __declspec (package) const GUID IID_Screen;
extern __declspec (package) const GUID IID__Application;
extern __declspec (package) const GUID CLSID_AccessApplication;
extern __declspec (package) const GUID IID_Reference;
extern __declspec (package) const GUID IID__References;
extern __declspec (package) const GUID DIID__References_Events;
extern __declspec (package) const GUID CLSID_AccessReferences;
extern __declspec (package) const GUID IID__Dummy;
extern __declspec (package) const GUID IID__DataAccessPage;
extern __declspec (package) const GUID CLSID_DataAccessPage;
extern __declspec (package) const GUID IID_DataAccessPages;
extern __declspec (package) const GUID IID_AllObjects;
extern __declspec (package) const GUID CLSID_AllForms;
extern __declspec (package) const GUID CLSID_AllReports;
extern __declspec (package) const GUID CLSID_AllMacros;
extern __declspec (package) const GUID CLSID_AllModules;
extern __declspec (package) const GUID CLSID_AllDataAccessPages;
extern __declspec (package) const GUID CLSID_AllTables;
extern __declspec (package) const GUID CLSID_AllQueries;
extern __declspec (package) const GUID CLSID_AllViews;
extern __declspec (package) const GUID CLSID_AllStoredProcedures;
extern __declspec (package) const GUID CLSID_AllDatabaseDiagrams;
extern __declspec (package) const GUID IID_AccessObjectProperty;
extern __declspec (package) const GUID IID_AccessObjectProperties;
extern __declspec (package) const GUID IID__CurrentProject;
extern __declspec (package) const GUID IID__CurrentData;
extern __declspec (package) const GUID CLSID_CurrentProject;
extern __declspec (package) const GUID CLSID_CurrentData;
extern __declspec (package) const GUID CLSID_CodeProject;
extern __declspec (package) const GUID CLSID_CodeData;
extern __declspec (package) const GUID IID_AccessObject;
extern __declspec (package) const GUID IID__WizHook;
extern __declspec (package) const GUID CLSID_WizHook;
extern __declspec (package) const GUID IID__DefaultWebOptions;
extern __declspec (package) const GUID CLSID_DefaultWebOptions;
extern __declspec (package) const GUID IID__WebOptions;
extern __declspec (package) const GUID CLSID_AccessWebOptions;
extern __declspec (package) const GUID IID__DummyEvents;
extern __declspec (package) const GUID CLSID_Class;

// *********************************************************************//
// Forward declaration of types defined in TypeLibrary                    
// *********************************************************************//
enum      AcModuleType;
enum      AcCloseSave;
enum      AcQuitOption;
enum      AcSection;
enum      AcControlType;
enum      AcDataObjectType;
enum      AcDataTransferType;
enum      AcSendObjectType;
enum      AcObjectType;
enum      AcFindField;
enum      AcFindMatch;
enum      AcFormView;
enum      AcDataAccessPageView;
enum      AcOpenDataMode;
enum      AcFormOpenDataMode;
enum      AcOutputObjectType;
enum      AcPrintQuality;
enum      AcPrintRange;
enum      AcRecord;
enum      AcSearchDirection;
enum      AcSysCmdAction;
enum      AcTextTransferType;
enum      AcView;
enum      AcWindowMode;
enum      AcFilterType;
enum      AcSpreadSheetType;
enum      AcImeMode;
enum      AcImeSentenceMode;
enum      AcHyperlinkPart;
enum      AcProjectType;
enum      AcCommand;
enum      AcShowToolbar;
enum      AcFormatConditionType;
enum      AcFormatConditionOperator;
enum      AcColorIndex;
enum      RefKind;
enum      ProcKind;
interface DECLSPEC_UUID("{C547E760-9658-101B-81EE-00AA004750E2}") DoCmd;
typedef TComInterface<DoCmd, &IID_DoCmd> DoCmdPtr;

interface DECLSPEC_UUID("{45165490-EF32-11D0-86FB-006097C9818C}") _RecordsetEvents;
typedef TComInterface<_RecordsetEvents, &IID__RecordsetEvents> _RecordsetEventsPtr;

interface DECLSPEC_UUID("{331FDD00-CF31-11CD-8701-00AA003F0F07}") _AccessProperty;
typedef TComInterface<_AccessProperty, &IID__AccessProperty> _AccessPropertyPtr;

interface DECLSPEC_UUID("{331FDD02-CF31-11CD-8701-00AA003F0F07}") Properties;
typedef TComInterface<Properties, &IID_Properties> PropertiesPtr;

interface DECLSPEC_UUID("{E27A992C-A330-11D0-81DD-00C04FC2F51B}") _FormatCondition;
typedef TComInterface<_FormatCondition, &IID__FormatCondition> _FormatConditionPtr;

interface DECLSPEC_UUID("{E27A992E-A330-11D0-81DD-00C04FC2F51B}") FormatConditions;
typedef TComInterface<FormatConditions, &IID_FormatConditions> FormatConditionsPtr;

interface DECLSPEC_UUID("{31B09710-EADC-11CD-B9F7-00AA004753B5}") _ItemsSelected;
typedef TComInterface<_ItemsSelected, &IID__ItemsSelected> _ItemsSelectedPtr;

interface DECLSPEC_UUID("{3B06E977-E47C-11CD-8701-00AA003F0F07}") Children;
typedef TComInterface<Children, &IID_Children> ChildrenPtr;

interface DECLSPEC_UUID("{B1C1EAC1-486F-11CE-A65D-00AA003F0F07}") _AccessField;
typedef TComInterface<_AccessField, &IID__AccessField> _AccessFieldPtr;

interface DECLSPEC_UUID("{9CD4A761-A6A9-11CE-A686-00AA003F0F07}") __Help;
typedef TComInterface<__Help, &IID___Help> __HelpPtr;

interface DECLSPEC_UUID("{50D56611-60AC-11CF-82C9-00AA004B9FE6}") _Hyperlink;
typedef TComInterface<_Hyperlink, &IID__Hyperlink> _HyperlinkPtr;

interface DECLSPEC_UUID("{3B06E974-E47C-11CD-8701-00AA003F0F07}") _Page;
typedef TComInterface<_Page, &IID__Page> _PagePtr;

interface DECLSPEC_UUID("{3B06E978-E47C-11CD-8701-00AA003F0F07}") Pages;
typedef TComInterface<Pages, &IID_Pages> PagesPtr;

interface DECLSPEC_UUID("{26B96540-8F8E-101B-AF4E-00AA003F0F07}") _Control;
typedef TComInterface<_Control, &IID__Control> _ControlPtr;

interface DECLSPEC_UUID("{90B322A5-F1D9-11CD-8701-00AA003F0F07}") __ControlInReportEvents;
typedef TComInterface<__ControlInReportEvents, &IID___ControlInReportEvents> __ControlInReportEventsPtr;

interface DECLSPEC_UUID("{5970C574-EB8C-11CD-8701-00AA003F0F07}") Controls_;
typedef TComInterface<Controls_, &IID_Controls_> Controls_Ptr;

interface DECLSPEC_UUID("{3B06E948-E47C-11CD-8701-00AA003F0F07}") _Label;
typedef TComInterface<_Label, &IID__Label> _LabelPtr;

interface DECLSPEC_UUID("{BC9E4341-F037-11CD-8701-00AA003F0F07}") _LabelEvents;
typedef TComInterface<_LabelEvents, &IID__LabelEvents> _LabelEventsPtr;

interface DECLSPEC_UUID("{BC9E4358-F037-11CD-8701-00AA003F0F07}") _ChildLabelEvents;
typedef TComInterface<_ChildLabelEvents, &IID__ChildLabelEvents> _ChildLabelEventsPtr;

interface DECLSPEC_UUID("{3B06E94A-E47C-11CD-8701-00AA003F0F07}") _Rectangle;
typedef TComInterface<_Rectangle, &IID__Rectangle> _RectanglePtr;

interface DECLSPEC_UUID("{BC9E4342-F037-11CD-8701-00AA003F0F07}") _RectangleEvents;
typedef TComInterface<_RectangleEvents, &IID__RectangleEvents> _RectangleEventsPtr;

interface DECLSPEC_UUID("{3B06E94C-E47C-11CD-8701-00AA003F0F07}") _Line;
typedef TComInterface<_Line, &IID__Line> _LinePtr;

interface DECLSPEC_UUID("{BC9E4343-F037-11CD-8701-00AA003F0F07}") _LineEvents;
typedef TComInterface<_LineEvents, &IID__LineEvents> _LineEventsPtr;

interface DECLSPEC_UUID("{3B06E94E-E47C-11CD-8701-00AA003F0F07}") _Image;
typedef TComInterface<_Image, &IID__Image> _ImagePtr;

interface DECLSPEC_UUID("{BC9E4344-F037-11CD-8701-00AA003F0F07}") _ImageEvents;
typedef TComInterface<_ImageEvents, &IID__ImageEvents> _ImageEventsPtr;

interface DECLSPEC_UUID("{3B06E950-E47C-11CD-8701-00AA003F0F07}") _CommandButton;
typedef TComInterface<_CommandButton, &IID__CommandButton> _CommandButtonPtr;

interface DECLSPEC_UUID("{BC9E4345-F037-11CD-8701-00AA003F0F07}") _CommandButtonEvents;
typedef TComInterface<_CommandButtonEvents, &IID__CommandButtonEvents> _CommandButtonEventsPtr;

interface DECLSPEC_UUID("{3B06E952-E47C-11CD-8701-00AA003F0F07}") _OptionButton;
typedef TComInterface<_OptionButton, &IID__OptionButton> _OptionButtonPtr;

interface DECLSPEC_UUID("{BC9E4346-F037-11CD-8701-00AA003F0F07}") _OptionButtonEvents;
typedef TComInterface<_OptionButtonEvents, &IID__OptionButtonEvents> _OptionButtonEventsPtr;

interface DECLSPEC_UUID("{BC9E435B-F037-11CD-8701-00AA003F0F07}") _OptionButtonInOptionEvents;
typedef TComInterface<_OptionButtonInOptionEvents, &IID__OptionButtonInOptionEvents> _OptionButtonInOptionEventsPtr;

interface DECLSPEC_UUID("{3B06E954-E47C-11CD-8701-00AA003F0F07}") _Checkbox;
typedef TComInterface<_Checkbox, &IID__Checkbox> _CheckboxPtr;

interface DECLSPEC_UUID("{BC9E4347-F037-11CD-8701-00AA003F0F07}") _CheckBoxEvents;
typedef TComInterface<_CheckBoxEvents, &IID__CheckBoxEvents> _CheckBoxEventsPtr;

interface DECLSPEC_UUID("{BC9E435D-F037-11CD-8701-00AA003F0F07}") _CheckBoxInOptionEvents;
typedef TComInterface<_CheckBoxInOptionEvents, &IID__CheckBoxInOptionEvents> _CheckBoxInOptionEventsPtr;

interface DECLSPEC_UUID("{3B06E956-E47C-11CD-8701-00AA003F0F07}") _OptionGroup;
typedef TComInterface<_OptionGroup, &IID__OptionGroup> _OptionGroupPtr;

interface DECLSPEC_UUID("{BC9E4348-F037-11CD-8701-00AA003F0F07}") _OptionGroupEvents;
typedef TComInterface<_OptionGroupEvents, &IID__OptionGroupEvents> _OptionGroupEventsPtr;

interface DECLSPEC_UUID("{3B06E958-E47C-11CD-8701-00AA003F0F07}") _BoundObjectFrame;
typedef TComInterface<_BoundObjectFrame, &IID__BoundObjectFrame> _BoundObjectFramePtr;

interface DECLSPEC_UUID("{BC9E4349-F037-11CD-8701-00AA003F0F07}") _BoundObjectFrameEvents;
typedef TComInterface<_BoundObjectFrameEvents, &IID__BoundObjectFrameEvents> _BoundObjectFrameEventsPtr;

interface DECLSPEC_UUID("{3B06E946-E47C-11CD-8701-00AA003F0F07}") _Textbox;
typedef TComInterface<_Textbox, &IID__Textbox> _TextboxPtr;

interface DECLSPEC_UUID("{BC9E4340-F037-11CD-8701-00AA003F0F07}") _TextBoxEvents;
typedef TComInterface<_TextBoxEvents, &IID__TextBoxEvents> _TextBoxEventsPtr;

interface DECLSPEC_UUID("{3B06E95A-E47C-11CD-8701-00AA003F0F07}") _ListBox;
typedef TComInterface<_ListBox, &IID__ListBox> _ListBoxPtr;

interface DECLSPEC_UUID("{BC9E434B-F037-11CD-8701-00AA003F0F07}") _ListBoxEvents;
typedef TComInterface<_ListBoxEvents, &IID__ListBoxEvents> _ListBoxEventsPtr;

interface DECLSPEC_UUID("{3B06E95C-E47C-11CD-8701-00AA003F0F07}") _Combobox;
typedef TComInterface<_Combobox, &IID__Combobox> _ComboboxPtr;

interface DECLSPEC_UUID("{BC9E434C-F037-11CD-8701-00AA003F0F07}") _ComboBoxEvents;
typedef TComInterface<_ComboBoxEvents, &IID__ComboBoxEvents> _ComboBoxEventsPtr;

interface DECLSPEC_UUID("{3B06E95E-E47C-11CD-8701-00AA003F0F07}") _ObjectFrame;
typedef TComInterface<_ObjectFrame, &IID__ObjectFrame> _ObjectFramePtr;

interface DECLSPEC_UUID("{BC9E434D-F037-11CD-8701-00AA003F0F07}") _ObjectFrameEvents;
typedef TComInterface<_ObjectFrameEvents, &IID__ObjectFrameEvents> _ObjectFrameEventsPtr;

interface DECLSPEC_UUID("{3B06E960-E47C-11CD-8701-00AA003F0F07}") _PageBreak;
typedef TComInterface<_PageBreak, &IID__PageBreak> _PageBreakPtr;

interface DECLSPEC_UUID("{BC9E434E-F037-11CD-8701-00AA003F0F07}") _PageBreakEvents;
typedef TComInterface<_PageBreakEvents, &IID__PageBreakEvents> _PageBreakEventsPtr;

interface DECLSPEC_UUID("{3B06E962-E47C-11CD-8701-00AA003F0F07}") _ToggleButton;
typedef TComInterface<_ToggleButton, &IID__ToggleButton> _ToggleButtonPtr;

interface DECLSPEC_UUID("{BC9E434F-F037-11CD-8701-00AA003F0F07}") _ToggleButtonEvents;
typedef TComInterface<_ToggleButtonEvents, &IID__ToggleButtonEvents> _ToggleButtonEventsPtr;

interface DECLSPEC_UUID("{BC9E435F-F037-11CD-8701-00AA003F0F07}") _ToggleButtonInOptionEvents;
typedef TComInterface<_ToggleButtonInOptionEvents, &IID__ToggleButtonInOptionEvents> _ToggleButtonInOptionEventsPtr;

interface DECLSPEC_UUID("{9CD4A760-A6A9-11CE-A686-00AA003F0F07}") _PaletteButton;
typedef TComInterface<_PaletteButton, &IID__PaletteButton> _PaletteButtonPtr;

interface DECLSPEC_UUID("{A843CCD0-6E2C-11CF-A219-00A0C90542FF}") _PaletteButtonEvents;
typedef TComInterface<_PaletteButtonEvents, &IID__PaletteButtonEvents> _PaletteButtonEventsPtr;

interface DECLSPEC_UUID("{3B06E964-E47C-11CD-8701-00AA003F0F07}") _SubForm;
typedef TComInterface<_SubForm, &IID__SubForm> _SubFormPtr;

interface DECLSPEC_UUID("{BC9E4350-F037-11CD-8701-00AA003F0F07}") _SubFormEvents;
typedef TComInterface<_SubFormEvents, &IID__SubFormEvents> _SubFormEventsPtr;

interface DECLSPEC_UUID("{3B06E966-E47C-11CD-8701-00AA003F0F07}") _SubReport;
typedef TComInterface<_SubReport, &IID__SubReport> _SubReportPtr;

interface DECLSPEC_UUID("{BC9E4351-F037-11CD-8701-00AA003F0F07}") _SubReportEvents;
typedef TComInterface<_SubReportEvents, &IID__SubReportEvents> _SubReportEventsPtr;

interface DECLSPEC_UUID("{3B06E968-E47C-11CD-8701-00AA003F0F07}") _CustomControl;
typedef TComInterface<_CustomControl, &IID__CustomControl> _CustomControlPtr;

interface DECLSPEC_UUID("{BC9E4352-F037-11CD-8701-00AA003F0F07}") _CustomControlEvents;
typedef TComInterface<_CustomControlEvents, &IID__CustomControlEvents> _CustomControlEventsPtr;

interface DECLSPEC_UUID("{300471E2-7426-11CE-AB64-00AA0042B7CE}") _CustomControlInReportEvents;
typedef TComInterface<_CustomControlInReportEvents, &IID__CustomControlInReportEvents> _CustomControlInReportEventsPtr;

interface DECLSPEC_UUID("{3B06E971-E47C-11CD-8701-00AA003F0F07}") _TabControl;
typedef TComInterface<_TabControl, &IID__TabControl> _TabControlPtr;

interface DECLSPEC_UUID("{3B06E972-E47C-11CD-8701-00AA003F0F07}") _TabControlEvents;
typedef TComInterface<_TabControlEvents, &IID__TabControlEvents> _TabControlEventsPtr;

interface DECLSPEC_UUID("{3B06E975-E47C-11CD-8701-00AA003F0F07}") _PageEvents;
typedef TComInterface<_PageEvents, &IID__PageEvents> _PageEventsPtr;

interface DECLSPEC_UUID("{331FDCFC-CF31-11CD-8701-00AA003F0F07}") _Section;
typedef TComInterface<_Section, &IID__Section> _SectionPtr;

interface DECLSPEC_UUID("{BC9E4353-F037-11CD-8701-00AA003F0F07}") _SectionEvents;
typedef TComInterface<_SectionEvents, &IID__SectionEvents> _SectionEventsPtr;

interface DECLSPEC_UUID("{331FDD27-CF31-11CD-8701-00AA003F0F07}") _GroupLevel;
typedef TComInterface<_GroupLevel, &IID__GroupLevel> _GroupLevelPtr;

interface DECLSPEC_UUID("{BC9E4361-F037-11CD-8701-00AA003F0F07}") _SectionInReportEvents;
typedef TComInterface<_SectionInReportEvents, &IID__SectionInReportEvents> _SectionInReportEventsPtr;

interface DECLSPEC_UUID("{7AD9E905-BAF8-11CE-A68A-00AA003F0F07}") _PageHdrFtrInReportEvents;
typedef TComInterface<_PageHdrFtrInReportEvents, &IID__PageHdrFtrInReportEvents> _PageHdrFtrInReportEventsPtr;

interface DECLSPEC_UUID("{331FDCFE-CF31-11CD-8701-00AA003F0F07}") Module;
typedef TComInterface<Module, &IID_Module> ModulePtr;

interface DECLSPEC_UUID("{9DD0AF42-6E28-11CF-9008-00AA0042B7CE}") Modules;
typedef TComInterface<Modules, &IID_Modules> ModulesPtr;

interface DECLSPEC_UUID("{E5135D80-8F8D-101B-AF4E-00AA003F0F07}") _Form;
typedef TComInterface<_Form, &IID__Form> _FormPtr;

interface DECLSPEC_UUID("{331FDCFB-CF31-11CD-8701-00AA003F0F07}") _FormEvents;
typedef TComInterface<_FormEvents, &IID__FormEvents> _FormEventsPtr;

interface DECLSPEC_UUID("{B1BB0E80-6128-101B-AF4E-00AA003F0F07}") Forms_;
typedef TComInterface<Forms_, &IID_Forms_> Forms_Ptr;

interface DECLSPEC_UUID("{3E8B6B00-91FF-101B-AF4E-00AA003F0F07}") _Report;
typedef TComInterface<_Report, &IID__Report> _ReportPtr;

interface DECLSPEC_UUID("{BC9E4357-F037-11CD-8701-00AA003F0F07}") _ReportEvents;
typedef TComInterface<_ReportEvents, &IID__ReportEvents> _ReportEventsPtr;

interface DECLSPEC_UUID("{D1523700-6128-101B-AF4E-00AA003F0F07}") Reports;
typedef TComInterface<Reports, &IID_Reports> ReportsPtr;

interface DECLSPEC_UUID("{DC6B66C0-6128-101B-AF4E-00AA003F0F07}") Screen;
typedef TComInterface<Screen, &IID_Screen> ScreenPtr;

interface DECLSPEC_UUID("{68CCE6C0-6129-101B-AF4E-00AA003F0F07}") _Application;
typedef TComInterface<_Application, &IID__Application> _ApplicationPtr;

interface DECLSPEC_UUID("{EB106212-9C89-11CF-A2B3-00A0C90542FF}") Reference;
typedef TComInterface<Reference, &IID_Reference> ReferencePtr;

interface DECLSPEC_UUID("{EB106213-9C89-11CF-A2B3-00A0C90542FF}") _References;
typedef TComInterface<_References, &IID__References> _ReferencesPtr;

interface DECLSPEC_UUID("{F163F201-ADA2-11CF-89A9-00A0C9054129}") _References_Events;
typedef TComInterface<_References_Events, &DIID__References_Events> _References_EventsPtr;

interface DECLSPEC_UUID("{8B06E320-B23C-11CF-89A8-00A0C9054129}") _Dummy;
typedef TComInterface<_Dummy, &IID__Dummy> _DummyPtr;

interface DECLSPEC_UUID("{493D8A72-1DB1-11D1-98A2-006008197D41}") _DataAccessPage;
typedef TComInterface<_DataAccessPage, &IID__DataAccessPage> _DataAccessPagePtr;

interface DECLSPEC_UUID("{493D8A71-1DB1-11D1-98A2-006008197D41}") DataAccessPages;
typedef TComInterface<DataAccessPages, &IID_DataAccessPages> DataAccessPagesPtr;

interface DECLSPEC_UUID("{DDBD4001-44D5-11D1-98C0-006008197D41}") AllObjects;
typedef TComInterface<AllObjects, &IID_AllObjects> AllObjectsPtr;

interface DECLSPEC_UUID("{1FE3E471-A7D0-11D1-9944-006008197D41}") AccessObjectProperty;
typedef TComInterface<AccessObjectProperty, &IID_AccessObjectProperty> AccessObjectPropertyPtr;

interface DECLSPEC_UUID("{0921F331-A7C9-11D1-9944-006008197D41}") AccessObjectProperties;
typedef TComInterface<AccessObjectProperties, &IID_AccessObjectProperties> AccessObjectPropertiesPtr;

interface DECLSPEC_UUID("{9212BA71-3E79-11D1-98BD-006008197D41}") _CurrentProject;
typedef TComInterface<_CurrentProject, &IID__CurrentProject> _CurrentProjectPtr;

interface DECLSPEC_UUID("{9212BA73-3E79-11D1-98BD-006008197D41}") _CurrentData;
typedef TComInterface<_CurrentData, &IID__CurrentData> _CurrentDataPtr;

interface DECLSPEC_UUID("{ABE316B1-3FF6-11D1-98BD-006008197D41}") AccessObject;
typedef TComInterface<AccessObject, &IID_AccessObject> AccessObjectPtr;

interface DECLSPEC_UUID("{CB9D3171-4728-11D1-8334-006008197CC8}") _WizHook;
typedef TComInterface<_WizHook, &IID__WizHook> _WizHookPtr;

interface DECLSPEC_UUID("{416ED4F0-AB31-11D1-BF72-0060083E43CF}") _DefaultWebOptions;
typedef TComInterface<_DefaultWebOptions, &IID__DefaultWebOptions> _DefaultWebOptionsPtr;

interface DECLSPEC_UUID("{416ED4F6-AB31-11D1-BF72-0060083E43CF}") _WebOptions;
typedef TComInterface<_WebOptions, &IID__WebOptions> _WebOptionsPtr;

interface DECLSPEC_UUID("{58BF3100-B580-11CF-89A8-00A0C9054129}") _DummyEvents;
typedef TComInterface<_DummyEvents, &IID__DummyEvents> _DummyEventsPtr;


// *********************************************************************//
// Declaration of CoClasses defined in Type Library                       
// (NOTE: Here we map each CoClass to its Default Interface)              
//                                                                        
// The LIBID_OF_ macro(s) map a LIBID_OF_CoClassName to the GUID of this  
// TypeLibrary. It simplifies the updating of macros when CoClass name    
// change.                                                                
// *********************************************************************//
typedef _FormatCondition FormatCondition;
typedef _FormatConditionPtr FormatConditionPtr;
typedef _AccessField AccessField;
typedef _AccessFieldPtr AccessFieldPtr;
typedef _Hyperlink AccessHyperlink;
typedef _HyperlinkPtr AccessHyperlinkPtr;
typedef _Control AccessControl;
typedef _ControlPtr AccessControlPtr;
typedef _Control _ControlInReportEvents;
typedef _ControlPtr _ControlInReportEventsPtr;
typedef _Label AccessLabel;
typedef _LabelPtr AccessLabelPtr;
typedef _Label _ChildLabel;
typedef _LabelPtr _ChildLabelPtr;
typedef _Rectangle AccessRectangle;
typedef _RectanglePtr AccessRectanglePtr;
typedef _Line AccessLine;
typedef _LinePtr AccessLinePtr;
typedef _Image AccessImage;
typedef _ImagePtr AccessImagePtr;
typedef _CommandButton AccessCommandButton;
typedef _CommandButtonPtr AccessCommandButtonPtr;
typedef _OptionButton AccessOptionButton;
typedef _OptionButtonPtr AccessOptionButtonPtr;
typedef _OptionButton _OptionButtonInOption;
typedef _OptionButtonPtr _OptionButtonInOptionPtr;
typedef _Checkbox AccessCheckBox;
typedef _CheckboxPtr AccessCheckBoxPtr;
typedef _Checkbox _CheckBoxInOption;
typedef _CheckboxPtr _CheckBoxInOptionPtr;
typedef _OptionGroup AccessOptionGroup;
typedef _OptionGroupPtr AccessOptionGroupPtr;
typedef _BoundObjectFrame AccessBoundObjectFrame;
typedef _BoundObjectFramePtr AccessBoundObjectFramePtr;
typedef _Textbox AccessTextBox;
typedef _TextboxPtr AccessTextBoxPtr;
typedef _ListBox AccessListBox;
typedef _ListBoxPtr AccessListBoxPtr;
typedef _Combobox AccessComboBox;
typedef _ComboboxPtr AccessComboBoxPtr;
typedef _ObjectFrame AccessObjectFrame;
typedef _ObjectFramePtr AccessObjectFramePtr;
typedef _PageBreak AccessPageBreak;
typedef _PageBreakPtr AccessPageBreakPtr;
typedef _ToggleButton AccessToggleButton;
typedef _ToggleButtonPtr AccessToggleButtonPtr;
typedef _ToggleButton _ToggleButtonInOption;
typedef _ToggleButtonPtr _ToggleButtonInOptionPtr;
typedef _PaletteButton AccessPaletteButton;
typedef _PaletteButtonPtr AccessPaletteButtonPtr;
typedef _SubForm AccessSubForm;
typedef _SubFormPtr AccessSubFormPtr;
typedef _SubReport AccessSubReport;
typedef _SubReportPtr AccessSubReportPtr;
typedef _CustomControl AccessCustomControl;
typedef _CustomControlPtr AccessCustomControlPtr;
typedef _CustomControl _CustomControlInReport;
typedef _CustomControlPtr _CustomControlInReportPtr;
typedef _TabControl AccessTabControl;
typedef _TabControlPtr AccessTabControlPtr;
typedef _Page AccessPage;
typedef _PagePtr AccessPagePtr;
typedef _Section AccessSection;
typedef _SectionPtr AccessSectionPtr;
typedef _GroupLevel AccessGroupLevel;
typedef _GroupLevelPtr AccessGroupLevelPtr;
typedef _Section _SectionInReport;
typedef _SectionPtr _SectionInReportPtr;
typedef _Section _PageHdrFtrInReport;
typedef _SectionPtr _PageHdrFtrInReportPtr;
typedef _Form AccessForm;
typedef _FormPtr AccessFormPtr;
typedef _Report AccessReport;
typedef _ReportPtr AccessReportPtr;
typedef _Application AccessApplication;
typedef _ApplicationPtr AccessApplicationPtr;
typedef _References AccessReferences;
typedef _ReferencesPtr AccessReferencesPtr;
typedef _DataAccessPage DataAccessPage;
typedef _DataAccessPagePtr DataAccessPagePtr;
typedef AllObjects AllForms;
typedef AllObjectsPtr AllFormsPtr;
typedef AllObjects AllReports;
typedef AllObjectsPtr AllReportsPtr;
typedef AllObjects AllMacros;
typedef AllObjectsPtr AllMacrosPtr;
typedef AllObjects AllModules;
typedef AllObjectsPtr AllModulesPtr;
typedef AllObjects AllDataAccessPages;
typedef AllObjectsPtr AllDataAccessPagesPtr;
typedef AllObjects AllTables;
typedef AllObjectsPtr AllTablesPtr;
typedef AllObjects AllQueries;
typedef AllObjectsPtr AllQueriesPtr;
typedef AllObjects AllViews;
typedef AllObjectsPtr AllViewsPtr;
typedef AllObjects AllStoredProcedures;
typedef AllObjectsPtr AllStoredProceduresPtr;
typedef AllObjects AllDatabaseDiagrams;
typedef AllObjectsPtr AllDatabaseDiagramsPtr;
typedef _CurrentProject CurrentProject;
typedef _CurrentProjectPtr CurrentProjectPtr;
typedef _CurrentData CurrentData;
typedef _CurrentDataPtr CurrentDataPtr;
typedef _CurrentProject CodeProject;
typedef _CurrentProjectPtr CodeProjectPtr;
typedef _CurrentData CodeData;
typedef _CurrentDataPtr CodeDataPtr;
typedef _WizHook WizHook;
typedef _WizHookPtr WizHookPtr;
typedef _DefaultWebOptions DefaultWebOptions;
typedef _DefaultWebOptionsPtr DefaultWebOptionsPtr;
typedef _WebOptions AccessWebOptions;
typedef _WebOptionsPtr AccessWebOptionsPtr;
typedef _Dummy Class;
typedef _DummyPtr ClassPtr;

#define LIBID_OF_FormatCondition (&LIBID_Access)
#define LIBID_OF_AccessField (&LIBID_Access)
#define LIBID_OF_AccessHyperlink (&LIBID_Access)
#define LIBID_OF_AccessControl (&LIBID_Access)
#define LIBID_OF__ControlInReportEvents (&LIBID_Access)
#define LIBID_OF_AccessLabel (&LIBID_Access)
#define LIBID_OF__ChildLabel (&LIBID_Access)
#define LIBID_OF_AccessRectangle (&LIBID_Access)
#define LIBID_OF_AccessLine (&LIBID_Access)
#define LIBID_OF_AccessImage (&LIBID_Access)
#define LIBID_OF_AccessCommandButton (&LIBID_Access)
#define LIBID_OF_AccessOptionButton (&LIBID_Access)
#define LIBID_OF__OptionButtonInOption (&LIBID_Access)
#define LIBID_OF_AccessCheckBox (&LIBID_Access)
#define LIBID_OF__CheckBoxInOption (&LIBID_Access)
#define LIBID_OF_AccessOptionGroup (&LIBID_Access)
#define LIBID_OF_AccessBoundObjectFrame (&LIBID_Access)
#define LIBID_OF_AccessTextBox (&LIBID_Access)
#define LIBID_OF_AccessListBox (&LIBID_Access)
#define LIBID_OF_AccessComboBox (&LIBID_Access)
#define LIBID_OF_AccessObjectFrame (&LIBID_Access)
#define LIBID_OF_AccessPageBreak (&LIBID_Access)
#define LIBID_OF_AccessToggleButton (&LIBID_Access)
#define LIBID_OF__ToggleButtonInOption (&LIBID_Access)
#define LIBID_OF_AccessPaletteButton (&LIBID_Access)
#define LIBID_OF_AccessSubForm (&LIBID_Access)
#define LIBID_OF_AccessSubReport (&LIBID_Access)
#define LIBID_OF_AccessCustomControl (&LIBID_Access)
#define LIBID_OF__CustomControlInReport (&LIBID_Access)
#define LIBID_OF_AccessTabControl (&LIBID_Access)
#define LIBID_OF_AccessPage (&LIBID_Access)
#define LIBID_OF_AccessSection (&LIBID_Access)
#define LIBID_OF_AccessGroupLevel (&LIBID_Access)
#define LIBID_OF__SectionInReport (&LIBID_Access)
#define LIBID_OF__PageHdrFtrInReport (&LIBID_Access)
#define LIBID_OF_AccessForm (&LIBID_Access)
#define LIBID_OF_AccessReport (&LIBID_Access)
#define LIBID_OF_AccessApplication (&LIBID_Access)
#define LIBID_OF_AccessReferences (&LIBID_Access)
#define LIBID_OF_DataAccessPage (&LIBID_Access)
#define LIBID_OF_AllForms (&LIBID_Access)
#define LIBID_OF_AllReports (&LIBID_Access)
#define LIBID_OF_AllMacros (&LIBID_Access)
#define LIBID_OF_AllModules (&LIBID_Access)
#define LIBID_OF_AllDataAccessPages (&LIBID_Access)
#define LIBID_OF_AllTables (&LIBID_Access)
#define LIBID_OF_AllQueries (&LIBID_Access)
#define LIBID_OF_AllViews (&LIBID_Access)
#define LIBID_OF_AllStoredProcedures (&LIBID_Access)
#define LIBID_OF_AllDatabaseDiagrams (&LIBID_Access)
#define LIBID_OF_CurrentProject (&LIBID_Access)
#define LIBID_OF_CurrentData (&LIBID_Access)
#define LIBID_OF_CodeProject (&LIBID_Access)
#define LIBID_OF_CodeData (&LIBID_Access)
#define LIBID_OF_WizHook (&LIBID_Access)
#define LIBID_OF_DefaultWebOptions (&LIBID_Access)
#define LIBID_OF_AccessWebOptions (&LIBID_Access)
#define LIBID_OF_Class (&LIBID_Access)

// *********************************************************************//
// Declaration of Enumerations defined in Type Library                    
// *********************************************************************//
typedef enum AcModuleType
{
  acStandardModule = 0, 
  acClassModule = 1
} AcModuleType;

typedef enum AcCloseSave
{
  acSavePrompt = 0, 
  acSaveYes = 1, 
  acSaveNo = 2
} AcCloseSave;

typedef enum AcQuitOption
{
  acQuitPrompt = 0, 
  acQuitSaveAll = 1, 
  acQuitSaveNone = 2
} AcQuitOption;

typedef enum AcSection
{
  acDetail = 0, 
  acHeader = 1, 
  acFooter = 2, 
  acPageHeader = 3, 
  acPageFooter = 4, 
  acGroupLevel1Header = 5, 
  acGroupLevel1Footer = 6, 
  acGroupLevel2Header = 7, 
  acGroupLevel2Footer = 8
} AcSection;

typedef enum AcControlType
{
  acLabel = 100, 
  acRectangle = 101, 
  acLine = 102, 
  acImage = 103, 
  acCommandButton = 104, 
  acOptionButton = 105, 
  acCheckBox = 106, 
  acOptionGroup = 107, 
  acBoundObjectFrame = 108, 
  acTextBox = 109, 
  acListBox = 110, 
  acComboBox = 111, 
  acSubform = 112, 
  acObjectFrame = 114, 
  acPageBreak = 118, 
  acCustomControl = 119, 
  acToggleButton = 122, 
  acTabCtl = 123, 
  acPage = 124
} AcControlType;

typedef enum AcDataObjectType
{
  acActiveDataObject = 0xFFFFFFFF, 
  acDataTable = 0, 
  acDataQuery = 1, 
  acDataForm = 2, 
  acDataServerView = 7, 
  acDataStoredProcedure = 9
} AcDataObjectType;

typedef enum AcDataTransferType
{
  acImport = 0, 
  acExport = 1, 
  acLink = 2
} AcDataTransferType;

typedef enum AcSendObjectType
{
  acSendNoObject = 0xFFFFFFFF, 
  acSendTable = 0, 
  acSendQuery = 1, 
  acSendForm = 2, 
  acSendReport = 3, 
  acSendModule = 5, 
  acSendDataAccessPage = 6
} AcSendObjectType;

typedef enum AcObjectType
{
  acDefault = 0xFFFFFFFF, 
  acTable = 0, 
  acQuery = 1, 
  acForm = 2, 
  acReport = 3, 
  acMacro = 4, 
  acModule = 5, 
  acDataAccessPage = 6, 
  acServerView = 7, 
  acDiagram = 8, 
  acStoredProcedure = 9
} AcObjectType;

typedef enum AcFindField
{
  acCurrent = 0xFFFFFFFF, 
  acAll = 0
} AcFindField;

typedef enum AcFindMatch
{
  acAnywhere = 0, 
  acEntire = 1, 
  acStart = 2
} AcFindMatch;

typedef enum AcFormView
{
  acNormal = 0, 
  acDesign = 1, 
  acPreview = 2, 
  acFormDS = 3
} AcFormView;

typedef enum AcDataAccessPageView
{
  acDataAccessPageBrowse = 0, 
  acDataAccessPageDesign = 1
} AcDataAccessPageView;

typedef enum AcOpenDataMode
{
  acAdd = 0, 
  acEdit = 1, 
  acReadOnly = 2
} AcOpenDataMode;

typedef enum AcFormOpenDataMode
{
  acFormPropertySettings = 0xFFFFFFFF, 
  acFormAdd = 0, 
  acFormEdit = 1, 
  acFormReadOnly = 2
} AcFormOpenDataMode;

typedef enum AcOutputObjectType
{
  acOutputTable = 0, 
  acOutputQuery = 1, 
  acOutputForm = 2, 
  acOutputReport = 3, 
  acOutputModule = 5, 
  acOutputDataAccessPage = 6, 
  acOutputServerView = 7, 
  acOutputStoredProcedure = 9
} AcOutputObjectType;

typedef enum AcPrintQuality
{
  acHigh = 0, 
  acMedium = 1, 
  acLow = 2, 
  acDraft = 3
} AcPrintQuality;

typedef enum AcPrintRange
{
  acPrintAll = 0, 
  acSelection = 1, 
  acPages = 2
} AcPrintRange;

typedef enum AcRecord
{
  acPrevious = 0, 
  acNext = 1, 
  acFirst = 2, 
  acLast = 3, 
  acGoTo = 4, 
  acNewRec = 5
} AcRecord;

typedef enum AcSearchDirection
{
  acUp = 0, 
  acDown = 1, 
  acSearchAll = 2
} AcSearchDirection;

typedef enum AcSysCmdAction
{
  acSysCmdInitMeter = 1, 
  acSysCmdUpdateMeter = 2, 
  acSysCmdRemoveMeter = 3, 
  acSysCmdSetStatus = 4, 
  acSysCmdClearStatus = 5, 
  acSysCmdRuntime = 6, 
  acSysCmdAccessVer = 7, 
  acSysCmdIniFile = 8, 
  acSysCmdAccessDir = 9, 
  acSysCmdGetObjectState = 10, 
  acSysCmdClearHelpTopic = 11, 
  acSysCmdProfile = 12, 
  acSysCmdGetWorkgroupFile = 13
} AcSysCmdAction;

typedef enum AcTextTransferType
{
  acImportDelim = 0, 
  acImportFixed = 1, 
  acExportDelim = 2, 
  acExportFixed = 3, 
  acExportMerge = 4, 
  acLinkDelim = 5, 
  acLinkFixed = 6, 
  acImportHTML = 7, 
  acExportHTML = 8, 
  acLinkHTML = 9
} AcTextTransferType;

typedef enum AcView
{
  acViewNormal = 0, 
  acViewDesign = 1, 
  acViewPreview = 2
} AcView;

typedef enum AcWindowMode
{
  acWindowNormal = 0, 
  acHidden = 1, 
  acIcon = 2, 
  acDialog = 3
} AcWindowMode;

typedef enum AcFilterType
{
  acFilterNormal = 0, 
  acServerFilter = 1
} AcFilterType;

typedef enum AcSpreadSheetType
{
  acSpreadsheetTypeExcel3 = 0, 
  acSpreadsheetTypeLotusWK1 = 2, 
  acSpreadsheetTypeLotusWK3 = 3, 
  acSpreadsheetTypeLotusWJ2 = 4, 
  acSpreadsheetTypeExcel5 = 5, 
  acSpreadsheetTypeExcel7 = 5, 
  acSpreadsheetTypeExcel4 = 6, 
  acSpreadsheetTypeLotusWK4 = 7, 
  acSpreadsheetTypeExcel97 = 8, 
  acSpreadsheetTypeExcel8 = 8, 
  acSpreadsheetTypeExcel9 = 8
} AcSpreadSheetType;

typedef enum AcImeMode
{
  acImeModeNoControl = 0, 
  acImeModeOn = 1, 
  acImeModeOff = 2, 
  acImeModeDisable = 3, 
  acImeModeHiragana = 4, 
  acImeModeKatakana = 5, 
  acImeModeKatakanaHalf = 6, 
  acImeModeAlphaFull = 7, 
  acImeModeAlpha = 8, 
  acImeModeHangulFull = 9, 
  acImeModeHangul = 10
} AcImeMode;

typedef enum AcImeSentenceMode
{
  acImeSentenceModePhrasePredict = 0, 
  acImeSentenceModePluralClause = 1, 
  acImeSentenceModeConversation = 2, 
  acImeSentenceModeNone = 3
} AcImeSentenceMode;

typedef enum AcHyperlinkPart
{
  acDisplayedValue = 0, 
  acDisplayText = 1, 
  acAddress = 2, 
  acSubAddress = 3, 
  acScreenTip = 4, 
  acFullAddress = 5
} AcHyperlinkPart;

typedef enum AcProjectType
{
  acNull = 0, 
  acADP = 1, 
  acMDB = 2
} AcProjectType;

typedef enum AcCommand
{
  acCmdWindowUnhide = 1, 
  acCmdWindowHide = 2, 
  acCmdExit = 3, 
  acCmdCompactDatabase = 4, 
  acCmdEncryptDecryptDatabase = 5, 
  acCmdRepairDatabase = 6, 
  acCmdMakeMDEFile = 7, 
  acCmdMoreWindows = 8, 
  acCmdAppRestore = 9, 
  acCmdAppMaximize = 10, 
  acCmdAppMinimize = 11, 
  acCmdAppMove = 12, 
  acCmdAppSize = 13, 
  acCmdDocRestore = 14, 
  acCmdDocMaximize = 15, 
  acCmdDocMove = 16, 
  acCmdDocSize = 17, 
  acCmdRefresh = 18, 
  acCmdFont = 19, 
  acCmdSave = 20, 
  acCmdSaveAs = 21, 
  acCmdWindowCascade = 22, 
  acCmdTileVertically = 23, 
  acCmdWindowArrangeIcons = 24, 
  acCmdOpenDatabase = 25, 
  acCmdNewDatabase = 26, 
  acCmdOLEDDELinks = 27, 
  acCmdRecordsGoToNew = 28, 
  acCmdReplace = 29, 
  acCmdFind = 30, 
  acCmdRunMacro = 31, 
  acCmdPageSetup = 32, 
  acCmdInsertObject = 33, 
  acCmdDuplicate = 34, 
  acCmdAboutMicrosoftAccess = 35, 
  acCmdFormHdrFtr = 36, 
  acCmdReportHdrFtr = 37, 
  acCmdPasteAppend = 38, 
  acCmdInsertFile = 39, 
  acCmdSelectForm = 40, 
  acCmdTabOrder = 41, 
  acCmdFieldList = 42, 
  acCmdAlignLeft = 43, 
  acCmdAlignRight = 44, 
  acCmdAlignTop = 45, 
  acCmdAlignBottom = 46, 
  acCmdAlignToGrid = 47, 
  acCmdSizeToGrid = 48, 
  acCmdOptions = 49, 
  acCmdSelectRecord = 50, 
  acCmdSortingAndGrouping = 51, 
  acCmdBringToFront = 52, 
  acCmdSendToBack = 53, 
  acCmdPrintPreview = 54, 
  acCmdApplyDefault = 55, 
  acCmdSetControlDefaults = 56, 
  acCmdOLEObjectDefaultVerb = 57, 
  acCmdClose = 58, 
  acCmdSizeToFit = 59, 
  acCmdDocMinimize = 60, 
  acCmdViewRuler = 61, 
  acCmdSnapToGrid = 62, 
  acCmdViewGrid = 63, 
  acCmdPasteSpecial = 64, 
  acCmdRecordsGoToNext = 65, 
  acCmdRecordsGoToPrevious = 66, 
  acCmdRecordsGoToFirst = 67, 
  acCmdRecordsGoToLast = 68, 
  acCmdSizeToFitForm = 69, 
  acCmdEditingAllowed = 70, 
  acCmdClearGrid = 71, 
  acCmdJoinProperties = 72, 
  acCmdQueryTotals = 73, 
  acCmdQueryTypeCrosstab = 74, 
  acCmdTableNames = 75, 
  acCmdQueryParameters = 76, 
  acCmdFormatCells = 77, 
  acCmdDataEntry = 78, 
  acCmdHideColumns = 79, 
  acCmdUnhideColumns = 80, 
  acCmdDeleteQueryColumn = 81, 
  acCmdInsertQueryColumn = 82, 
  acCmdRemoveTable = 84, 
  acCmdViewToolbox = 85, 
  acCmdMacroNames = 86, 
  acCmdMacroConditions = 87, 
  acCmdSingleStep = 88, 
  acCmdQueryTypeSelect = 89, 
  acCmdQueryTypeUpdate = 90, 
  acCmdQueryTypeAppend = 91, 
  acCmdQueryTypeDelete = 92, 
  acCmdApplyFilterSort = 93, 
  acCmdQueryTypeMakeTable = 94, 
  acCmdLoadFromQuery = 95, 
  acCmdSaveAsQuery = 96, 
  acCmdSaveRecord = 97, 
  acCmdAdvancedFilterSort = 99, 
  acCmdMicrosoftAccessHelpTopics = 100, 
  acCmdLinkTables = 102, 
  acCmdUserAndGroupPermissions = 103, 
  acCmdUserAndGroupAccounts = 104, 
  acCmdFreezeColumn = 105, 
  acCmdUnfreezeAllColumns = 106, 
  acCmdPrimaryKey = 107, 
  acCmdSubformDatasheet = 108, 
  acCmdSelectAllRecords = 109, 
  acCmdViewTables = 110, 
  acCmdViewQueries = 111, 
  acCmdViewForms = 112, 
  acCmdViewReports = 113, 
  acCmdViewMacros = 114, 
  acCmdViewModules = 115, 
  acCmdRowHeight = 116, 
  acCmdColumnWidth = 117, 
  acCmdInsertFileIntoModule = 118, 
  acCmdSaveModuleAsText = 119, 
  acCmdFindPrevious = 120, 
  acCmdWindowSplit = 121, 
  acCmdProcedureDefinition = 122, 
  acCmdDebugWindow = 123, 
  acCmdReset = 124, 
  acCmdCompileAllModules = 125, 
  acCmdCompileAndSaveAllModules = 126, 
  acCmdGoContinue = 127, 
  acCmdStepOver = 128, 
  acCmdSetNextStatement = 129, 
  acCmdShowNextStatement = 130, 
  acCmdToggleBreakpoint = 131, 
  acCmdClearAllBreakpoints = 132, 
  acCmdRelationships = 133, 
  acCmdNewObjectTable = 134, 
  acCmdNewObjectQuery = 135, 
  acCmdNewObjectForm = 136, 
  acCmdNewObjectReport = 137, 
  acCmdNewObjectMacro = 138, 
  acCmdNewObjectModule = 139, 
  acCmdNewObjectClassModule = 140, 
  acCmdLayoutPreview = 141, 
  acCmdSaveAsReport = 142, 
  acCmdRename = 143, 
  acCmdRemoveFilterSort = 144, 
  acCmdSaveLayout = 145, 
  acCmdClearAll = 146, 
  acCmdHideTable = 147, 
  acCmdShowDirectRelationships = 148, 
  acCmdShowAllRelationships = 149, 
  acCmdCreateRelationship = 150, 
  acCmdEditRelationship = 151, 
  acCmdIndexes = 152, 
  acCmdAlignToShortest = 153, 
  acCmdAlignToTallest = 154, 
  acCmdSizeToNarrowest = 155, 
  acCmdSizeToWidest = 156, 
  acCmdHorizontalSpacingMakeEqual = 157, 
  acCmdHorizontalSpacingDecrease = 158, 
  acCmdHorizontalSpacingIncrease = 159, 
  acCmdVerticalSpacingMakeEqual = 160, 
  acCmdVerticalSpacingDecrease = 161, 
  acCmdVerticalSpacingIncrease = 162, 
  acCmdSortAscending = 163, 
  acCmdSortDescending = 164, 
  acCmdToolbarsCustomize = 165, 
  acCmdOLEObjectConvert = 167, 
  acCmdQueryTypeSQLDataDefinition = 168, 
  acCmdQueryTypeSQLPassThrough = 169, 
  acCmdViewCode = 170, 
  acCmdConvertDatabase = 171, 
  acCmdCallStack = 172, 
  acCmdSend = 173, 
  acCmdOutputToExcel = 175, 
  acCmdOutputToRTF = 176, 
  acCmdOutputToText = 177, 
  acCmdInvokeBuilder = 178, 
  acCmdZoomBox = 179, 
  acCmdQueryTypeSQLUnion = 180, 
  acCmdRun = 181, 
  acCmdPageHdrFtr = 182, 
  acCmdDesignView = 183, 
  acCmdSQLView = 184, 
  acCmdShowTable = 185, 
  acCmdCloseWindow = 186, 
  acCmdInsertRows = 187, 
  acCmdDeleteRows = 188, 
  acCmdCut = 189, 
  acCmdCopy = 190, 
  acCmdPaste = 191, 
  acCmdAutoDial = 192, 
  acCmdNewObjectAutoForm = 193, 
  acCmdNewObjectAutoReport = 194, 
  acCmdWordMailMerge = 195, 
  acCmdTestValidationRules = 196, 
  acCmdControlWizardsToggle = 197, 
  acCmdEnd = 198, 
  acCmdRedo = 199, 
  acCmdObjectBrowser = 200, 
  acCmdAddWatch = 201, 
  acCmdEditWatch = 202, 
  acCmdQuickWatch = 203, 
  acCmdStepToCursor = 204, 
  acCmdIndent = 205, 
  acCmdOutdent = 206, 
  acCmdFilterByForm = 207, 
  acCmdFilterBySelection = 208, 
  acCmdViewLargeIcons = 209, 
  acCmdViewDetails = 210, 
  acCmdViewSmallIcons = 211, 
  acCmdViewList = 212, 
  acCmdLineUpIcons = 213, 
  acCmdArrangeIconsByName = 214, 
  acCmdArrangeIconsByType = 215, 
  acCmdArrangeIconsByCreated = 216, 
  acCmdArrangeIconsByModified = 217, 
  acCmdArrangeIconsAuto = 218, 
  acCmdCreateShortcut = 219, 
  acCmdToggleFilter = 220, 
  acCmdOpenTable = 221, 
  acCmdInsertPicture = 222, 
  acCmdDeleteRecord = 223, 
  acCmdStartupProperties = 224, 
  acCmdPageNumber = 225, 
  acCmdDateAndTime = 226, 
  acCmdChangeToTextBox = 227, 
  acCmdChangeToLabel = 228, 
  acCmdChangeToListBox = 229, 
  acCmdChangeToComboBox = 230, 
  acCmdChangeToCheckBox = 231, 
  acCmdChangeToToggleButton = 232, 
  acCmdChangeToOptionButton = 233, 
  acCmdChangeToImage = 234, 
  acCmdAnswerWizard = 235, 
  acCmdMicrosoftOnTheWeb = 236, 
  acCmdClearItemDefaults = 237, 
  acCmdZoom200 = 238, 
  acCmdZoom150 = 239, 
  acCmdZoom100 = 240, 
  acCmdZoom75 = 241, 
  acCmdZoom50 = 242, 
  acCmdZoom25 = 243, 
  acCmdZoom10 = 244, 
  acCmdFitToWindow = 245, 
  acCmdPreviewOnePage = 246, 
  acCmdPreviewTwoPages = 247, 
  acCmdPreviewFourPages = 248, 
  acCmdPreviewEightPages = 249, 
  acCmdPreviewTwelvePages = 250, 
  acCmdOpenURL = 251, 
  acCmdOpenStartPage = 252, 
  acCmdOpenSearchPage = 253, 
  acCmdRegisterActiveXControls = 254, 
  acCmdDeleteTab = 255, 
  acCmdDatabaseProperties = 256, 
  acCmdImport = 257, 
  acCmdInsertActiveXControl = 258, 
  acCmdInsertHyperlink = 259, 
  acCmdReferences = 260, 
  acCmdAutoCorrect = 261, 
  acCmdInsertProcedure = 262, 
  acCmdCreateReplica = 263, 
  acCmdSynchronizeNow = 264, 
  acCmdRecoverDesignMaster = 265, 
  acCmdResolveConflicts = 266, 
  acCmdDeleteWatch = 267, 
  acCmdSpelling = 269, 
  acCmdAutoFormat = 270, 
  acCmdDeleteTableColumn = 271, 
  acCmdInsertTableColumn = 272, 
  acCmdInsertLookupColumn = 273, 
  acCmdRenameColumn = 274, 
  acCmdSetDatabasePassword = 275, 
  acCmdUserLevelSecurityWizard = 276, 
  acCmdFilterExcludingSelection = 277, 
  acCmdQuickPrint = 278, 
  acCmdConvertMacrosToVisualBasic = 279, 
  acCmdSaveAllModules = 280, 
  acCmdFormView = 281, 
  acCmdDatasheetView = 282, 
  acCmdAnalyzePerformance = 283, 
  acCmdAnalyzeTable = 284, 
  acCmdDocumenter = 285, 
  acCmdTileHorizontally = 286, 
  acCmdProperties = 287, 
  acCmdTransparentBackground = 288, 
  acCmdTransparentBorder = 289, 
  acCmdCompileLoadedModules = 290, 
  acCmdInsertLookupField = 291, 
  acCmdUndo = 292, 
  acCmdInsertChart = 293, 
  acCmdGoBack = 294, 
  acCmdGoForward = 295, 
  acCmdStopLoadingPage = 296, 
  acCmdRefreshPage = 297, 
  acCmdFavoritesOpen = 298, 
  acCmdFavoritesAddTo = 299, 
  acCmdShowOnlyWebToolbar = 300, 
  acCmdToolbarControlProperties = 301, 
  acCmdShowMembers = 302, 
  acCmdListConstants = 303, 
  acCmdQuickInfo = 304, 
  acCmdParameterInfo = 305, 
  acCmdCompleteWord = 306, 
  acCmdBookmarksToggle = 307, 
  acCmdBookmarksNext = 308, 
  acCmdBookmarksPrevious = 309, 
  acCmdBookmarksClearAll = 310, 
  acCmdStepOut = 311, 
  acCmdFindPrevWordUnderCursor = 312, 
  acCmdFindNextWordUnderCursor = 313, 
  acCmdObjBrwFindWholeWordOnly = 314, 
  acCmdObjBrwShowHiddenMembers = 315, 
  acCmdObjBrwHelp = 316, 
  acCmdObjBrwViewDefinition = 317, 
  acCmdObjBrwGroupMembers = 318, 
  acCmdSelectReport = 319, 
  acCmdPublish = 320, 
  acCmdSaveAsHTML = 321, 
  acCmdSaveAsIDC = 322, 
  acCmdSaveAsASP = 323, 
  acCmdPublishDefaults = 324, 
  acCmdEditHyperlink = 325, 
  acCmdOpenHyperlink = 326, 
  acCmdOpenNewHyperlink = 327, 
  acCmdCopyHyperlink = 328, 
  acCmdHyperlinkDisplayText = 329, 
  acCmdTabControlPageOrder = 330, 
  acCmdInsertPage = 331, 
  acCmdDeletePage = 332, 
  acCmdSelectAll = 333, 
  acCmdCreateMenuFromMacro = 334, 
  acCmdCreateToolbarFromMacro = 335, 
  acCmdCreateShortcutMenuFromMacro = 336, 
  acCmdDelete = 337, 
  acCmdRunOpenMacro = 338, 
  acCmdLastPosition = 339, 
  acCmdPrint = 340, 
  acCmdFindNext = 341, 
  acCmdStepInto = 342, 
  acCmdClearHyperlink = 343, 
  acCmdDataAccessPageBrowse = 344, 
  acCmdNewObjectDataAccessPage = 346, 
  acCmdSelectDataAccessPage = 347, 
  acCmdViewDataAccessPages = 349, 
  acCmdNewObjectView = 350, 
  acCmdNewObjectStoredProcedure = 351, 
  acCmdNewObjectDiagram = 352, 
  acCmdViewFieldList = 353, 
  acCmdViewDiagrams = 354, 
  acCmdViewStoredProcedures = 355, 
  acCmdViewViews = 356, 
  acCmdViewShowPaneSQL = 357, 
  acCmdViewShowPaneDiagram = 358, 
  acCmdViewShowPaneGrid = 359, 
  acCmdViewVerifySQL = 360, 
  acCmdQueryGroupBy = 361, 
  acCmdQueryAddToOutput = 362, 
  acCmdViewTableColumnNames = 363, 
  acCmdViewTableNameOnly = 364, 
  acCmdHidePane = 365, 
  acCmdRemove = 366, 
  acCmdViewTableColumnProperties = 368, 
  acCmdViewTableKeys = 369, 
  acCmdViewTableUserView = 370, 
  acCmdZoomSelection = 371, 
  acCmdDiagramNewLabel = 372, 
  acCmdDiagramAddRelatedTables = 373, 
  acCmdDiagramShowRelationshipLabels = 374, 
  acCmdDiagramModifyUserDefinedView = 375, 
  acCmdDiagramViewPageBreaks = 376, 
  acCmdDiagramRecalculatePageBreaks = 377, 
  acCmdDiagramAutosizeSelectedTables = 378, 
  acCmdDiagramLayoutSelection = 379, 
  acCmdDiagramLayoutDiagram = 380, 
  acCmdDiagramNewTable = 381, 
  acCmdDiagramDeleteRelationship = 382, 
  acCmdConnection = 383, 
  acCmdEditTriggers = 384, 
  acCmdDataAccessPageDesignView = 385, 
  acCmdPromote = 386, 
  acCmdGroupByTable = 387, 
  acCmdDemote = 388, 
  acCmdSaveAsDataAccessPage = 389, 
  acCmdMicrosoftScriptEditor = 390
} AcCommand;

typedef enum AcShowToolbar
{
  acToolbarYes = 0, 
  acToolbarWhereApprop = 1, 
  acToolbarNo = 2
} AcShowToolbar;

typedef enum AcFormatConditionType
{
  acFieldValue = 0, 
  acExpression = 1, 
  acFieldHasFocus = 2
} AcFormatConditionType;

typedef enum AcFormatConditionOperator
{
  acBetween = 0, 
  acNotBetween = 1, 
  acEqual = 2, 
  acNotEqual = 3, 
  acGreaterThan = 4, 
  acLessThan = 5, 
  acGreaterThanOrEqual = 6, 
  acLessThanOrEqual = 7
} AcFormatConditionOperator;

typedef enum AcColorIndex
{
  acColorIndexBlack = 0, 
  acColorIndexMaroon = 1, 
  acColorIndexGreen = 2, 
  acColorIndexOlive = 3, 
  acColorIndexDarkBlue = 4, 
  acColorIndexViolet = 5, 
  acColorIndexTeal = 6, 
  acColorIndexGray = 7, 
  acColorIndexSilver = 8, 
  acColorIndexRed = 9, 
  acColorIndexBrightGreen = 10, 
  acColorIndexYellow = 11, 
  acColorIndexBlue = 12, 
  acColorIndexFuschia = 13, 
  acColorIndexAqua = 14, 
  acColorIndexWhite = 15
} AcColorIndex;

typedef enum RefKind
{
  TypeLib = 0, 
  Project = 1
} RefKind;

typedef enum ProcKind
{
  Proc = 0, 
  Let = 1, 
  Set_ = 2, 
  Get = 3
} ProcKind;

// *********************************************************************//
// Interface: DoCmd
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {C547E760-9658-101B-81EE-00AA004750E2}
// *********************************************************************//
interface DoCmd  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE AddMenu(VARIANT MenuName/*[in]*/, VARIANT MenuMacroName/*[in]*/, 
                                            VARIANT StatusBarText/*[in]*/) = 0; // [1001]
  virtual HRESULT STDMETHODCALLTYPE ApplyFilter(VARIANT FilterName/*[in,opt]*/= TNoParam(), 
                                                VARIANT WhereCondition/*[in,opt]*/= TNoParam()) = 0; // [1002]
  virtual HRESULT STDMETHODCALLTYPE Beep(void) = 0; // [1003]
  virtual HRESULT STDMETHODCALLTYPE CancelEvent(void) = 0; // [1004]
  virtual HRESULT STDMETHODCALLTYPE Close(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                          VARIANT ObjectName/*[in,opt]*/, 
                                          Access_2k::AcCloseSave Save/*[in,def,opt]*/) = 0; // [1005]
  virtual HRESULT STDMETHODCALLTYPE CopyObject(VARIANT DestinationDatabase/*[in,opt]*/, 
                                               VARIANT NewName/*[in,opt]*/, 
                                               Access_2k::AcObjectType SourceObjectType/*[in,def,opt]*/, 
                                               VARIANT SourceObjectName/*[in,opt]*/) = 0; // [1006]
  virtual HRESULT STDMETHODCALLTYPE DoMenuItem(VARIANT MenuBar/*[in]*/, VARIANT MenuName/*[in]*/, 
                                               VARIANT Command/*[in]*/, 
                                               VARIANT Subcommand/*[in,opt]*/= TNoParam(), 
                                               VARIANT Version/*[in,opt]*/= TNoParam()) = 0; // [1007]
  virtual HRESULT STDMETHODCALLTYPE Echo(VARIANT EchoOn/*[in]*/, 
                                         VARIANT StatusBarText/*[in,opt]*/= TNoParam()) = 0; // [1008]
  virtual HRESULT STDMETHODCALLTYPE FindNext(void) = 0; // [1009]
  virtual HRESULT STDMETHODCALLTYPE FindRecord(VARIANT FindWhat/*[in]*/, 
                                               Access_2k::AcFindMatch Match/*[in,def,opt]*/, 
                                               VARIANT MatchCase/*[in,opt]*/, 
                                               Access_2k::AcSearchDirection Search/*[in,def,opt]*/, 
                                               VARIANT SearchAsFormatted/*[in,opt]*/, 
                                               Access_2k::AcFindField OnlyCurrentField/*[in,def,opt]*/, 
                                               VARIANT FindFirst/*[in,opt]*/) = 0; // [1010]
  virtual HRESULT STDMETHODCALLTYPE GoToControl(VARIANT ControlName/*[in]*/) = 0; // [1011]
  virtual HRESULT STDMETHODCALLTYPE GoToPage(VARIANT PageNumber/*[in]*/, 
                                             VARIANT Right/*[in,opt]*/= TNoParam(), 
                                             VARIANT Down/*[in,opt]*/= TNoParam()) = 0; // [1012]
  virtual HRESULT STDMETHODCALLTYPE GoToRecord(Access_2k::AcDataObjectType ObjectType/*[in,def,opt]*/, 
                                               VARIANT ObjectName/*[in,opt]*/, 
                                               Access_2k::AcRecord Record/*[in,def,opt]*/, 
                                               VARIANT Offset/*[in,opt]*/) = 0; // [1013]
  virtual HRESULT STDMETHODCALLTYPE Hourglass(VARIANT HourglassOn/*[in]*/) = 0; // [1014]
  virtual HRESULT STDMETHODCALLTYPE Maximize(void) = 0; // [1015]
  virtual HRESULT STDMETHODCALLTYPE Minimize(void) = 0; // [1016]
  virtual HRESULT STDMETHODCALLTYPE MoveSize(VARIANT Right/*[in,opt]*/= TNoParam(), 
                                             VARIANT Down/*[in,opt]*/= TNoParam(), 
                                             VARIANT Width/*[in,opt]*/= TNoParam(), 
                                             VARIANT Height/*[in,opt]*/= TNoParam()) = 0; // [1017]
  virtual HRESULT STDMETHODCALLTYPE OpenForm(VARIANT FormName/*[in]*/, 
                                             Access_2k::AcFormView View/*[in,def,opt]*/, 
                                             VARIANT FilterName/*[in,opt]*/, 
                                             VARIANT WhereCondition/*[in,opt]*/, 
                                             Access_2k::AcFormOpenDataMode DataMode/*[in,def,opt]*/, 
                                             Access_2k::AcWindowMode WindowMode/*[in,def,opt]*/, 
                                             VARIANT OpenArgs/*[in,opt]*/) = 0; // [1019]
  virtual HRESULT STDMETHODCALLTYPE OpenQuery(VARIANT QueryName/*[in]*/, 
                                              Access_2k::AcView View/*[in,def,opt]*/, 
                                              Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/) = 0; // [1020]
  virtual HRESULT STDMETHODCALLTYPE OpenTable(VARIANT TableName/*[in]*/, 
                                              Access_2k::AcView View/*[in,def,opt]*/, 
                                              Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/) = 0; // [1021]
  virtual HRESULT STDMETHODCALLTYPE PrintOut(Access_2k::AcPrintRange PrintRange/*[in,def,opt]*/, 
                                             VARIANT PageFrom/*[in,opt]*/, 
                                             VARIANT PageTo/*[in,opt]*/, 
                                             Access_2k::AcPrintQuality PrintQuality/*[in,def,opt]*/, 
                                             VARIANT Copies/*[in,opt]*/, 
                                             VARIANT CollateCopies/*[in,opt]*/) = 0; // [1022]
  virtual HRESULT STDMETHODCALLTYPE Quit(Access_2k::AcQuitOption Options/*[in,def,opt]*/) = 0; // [1023]
  virtual HRESULT STDMETHODCALLTYPE Requery(VARIANT ControlName/*[in,opt]*/= TNoParam()) = 0; // [1024]
  virtual HRESULT STDMETHODCALLTYPE RepaintObject(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                                  VARIANT ObjectName/*[in,opt]*/= TNoParam()) = 0; // [1025]
  virtual HRESULT STDMETHODCALLTYPE Rename(VARIANT NewName/*[in]*/, 
                                           Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                           VARIANT OldName/*[in,opt]*/= TNoParam()) = 0; // [1026]
  virtual HRESULT STDMETHODCALLTYPE Restore(void) = 0; // [1027]
  virtual HRESULT STDMETHODCALLTYPE RunMacro(VARIANT MacroName/*[in]*/, 
                                             VARIANT RepeatCount/*[in,opt]*/= TNoParam(), 
                                             VARIANT RepeatExpression/*[in,opt]*/= TNoParam()) = 0; // [1030]
  virtual HRESULT STDMETHODCALLTYPE RunSQL(VARIANT SQLStatement/*[in]*/, 
                                           VARIANT UseTransaction/*[in,opt]*/= TNoParam()) = 0; // [1031]
  virtual HRESULT STDMETHODCALLTYPE SelectObject(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                                 VARIANT ObjectName/*[in,opt]*/= TNoParam(), 
                                                 VARIANT InDatabaseWindow/*[in,opt]*/= TNoParam()) = 0; // [1032]
  virtual HRESULT STDMETHODCALLTYPE SetWarnings(VARIANT WarningsOn/*[in]*/) = 0; // [1035]
  virtual HRESULT STDMETHODCALLTYPE ShowAllRecords(void) = 0; // [1036]
  virtual HRESULT STDMETHODCALLTYPE OpenReport(VARIANT ReportName/*[in]*/, 
                                               Access_2k::AcView View/*[in,def,opt]*/, 
                                               VARIANT FilterName/*[in,opt]*/= TNoParam(), 
                                               VARIANT WhereCondition/*[in,opt]*/= TNoParam()) = 0; // [1039]
  virtual HRESULT STDMETHODCALLTYPE TransferDatabase(Access_2k::AcDataTransferType TransferType/*[in,def,opt]*/, 
                                                     VARIANT DatabaseType/*[in,opt]*/, 
                                                     VARIANT DatabaseName/*[in,opt]*/, 
                                                     Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                                     VARIANT Source/*[in,opt]*/, 
                                                     VARIANT Destination/*[in,opt]*/, 
                                                     VARIANT StructureOnly/*[in,opt]*/, 
                                                     VARIANT StoreLogin/*[in,opt]*/) = 0; // [1040]
  virtual HRESULT STDMETHODCALLTYPE TransferSpreadsheet(Access_2k::AcDataTransferType TransferType/*[in,def,opt]*/, 
                                                        Access_2k::AcSpreadSheetType SpreadsheetType/*[in,def,opt]*/, 
                                                        VARIANT TableName/*[in,opt]*/= TNoParam(), 
                                                        VARIANT FileName/*[in,opt]*/= TNoParam(), 
                                                        VARIANT HasFieldNames/*[in,opt]*/= TNoParam(), 
                                                        VARIANT Range/*[in,opt]*/= TNoParam(), 
                                                        VARIANT UseOA/*[in,opt]*/= TNoParam()) = 0; // [1041]
  virtual HRESULT STDMETHODCALLTYPE TransferText(Access_2k::AcTextTransferType TransferType/*[in,def,opt]*/, 
                                                 VARIANT SpecificationName/*[in,opt]*/= TNoParam(), 
                                                 VARIANT TableName/*[in,opt]*/= TNoParam(), 
                                                 VARIANT FileName/*[in,opt]*/= TNoParam(), 
                                                 VARIANT HasFieldNames/*[in,opt]*/= TNoParam(), 
                                                 VARIANT HTMLTableName/*[in,opt]*/= TNoParam(), 
                                                 VARIANT CodePage/*[in,opt]*/= TNoParam()) = 0; // [1042]
  virtual HRESULT STDMETHODCALLTYPE OutputTo(Access_2k::AcOutputObjectType ObjectType/*[in]*/, 
                                             VARIANT ObjectName/*[in,opt]*/= TNoParam(), 
                                             VARIANT OutputFormat/*[in,opt]*/= TNoParam(), 
                                             VARIANT OutputFile/*[in,opt]*/= TNoParam(), 
                                             VARIANT AutoStart/*[in,opt]*/= TNoParam(), 
                                             VARIANT TemplateFile/*[in,opt]*/= TNoParam()) = 0; // [1341]
  virtual HRESULT STDMETHODCALLTYPE DeleteObject(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                                 VARIANT ObjectName/*[in,opt]*/= TNoParam()) = 0; // [1372]
  virtual HRESULT STDMETHODCALLTYPE OpenModule(VARIANT ModuleName/*[in,opt]*/= TNoParam(), 
                                               VARIANT ProcedureName/*[in,opt]*/= TNoParam()) = 0; // [1374]
  virtual HRESULT STDMETHODCALLTYPE SendObject(Access_2k::AcSendObjectType ObjectType/*[in,def,opt]*/, 
                                               VARIANT ObjectName/*[in,opt]*/= TNoParam(), 
                                               VARIANT OutputFormat/*[in,opt]*/= TNoParam(), 
                                               VARIANT To/*[in,opt]*/= TNoParam(), 
                                               VARIANT Cc/*[in,opt]*/= TNoParam(), 
                                               VARIANT Bcc/*[in,opt]*/= TNoParam(), 
                                               VARIANT Subject/*[in,opt]*/= TNoParam(), 
                                               VARIANT MessageText/*[in,opt]*/= TNoParam(), 
                                               VARIANT EditMessage/*[in,opt]*/= TNoParam(), 
                                               VARIANT TemplateFile/*[in,opt]*/= TNoParam()) = 0; // [1377]
  virtual HRESULT STDMETHODCALLTYPE ShowToolbar(VARIANT ToolbarName/*[in]*/, 
                                                Access_2k::AcShowToolbar Show/*[in,def,opt]*/) = 0; // [1394]
  virtual HRESULT STDMETHODCALLTYPE Save(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                         VARIANT ObjectName/*[in,opt]*/= TNoParam()) = 0; // [1453]
  virtual HRESULT STDMETHODCALLTYPE SetMenuItem(VARIANT MenuIndex/*[in]*/, 
                                                VARIANT CommandIndex/*[in,opt]*/= TNoParam(), 
                                                VARIANT SubcommandIndex/*[in,opt]*/= TNoParam(), 
                                                VARIANT Flag/*[in,opt]*/= TNoParam()) = 0; // [1454]
  virtual HRESULT STDMETHODCALLTYPE RunCommand(Access_2k::AcCommand Command/*[in]*/) = 0; // [1602]
  virtual HRESULT STDMETHODCALLTYPE OpenDataAccessPage(VARIANT DataAccessPageName/*[in]*/, 
                                                       Access_2k::AcDataAccessPageView View/*[in,def,opt]*/) = 0; // [1771]
  virtual HRESULT STDMETHODCALLTYPE OpenView(VARIANT ViewName/*[in]*/, 
                                             Access_2k::AcView View/*[in,def,opt]*/, 
                                             Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/) = 0; // [1793]
  virtual HRESULT STDMETHODCALLTYPE OpenDiagram(VARIANT DiagramName/*[in]*/) = 0; // [1794]
  virtual HRESULT STDMETHODCALLTYPE OpenStoredProcedure(VARIANT ProcedureName/*[in]*/, 
                                                        Access_2k::AcView View/*[in,def,opt]*/, 
                                                        Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/) = 0; // [1795]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)



#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _RecordsetEvents
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {45165490-EF32-11D0-86FB-006097C9818C}
// *********************************************************************//
interface _RecordsetEvents  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE WillChangeField(long cFields/*[in]*/, VARIANT Fields/*[in]*/, 
                                                    Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                    LPUNKNOWN pRecordset/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE FieldChangeComplete(long cFields/*[in]*/, VARIANT Fields/*[in]*/, 
                                                        LPUNKNOWN pError/*[in]*/, 
                                                        Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                        LPUNKNOWN pRecordset/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE WillChangeRecord(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                                     long cRecords/*[in]*/, 
                                                     Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                     LPUNKNOWN pRecordset/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE RecordChangeComplete(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                                         long cRecords/*[in]*/, 
                                                         LPUNKNOWN pError/*[in]*/, 
                                                         Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                         LPUNKNOWN pRecordset/*[in]*/) = 0; // [12]
  virtual HRESULT STDMETHODCALLTYPE WillChangeRecordset(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                                        Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                        LPUNKNOWN pRecordset/*[in]*/) = 0; // [13]
  virtual HRESULT STDMETHODCALLTYPE RecordsetChangeComplete(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                                            LPUNKNOWN pError/*[in]*/, 
                                                            Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                            LPUNKNOWN pRecordset/*[in]*/) = 0; // [14]
  virtual HRESULT STDMETHODCALLTYPE WillMove(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                             Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                             LPUNKNOWN pRecordset/*[in]*/) = 0; // [15]
  virtual HRESULT STDMETHODCALLTYPE MoveComplete(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                                 LPUNKNOWN pError/*[in]*/, 
                                                 Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                 LPUNKNOWN pRecordset/*[in]*/) = 0; // [16]
  virtual HRESULT STDMETHODCALLTYPE EndOfRecordset(short* fMoreData/*[in,out]*/, 
                                                   Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                   LPUNKNOWN pRecordset/*[in]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE FetchProgress(long Progress/*[in]*/, long MaxProgress/*[in]*/, 
                                                  Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                  LPUNKNOWN pRecordset/*[in]*/) = 0; // [18]
  virtual HRESULT STDMETHODCALLTYPE FetchComplete(LPUNKNOWN pError/*[in]*/, 
                                                  Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                  LPUNKNOWN pRecordset/*[in]*/) = 0; // [19]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)



#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _AccessProperty
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDD00-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _AccessProperty  : public Dao_2k::Property
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Category(short* pRet/*[out,retval]*/) = 0; // [2096]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  short __fastcall get_Category(void)
  {
    short pRet;
    OLECHECK(this->get_Category((short*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   short           Category = {read = get_Category};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: Properties
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDD02-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface Properties  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT Index/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Item(VARIANT Index/*[in]*/)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Item(Index, (LPDISPATCH*)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _FormatCondition
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {E27A992C-A330-11D0-81DD-00C04FC2F51B}
// *********************************************************************//
interface _FormatCondition  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_ForeColor(long* plResult/*[out,retval]*/) = 0; // [-513]
  virtual HRESULT STDMETHODCALLTYPE set_ForeColor(long plResult/*[in]*/) = 0; // [-513]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* plResult/*[out,retval]*/) = 0; // [-501]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long plResult/*[in]*/) = 0; // [-501]
  virtual HRESULT STDMETHODCALLTYPE get_FontBold(VARIANT_BOOL* pfResult/*[out,retval]*/) = 0; // [2127]
  virtual HRESULT STDMETHODCALLTYPE set_FontBold(VARIANT_BOOL pfResult/*[in]*/) = 0; // [2127]
  virtual HRESULT STDMETHODCALLTYPE get_FontItalic(VARIANT_BOOL* pfResult/*[out,retval]*/) = 0; // [2128]
  virtual HRESULT STDMETHODCALLTYPE set_FontItalic(VARIANT_BOOL pfResult/*[in]*/) = 0; // [2128]
  virtual HRESULT STDMETHODCALLTYPE get_FontUnderline(VARIANT_BOOL* pfResult/*[out,retval]*/) = 0; // [2131]
  virtual HRESULT STDMETHODCALLTYPE set_FontUnderline(VARIANT_BOOL pfResult/*[in]*/) = 0; // [2131]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pfResult/*[out,retval]*/) = 0; // [-514]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pfResult/*[in]*/) = 0; // [-514]
  virtual HRESULT STDMETHODCALLTYPE get_Type(Access_2k::AcFormatConditionType* pacfctResult/*[out,retval]*/) = 0; // [2095]
  virtual HRESULT STDMETHODCALLTYPE get_Operator(Access_2k::AcFormatConditionOperator* pacfcoResult/*[out,retval]*/) = 0; // [2199]
  virtual HRESULT STDMETHODCALLTYPE get_Expression1(BSTR* pbstrResult/*[out,retval]*/) = 0; // [2200]
  virtual HRESULT STDMETHODCALLTYPE get_Expression2(BSTR* pbstrResult/*[out,retval]*/) = 0; // [2201]
  virtual HRESULT STDMETHODCALLTYPE Modify(Access_2k::AcFormatConditionType Type/*[in]*/, 
                                           Access_2k::AcFormatConditionOperator Operator/*[in,def,opt]*/, 
                                           VARIANT Expression1/*[in,opt]*/= TNoParam(), 
                                           VARIANT Expression2/*[in,opt]*/= TNoParam()) = 0; // [2202]
  virtual HRESULT STDMETHODCALLTYPE Delete(void) = 0; // [2063]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  long __fastcall get_ForeColor(void)
  {
    long plResult;
    OLECHECK(this->get_ForeColor((long*)&plResult));
    return plResult;
  }

  long __fastcall get_BackColor(void)
  {
    long plResult;
    OLECHECK(this->get_BackColor((long*)&plResult));
    return plResult;
  }

  VARIANT_BOOL __fastcall get_FontBold(void)
  {
    VARIANT_BOOL pfResult;
    OLECHECK(this->get_FontBold((VARIANT_BOOL*)&pfResult));
    return pfResult;
  }

  VARIANT_BOOL __fastcall get_FontItalic(void)
  {
    VARIANT_BOOL pfResult;
    OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pfResult));
    return pfResult;
  }

  VARIANT_BOOL __fastcall get_FontUnderline(void)
  {
    VARIANT_BOOL pfResult;
    OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pfResult));
    return pfResult;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pfResult;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pfResult));
    return pfResult;
  }

  Access_2k::AcFormatConditionType __fastcall get_Type(void)
  {
    Access_2k::AcFormatConditionType pacfctResult;
    OLECHECK(this->get_Type((Access_2k::AcFormatConditionType*)&pacfctResult));
    return pacfctResult;
  }

  Access_2k::AcFormatConditionOperator __fastcall get_Operator(void)
  {
    Access_2k::AcFormatConditionOperator pacfcoResult;
    OLECHECK(this->get_Operator((Access_2k::AcFormatConditionOperator*)&pacfcoResult));
    return pacfcoResult;
  }

  BSTR __fastcall get_Expression1(void)
  {
    BSTR pbstrResult = 0;
    OLECHECK(this->get_Expression1((BSTR*)&pbstrResult));
    return pbstrResult;
  }

  BSTR __fastcall get_Expression2(void)
  {
    BSTR pbstrResult = 0;
    OLECHECK(this->get_Expression2((BSTR*)&pbstrResult));
    return pbstrResult;
  }


  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   VARIANT_BOOL    FontBold = {read = get_FontBold, write = set_FontBold};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   Access_2k::AcFormatConditionType Type = {read = get_Type};
  __property   Access_2k::AcFormatConditionOperator Operator = {read = get_Operator};
  __property   BSTR            Expression1 = {read = get_Expression1};
  __property   BSTR            Expression2 = {read = get_Expression2};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: FormatConditions
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {E27A992E-A330-11D0-81DD-00C04FC2F51B}
// *********************************************************************//
interface FormatConditions  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT Index/*[in]*/, 
                                             Access_2k::_FormatCondition** pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE Add(Access_2k::AcFormatConditionType Type/*[in]*/, 
                                        Access_2k::AcFormatConditionOperator Operator/*[in,def,opt]*/, 
                                        VARIANT Expression1/*[in,opt]*/, 
                                        VARIANT Expression2/*[in,opt]*/, 
                                        Access_2k::_FormatCondition** pRet/*[out,retval]*/) = 0; // [2191]
  virtual HRESULT STDMETHODCALLTYPE Delete(void) = 0; // [2063]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::_FormatCondition* __fastcall get_Item(VARIANT Index/*[in]*/)
  {
    Access_2k::_FormatCondition* pRet = 0;
    OLECHECK(this->get_Item(Index, (Access_2k::_FormatCondition**)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  Access_2k::_FormatCondition* __fastcall Add(Access_2k::AcFormatConditionType Type/*[in]*/, 
                                              Access_2k::AcFormatConditionOperator Operator/*[in,def,opt]*/, 
                                              VARIANT Expression1/*[in,opt]*/= TNoParam(), 
                                              VARIANT Expression2/*[in,opt]*/= TNoParam())
  {
    Access_2k::_FormatCondition* pRet = 0;
    OLECHECK(this->Add(Type, Operator, Expression1, Expression2, (Access_2k::_FormatCondition**)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _ItemsSelected
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {31B09710-EADC-11CD-B9F7-00AA004753B5}
// *********************************************************************//
interface _ItemsSelected  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT Index/*[in]*/, long* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  long __fastcall get_Item(VARIANT Index/*[in]*/)
  {
    long pRet;
    OLECHECK(this->get_Item(Index, (long*)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }


  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: Children
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E977-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface Children  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT Index/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  LPDISPATCH __fastcall get_Item(VARIANT Index/*[in]*/)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Item(Index, (LPDISPATCH*)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }


  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _AccessField
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {B1C1EAC1-486F-11CE-A65D-00AA003F0F07}
// *********************************************************************//
interface _AccessField  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }



#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: __Help
// Flags:     (16) Hidden
// GUID:      {9CD4A761-A6A9-11CE-A686-00AA003F0F07}
// *********************************************************************//
interface __Help  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_FieldName(VARIANT* pRet/*[out,retval]*/) = 0; // [179]
  virtual HRESULT STDMETHODCALLTYPE set_FieldName(VARIANT pRet/*[in]*/) = 0; // [179]
  virtual HRESULT STDMETHODCALLTYPE get_DataType(VARIANT* pRet/*[out,retval]*/) = 0; // [180]
  virtual HRESULT STDMETHODCALLTYPE set_DataType(VARIANT pRet/*[in]*/) = 0; // [180]
  virtual HRESULT STDMETHODCALLTYPE get_Description(VARIANT* pRet/*[out,retval]*/) = 0; // [182]
  virtual HRESULT STDMETHODCALLTYPE set_Description(VARIANT pRet/*[in]*/) = 0; // [182]
  virtual HRESULT STDMETHODCALLTYPE get_FieldSize(VARIANT* pRet/*[out,retval]*/) = 0; // [59]
  virtual HRESULT STDMETHODCALLTYPE set_FieldSize(VARIANT pRet/*[in]*/) = 0; // [59]
  virtual HRESULT STDMETHODCALLTYPE get_NewValues(VARIANT* pRet/*[out,retval]*/) = 0; // [185]
  virtual HRESULT STDMETHODCALLTYPE set_NewValues(VARIANT pRet/*[in]*/) = 0; // [185]
  virtual HRESULT STDMETHODCALLTYPE get_Required(VARIANT* pRet/*[out,retval]*/) = 0; // [183]
  virtual HRESULT STDMETHODCALLTYPE set_Required(VARIANT pRet/*[in]*/) = 0; // [183]
  virtual HRESULT STDMETHODCALLTYPE get_AllowZeroLength(VARIANT* pRet/*[out,retval]*/) = 0; // [184]
  virtual HRESULT STDMETHODCALLTYPE set_AllowZeroLength(VARIANT pRet/*[in]*/) = 0; // [184]
  virtual HRESULT STDMETHODCALLTYPE get_Indexed(VARIANT* pRet/*[out,retval]*/) = 0; // [181]
  virtual HRESULT STDMETHODCALLTYPE set_Indexed(VARIANT pRet/*[in]*/) = 0; // [181]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayControl(VARIANT* pRet/*[out,retval]*/) = 0; // [186]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayControl(VARIANT pRet/*[in]*/) = 0; // [186]
  virtual HRESULT STDMETHODCALLTYPE get_ReplicationConflictFunction(VARIANT* pRet/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE set_ReplicationConflictFunction(VARIANT* pRet/*[in]*/) = 0; // [1610678290]
  virtual HRESULT STDMETHODCALLTYPE get_ProjectName(VARIANT* pRet/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE set_ProjectName(VARIANT* pRet/*[in]*/) = 0; // [1610678292]
  virtual HRESULT STDMETHODCALLTYPE get_MDE(VARIANT* pRet/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE set_MDE(VARIANT* pRet/*[in]*/) = 0; // [1610678294]
  virtual HRESULT STDMETHODCALLTYPE get_AllowBreakIntoCode(VARIANT* pRet/*[out,retval]*/) = 0; // [2309]
  virtual HRESULT STDMETHODCALLTYPE set_AllowBreakIntoCode(VARIANT pRet/*[in]*/) = 0; // [2309]
  virtual HRESULT STDMETHODCALLTYPE get_AllowBuiltInToolbars(VARIANT* pRet/*[out,retval]*/) = 0; // [2310]
  virtual HRESULT STDMETHODCALLTYPE set_AllowBuiltInToolbars(VARIANT pRet/*[in]*/) = 0; // [2310]
  virtual HRESULT STDMETHODCALLTYPE get_AllowBypassKey(VARIANT* pRet/*[out,retval]*/) = 0; // [2311]
  virtual HRESULT STDMETHODCALLTYPE set_AllowBypassKey(VARIANT pRet/*[in]*/) = 0; // [2311]
  virtual HRESULT STDMETHODCALLTYPE get_AllowFullMenus(VARIANT* pRet/*[out,retval]*/) = 0; // [2313]
  virtual HRESULT STDMETHODCALLTYPE set_AllowFullMenus(VARIANT pRet/*[in]*/) = 0; // [2313]
  virtual HRESULT STDMETHODCALLTYPE get_AllowSpecialKeys(VARIANT* pRet/*[out,retval]*/) = 0; // [2312]
  virtual HRESULT STDMETHODCALLTYPE set_AllowSpecialKeys(VARIANT pRet/*[in]*/) = 0; // [2312]
  virtual HRESULT STDMETHODCALLTYPE get_AllowToolbarChanges(VARIANT* pRet/*[out,retval]*/) = 0; // [2314]
  virtual HRESULT STDMETHODCALLTYPE set_AllowToolbarChanges(VARIANT pRet/*[in]*/) = 0; // [2314]
  virtual HRESULT STDMETHODCALLTYPE get_StartUpForm(VARIANT* pRet/*[out,retval]*/) = 0; // [2315]
  virtual HRESULT STDMETHODCALLTYPE set_StartUpForm(VARIANT pRet/*[in]*/) = 0; // [2315]
  virtual HRESULT STDMETHODCALLTYPE get_StartUpMenuBar(VARIANT* pRet/*[out,retval]*/) = 0; // [2316]
  virtual HRESULT STDMETHODCALLTYPE set_StartUpMenuBar(VARIANT pRet/*[in]*/) = 0; // [2316]
  virtual HRESULT STDMETHODCALLTYPE get_StartUpShortcutMenuBar(VARIANT* pRet/*[out,retval]*/) = 0; // [2317]
  virtual HRESULT STDMETHODCALLTYPE set_StartUpShortcutMenuBar(VARIANT pRet/*[in]*/) = 0; // [2317]
  virtual HRESULT STDMETHODCALLTYPE get_StartUpShowDBWindow(VARIANT* pRet/*[out,retval]*/) = 0; // [2318]
  virtual HRESULT STDMETHODCALLTYPE set_StartUpShowDBWindow(VARIANT pRet/*[in]*/) = 0; // [2318]
  virtual HRESULT STDMETHODCALLTYPE get_StartUpShowStatusBar(VARIANT* pRet/*[out,retval]*/) = 0; // [2319]
  virtual HRESULT STDMETHODCALLTYPE set_StartUpShowStatusBar(VARIANT pRet/*[in]*/) = 0; // [2319]
  virtual HRESULT STDMETHODCALLTYPE get_AppIcon(VARIANT* pRet/*[out,retval]*/) = 0; // [2320]
  virtual HRESULT STDMETHODCALLTYPE set_AppIcon(VARIANT pRet/*[in]*/) = 0; // [2320]
  virtual HRESULT STDMETHODCALLTYPE get_AppTitle(VARIANT* pRet/*[out,retval]*/) = 0; // [2321]
  virtual HRESULT STDMETHODCALLTYPE set_AppTitle(VARIANT pRet/*[in]*/) = 0; // [2321]
  virtual HRESULT STDMETHODCALLTYPE get_ODBCConnectStr(VARIANT* pRet/*[out,retval]*/) = 0; // [263]
  virtual HRESULT STDMETHODCALLTYPE set_ODBCConnectStr(VARIANT pRet/*[in]*/) = 0; // [263]
  virtual HRESULT STDMETHODCALLTYPE get_LogMessages(VARIANT* pRet/*[out,retval]*/) = 0; // [277]
  virtual HRESULT STDMETHODCALLTYPE set_LogMessages(VARIANT* pRet/*[in]*/) = 0; // [277]
};

// *********************************************************************//
// Interface: _Hyperlink
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {50D56611-60AC-11CF-82C9-00AA004B9FE6}
// *********************************************************************//
interface _Hyperlink  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_SubAddress(BSTR* pbstrResult/*[out,retval]*/) = 0; // [2182]
  virtual HRESULT STDMETHODCALLTYPE set_SubAddress(VARIANT pbstrResult/*[in]*/) = 0; // [2182]
  virtual HRESULT STDMETHODCALLTYPE get_Address(BSTR* pbstrResult/*[out,retval]*/) = 0; // [2183]
  virtual HRESULT STDMETHODCALLTYPE set_Address(VARIANT pbstrResult/*[in]*/) = 0; // [2183]
  virtual HRESULT STDMETHODCALLTYPE AddToFavorites(void) = 0; // [2184]
  virtual HRESULT STDMETHODCALLTYPE Follow(VARIANT_BOOL NewWindow/*[in,def,opt]*/, 
                                           VARIANT_BOOL AddHistory/*[in,def,opt]*/, 
                                           VARIANT ExtraInfo/*[in,opt]*/, 
                                           Office_2k::MsoExtraInfoMethod Method/*[in,def,opt]*/, 
                                           BSTR HeaderInfo/*[in,def,opt]*/) = 0; // [2185]
  virtual HRESULT STDMETHODCALLTYPE get_EmailSubject(BSTR* pbstrResult/*[out,retval]*/) = 0; // [2209]
  virtual HRESULT STDMETHODCALLTYPE set_EmailSubject(VARIANT pbstrResult/*[in]*/) = 0; // [2209]
  virtual HRESULT STDMETHODCALLTYPE get_ScreenTip(BSTR* pbstrResult/*[out,retval]*/) = 0; // [2211]
  virtual HRESULT STDMETHODCALLTYPE set_ScreenTip(VARIANT pbstrResult/*[in]*/) = 0; // [2211]
  virtual HRESULT STDMETHODCALLTYPE get_TextToDisplay(BSTR* pbstrResult/*[out,retval]*/) = 0; // [2231]
  virtual HRESULT STDMETHODCALLTYPE set_TextToDisplay(VARIANT pbstrResult/*[in]*/) = 0; // [2231]
  virtual HRESULT STDMETHODCALLTYPE CreateNewDocument(BSTR FileName/*[in]*/, 
                                                      VARIANT_BOOL EditNow/*[in]*/, 
                                                      VARIANT_BOOL Overwrite/*[in]*/) = 0; // [2232]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  BSTR __fastcall get_SubAddress(void)
  {
    BSTR pbstrResult = 0;
    OLECHECK(this->get_SubAddress((BSTR*)&pbstrResult));
    return pbstrResult;
  }

  BSTR __fastcall get_Address(void)
  {
    BSTR pbstrResult = 0;
    OLECHECK(this->get_Address((BSTR*)&pbstrResult));
    return pbstrResult;
  }

  BSTR __fastcall get_EmailSubject(void)
  {
    BSTR pbstrResult = 0;
    OLECHECK(this->get_EmailSubject((BSTR*)&pbstrResult));
    return pbstrResult;
  }

  BSTR __fastcall get_ScreenTip(void)
  {
    BSTR pbstrResult = 0;
    OLECHECK(this->get_ScreenTip((BSTR*)&pbstrResult));
    return pbstrResult;
  }

  BSTR __fastcall get_TextToDisplay(void)
  {
    BSTR pbstrResult = 0;
    OLECHECK(this->get_TextToDisplay((BSTR*)&pbstrResult));
    return pbstrResult;
  }


  __property   BSTR            SubAddress = {read = get_SubAddress};
  __property   BSTR            Address = {read = get_Address};
  __property   BSTR            EmailSubject = {read = get_EmailSubject};
  __property   BSTR            ScreenTip = {read = get_ScreenTip};
  __property   BSTR            TextToDisplay = {read = get_TextToDisplay};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _Page
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E974-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _Page  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_Caption(BSTR* pRet/*[out,retval]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE set_Caption(BSTR pRet/*[in]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE get_Picture(BSTR* pRet/*[out,retval]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE set_Picture(BSTR pRet/*[in]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE get_PictureType(unsigned_char* pRet/*[out,retval]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE set_PictureType(unsigned_char pRet/*[in]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE get_PageIndex(short* pRet/*[out,retval]*/) = 0; // [352]
  virtual HRESULT STDMETHODCALLTYPE set_PageIndex(short pRet/*[in]*/) = 0; // [352]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_PictureData(VARIANT* pRet/*[out,retval]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE set_PictureData(VARIANT pRet/*[in]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Caption(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Caption((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Picture(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Picture((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PictureType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_PageIndex(void)
  {
    short pRet;
    OLECHECK(this->get_PageIndex((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PictureData(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PictureData((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   short           PageIndex = {read = get_PageIndex, write = set_PageIndex};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: Pages
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E978-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface Pages  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT Index/*[in]*/, 
                                             Access_2k::AccessPage** pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]
  virtual HRESULT STDMETHODCALLTYPE Add(VARIANT Before/*[in,opt]*/, 
                                        Access_2k::AccessPage** pRet/*[out,retval]*/) = 0; // [2191]
  virtual HRESULT STDMETHODCALLTYPE Remove(VARIANT Item/*[in,opt]*/= TNoParam()) = 0; // [2192]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessPage* __fastcall get_Item(VARIANT Index/*[in]*/)
  {
    Access_2k::AccessPage* pRet = 0;
    OLECHECK(this->get_Item(Index, (Access_2k::AccessPage**)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }

  Access_2k::AccessPage* __fastcall Add(VARIANT Before/*[in,opt]*/= TNoParam())
  {
    Access_2k::AccessPage* pRet = 0;
    OLECHECK(this->Add(Before, (Access_2k::AccessPage**)&pRet));
    return pRet;
  }


  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _Control
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {26B96540-8F8E-101B-AF4E-00AA003F0F07}
// *********************************************************************//
interface _Control  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE Undo(void) = 0; // [2144]
  virtual HRESULT STDMETHODCALLTYPE Dropdown(void) = 0; // [2143]
  virtual HRESULT STDMETHODCALLTYPE get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                                               VARIANT* pRet/*[out,retval]*/) = 0; // [2101]
  virtual HRESULT STDMETHODCALLTYPE get_Selected(long lRow/*[in]*/, long* pRet/*[out,retval]*/) = 0; // [2113]
  virtual HRESULT STDMETHODCALLTYPE set_Selected(long lRow/*[in]*/, long pRet/*[in]*/) = 0; // [2113]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/) = 0; // [2089]
  virtual HRESULT STDMETHODCALLTYPE get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/) = 0; // [2097]
  virtual HRESULT STDMETHODCALLTYPE get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/) = 0; // [2103]
  virtual HRESULT STDMETHODCALLTYPE get_Object(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2104]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/) = 0; // [2105]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE get_ItemsSelected(Access_2k::_ItemsSelected** pRet/*[out,retval]*/) = 0; // [2137]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Pages(Access_2k::Pages** pRet/*[out,retval]*/) = 0; // [2180]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/) = 0; // [2181]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->get_Column(Index, Row, (VARIANT*)&pRet));
    return pRet;
  }

  long __fastcall get_Selected(long lRow/*[in]*/)
  {
    long pRet;
    OLECHECK(this->get_Selected(lRow, (long*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::AccessFormPtr __fastcall get_Form(void)
  {
    Access_2k::AccessFormPtr pRet;
    OLECHECK(this->get_Form(&pRet));
    return pRet;
  }

  Access_2k::AccessReportPtr __fastcall get_Report(void)
  {
    Access_2k::AccessReportPtr pRet;
    OLECHECK(this->get_Report(&pRet));
    return pRet;
  }

  VARIANT __fastcall get_ItemData(long Index/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->get_ItemData(Index, (VARIANT*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Object(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Object((LPDISPATCH*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ObjectVerbs(long Index/*[in]*/)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ObjectVerbs(Index, (BSTR*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::_ItemsSelectedPtr __fastcall get_ItemsSelected(void)
  {
    Access_2k::_ItemsSelectedPtr pRet;
    OLECHECK(this->get_ItemsSelected(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PagesPtr __fastcall get_Pages(void)
  {
    Access_2k::PagesPtr pRet;
    OLECHECK(this->get_Pages(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void)
  {
    Access_2k::_HyperlinkPtr ppRet;
    OLECHECK(this->get_Hyperlink(&ppRet));
    return ppRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::_ItemsSelectedPtr ItemsSelected = {read = get_ItemsSelected};
  __property   Access_2k::PagesPtr Pages = {read = get_Pages};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: __ControlInReportEvents
// Flags:     (16) Hidden
// GUID:      {90B322A5-F1D9-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface __ControlInReportEvents  : public IUnknown
{
public:
};

// *********************************************************************//
// Interface: Controls_
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {5970C574-EB8C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface Controls_  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT Index/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Item(VARIANT Index/*[in]*/)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Item(Index, (LPDISPATCH*)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _Label
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E948-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _Label  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/) = 0; // [2181]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_Caption(BSTR* pRet/*[out,retval]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE set_Caption(BSTR pRet/*[in]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/) = 0; // [343]
  virtual HRESULT STDMETHODCALLTYPE set_HyperlinkAddress(BSTR pRet/*[in]*/) = 0; // [343]
  virtual HRESULT STDMETHODCALLTYPE get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/) = 0; // [347]
  virtual HRESULT STDMETHODCALLTYPE set_HyperlinkSubAddress(BSTR pRet/*[in]*/) = 0; // [347]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Vertical(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [355]
  virtual HRESULT STDMETHODCALLTYPE set_Vertical(VARIANT_BOOL pRet/*[in]*/) = 0; // [355]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE set_BackStyle(unsigned_char pRet/*[in]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* pRet/*[out,retval]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long pRet/*[in]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_ForeColor(long* pRet/*[out,retval]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE set_ForeColor(long pRet/*[in]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE get_FontName(BSTR* pRet/*[out,retval]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE set_FontName(BSTR pRet/*[in]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE get_FontSize(short* pRet/*[out,retval]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE set_FontSize(short pRet/*[in]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE get_FontWeight(short* pRet/*[out,retval]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE set_FontWeight(short pRet/*[in]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE set_FontItalic(VARIANT_BOOL pRet/*[in]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE set_FontUnderline(VARIANT_BOOL pRet/*[in]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE set_TextFontCharSet(unsigned_char pRet/*[in]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE get_TextAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [136]
  virtual HRESULT STDMETHODCALLTYPE set_TextAlign(unsigned_char pRet/*[in]*/) = 0; // [136]
  virtual HRESULT STDMETHODCALLTYPE get_FontBold(short* pRet/*[out,retval]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE set_FontBold(short pRet/*[in]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE set_ReadingOrder(unsigned_char pRet/*[in]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/) = 0; // [372]
  virtual HRESULT STDMETHODCALLTYPE set_NumeralShapes(unsigned_char pRet/*[in]*/) = 0; // [372]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE get_LeftMargin(short* pRet/*[out,retval]*/) = 0; // [384]
  virtual HRESULT STDMETHODCALLTYPE set_LeftMargin(short pRet/*[in]*/) = 0; // [384]
  virtual HRESULT STDMETHODCALLTYPE get_TopMargin(short* pRet/*[out,retval]*/) = 0; // [385]
  virtual HRESULT STDMETHODCALLTYPE set_TopMargin(short pRet/*[in]*/) = 0; // [385]
  virtual HRESULT STDMETHODCALLTYPE get_LineSpacing(short* pRet/*[out,retval]*/) = 0; // [386]
  virtual HRESULT STDMETHODCALLTYPE set_LineSpacing(short pRet/*[in]*/) = 0; // [386]
  virtual HRESULT STDMETHODCALLTYPE get_RightMargin(short* pRet/*[out,retval]*/) = 0; // [388]
  virtual HRESULT STDMETHODCALLTYPE set_RightMargin(short pRet/*[in]*/) = 0; // [388]
  virtual HRESULT STDMETHODCALLTYPE get_BottomMargin(short* pRet/*[out,retval]*/) = 0; // [389]
  virtual HRESULT STDMETHODCALLTYPE set_BottomMargin(short pRet/*[in]*/) = 0; // [389]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void)
  {
    Access_2k::_HyperlinkPtr ppRet;
    OLECHECK(this->get_Hyperlink(&ppRet));
    return ppRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Caption(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Caption((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_HyperlinkAddress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_HyperlinkAddress((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_HyperlinkSubAddress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_HyperlinkSubAddress((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Vertical(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Vertical((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BackStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BackColor(void)
  {
    long pRet;
    OLECHECK(this->get_BackColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_ForeColor(void)
  {
    long pRet;
    OLECHECK(this->get_ForeColor((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FontName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FontName((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_FontSize(void)
  {
    short pRet;
    OLECHECK(this->get_FontSize((short*)&pRet));
    return pRet;
  }

  short __fastcall get_FontWeight(void)
  {
    short pRet;
    OLECHECK(this->get_FontWeight((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontItalic(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontUnderline(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TextFontCharSet(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TextAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TextAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_FontBold(void)
  {
    short pRet;
    OLECHECK(this->get_FontBold((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ReadingOrder(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_NumeralShapes(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_NumeralShapes((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }

  short __fastcall get_LeftMargin(void)
  {
    short pRet;
    OLECHECK(this->get_LeftMargin((short*)&pRet));
    return pRet;
  }

  short __fastcall get_TopMargin(void)
  {
    short pRet;
    OLECHECK(this->get_TopMargin((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LineSpacing(void)
  {
    short pRet;
    OLECHECK(this->get_LineSpacing((short*)&pRet));
    return pRet;
  }

  short __fastcall get_RightMargin(void)
  {
    short pRet;
    OLECHECK(this->get_RightMargin((short*)&pRet));
    return pRet;
  }

  short __fastcall get_BottomMargin(void)
  {
    short pRet;
    OLECHECK(this->get_BottomMargin((short*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            HyperlinkAddress = {read = get_HyperlinkAddress, write = set_HyperlinkAddress};
  __property   BSTR            HyperlinkSubAddress = {read = get_HyperlinkSubAddress, write = set_HyperlinkSubAddress};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Vertical = {read = get_Vertical, write = set_Vertical};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   short           LeftMargin = {read = get_LeftMargin, write = set_LeftMargin};
  __property   short           TopMargin = {read = get_TopMargin, write = set_TopMargin};
  __property   short           LineSpacing = {read = get_LineSpacing, write = set_LineSpacing};
  __property   short           RightMargin = {read = get_RightMargin, write = set_RightMargin};
  __property   short           BottomMargin = {read = get_BottomMargin, write = set_BottomMargin};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _LabelEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4341-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _LabelEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
};

// *********************************************************************//
// Interface: _ChildLabelEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4358-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _ChildLabelEvents  : public IUnknown
{
public:
};

// *********************************************************************//
// Interface: _Rectangle
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E94A-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _Rectangle  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE set_BackStyle(unsigned_char pRet/*[in]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* pRet/*[out,retval]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long pRet/*[in]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BackStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BackColor(void)
  {
    long pRet;
    OLECHECK(this->get_BackColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _RectangleEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4342-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _RectangleEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
};

// *********************************************************************//
// Interface: _Line
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E94C-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _Line  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_LineSlant(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [55]
  virtual HRESULT STDMETHODCALLTYPE set_LineSlant(VARIANT_BOOL pRet/*[in]*/) = 0; // [55]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_LineSlant(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_LineSlant((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   VARIANT_BOOL    LineSlant = {read = get_LineSlant, write = set_LineSlant};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _LineEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4343-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _LineEvents  : public IUnknown
{
public:
};

// *********************************************************************//
// Interface: _Image
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E94E-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _Image  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/) = 0; // [2181]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_Picture(BSTR* pRet/*[out,retval]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE set_Picture(BSTR pRet/*[in]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE get_PictureType(unsigned_char* pRet/*[out,retval]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE set_PictureType(unsigned_char pRet/*[in]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE get_PictureData(VARIANT* pRet/*[out,retval]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE set_PictureData(VARIANT pRet/*[in]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE get_SizeMode(unsigned_char* pRet/*[out,retval]*/) = 0; // [89]
  virtual HRESULT STDMETHODCALLTYPE set_SizeMode(unsigned_char pRet/*[in]*/) = 0; // [89]
  virtual HRESULT STDMETHODCALLTYPE get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/) = 0; // [309]
  virtual HRESULT STDMETHODCALLTYPE set_PictureAlignment(unsigned_char pRet/*[in]*/) = 0; // [309]
  virtual HRESULT STDMETHODCALLTYPE get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [313]
  virtual HRESULT STDMETHODCALLTYPE set_PictureTiling(VARIANT_BOOL pRet/*[in]*/) = 0; // [313]
  virtual HRESULT STDMETHODCALLTYPE get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/) = 0; // [343]
  virtual HRESULT STDMETHODCALLTYPE set_HyperlinkAddress(BSTR pRet/*[in]*/) = 0; // [343]
  virtual HRESULT STDMETHODCALLTYPE get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/) = 0; // [347]
  virtual HRESULT STDMETHODCALLTYPE set_HyperlinkSubAddress(BSTR pRet/*[in]*/) = 0; // [347]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE set_BackStyle(unsigned_char pRet/*[in]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* pRet/*[out,retval]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long pRet/*[in]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectPalette(VARIANT* pRet/*[out,retval]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE set_ObjectPalette(VARIANT pRet/*[in]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ImageHeight(long* pRet/*[out,retval]*/) = 0; // [307]
  virtual HRESULT STDMETHODCALLTYPE set_ImageHeight(long pRet/*[in]*/) = 0; // [307]
  virtual HRESULT STDMETHODCALLTYPE get_ImageWidth(long* pRet/*[out,retval]*/) = 0; // [308]
  virtual HRESULT STDMETHODCALLTYPE set_ImageWidth(long pRet/*[in]*/) = 0; // [308]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void)
  {
    Access_2k::_HyperlinkPtr ppRet;
    OLECHECK(this->get_Hyperlink(&ppRet));
    return ppRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Picture(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Picture((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PictureType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PictureData(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PictureData((VARIANT*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SizeMode(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SizeMode((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PictureAlignment(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PictureAlignment((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_PictureTiling(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_PictureTiling((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_HyperlinkAddress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_HyperlinkAddress((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_HyperlinkSubAddress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_HyperlinkSubAddress((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BackStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BackColor(void)
  {
    long pRet;
    OLECHECK(this->get_BackColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_ObjectPalette(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_ImageHeight(void)
  {
    long pRet;
    OLECHECK(this->get_ImageHeight((long*)&pRet));
    return pRet;
  }

  long __fastcall get_ImageWidth(void)
  {
    long pRet;
    OLECHECK(this->get_ImageWidth((long*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   unsigned_char   SizeMode = {read = get_SizeMode, write = set_SizeMode};
  __property   unsigned_char   PictureAlignment = {read = get_PictureAlignment, write = set_PictureAlignment};
  __property   VARIANT_BOOL    PictureTiling = {read = get_PictureTiling, write = set_PictureTiling};
  __property   BSTR            HyperlinkAddress = {read = get_HyperlinkAddress, write = set_HyperlinkAddress};
  __property   BSTR            HyperlinkSubAddress = {read = get_HyperlinkSubAddress, write = set_HyperlinkSubAddress};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   long            ImageHeight = {read = get_ImageHeight, write = set_ImageHeight};
  __property   long            ImageWidth = {read = get_ImageWidth, write = set_ImageWidth};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _ImageEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4344-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _ImageEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
};

// *********************************************************************//
// Interface: _CommandButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E950-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _CommandButton  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/) = 0; // [2181]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_Caption(BSTR* pRet/*[out,retval]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE set_Caption(BSTR pRet/*[in]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE get_Picture(BSTR* pRet/*[out,retval]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE set_Picture(BSTR pRet/*[in]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE get_PictureType(unsigned_char* pRet/*[out,retval]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE set_PictureType(unsigned_char pRet/*[in]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE get_PictureData(VARIANT* pRet/*[out,retval]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE set_PictureData(VARIANT pRet/*[in]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE get_Transparent(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [46]
  virtual HRESULT STDMETHODCALLTYPE set_Transparent(VARIANT_BOOL pRet/*[in]*/) = 0; // [46]
  virtual HRESULT STDMETHODCALLTYPE get_Default(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [220]
  virtual HRESULT STDMETHODCALLTYPE set_Default(VARIANT_BOOL pRet/*[in]*/) = 0; // [220]
  virtual HRESULT STDMETHODCALLTYPE get_Cancel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [221]
  virtual HRESULT STDMETHODCALLTYPE set_Cancel(VARIANT_BOOL pRet/*[in]*/) = 0; // [221]
  virtual HRESULT STDMETHODCALLTYPE get_AutoRepeat(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [5]
  virtual HRESULT STDMETHODCALLTYPE set_AutoRepeat(VARIANT_BOOL pRet/*[in]*/) = 0; // [5]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_OnPush(BSTR* pRet/*[out,retval]*/) = 0; // [155]
  virtual HRESULT STDMETHODCALLTYPE set_OnPush(BSTR pRet/*[in]*/) = 0; // [155]
  virtual HRESULT STDMETHODCALLTYPE get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/) = 0; // [343]
  virtual HRESULT STDMETHODCALLTYPE set_HyperlinkAddress(BSTR pRet/*[in]*/) = 0; // [343]
  virtual HRESULT STDMETHODCALLTYPE get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/) = 0; // [347]
  virtual HRESULT STDMETHODCALLTYPE set_HyperlinkSubAddress(BSTR pRet/*[in]*/) = 0; // [347]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_ForeColor(long* pRet/*[out,retval]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE set_ForeColor(long pRet/*[in]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE get_FontName(BSTR* pRet/*[out,retval]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE set_FontName(BSTR pRet/*[in]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE get_FontSize(short* pRet/*[out,retval]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE set_FontSize(short pRet/*[in]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE get_FontWeight(short* pRet/*[out,retval]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE set_FontWeight(short pRet/*[in]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE set_FontItalic(VARIANT_BOOL pRet/*[in]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE set_FontUnderline(VARIANT_BOOL pRet/*[in]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE set_TextFontCharSet(unsigned_char pRet/*[in]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE get_FontBold(short* pRet/*[out,retval]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE set_FontBold(short pRet/*[in]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE set_AutoLabel(VARIANT_BOOL pRet/*[in]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE set_AddColon(VARIANT_BOOL pRet/*[in]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE get_LabelX(short* pRet/*[out,retval]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE set_LabelX(short pRet/*[in]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE get_LabelY(short* pRet/*[out,retval]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE set_LabelY(short pRet/*[in]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE get_LabelAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE set_LabelAlign(unsigned_char pRet/*[in]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectPalette(VARIANT* pRet/*[out,retval]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE set_ObjectPalette(VARIANT pRet/*[in]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyDown(BSTR* pRet/*[out,retval]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyDown(BSTR pRet/*[in]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyUp(BSTR* pRet/*[out,retval]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyUp(BSTR pRet/*[in]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyPress(BSTR* pRet/*[out,retval]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyPress(BSTR pRet/*[in]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE set_ReadingOrder(unsigned_char pRet/*[in]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void)
  {
    Access_2k::_HyperlinkPtr ppRet;
    OLECHECK(this->get_Hyperlink(&ppRet));
    return ppRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Caption(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Caption((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Picture(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Picture((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PictureType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PictureData(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PictureData((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Transparent(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Transparent((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Default(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Default((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Cancel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Cancel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoRepeat(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoRepeat((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnPush(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnPush((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_HyperlinkAddress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_HyperlinkAddress((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_HyperlinkSubAddress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_HyperlinkSubAddress((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  long __fastcall get_ForeColor(void)
  {
    long pRet;
    OLECHECK(this->get_ForeColor((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FontName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FontName((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_FontSize(void)
  {
    short pRet;
    OLECHECK(this->get_FontSize((short*)&pRet));
    return pRet;
  }

  short __fastcall get_FontWeight(void)
  {
    short pRet;
    OLECHECK(this->get_FontWeight((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontItalic(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontUnderline(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TextFontCharSet(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_FontBold(void)
  {
    short pRet;
    OLECHECK(this->get_FontBold((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoLabel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AddColon(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelX(void)
  {
    short pRet;
    OLECHECK(this->get_LabelX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelY(void)
  {
    short pRet;
    OLECHECK(this->get_LabelY((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_LabelAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_ObjectPalette(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyPress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ReadingOrder(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   VARIANT_BOOL    Transparent = {read = get_Transparent, write = set_Transparent};
  __property   VARIANT_BOOL    Default = {read = get_Default, write = set_Default};
  __property   VARIANT_BOOL    Cancel = {read = get_Cancel, write = set_Cancel};
  __property   VARIANT_BOOL    AutoRepeat = {read = get_AutoRepeat, write = set_AutoRepeat};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   BSTR            OnPush = {read = get_OnPush, write = set_OnPush};
  __property   BSTR            HyperlinkAddress = {read = get_HyperlinkAddress, write = set_HyperlinkAddress};
  __property   BSTR            HyperlinkSubAddress = {read = get_HyperlinkSubAddress, write = set_HyperlinkSubAddress};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _CommandButtonEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4345-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _CommandButtonEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _OptionButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E952-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _OptionButton  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_OptionValue(long* pRet/*[out,retval]*/) = 0; // [58]
  virtual HRESULT STDMETHODCALLTYPE set_OptionValue(long pRet/*[in]*/) = 0; // [58]
  virtual HRESULT STDMETHODCALLTYPE get_ControlSource(BSTR* pRet/*[out,retval]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE set_ControlSource(BSTR pRet/*[in]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultValue(BSTR* pRet/*[out,retval]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE set_DefaultValue(BSTR pRet/*[in]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationRule(BSTR* pRet/*[out,retval]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationRule(BSTR pRet/*[in]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationText(BSTR* pRet/*[out,retval]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationText(BSTR pRet/*[in]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [294]
  virtual HRESULT STDMETHODCALLTYPE set_TripleState(VARIANT_BOOL pRet/*[in]*/) = 0; // [294]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnWidth(short* pRet/*[out,retval]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnWidth(short pRet/*[in]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnOrder(short* pRet/*[out,retval]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnOrder(short pRet/*[in]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE set_AutoLabel(VARIANT_BOOL pRet/*[in]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE set_AddColon(VARIANT_BOOL pRet/*[in]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE get_LabelX(short* pRet/*[out,retval]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE set_LabelX(short pRet/*[in]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE get_LabelY(short* pRet/*[out,retval]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE set_LabelY(short pRet/*[in]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE get_LabelAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE set_LabelAlign(unsigned_char pRet/*[in]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeUpdate(BSTR pRet/*[in]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE get_AfterUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE set_AfterUpdate(BSTR pRet/*[in]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyDown(BSTR* pRet/*[out,retval]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyDown(BSTR pRet/*[in]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyUp(BSTR* pRet/*[out,retval]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyUp(BSTR pRet/*[in]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyPress(BSTR* pRet/*[out,retval]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyPress(BSTR pRet/*[in]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE set_ReadingOrder(unsigned_char pRet/*[in]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_OptionValue(void)
  {
    long pRet;
    OLECHECK(this->get_OptionValue((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_DefaultValue(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationRule(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationText((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TripleState(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TripleState((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_HideDuplicates(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnWidth(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnWidth((short*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnOrder(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnOrder((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHidden(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoLabel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AddColon(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelX(void)
  {
    short pRet;
    OLECHECK(this->get_LabelX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelY(void)
  {
    short pRet;
    OLECHECK(this->get_LabelY((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_LabelAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyPress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ReadingOrder(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _OptionButtonEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4346-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _OptionButtonEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE BeforeUpdate(short* Cancel/*[out]*/) = 0; // [2061]
  virtual HRESULT STDMETHODCALLTYPE AfterUpdate(void) = 0; // [2062]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _OptionButtonInOptionEvents
// Flags:     (16) Hidden
// GUID:      {BC9E435B-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _OptionButtonInOptionEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _Checkbox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E954-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _Checkbox  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE Undo(void) = 0; // [2144]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_OptionValue(long* pRet/*[out,retval]*/) = 0; // [58]
  virtual HRESULT STDMETHODCALLTYPE set_OptionValue(long pRet/*[in]*/) = 0; // [58]
  virtual HRESULT STDMETHODCALLTYPE get_ControlSource(BSTR* pRet/*[out,retval]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE set_ControlSource(BSTR pRet/*[in]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultValue(BSTR* pRet/*[out,retval]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE set_DefaultValue(BSTR pRet/*[in]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationRule(BSTR* pRet/*[out,retval]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationRule(BSTR pRet/*[in]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationText(BSTR* pRet/*[out,retval]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationText(BSTR pRet/*[in]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [294]
  virtual HRESULT STDMETHODCALLTYPE set_TripleState(VARIANT_BOOL pRet/*[in]*/) = 0; // [294]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnWidth(short* pRet/*[out,retval]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnWidth(short pRet/*[in]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnOrder(short* pRet/*[out,retval]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnOrder(short pRet/*[in]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE set_AutoLabel(VARIANT_BOOL pRet/*[in]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE set_AddColon(VARIANT_BOOL pRet/*[in]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE get_LabelX(short* pRet/*[out,retval]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE set_LabelX(short pRet/*[in]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE get_LabelY(short* pRet/*[out,retval]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE set_LabelY(short pRet/*[in]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE get_LabelAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE set_LabelAlign(unsigned_char pRet/*[in]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeUpdate(BSTR pRet/*[in]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE get_AfterUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE set_AfterUpdate(BSTR pRet/*[in]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyDown(BSTR* pRet/*[out,retval]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyDown(BSTR pRet/*[in]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyUp(BSTR* pRet/*[out,retval]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyUp(BSTR pRet/*[in]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyPress(BSTR* pRet/*[out,retval]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyPress(BSTR pRet/*[in]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE set_ReadingOrder(unsigned_char pRet/*[in]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_OptionValue(void)
  {
    long pRet;
    OLECHECK(this->get_OptionValue((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_DefaultValue(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationRule(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationText((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TripleState(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TripleState((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_HideDuplicates(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnWidth(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnWidth((short*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnOrder(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnOrder((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHidden(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoLabel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AddColon(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelX(void)
  {
    short pRet;
    OLECHECK(this->get_LabelX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelY(void)
  {
    short pRet;
    OLECHECK(this->get_LabelY((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_LabelAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyPress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ReadingOrder(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _CheckBoxEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4347-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _CheckBoxEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE BeforeUpdate(short* Cancel/*[out]*/) = 0; // [2061]
  virtual HRESULT STDMETHODCALLTYPE AfterUpdate(void) = 0; // [2062]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _CheckBoxInOptionEvents
// Flags:     (16) Hidden
// GUID:      {BC9E435D-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _CheckBoxInOptionEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _OptionGroup
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E956-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _OptionGroup  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE Undo(void) = 0; // [2144]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_ControlSource(BSTR* pRet/*[out,retval]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE set_ControlSource(BSTR pRet/*[in]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultValue(BSTR* pRet/*[out,retval]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE set_DefaultValue(BSTR pRet/*[in]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationRule(BSTR* pRet/*[out,retval]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationRule(BSTR pRet/*[in]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationText(BSTR* pRet/*[out,retval]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationText(BSTR pRet/*[in]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE set_BackStyle(unsigned_char pRet/*[in]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* pRet/*[out,retval]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long pRet/*[in]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnWidth(short* pRet/*[out,retval]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnWidth(short pRet/*[in]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnOrder(short* pRet/*[out,retval]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnOrder(short pRet/*[in]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE set_AutoLabel(VARIANT_BOOL pRet/*[in]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE set_AddColon(VARIANT_BOOL pRet/*[in]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE get_LabelX(short* pRet/*[out,retval]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE set_LabelX(short pRet/*[in]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE get_LabelY(short* pRet/*[out,retval]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE set_LabelY(short pRet/*[in]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE get_LabelAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE set_LabelAlign(unsigned_char pRet/*[in]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeUpdate(BSTR pRet/*[in]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE get_AfterUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE set_AfterUpdate(BSTR pRet/*[in]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_DefaultValue(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationRule(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationText((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_HideDuplicates(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BackStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BackColor(void)
  {
    long pRet;
    OLECHECK(this->get_BackColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnWidth(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnWidth((short*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnOrder(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnOrder((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHidden(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoLabel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AddColon(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelX(void)
  {
    short pRet;
    OLECHECK(this->get_LabelX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelY(void)
  {
    short pRet;
    OLECHECK(this->get_LabelY((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_LabelAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _OptionGroupEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4348-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _OptionGroupEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE BeforeUpdate(short* Cancel/*[out]*/) = 0; // [2061]
  virtual HRESULT STDMETHODCALLTYPE AfterUpdate(void) = 0; // [2062]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
};

// *********************************************************************//
// Interface: _BoundObjectFrame
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E958-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _BoundObjectFrame  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Object(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2104]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/) = 0; // [2105]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_ControlSource(BSTR* pRet/*[out,retval]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE set_ControlSource(BSTR pRet/*[in]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE get_SizeMode(unsigned_char* pRet/*[out,retval]*/) = 0; // [89]
  virtual HRESULT STDMETHODCALLTYPE set_SizeMode(unsigned_char pRet/*[in]*/) = 0; // [89]
  virtual HRESULT STDMETHODCALLTYPE get_Class(BSTR* pRet/*[out,retval]*/) = 0; // [274]
  virtual HRESULT STDMETHODCALLTYPE set_Class(BSTR pRet/*[in]*/) = 0; // [274]
  virtual HRESULT STDMETHODCALLTYPE get_SourceDoc(BSTR* pRet/*[out,retval]*/) = 0; // [133]
  virtual HRESULT STDMETHODCALLTYPE set_SourceDoc(BSTR pRet/*[in]*/) = 0; // [133]
  virtual HRESULT STDMETHODCALLTYPE get_SourceItem(BSTR* pRet/*[out,retval]*/) = 0; // [48]
  virtual HRESULT STDMETHODCALLTYPE set_SourceItem(BSTR pRet/*[in]*/) = 0; // [48]
  virtual HRESULT STDMETHODCALLTYPE get_AutoActivate(short* pRet/*[out,retval]*/) = 0; // [101]
  virtual HRESULT STDMETHODCALLTYPE set_AutoActivate(short pRet/*[in]*/) = 0; // [101]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayType(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [272]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayType(VARIANT_BOOL pRet/*[in]*/) = 0; // [272]
  virtual HRESULT STDMETHODCALLTYPE get_UpdateOptions(short* pRet/*[out,retval]*/) = 0; // [103]
  virtual HRESULT STDMETHODCALLTYPE set_UpdateOptions(short pRet/*[in]*/) = 0; // [103]
  virtual HRESULT STDMETHODCALLTYPE get_Verb(long* pRet/*[out,retval]*/) = 0; // [102]
  virtual HRESULT STDMETHODCALLTYPE set_Verb(long pRet/*[in]*/) = 0; // [102]
  virtual HRESULT STDMETHODCALLTYPE get_OLETypeAllowed(unsigned_char* pRet/*[out,retval]*/) = 0; // [275]
  virtual HRESULT STDMETHODCALLTYPE set_OLETypeAllowed(unsigned_char pRet/*[in]*/) = 0; // [275]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE set_BackStyle(unsigned_char pRet/*[in]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* pRet/*[out,retval]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long pRet/*[in]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnWidth(short* pRet/*[out,retval]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnWidth(short pRet/*[in]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnOrder(short* pRet/*[out,retval]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnOrder(short pRet/*[in]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE set_AutoLabel(VARIANT_BOOL pRet/*[in]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE set_AddColon(VARIANT_BOOL pRet/*[in]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE get_LabelX(short* pRet/*[out,retval]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE set_LabelX(short pRet/*[in]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE get_LabelY(short* pRet/*[out,retval]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE set_LabelY(short pRet/*[in]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE get_LabelAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE set_LabelAlign(unsigned_char pRet/*[in]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectPalette(VARIANT* pRet/*[out,retval]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE set_ObjectPalette(VARIANT pRet/*[in]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE get_LpOleObject(long* pRet/*[out,retval]*/) = 0; // [172]
  virtual HRESULT STDMETHODCALLTYPE set_LpOleObject(long pRet/*[in]*/) = 0; // [172]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectVerbsCount(long* pRet/*[out,retval]*/) = 0; // [173]
  virtual HRESULT STDMETHODCALLTYPE set_ObjectVerbsCount(long pRet/*[in]*/) = 0; // [173]
  virtual HRESULT STDMETHODCALLTYPE get_Action(short* pRet/*[out,retval]*/) = 0; // [273]
  virtual HRESULT STDMETHODCALLTYPE set_Action(short pRet/*[in]*/) = 0; // [273]
  virtual HRESULT STDMETHODCALLTYPE get_Scaling(unsigned_char* pRet/*[out,retval]*/) = 0; // [88]
  virtual HRESULT STDMETHODCALLTYPE set_Scaling(unsigned_char pRet/*[in]*/) = 0; // [88]
  virtual HRESULT STDMETHODCALLTYPE get_OLEType(unsigned_char* pRet/*[out,retval]*/) = 0; // [276]
  virtual HRESULT STDMETHODCALLTYPE set_OLEType(unsigned_char pRet/*[in]*/) = 0; // [276]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeUpdate(BSTR pRet/*[in]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE get_AfterUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE set_AfterUpdate(BSTR pRet/*[in]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE get_OnUpdated(BSTR* pRet/*[out,retval]*/) = 0; // [118]
  virtual HRESULT STDMETHODCALLTYPE set_OnUpdated(BSTR pRet/*[in]*/) = 0; // [118]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyDown(BSTR* pRet/*[out,retval]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyDown(BSTR pRet/*[in]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyUp(BSTR* pRet/*[out,retval]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyUp(BSTR pRet/*[in]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyPress(BSTR* pRet/*[out,retval]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyPress(BSTR pRet/*[in]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Object(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Object((LPDISPATCH*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ObjectVerbs(long Index/*[in]*/)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ObjectVerbs(Index, (BSTR*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlSource((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SizeMode(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SizeMode((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Class(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Class((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_SourceDoc(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_SourceDoc((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_SourceItem(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_SourceItem((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_AutoActivate(void)
  {
    short pRet;
    OLECHECK(this->get_AutoActivate((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_DisplayType(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_DisplayType((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_UpdateOptions(void)
  {
    short pRet;
    OLECHECK(this->get_UpdateOptions((short*)&pRet));
    return pRet;
  }

  long __fastcall get_Verb(void)
  {
    long pRet;
    OLECHECK(this->get_Verb((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OLETypeAllowed(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OLETypeAllowed((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BackStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BackColor(void)
  {
    long pRet;
    OLECHECK(this->get_BackColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnWidth(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnWidth((short*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnOrder(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnOrder((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHidden(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoLabel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AddColon(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelX(void)
  {
    short pRet;
    OLECHECK(this->get_LabelX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelY(void)
  {
    short pRet;
    OLECHECK(this->get_LabelY((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_LabelAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_ObjectPalette(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
    return pRet;
  }

  long __fastcall get_LpOleObject(void)
  {
    long pRet;
    OLECHECK(this->get_LpOleObject((long*)&pRet));
    return pRet;
  }

  long __fastcall get_ObjectVerbsCount(void)
  {
    long pRet;
    OLECHECK(this->get_ObjectVerbsCount((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Action(void)
  {
    short pRet;
    OLECHECK(this->get_Action((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_Scaling(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_Scaling((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OLEType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OLEType((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnUpdated(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnUpdated((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyPress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   unsigned_char   SizeMode = {read = get_SizeMode, write = set_SizeMode};
  __property   BSTR            Class = {read = get_Class, write = set_Class};
  __property   BSTR            SourceDoc = {read = get_SourceDoc, write = set_SourceDoc};
  __property   BSTR            SourceItem = {read = get_SourceItem, write = set_SourceItem};
  __property   short           AutoActivate = {read = get_AutoActivate, write = set_AutoActivate};
  __property   VARIANT_BOOL    DisplayType = {read = get_DisplayType, write = set_DisplayType};
  __property   short           UpdateOptions = {read = get_UpdateOptions, write = set_UpdateOptions};
  __property   long            Verb = {read = get_Verb, write = set_Verb};
  __property   unsigned_char   OLETypeAllowed = {read = get_OLETypeAllowed, write = set_OLETypeAllowed};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            LpOleObject = {read = get_LpOleObject, write = set_LpOleObject};
  __property   long            ObjectVerbsCount = {read = get_ObjectVerbsCount, write = set_ObjectVerbsCount};
  __property   short           Action = {read = get_Action, write = set_Action};
  __property   unsigned_char   Scaling = {read = get_Scaling, write = set_Scaling};
  __property   unsigned_char   OLEType = {read = get_OLEType, write = set_OLEType};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnUpdated = {read = get_OnUpdated, write = set_OnUpdated};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _BoundObjectFrameEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4349-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _BoundObjectFrameEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE Updated(short* Code/*[in,out]*/) = 0; // [2076]
  virtual HRESULT STDMETHODCALLTYPE BeforeUpdate(short* Cancel/*[out]*/) = 0; // [2061]
  virtual HRESULT STDMETHODCALLTYPE AfterUpdate(void) = 0; // [2062]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _Textbox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E946-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _Textbox  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE Undo(void) = 0; // [2144]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/) = 0; // [2181]
  virtual HRESULT STDMETHODCALLTYPE get_FormatConditions(Access_2k::FormatConditions** ppRet/*[out,retval]*/) = 0; // [2203]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_ControlSource(BSTR* pRet/*[out,retval]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE set_ControlSource(BSTR pRet/*[in]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE get_Format(BSTR* pRet/*[out,retval]*/) = 0; // [38]
  virtual HRESULT STDMETHODCALLTYPE set_Format(BSTR pRet/*[in]*/) = 0; // [38]
  virtual HRESULT STDMETHODCALLTYPE get_DecimalPlaces(unsigned_char* pRet/*[out,retval]*/) = 0; // [71]
  virtual HRESULT STDMETHODCALLTYPE set_DecimalPlaces(unsigned_char pRet/*[in]*/) = 0; // [71]
  virtual HRESULT STDMETHODCALLTYPE get_InputMask(BSTR* pRet/*[out,retval]*/) = 0; // [72]
  virtual HRESULT STDMETHODCALLTYPE set_InputMask(BSTR pRet/*[in]*/) = 0; // [72]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultValue(BSTR* pRet/*[out,retval]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE set_DefaultValue(BSTR pRet/*[in]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [357]
  virtual HRESULT STDMETHODCALLTYPE set_IMEHold(VARIANT_BOOL pRet/*[in]*/) = 0; // [357]
  virtual HRESULT STDMETHODCALLTYPE get_FuriganaControl(BSTR* pRet/*[out,retval]*/) = 0; // [359]
  virtual HRESULT STDMETHODCALLTYPE set_FuriganaControl(BSTR pRet/*[in]*/) = 0; // [359]
  virtual HRESULT STDMETHODCALLTYPE get_PostalAddress(BSTR* pRet/*[out,retval]*/) = 0; // [360]
  virtual HRESULT STDMETHODCALLTYPE set_PostalAddress(BSTR pRet/*[in]*/) = 0; // [360]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationRule(BSTR* pRet/*[out,retval]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationRule(BSTR pRet/*[in]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationText(BSTR* pRet/*[out,retval]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationText(BSTR pRet/*[in]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_EnterKeyBehavior(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [74]
  virtual HRESULT STDMETHODCALLTYPE set_EnterKeyBehavior(VARIANT_BOOL pRet/*[in]*/) = 0; // [74]
  virtual HRESULT STDMETHODCALLTYPE get_AllowAutoCorrect(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [340]
  virtual HRESULT STDMETHODCALLTYPE set_AllowAutoCorrect(VARIANT_BOOL pRet/*[in]*/) = 0; // [340]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Vertical(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [355]
  virtual HRESULT STDMETHODCALLTYPE set_Vertical(VARIANT_BOOL pRet/*[in]*/) = 0; // [355]
  virtual HRESULT STDMETHODCALLTYPE get_FELineBreak(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [358]
  virtual HRESULT STDMETHODCALLTYPE set_FELineBreak(VARIANT_BOOL pRet/*[in]*/) = 0; // [358]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_FilterLookup(unsigned_char* pRet/*[out,retval]*/) = 0; // [305]
  virtual HRESULT STDMETHODCALLTYPE set_FilterLookup(unsigned_char pRet/*[in]*/) = 0; // [305]
  virtual HRESULT STDMETHODCALLTYPE get_AutoTab(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [73]
  virtual HRESULT STDMETHODCALLTYPE set_AutoTab(VARIANT_BOOL pRet/*[in]*/) = 0; // [73]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_ScrollBars(unsigned_char* pRet/*[out,retval]*/) = 0; // [152]
  virtual HRESULT STDMETHODCALLTYPE set_ScrollBars(unsigned_char pRet/*[in]*/) = 0; // [152]
  virtual HRESULT STDMETHODCALLTYPE get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [14]
  virtual HRESULT STDMETHODCALLTYPE set_CanGrow(VARIANT_BOOL pRet/*[in]*/) = 0; // [14]
  virtual HRESULT STDMETHODCALLTYPE get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [16]
  virtual HRESULT STDMETHODCALLTYPE set_CanShrink(VARIANT_BOOL pRet/*[in]*/) = 0; // [16]
  virtual HRESULT STDMETHODCALLTYPE get_RunningSum(unsigned_char* pRet/*[out,retval]*/) = 0; // [130]
  virtual HRESULT STDMETHODCALLTYPE set_RunningSum(unsigned_char pRet/*[in]*/) = 0; // [130]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE set_BackStyle(unsigned_char pRet/*[in]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* pRet/*[out,retval]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long pRet/*[in]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_ForeColor(long* pRet/*[out,retval]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE set_ForeColor(long pRet/*[in]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE get_FontName(BSTR* pRet/*[out,retval]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE set_FontName(BSTR pRet/*[in]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE get_FontSize(short* pRet/*[out,retval]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE set_FontSize(short pRet/*[in]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE get_FontWeight(short* pRet/*[out,retval]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE set_FontWeight(short pRet/*[in]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE set_FontItalic(VARIANT_BOOL pRet/*[in]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE set_FontUnderline(VARIANT_BOOL pRet/*[in]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE set_TextFontCharSet(unsigned_char pRet/*[in]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE get_TextAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [136]
  virtual HRESULT STDMETHODCALLTYPE set_TextAlign(unsigned_char pRet/*[in]*/) = 0; // [136]
  virtual HRESULT STDMETHODCALLTYPE get_FontBold(short* pRet/*[out,retval]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE set_FontBold(short pRet/*[in]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnWidth(short* pRet/*[out,retval]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnWidth(short pRet/*[in]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnOrder(short* pRet/*[out,retval]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnOrder(short pRet/*[in]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE set_AutoLabel(VARIANT_BOOL pRet/*[in]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE set_AddColon(VARIANT_BOOL pRet/*[in]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE get_LabelX(short* pRet/*[out,retval]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE set_LabelX(short pRet/*[in]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE get_LabelY(short* pRet/*[out,retval]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE set_LabelY(short pRet/*[in]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE get_LabelAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE set_LabelAlign(unsigned_char pRet/*[in]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_Text(BSTR* pRet/*[out,retval]*/) = 0; // [267]
  virtual HRESULT STDMETHODCALLTYPE set_Text(BSTR pRet/*[in]*/) = 0; // [267]
  virtual HRESULT STDMETHODCALLTYPE get_SelText(BSTR* pRet/*[out,retval]*/) = 0; // [271]
  virtual HRESULT STDMETHODCALLTYPE set_SelText(BSTR pRet/*[in]*/) = 0; // [271]
  virtual HRESULT STDMETHODCALLTYPE get_SelStart(short* pRet/*[out,retval]*/) = 0; // [270]
  virtual HRESULT STDMETHODCALLTYPE set_SelStart(short pRet/*[in]*/) = 0; // [270]
  virtual HRESULT STDMETHODCALLTYPE get_SelLength(short* pRet/*[out,retval]*/) = 0; // [269]
  virtual HRESULT STDMETHODCALLTYPE set_SelLength(short pRet/*[in]*/) = 0; // [269]
  virtual HRESULT STDMETHODCALLTYPE get_TextAlignGeneral(short* pRet/*[out,retval]*/) = 0; // [137]
  virtual HRESULT STDMETHODCALLTYPE set_TextAlignGeneral(short pRet/*[in]*/) = 0; // [137]
  virtual HRESULT STDMETHODCALLTYPE get_Coltyp(long* pRet/*[out,retval]*/) = 0; // [139]
  virtual HRESULT STDMETHODCALLTYPE set_Coltyp(long pRet/*[in]*/) = 0; // [139]
  virtual HRESULT STDMETHODCALLTYPE get_FormatPictureText(BSTR* pRet/*[out,retval]*/) = 0; // [138]
  virtual HRESULT STDMETHODCALLTYPE set_FormatPictureText(BSTR pRet/*[in]*/) = 0; // [138]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeUpdate(BSTR pRet/*[in]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE get_AfterUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE set_AfterUpdate(BSTR pRet/*[in]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE get_OnChange(BSTR* pRet/*[out,retval]*/) = 0; // [114]
  virtual HRESULT STDMETHODCALLTYPE set_OnChange(BSTR pRet/*[in]*/) = 0; // [114]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyDown(BSTR* pRet/*[out,retval]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyDown(BSTR pRet/*[in]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyUp(BSTR* pRet/*[out,retval]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyUp(BSTR pRet/*[in]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyPress(BSTR* pRet/*[out,retval]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyPress(BSTR pRet/*[in]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE set_ReadingOrder(unsigned_char pRet/*[in]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE get_KeyboardLanguage(unsigned_char* pRet/*[out,retval]*/) = 0; // [368]
  virtual HRESULT STDMETHODCALLTYPE set_KeyboardLanguage(unsigned_char pRet/*[in]*/) = 0; // [368]
  virtual HRESULT STDMETHODCALLTYPE get_AllowedText(unsigned_char* pRet/*[out,retval]*/) = 0; // [369]
  virtual HRESULT STDMETHODCALLTYPE set_AllowedText(unsigned_char pRet/*[in]*/) = 0; // [369]
  virtual HRESULT STDMETHODCALLTYPE get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [371]
  virtual HRESULT STDMETHODCALLTYPE set_ScrollBarAlign(unsigned_char pRet/*[in]*/) = 0; // [371]
  virtual HRESULT STDMETHODCALLTYPE get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/) = 0; // [372]
  virtual HRESULT STDMETHODCALLTYPE set_NumeralShapes(unsigned_char pRet/*[in]*/) = 0; // [372]
  virtual HRESULT STDMETHODCALLTYPE get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/) = 0; // [356]
  virtual HRESULT STDMETHODCALLTYPE set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/) = 0; // [356]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/) = 0; // [379]
  virtual HRESULT STDMETHODCALLTYPE set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/) = 0; // [379]
  virtual HRESULT STDMETHODCALLTYPE get_LeftMargin(short* pRet/*[out,retval]*/) = 0; // [384]
  virtual HRESULT STDMETHODCALLTYPE set_LeftMargin(short pRet/*[in]*/) = 0; // [384]
  virtual HRESULT STDMETHODCALLTYPE get_TopMargin(short* pRet/*[out,retval]*/) = 0; // [385]
  virtual HRESULT STDMETHODCALLTYPE set_TopMargin(short pRet/*[in]*/) = 0; // [385]
  virtual HRESULT STDMETHODCALLTYPE get_LineSpacing(short* pRet/*[out,retval]*/) = 0; // [386]
  virtual HRESULT STDMETHODCALLTYPE set_LineSpacing(short pRet/*[in]*/) = 0; // [386]
  virtual HRESULT STDMETHODCALLTYPE get_RightMargin(short* pRet/*[out,retval]*/) = 0; // [388]
  virtual HRESULT STDMETHODCALLTYPE set_RightMargin(short pRet/*[in]*/) = 0; // [388]
  virtual HRESULT STDMETHODCALLTYPE get_BottomMargin(short* pRet/*[out,retval]*/) = 0; // [389]
  virtual HRESULT STDMETHODCALLTYPE set_BottomMargin(short pRet/*[in]*/) = 0; // [389]
  virtual HRESULT STDMETHODCALLTYPE get_IsHyperlink(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [396]
  virtual HRESULT STDMETHODCALLTYPE set_IsHyperlink(VARIANT_BOOL pRet/*[in]*/) = 0; // [396]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void)
  {
    Access_2k::_HyperlinkPtr ppRet;
    OLECHECK(this->get_Hyperlink(&ppRet));
    return ppRet;
  }

  Access_2k::FormatConditionsPtr __fastcall get_FormatConditions(void)
  {
    Access_2k::FormatConditionsPtr ppRet;
    OLECHECK(this->get_FormatConditions(&ppRet));
    return ppRet;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Format(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Format((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DecimalPlaces(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DecimalPlaces((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_InputMask(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_InputMask((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_DefaultValue(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IMEHold(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IMEHold((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FuriganaControl(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FuriganaControl((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_PostalAddress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_PostalAddress((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationRule(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationText((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_EnterKeyBehavior(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_EnterKeyBehavior((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AllowAutoCorrect(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AllowAutoCorrect((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Vertical(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Vertical((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FELineBreak(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FELineBreak((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_FilterLookup(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_FilterLookup((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoTab(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoTab((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ScrollBars(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ScrollBars((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_HideDuplicates(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_CanGrow(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_CanGrow((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_CanShrink(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_CanShrink((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_RunningSum(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_RunningSum((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BackStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BackColor(void)
  {
    long pRet;
    OLECHECK(this->get_BackColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_ForeColor(void)
  {
    long pRet;
    OLECHECK(this->get_ForeColor((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FontName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FontName((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_FontSize(void)
  {
    short pRet;
    OLECHECK(this->get_FontSize((short*)&pRet));
    return pRet;
  }

  short __fastcall get_FontWeight(void)
  {
    short pRet;
    OLECHECK(this->get_FontWeight((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontItalic(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontUnderline(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TextFontCharSet(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TextAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TextAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_FontBold(void)
  {
    short pRet;
    OLECHECK(this->get_FontBold((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnWidth(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnWidth((short*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnOrder(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnOrder((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHidden(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoLabel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AddColon(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelX(void)
  {
    short pRet;
    OLECHECK(this->get_LabelX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelY(void)
  {
    short pRet;
    OLECHECK(this->get_LabelY((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_LabelAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Text(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Text((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_SelText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_SelText((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_SelStart(void)
  {
    short pRet;
    OLECHECK(this->get_SelStart((short*)&pRet));
    return pRet;
  }

  short __fastcall get_SelLength(void)
  {
    short pRet;
    OLECHECK(this->get_SelLength((short*)&pRet));
    return pRet;
  }

  short __fastcall get_TextAlignGeneral(void)
  {
    short pRet;
    OLECHECK(this->get_TextAlignGeneral((short*)&pRet));
    return pRet;
  }

  long __fastcall get_Coltyp(void)
  {
    long pRet;
    OLECHECK(this->get_Coltyp((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FormatPictureText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FormatPictureText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnChange(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnChange((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyPress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ReadingOrder(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_KeyboardLanguage(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_KeyboardLanguage((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_AllowedText(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_AllowedText((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ScrollBarAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ScrollBarAlign((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_NumeralShapes(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_NumeralShapes((unsigned_char*)&pRet));
    return pRet;
  }

  Access_2k::AcImeMode __fastcall get_IMEMode(void)
  {
    Access_2k::AcImeMode pRet;
    OLECHECK(this->get_IMEMode((Access_2k::AcImeMode*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }

  Access_2k::AcImeSentenceMode __fastcall get_IMESentenceMode(void)
  {
    Access_2k::AcImeSentenceMode pRet;
    OLECHECK(this->get_IMESentenceMode((Access_2k::AcImeSentenceMode*)&pRet));
    return pRet;
  }

  short __fastcall get_LeftMargin(void)
  {
    short pRet;
    OLECHECK(this->get_LeftMargin((short*)&pRet));
    return pRet;
  }

  short __fastcall get_TopMargin(void)
  {
    short pRet;
    OLECHECK(this->get_TopMargin((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LineSpacing(void)
  {
    short pRet;
    OLECHECK(this->get_LineSpacing((short*)&pRet));
    return pRet;
  }

  short __fastcall get_RightMargin(void)
  {
    short pRet;
    OLECHECK(this->get_RightMargin((short*)&pRet));
    return pRet;
  }

  short __fastcall get_BottomMargin(void)
  {
    short pRet;
    OLECHECK(this->get_BottomMargin((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsHyperlink(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsHyperlink((VARIANT_BOOL*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   Access_2k::FormatConditionsPtr FormatConditions = {read = get_FormatConditions};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            Format = {read = get_Format, write = set_Format};
  __property   unsigned_char   DecimalPlaces = {read = get_DecimalPlaces, write = set_DecimalPlaces};
  __property   BSTR            InputMask = {read = get_InputMask, write = set_InputMask};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   VARIANT_BOOL    IMEHold = {read = get_IMEHold, write = set_IMEHold};
  __property   BSTR            FuriganaControl = {read = get_FuriganaControl, write = set_FuriganaControl};
  __property   BSTR            PostalAddress = {read = get_PostalAddress, write = set_PostalAddress};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    EnterKeyBehavior = {read = get_EnterKeyBehavior, write = set_EnterKeyBehavior};
  __property   VARIANT_BOOL    AllowAutoCorrect = {read = get_AllowAutoCorrect, write = set_AllowAutoCorrect};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Vertical = {read = get_Vertical, write = set_Vertical};
  __property   VARIANT_BOOL    FELineBreak = {read = get_FELineBreak, write = set_FELineBreak};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   unsigned_char   FilterLookup = {read = get_FilterLookup, write = set_FilterLookup};
  __property   VARIANT_BOOL    AutoTab = {read = get_AutoTab, write = set_AutoTab};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   unsigned_char   ScrollBars = {read = get_ScrollBars, write = set_ScrollBars};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   VARIANT_BOOL    CanGrow = {read = get_CanGrow, write = set_CanGrow};
  __property   VARIANT_BOOL    CanShrink = {read = get_CanShrink, write = set_CanShrink};
  __property   unsigned_char   RunningSum = {read = get_RunningSum, write = set_RunningSum};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            Text = {read = get_Text, write = set_Text};
  __property   BSTR            SelText = {read = get_SelText, write = set_SelText};
  __property   short           SelStart = {read = get_SelStart, write = set_SelStart};
  __property   short           SelLength = {read = get_SelLength, write = set_SelLength};
  __property   short           TextAlignGeneral = {read = get_TextAlignGeneral, write = set_TextAlignGeneral};
  __property   long            Coltyp = {read = get_Coltyp, write = set_Coltyp};
  __property   BSTR            FormatPictureText = {read = get_FormatPictureText, write = set_FormatPictureText};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnChange = {read = get_OnChange, write = set_OnChange};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   KeyboardLanguage = {read = get_KeyboardLanguage, write = set_KeyboardLanguage};
  __property   unsigned_char   AllowedText = {read = get_AllowedText, write = set_AllowedText};
  __property   unsigned_char   ScrollBarAlign = {read = get_ScrollBarAlign, write = set_ScrollBarAlign};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   Access_2k::AcImeMode IMEMode = {read = get_IMEMode, write = set_IMEMode};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   Access_2k::AcImeSentenceMode IMESentenceMode = {read = get_IMESentenceMode, write = set_IMESentenceMode};
  __property   short           LeftMargin = {read = get_LeftMargin, write = set_LeftMargin};
  __property   short           TopMargin = {read = get_TopMargin, write = set_TopMargin};
  __property   short           LineSpacing = {read = get_LineSpacing, write = set_LineSpacing};
  __property   short           RightMargin = {read = get_RightMargin, write = set_RightMargin};
  __property   short           BottomMargin = {read = get_BottomMargin, write = set_BottomMargin};
  __property   VARIANT_BOOL    IsHyperlink = {read = get_IsHyperlink, write = set_IsHyperlink};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _TextBoxEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4340-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _TextBoxEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE BeforeUpdate(short* Cancel/*[out]*/) = 0; // [2061]
  virtual HRESULT STDMETHODCALLTYPE AfterUpdate(void) = 0; // [2062]
  virtual HRESULT STDMETHODCALLTYPE Change(void) = 0; // [2077]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _ListBox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E95A-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _ListBox  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE Undo(void) = 0; // [2144]
  virtual HRESULT STDMETHODCALLTYPE get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                                               VARIANT* pRet/*[out,retval]*/) = 0; // [2101]
  virtual HRESULT STDMETHODCALLTYPE get_Selected(long lRow/*[in]*/, long* pRet/*[out,retval]*/) = 0; // [2113]
  virtual HRESULT STDMETHODCALLTYPE set_Selected(long lRow/*[in]*/, long pRet/*[in]*/) = 0; // [2113]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/) = 0; // [2103]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE get_ItemsSelected(Access_2k::_ItemsSelected** pRet/*[out,retval]*/) = 0; // [2137]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/) = 0; // [2181]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_ControlSource(BSTR* pRet/*[out,retval]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE set_ControlSource(BSTR pRet/*[in]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE get_RowSourceType(BSTR* pRet/*[out,retval]*/) = 0; // [93]
  virtual HRESULT STDMETHODCALLTYPE set_RowSourceType(BSTR pRet/*[in]*/) = 0; // [93]
  virtual HRESULT STDMETHODCALLTYPE get_RowSource(BSTR* pRet/*[out,retval]*/) = 0; // [91]
  virtual HRESULT STDMETHODCALLTYPE set_RowSource(BSTR pRet/*[in]*/) = 0; // [91]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnCount(short* pRet/*[out,retval]*/) = 0; // [70]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnCount(short pRet/*[in]*/) = 0; // [70]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [131]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/) = 0; // [131]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnWidths(BSTR* pRet/*[out,retval]*/) = 0; // [18]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnWidths(BSTR pRet/*[in]*/) = 0; // [18]
  virtual HRESULT STDMETHODCALLTYPE get_BoundColumn(long* pRet/*[out,retval]*/) = 0; // [13]
  virtual HRESULT STDMETHODCALLTYPE set_BoundColumn(long pRet/*[in]*/) = 0; // [13]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultValue(BSTR* pRet/*[out,retval]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE set_DefaultValue(BSTR pRet/*[in]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [357]
  virtual HRESULT STDMETHODCALLTYPE set_IMEHold(VARIANT_BOOL pRet/*[in]*/) = 0; // [357]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationRule(BSTR* pRet/*[out,retval]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationRule(BSTR pRet/*[in]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationText(BSTR* pRet/*[out,retval]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationText(BSTR pRet/*[in]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_MultiSelect(unsigned_char* pRet/*[out,retval]*/) = 0; // [293]
  virtual HRESULT STDMETHODCALLTYPE set_MultiSelect(unsigned_char pRet/*[in]*/) = 0; // [293]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* pRet/*[out,retval]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long pRet/*[in]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_ForeColor(long* pRet/*[out,retval]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE set_ForeColor(long pRet/*[in]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE get_FontName(BSTR* pRet/*[out,retval]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE set_FontName(BSTR pRet/*[in]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE get_FontSize(short* pRet/*[out,retval]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE set_FontSize(short pRet/*[in]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE get_FontWeight(short* pRet/*[out,retval]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE set_FontWeight(short pRet/*[in]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE set_FontItalic(VARIANT_BOOL pRet/*[in]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE set_FontUnderline(VARIANT_BOOL pRet/*[in]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE set_TextFontCharSet(unsigned_char pRet/*[in]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE get_FontBold(short* pRet/*[out,retval]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE set_FontBold(short pRet/*[in]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnWidth(short* pRet/*[out,retval]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnWidth(short pRet/*[in]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnOrder(short* pRet/*[out,retval]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnOrder(short pRet/*[in]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE set_AutoLabel(VARIANT_BOOL pRet/*[in]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE set_AddColon(VARIANT_BOOL pRet/*[in]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE get_LabelX(short* pRet/*[out,retval]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE set_LabelX(short pRet/*[in]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE get_LabelY(short* pRet/*[out,retval]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE set_LabelY(short pRet/*[in]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE get_LabelAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE set_LabelAlign(unsigned_char pRet/*[in]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_ListCount(long* pRet/*[out,retval]*/) = 0; // [238]
  virtual HRESULT STDMETHODCALLTYPE set_ListCount(long pRet/*[in]*/) = 0; // [238]
  virtual HRESULT STDMETHODCALLTYPE get_ListIndex(long* pRet/*[out,retval]*/) = 0; // [239]
  virtual HRESULT STDMETHODCALLTYPE set_ListIndex(long pRet/*[in]*/) = 0; // [239]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeUpdate(BSTR pRet/*[in]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE get_AfterUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE set_AfterUpdate(BSTR pRet/*[in]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyDown(BSTR* pRet/*[out,retval]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyDown(BSTR pRet/*[in]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyUp(BSTR* pRet/*[out,retval]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyUp(BSTR pRet/*[in]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyPress(BSTR* pRet/*[out,retval]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyPress(BSTR pRet/*[in]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE set_ReadingOrder(unsigned_char pRet/*[in]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [371]
  virtual HRESULT STDMETHODCALLTYPE set_ScrollBarAlign(unsigned_char pRet/*[in]*/) = 0; // [371]
  virtual HRESULT STDMETHODCALLTYPE get_TextAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [136]
  virtual HRESULT STDMETHODCALLTYPE set_TextAlign(unsigned_char pRet/*[in]*/) = 0; // [136]
  virtual HRESULT STDMETHODCALLTYPE get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/) = 0; // [372]
  virtual HRESULT STDMETHODCALLTYPE set_NumeralShapes(unsigned_char pRet/*[in]*/) = 0; // [372]
  virtual HRESULT STDMETHODCALLTYPE get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/) = 0; // [356]
  virtual HRESULT STDMETHODCALLTYPE set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/) = 0; // [356]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/) = 0; // [379]
  virtual HRESULT STDMETHODCALLTYPE set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/) = 0; // [379]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->get_Column(Index, Row, (VARIANT*)&pRet));
    return pRet;
  }

  long __fastcall get_Selected(long lRow/*[in]*/)
  {
    long pRet;
    OLECHECK(this->get_Selected(lRow, (long*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_ItemData(long Index/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->get_ItemData(Index, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  Access_2k::_ItemsSelectedPtr __fastcall get_ItemsSelected(void)
  {
    Access_2k::_ItemsSelectedPtr pRet;
    OLECHECK(this->get_ItemsSelected(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void)
  {
    Access_2k::_HyperlinkPtr ppRet;
    OLECHECK(this->get_Hyperlink(&ppRet));
    return ppRet;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_RowSourceType(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_RowSourceType((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_RowSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_RowSource((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnCount(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnCount((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHeads(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHeads((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ColumnWidths(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ColumnWidths((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_BoundColumn(void)
  {
    long pRet;
    OLECHECK(this->get_BoundColumn((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_DefaultValue(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IMEHold(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IMEHold((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationRule(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationText((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_MultiSelect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_MultiSelect((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_HideDuplicates(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  long __fastcall get_BackColor(void)
  {
    long pRet;
    OLECHECK(this->get_BackColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  long __fastcall get_ForeColor(void)
  {
    long pRet;
    OLECHECK(this->get_ForeColor((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FontName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FontName((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_FontSize(void)
  {
    short pRet;
    OLECHECK(this->get_FontSize((short*)&pRet));
    return pRet;
  }

  short __fastcall get_FontWeight(void)
  {
    short pRet;
    OLECHECK(this->get_FontWeight((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontItalic(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontUnderline(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TextFontCharSet(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_FontBold(void)
  {
    short pRet;
    OLECHECK(this->get_FontBold((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnWidth(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnWidth((short*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnOrder(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnOrder((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHidden(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoLabel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AddColon(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelX(void)
  {
    short pRet;
    OLECHECK(this->get_LabelX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelY(void)
  {
    short pRet;
    OLECHECK(this->get_LabelY((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_LabelAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_ListCount(void)
  {
    long pRet;
    OLECHECK(this->get_ListCount((long*)&pRet));
    return pRet;
  }

  long __fastcall get_ListIndex(void)
  {
    long pRet;
    OLECHECK(this->get_ListIndex((long*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyPress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ReadingOrder(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ScrollBarAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ScrollBarAlign((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TextAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TextAlign((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_NumeralShapes(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_NumeralShapes((unsigned_char*)&pRet));
    return pRet;
  }

  Access_2k::AcImeMode __fastcall get_IMEMode(void)
  {
    Access_2k::AcImeMode pRet;
    OLECHECK(this->get_IMEMode((Access_2k::AcImeMode*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }

  Access_2k::AcImeSentenceMode __fastcall get_IMESentenceMode(void)
  {
    Access_2k::AcImeSentenceMode pRet;
    OLECHECK(this->get_IMESentenceMode((Access_2k::AcImeSentenceMode*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_ItemsSelectedPtr ItemsSelected = {read = get_ItemsSelected};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            RowSourceType = {read = get_RowSourceType, write = set_RowSourceType};
  __property   BSTR            RowSource = {read = get_RowSource, write = set_RowSource};
  __property   short           ColumnCount = {read = get_ColumnCount, write = set_ColumnCount};
  __property   VARIANT_BOOL    ColumnHeads = {read = get_ColumnHeads, write = set_ColumnHeads};
  __property   BSTR            ColumnWidths = {read = get_ColumnWidths, write = set_ColumnWidths};
  __property   long            BoundColumn = {read = get_BoundColumn, write = set_BoundColumn};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   VARIANT_BOOL    IMEHold = {read = get_IMEHold, write = set_IMEHold};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   unsigned_char   MultiSelect = {read = get_MultiSelect, write = set_MultiSelect};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            ListCount = {read = get_ListCount, write = set_ListCount};
  __property   long            ListIndex = {read = get_ListIndex, write = set_ListIndex};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   ScrollBarAlign = {read = get_ScrollBarAlign, write = set_ScrollBarAlign};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   Access_2k::AcImeMode IMEMode = {read = get_IMEMode, write = set_IMEMode};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   Access_2k::AcImeSentenceMode IMESentenceMode = {read = get_IMESentenceMode, write = set_IMESentenceMode};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _ListBoxEvents
// Flags:     (16) Hidden
// GUID:      {BC9E434B-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _ListBoxEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE BeforeUpdate(short* Cancel/*[out]*/) = 0; // [2061]
  virtual HRESULT STDMETHODCALLTYPE AfterUpdate(void) = 0; // [2062]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _Combobox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E95C-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _Combobox  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE Undo(void) = 0; // [2144]
  virtual HRESULT STDMETHODCALLTYPE Dropdown(void) = 0; // [2143]
  virtual HRESULT STDMETHODCALLTYPE get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                                               VARIANT* pRet/*[out,retval]*/) = 0; // [2101]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/) = 0; // [2103]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/) = 0; // [2181]
  virtual HRESULT STDMETHODCALLTYPE get_FormatConditions(Access_2k::FormatConditions** ppRet/*[out,retval]*/) = 0; // [2203]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_ControlSource(BSTR* pRet/*[out,retval]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE set_ControlSource(BSTR pRet/*[in]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE get_Format(BSTR* pRet/*[out,retval]*/) = 0; // [38]
  virtual HRESULT STDMETHODCALLTYPE set_Format(BSTR pRet/*[in]*/) = 0; // [38]
  virtual HRESULT STDMETHODCALLTYPE get_DecimalPlaces(unsigned_char* pRet/*[out,retval]*/) = 0; // [71]
  virtual HRESULT STDMETHODCALLTYPE set_DecimalPlaces(unsigned_char pRet/*[in]*/) = 0; // [71]
  virtual HRESULT STDMETHODCALLTYPE get_InputMask(BSTR* pRet/*[out,retval]*/) = 0; // [72]
  virtual HRESULT STDMETHODCALLTYPE set_InputMask(BSTR pRet/*[in]*/) = 0; // [72]
  virtual HRESULT STDMETHODCALLTYPE get_RowSourceType(BSTR* pRet/*[out,retval]*/) = 0; // [93]
  virtual HRESULT STDMETHODCALLTYPE set_RowSourceType(BSTR pRet/*[in]*/) = 0; // [93]
  virtual HRESULT STDMETHODCALLTYPE get_RowSource(BSTR* pRet/*[out,retval]*/) = 0; // [91]
  virtual HRESULT STDMETHODCALLTYPE set_RowSource(BSTR pRet/*[in]*/) = 0; // [91]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnCount(short* pRet/*[out,retval]*/) = 0; // [70]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnCount(short pRet/*[in]*/) = 0; // [70]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [131]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/) = 0; // [131]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnWidths(BSTR* pRet/*[out,retval]*/) = 0; // [18]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnWidths(BSTR pRet/*[in]*/) = 0; // [18]
  virtual HRESULT STDMETHODCALLTYPE get_BoundColumn(long* pRet/*[out,retval]*/) = 0; // [13]
  virtual HRESULT STDMETHODCALLTYPE set_BoundColumn(long pRet/*[in]*/) = 0; // [13]
  virtual HRESULT STDMETHODCALLTYPE get_ListRows(short* pRet/*[out,retval]*/) = 0; // [153]
  virtual HRESULT STDMETHODCALLTYPE set_ListRows(short pRet/*[in]*/) = 0; // [153]
  virtual HRESULT STDMETHODCALLTYPE get_ListWidth(BSTR* pRet/*[out,retval]*/) = 0; // [154]
  virtual HRESULT STDMETHODCALLTYPE set_ListWidth(BSTR pRet/*[in]*/) = 0; // [154]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_LimitToList(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [67]
  virtual HRESULT STDMETHODCALLTYPE set_LimitToList(VARIANT_BOOL pRet/*[in]*/) = 0; // [67]
  virtual HRESULT STDMETHODCALLTYPE get_AutoExpand(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [68]
  virtual HRESULT STDMETHODCALLTYPE set_AutoExpand(VARIANT_BOOL pRet/*[in]*/) = 0; // [68]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultValue(BSTR* pRet/*[out,retval]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE set_DefaultValue(BSTR pRet/*[in]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [357]
  virtual HRESULT STDMETHODCALLTYPE set_IMEHold(VARIANT_BOOL pRet/*[in]*/) = 0; // [357]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationRule(BSTR* pRet/*[out,retval]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationRule(BSTR pRet/*[in]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationText(BSTR* pRet/*[out,retval]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationText(BSTR pRet/*[in]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_AllowAutoCorrect(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [340]
  virtual HRESULT STDMETHODCALLTYPE set_AllowAutoCorrect(VARIANT_BOOL pRet/*[in]*/) = 0; // [340]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE set_BackStyle(unsigned_char pRet/*[in]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* pRet/*[out,retval]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long pRet/*[in]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_ForeColor(long* pRet/*[out,retval]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE set_ForeColor(long pRet/*[in]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE get_FontName(BSTR* pRet/*[out,retval]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE set_FontName(BSTR pRet/*[in]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE get_FontSize(short* pRet/*[out,retval]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE set_FontSize(short pRet/*[in]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE get_FontWeight(short* pRet/*[out,retval]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE set_FontWeight(short pRet/*[in]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE set_FontItalic(VARIANT_BOOL pRet/*[in]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE set_FontUnderline(VARIANT_BOOL pRet/*[in]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE set_TextFontCharSet(unsigned_char pRet/*[in]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE get_TextAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [136]
  virtual HRESULT STDMETHODCALLTYPE set_TextAlign(unsigned_char pRet/*[in]*/) = 0; // [136]
  virtual HRESULT STDMETHODCALLTYPE get_FontBold(short* pRet/*[out,retval]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE set_FontBold(short pRet/*[in]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnWidth(short* pRet/*[out,retval]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnWidth(short pRet/*[in]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnOrder(short* pRet/*[out,retval]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnOrder(short pRet/*[in]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE set_AutoLabel(VARIANT_BOOL pRet/*[in]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE set_AddColon(VARIANT_BOOL pRet/*[in]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE get_LabelX(short* pRet/*[out,retval]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE set_LabelX(short pRet/*[in]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE get_LabelY(short* pRet/*[out,retval]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE set_LabelY(short pRet/*[in]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE get_LabelAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE set_LabelAlign(unsigned_char pRet/*[in]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_Text(BSTR* pRet/*[out,retval]*/) = 0; // [267]
  virtual HRESULT STDMETHODCALLTYPE set_Text(BSTR pRet/*[in]*/) = 0; // [267]
  virtual HRESULT STDMETHODCALLTYPE get_SelText(BSTR* pRet/*[out,retval]*/) = 0; // [271]
  virtual HRESULT STDMETHODCALLTYPE set_SelText(BSTR pRet/*[in]*/) = 0; // [271]
  virtual HRESULT STDMETHODCALLTYPE get_SelStart(short* pRet/*[out,retval]*/) = 0; // [270]
  virtual HRESULT STDMETHODCALLTYPE set_SelStart(short pRet/*[in]*/) = 0; // [270]
  virtual HRESULT STDMETHODCALLTYPE get_SelLength(short* pRet/*[out,retval]*/) = 0; // [269]
  virtual HRESULT STDMETHODCALLTYPE set_SelLength(short pRet/*[in]*/) = 0; // [269]
  virtual HRESULT STDMETHODCALLTYPE get_TextAlignGeneral(short* pRet/*[out,retval]*/) = 0; // [137]
  virtual HRESULT STDMETHODCALLTYPE set_TextAlignGeneral(short pRet/*[in]*/) = 0; // [137]
  virtual HRESULT STDMETHODCALLTYPE get_FormatPictureText(BSTR* pRet/*[out,retval]*/) = 0; // [138]
  virtual HRESULT STDMETHODCALLTYPE set_FormatPictureText(BSTR pRet/*[in]*/) = 0; // [138]
  virtual HRESULT STDMETHODCALLTYPE get_Coltyp(long* pRet/*[out,retval]*/) = 0; // [139]
  virtual HRESULT STDMETHODCALLTYPE set_Coltyp(long pRet/*[in]*/) = 0; // [139]
  virtual HRESULT STDMETHODCALLTYPE get_ListCount(long* pRet/*[out,retval]*/) = 0; // [238]
  virtual HRESULT STDMETHODCALLTYPE set_ListCount(long pRet/*[in]*/) = 0; // [238]
  virtual HRESULT STDMETHODCALLTYPE get_ListIndex(long* pRet/*[out,retval]*/) = 0; // [239]
  virtual HRESULT STDMETHODCALLTYPE set_ListIndex(long pRet/*[in]*/) = 0; // [239]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeUpdate(BSTR pRet/*[in]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE get_AfterUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE set_AfterUpdate(BSTR pRet/*[in]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE get_OnChange(BSTR* pRet/*[out,retval]*/) = 0; // [114]
  virtual HRESULT STDMETHODCALLTYPE set_OnChange(BSTR pRet/*[in]*/) = 0; // [114]
  virtual HRESULT STDMETHODCALLTYPE get_OnNotInList(BSTR* pRet/*[out,retval]*/) = 0; // [120]
  virtual HRESULT STDMETHODCALLTYPE set_OnNotInList(BSTR pRet/*[in]*/) = 0; // [120]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyDown(BSTR* pRet/*[out,retval]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyDown(BSTR pRet/*[in]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyUp(BSTR* pRet/*[out,retval]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyUp(BSTR pRet/*[in]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyPress(BSTR* pRet/*[out,retval]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyPress(BSTR pRet/*[in]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE set_ReadingOrder(unsigned_char pRet/*[in]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE get_KeyboardLanguage(unsigned_char* pRet/*[out,retval]*/) = 0; // [368]
  virtual HRESULT STDMETHODCALLTYPE set_KeyboardLanguage(unsigned_char pRet/*[in]*/) = 0; // [368]
  virtual HRESULT STDMETHODCALLTYPE get_AllowedText(unsigned_char* pRet/*[out,retval]*/) = 0; // [369]
  virtual HRESULT STDMETHODCALLTYPE set_AllowedText(unsigned_char pRet/*[in]*/) = 0; // [369]
  virtual HRESULT STDMETHODCALLTYPE get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [371]
  virtual HRESULT STDMETHODCALLTYPE set_ScrollBarAlign(unsigned_char pRet/*[in]*/) = 0; // [371]
  virtual HRESULT STDMETHODCALLTYPE get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/) = 0; // [372]
  virtual HRESULT STDMETHODCALLTYPE set_NumeralShapes(unsigned_char pRet/*[in]*/) = 0; // [372]
  virtual HRESULT STDMETHODCALLTYPE get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/) = 0; // [356]
  virtual HRESULT STDMETHODCALLTYPE set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/) = 0; // [356]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/) = 0; // [379]
  virtual HRESULT STDMETHODCALLTYPE set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/) = 0; // [379]
  virtual HRESULT STDMETHODCALLTYPE get_IsHyperlink(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [396]
  virtual HRESULT STDMETHODCALLTYPE set_IsHyperlink(VARIANT_BOOL pRet/*[in]*/) = 0; // [396]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->get_Column(Index, Row, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_ItemData(long Index/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->get_ItemData(Index, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void)
  {
    Access_2k::_HyperlinkPtr ppRet;
    OLECHECK(this->get_Hyperlink(&ppRet));
    return ppRet;
  }

  Access_2k::FormatConditionsPtr __fastcall get_FormatConditions(void)
  {
    Access_2k::FormatConditionsPtr ppRet;
    OLECHECK(this->get_FormatConditions(&ppRet));
    return ppRet;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Format(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Format((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DecimalPlaces(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DecimalPlaces((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_InputMask(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_InputMask((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_RowSourceType(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_RowSourceType((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_RowSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_RowSource((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnCount(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnCount((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHeads(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHeads((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ColumnWidths(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ColumnWidths((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_BoundColumn(void)
  {
    long pRet;
    OLECHECK(this->get_BoundColumn((long*)&pRet));
    return pRet;
  }

  short __fastcall get_ListRows(void)
  {
    short pRet;
    OLECHECK(this->get_ListRows((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ListWidth(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ListWidth((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_LimitToList(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_LimitToList((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoExpand(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoExpand((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_DefaultValue(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IMEHold(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IMEHold((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationRule(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AllowAutoCorrect(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AllowAutoCorrect((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_HideDuplicates(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BackStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BackColor(void)
  {
    long pRet;
    OLECHECK(this->get_BackColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_ForeColor(void)
  {
    long pRet;
    OLECHECK(this->get_ForeColor((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FontName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FontName((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_FontSize(void)
  {
    short pRet;
    OLECHECK(this->get_FontSize((short*)&pRet));
    return pRet;
  }

  short __fastcall get_FontWeight(void)
  {
    short pRet;
    OLECHECK(this->get_FontWeight((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontItalic(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontUnderline(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TextFontCharSet(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TextAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TextAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_FontBold(void)
  {
    short pRet;
    OLECHECK(this->get_FontBold((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnWidth(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnWidth((short*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnOrder(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnOrder((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHidden(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoLabel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AddColon(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelX(void)
  {
    short pRet;
    OLECHECK(this->get_LabelX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelY(void)
  {
    short pRet;
    OLECHECK(this->get_LabelY((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_LabelAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Text(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Text((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_SelText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_SelText((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_SelStart(void)
  {
    short pRet;
    OLECHECK(this->get_SelStart((short*)&pRet));
    return pRet;
  }

  short __fastcall get_SelLength(void)
  {
    short pRet;
    OLECHECK(this->get_SelLength((short*)&pRet));
    return pRet;
  }

  short __fastcall get_TextAlignGeneral(void)
  {
    short pRet;
    OLECHECK(this->get_TextAlignGeneral((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FormatPictureText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FormatPictureText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_Coltyp(void)
  {
    long pRet;
    OLECHECK(this->get_Coltyp((long*)&pRet));
    return pRet;
  }

  long __fastcall get_ListCount(void)
  {
    long pRet;
    OLECHECK(this->get_ListCount((long*)&pRet));
    return pRet;
  }

  long __fastcall get_ListIndex(void)
  {
    long pRet;
    OLECHECK(this->get_ListIndex((long*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnChange(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnChange((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnNotInList(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnNotInList((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyPress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ReadingOrder(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_KeyboardLanguage(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_KeyboardLanguage((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_AllowedText(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_AllowedText((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ScrollBarAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ScrollBarAlign((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_NumeralShapes(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_NumeralShapes((unsigned_char*)&pRet));
    return pRet;
  }

  Access_2k::AcImeMode __fastcall get_IMEMode(void)
  {
    Access_2k::AcImeMode pRet;
    OLECHECK(this->get_IMEMode((Access_2k::AcImeMode*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }

  Access_2k::AcImeSentenceMode __fastcall get_IMESentenceMode(void)
  {
    Access_2k::AcImeSentenceMode pRet;
    OLECHECK(this->get_IMESentenceMode((Access_2k::AcImeSentenceMode*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsHyperlink(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsHyperlink((VARIANT_BOOL*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   Access_2k::FormatConditionsPtr FormatConditions = {read = get_FormatConditions};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            Format = {read = get_Format, write = set_Format};
  __property   unsigned_char   DecimalPlaces = {read = get_DecimalPlaces, write = set_DecimalPlaces};
  __property   BSTR            InputMask = {read = get_InputMask, write = set_InputMask};
  __property   BSTR            RowSourceType = {read = get_RowSourceType, write = set_RowSourceType};
  __property   BSTR            RowSource = {read = get_RowSource, write = set_RowSource};
  __property   short           ColumnCount = {read = get_ColumnCount, write = set_ColumnCount};
  __property   VARIANT_BOOL    ColumnHeads = {read = get_ColumnHeads, write = set_ColumnHeads};
  __property   BSTR            ColumnWidths = {read = get_ColumnWidths, write = set_ColumnWidths};
  __property   long            BoundColumn = {read = get_BoundColumn, write = set_BoundColumn};
  __property   short           ListRows = {read = get_ListRows, write = set_ListRows};
  __property   BSTR            ListWidth = {read = get_ListWidth, write = set_ListWidth};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    LimitToList = {read = get_LimitToList, write = set_LimitToList};
  __property   VARIANT_BOOL    AutoExpand = {read = get_AutoExpand, write = set_AutoExpand};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   VARIANT_BOOL    IMEHold = {read = get_IMEHold, write = set_IMEHold};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    AllowAutoCorrect = {read = get_AllowAutoCorrect, write = set_AllowAutoCorrect};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            Text = {read = get_Text, write = set_Text};
  __property   BSTR            SelText = {read = get_SelText, write = set_SelText};
  __property   short           SelStart = {read = get_SelStart, write = set_SelStart};
  __property   short           SelLength = {read = get_SelLength, write = set_SelLength};
  __property   short           TextAlignGeneral = {read = get_TextAlignGeneral, write = set_TextAlignGeneral};
  __property   BSTR            FormatPictureText = {read = get_FormatPictureText, write = set_FormatPictureText};
  __property   long            Coltyp = {read = get_Coltyp, write = set_Coltyp};
  __property   long            ListCount = {read = get_ListCount, write = set_ListCount};
  __property   long            ListIndex = {read = get_ListIndex, write = set_ListIndex};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnChange = {read = get_OnChange, write = set_OnChange};
  __property   BSTR            OnNotInList = {read = get_OnNotInList, write = set_OnNotInList};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   KeyboardLanguage = {read = get_KeyboardLanguage, write = set_KeyboardLanguage};
  __property   unsigned_char   AllowedText = {read = get_AllowedText, write = set_AllowedText};
  __property   unsigned_char   ScrollBarAlign = {read = get_ScrollBarAlign, write = set_ScrollBarAlign};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   Access_2k::AcImeMode IMEMode = {read = get_IMEMode, write = set_IMEMode};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   Access_2k::AcImeSentenceMode IMESentenceMode = {read = get_IMESentenceMode, write = set_IMESentenceMode};
  __property   VARIANT_BOOL    IsHyperlink = {read = get_IsHyperlink, write = set_IsHyperlink};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _ComboBoxEvents
// Flags:     (16) Hidden
// GUID:      {BC9E434C-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _ComboBoxEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE BeforeUpdate(short* Cancel/*[out]*/) = 0; // [2061]
  virtual HRESULT STDMETHODCALLTYPE AfterUpdate(void) = 0; // [2062]
  virtual HRESULT STDMETHODCALLTYPE Change(void) = 0; // [2077]
  virtual HRESULT STDMETHODCALLTYPE NotInList(BSTR* NewData/*[in,out]*/, short* Response/*[out]*/) = 0; // [2078]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _ObjectFrame
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E95E-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _ObjectFrame  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Object(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2104]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/) = 0; // [2105]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_SizeMode(unsigned_char* pRet/*[out,retval]*/) = 0; // [89]
  virtual HRESULT STDMETHODCALLTYPE set_SizeMode(unsigned_char pRet/*[in]*/) = 0; // [89]
  virtual HRESULT STDMETHODCALLTYPE get_OLEClass(BSTR* pRet/*[out,retval]*/) = 0; // [76]
  virtual HRESULT STDMETHODCALLTYPE set_OLEClass(BSTR pRet/*[in]*/) = 0; // [76]
  virtual HRESULT STDMETHODCALLTYPE get_Item(BSTR* pRet/*[out,retval]*/) = 0; // [47]
  virtual HRESULT STDMETHODCALLTYPE set_Item(BSTR pRet/*[in]*/) = 0; // [47]
  virtual HRESULT STDMETHODCALLTYPE get_RowSourceType(BSTR* pRet/*[out,retval]*/) = 0; // [93]
  virtual HRESULT STDMETHODCALLTYPE set_RowSourceType(BSTR pRet/*[in]*/) = 0; // [93]
  virtual HRESULT STDMETHODCALLTYPE get_RowSource(BSTR* pRet/*[out,retval]*/) = 0; // [91]
  virtual HRESULT STDMETHODCALLTYPE set_RowSource(BSTR pRet/*[in]*/) = 0; // [91]
  virtual HRESULT STDMETHODCALLTYPE get_LinkChildFields(BSTR* pRet/*[out,retval]*/) = 0; // [49]
  virtual HRESULT STDMETHODCALLTYPE set_LinkChildFields(BSTR pRet/*[in]*/) = 0; // [49]
  virtual HRESULT STDMETHODCALLTYPE get_LinkMasterFields(BSTR* pRet/*[out,retval]*/) = 0; // [50]
  virtual HRESULT STDMETHODCALLTYPE set_LinkMasterFields(BSTR pRet/*[in]*/) = 0; // [50]
  virtual HRESULT STDMETHODCALLTYPE get_AutoActivate(short* pRet/*[out,retval]*/) = 0; // [101]
  virtual HRESULT STDMETHODCALLTYPE set_AutoActivate(short pRet/*[in]*/) = 0; // [101]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayType(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [272]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayType(VARIANT_BOOL pRet/*[in]*/) = 0; // [272]
  virtual HRESULT STDMETHODCALLTYPE get_UpdateOptions(short* pRet/*[out,retval]*/) = 0; // [103]
  virtual HRESULT STDMETHODCALLTYPE set_UpdateOptions(short pRet/*[in]*/) = 0; // [103]
  virtual HRESULT STDMETHODCALLTYPE get_Verb(long* pRet/*[out,retval]*/) = 0; // [102]
  virtual HRESULT STDMETHODCALLTYPE set_Verb(long pRet/*[in]*/) = 0; // [102]
  virtual HRESULT STDMETHODCALLTYPE get_OLEType(unsigned_char* pRet/*[out,retval]*/) = 0; // [276]
  virtual HRESULT STDMETHODCALLTYPE set_OLEType(unsigned_char pRet/*[in]*/) = 0; // [276]
  virtual HRESULT STDMETHODCALLTYPE get_OLETypeAllowed(unsigned_char* pRet/*[out,retval]*/) = 0; // [275]
  virtual HRESULT STDMETHODCALLTYPE set_OLETypeAllowed(unsigned_char pRet/*[in]*/) = 0; // [275]
  virtual HRESULT STDMETHODCALLTYPE get_SourceObject(BSTR* pRet/*[out,retval]*/) = 0; // [132]
  virtual HRESULT STDMETHODCALLTYPE set_SourceObject(BSTR pRet/*[in]*/) = 0; // [132]
  virtual HRESULT STDMETHODCALLTYPE get_Class(BSTR* pRet/*[out,retval]*/) = 0; // [274]
  virtual HRESULT STDMETHODCALLTYPE set_Class(BSTR pRet/*[in]*/) = 0; // [274]
  virtual HRESULT STDMETHODCALLTYPE get_SourceDoc(BSTR* pRet/*[out,retval]*/) = 0; // [133]
  virtual HRESULT STDMETHODCALLTYPE set_SourceDoc(BSTR pRet/*[in]*/) = 0; // [133]
  virtual HRESULT STDMETHODCALLTYPE get_SourceItem(BSTR* pRet/*[out,retval]*/) = 0; // [48]
  virtual HRESULT STDMETHODCALLTYPE set_SourceItem(BSTR pRet/*[in]*/) = 0; // [48]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnCount(short* pRet/*[out,retval]*/) = 0; // [70]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnCount(short pRet/*[in]*/) = 0; // [70]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [131]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/) = 0; // [131]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_OleData(VARIANT* pRet/*[out,retval]*/) = 0; // [171]
  virtual HRESULT STDMETHODCALLTYPE set_OleData(VARIANT pRet/*[in]*/) = 0; // [171]
  virtual HRESULT STDMETHODCALLTYPE get_UpdateMethod(short* pRet/*[out,retval]*/) = 0; // [142]
  virtual HRESULT STDMETHODCALLTYPE set_UpdateMethod(short pRet/*[in]*/) = 0; // [142]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE set_BackStyle(unsigned_char pRet/*[in]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* pRet/*[out,retval]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long pRet/*[in]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_Data(short* pRet/*[out,retval]*/) = 0; // [242]
  virtual HRESULT STDMETHODCALLTYPE set_Data(short pRet/*[in]*/) = 0; // [242]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectPalette(VARIANT* pRet/*[out,retval]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE set_ObjectPalette(VARIANT pRet/*[in]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE get_LpOleObject(long* pRet/*[out,retval]*/) = 0; // [172]
  virtual HRESULT STDMETHODCALLTYPE set_LpOleObject(long pRet/*[in]*/) = 0; // [172]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectVerbsCount(long* pRet/*[out,retval]*/) = 0; // [173]
  virtual HRESULT STDMETHODCALLTYPE set_ObjectVerbsCount(long pRet/*[in]*/) = 0; // [173]
  virtual HRESULT STDMETHODCALLTYPE get_Action(short* pRet/*[out,retval]*/) = 0; // [273]
  virtual HRESULT STDMETHODCALLTYPE set_Action(short pRet/*[in]*/) = 0; // [273]
  virtual HRESULT STDMETHODCALLTYPE get_Scaling(unsigned_char* pRet/*[out,retval]*/) = 0; // [88]
  virtual HRESULT STDMETHODCALLTYPE set_Scaling(unsigned_char pRet/*[in]*/) = 0; // [88]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_OnUpdated(BSTR* pRet/*[out,retval]*/) = 0; // [118]
  virtual HRESULT STDMETHODCALLTYPE set_OnUpdated(BSTR pRet/*[in]*/) = 0; // [118]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Object(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Object((LPDISPATCH*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ObjectVerbs(long Index/*[in]*/)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ObjectVerbs(Index, (BSTR*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SizeMode(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SizeMode((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OLEClass(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OLEClass((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Item(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Item((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_RowSourceType(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_RowSourceType((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_RowSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_RowSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_LinkChildFields(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_LinkChildFields((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_LinkMasterFields(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_LinkMasterFields((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_AutoActivate(void)
  {
    short pRet;
    OLECHECK(this->get_AutoActivate((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_DisplayType(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_DisplayType((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_UpdateOptions(void)
  {
    short pRet;
    OLECHECK(this->get_UpdateOptions((short*)&pRet));
    return pRet;
  }

  long __fastcall get_Verb(void)
  {
    long pRet;
    OLECHECK(this->get_Verb((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OLEType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OLEType((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OLETypeAllowed(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OLETypeAllowed((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_SourceObject(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_SourceObject((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Class(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Class((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_SourceDoc(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_SourceDoc((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_SourceItem(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_SourceItem((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnCount(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnCount((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHeads(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHeads((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OleData(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OleData((VARIANT*)&pRet));
    return pRet;
  }

  short __fastcall get_UpdateMethod(void)
  {
    short pRet;
    OLECHECK(this->get_UpdateMethod((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BackStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BackColor(void)
  {
    long pRet;
    OLECHECK(this->get_BackColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Data(void)
  {
    short pRet;
    OLECHECK(this->get_Data((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_ObjectPalette(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
    return pRet;
  }

  long __fastcall get_LpOleObject(void)
  {
    long pRet;
    OLECHECK(this->get_LpOleObject((long*)&pRet));
    return pRet;
  }

  long __fastcall get_ObjectVerbsCount(void)
  {
    long pRet;
    OLECHECK(this->get_ObjectVerbsCount((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Action(void)
  {
    short pRet;
    OLECHECK(this->get_Action((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_Scaling(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_Scaling((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnUpdated(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnUpdated((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   unsigned_char   SizeMode = {read = get_SizeMode, write = set_SizeMode};
  __property   BSTR            OLEClass = {read = get_OLEClass, write = set_OLEClass};
  __property   BSTR            Item = {read = get_Item, write = set_Item};
  __property   BSTR            RowSourceType = {read = get_RowSourceType, write = set_RowSourceType};
  __property   BSTR            RowSource = {read = get_RowSource, write = set_RowSource};
  __property   BSTR            LinkChildFields = {read = get_LinkChildFields, write = set_LinkChildFields};
  __property   BSTR            LinkMasterFields = {read = get_LinkMasterFields, write = set_LinkMasterFields};
  __property   short           AutoActivate = {read = get_AutoActivate, write = set_AutoActivate};
  __property   VARIANT_BOOL    DisplayType = {read = get_DisplayType, write = set_DisplayType};
  __property   short           UpdateOptions = {read = get_UpdateOptions, write = set_UpdateOptions};
  __property   long            Verb = {read = get_Verb, write = set_Verb};
  __property   unsigned_char   OLEType = {read = get_OLEType, write = set_OLEType};
  __property   unsigned_char   OLETypeAllowed = {read = get_OLETypeAllowed, write = set_OLETypeAllowed};
  __property   BSTR            SourceObject = {read = get_SourceObject, write = set_SourceObject};
  __property   BSTR            Class = {read = get_Class, write = set_Class};
  __property   BSTR            SourceDoc = {read = get_SourceDoc, write = set_SourceDoc};
  __property   BSTR            SourceItem = {read = get_SourceItem, write = set_SourceItem};
  __property   short           ColumnCount = {read = get_ColumnCount, write = set_ColumnCount};
  __property   VARIANT_BOOL    ColumnHeads = {read = get_ColumnHeads, write = set_ColumnHeads};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           UpdateMethod = {read = get_UpdateMethod, write = set_UpdateMethod};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Data = {read = get_Data, write = set_Data};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            LpOleObject = {read = get_LpOleObject, write = set_LpOleObject};
  __property   long            ObjectVerbsCount = {read = get_ObjectVerbsCount, write = set_ObjectVerbsCount};
  __property   short           Action = {read = get_Action, write = set_Action};
  __property   unsigned_char   Scaling = {read = get_Scaling, write = set_Scaling};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnUpdated = {read = get_OnUpdated, write = set_OnUpdated};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _ObjectFrameEvents
// Flags:     (16) Hidden
// GUID:      {BC9E434D-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _ObjectFrameEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE Updated(short* Code/*[in,out]*/) = 0; // [2076]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
};

// *********************************************************************//
// Interface: _PageBreak
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E960-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _PageBreak  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _PageBreakEvents
// Flags:     (16) Hidden
// GUID:      {BC9E434E-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _PageBreakEvents  : public IUnknown
{
public:
};

// *********************************************************************//
// Interface: _ToggleButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E962-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _ToggleButton  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE Undo(void) = 0; // [2144]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_ControlSource(BSTR* pRet/*[out,retval]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE set_ControlSource(BSTR pRet/*[in]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE get_Caption(BSTR* pRet/*[out,retval]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE set_Caption(BSTR pRet/*[in]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE get_Picture(BSTR* pRet/*[out,retval]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE set_Picture(BSTR pRet/*[in]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE get_PictureType(unsigned_char* pRet/*[out,retval]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE set_PictureType(unsigned_char pRet/*[in]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE get_PictureData(VARIANT* pRet/*[out,retval]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE set_PictureData(VARIANT pRet/*[in]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE get_OptionValue(long* pRet/*[out,retval]*/) = 0; // [58]
  virtual HRESULT STDMETHODCALLTYPE set_OptionValue(long pRet/*[in]*/) = 0; // [58]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultValue(BSTR* pRet/*[out,retval]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE set_DefaultValue(BSTR pRet/*[in]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationRule(BSTR* pRet/*[out,retval]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationRule(BSTR pRet/*[in]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationText(BSTR* pRet/*[out,retval]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationText(BSTR pRet/*[in]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [294]
  virtual HRESULT STDMETHODCALLTYPE set_TripleState(VARIANT_BOOL pRet/*[in]*/) = 0; // [294]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_ForeColor(long* pRet/*[out,retval]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE set_ForeColor(long pRet/*[in]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE get_FontName(BSTR* pRet/*[out,retval]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE set_FontName(BSTR pRet/*[in]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE get_FontSize(short* pRet/*[out,retval]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE set_FontSize(short pRet/*[in]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE get_FontWeight(short* pRet/*[out,retval]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE set_FontWeight(short pRet/*[in]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE set_FontItalic(VARIANT_BOOL pRet/*[in]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE set_FontUnderline(VARIANT_BOOL pRet/*[in]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE set_TextFontCharSet(unsigned_char pRet/*[in]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE get_FontBold(short* pRet/*[out,retval]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE set_FontBold(short pRet/*[in]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnWidth(short* pRet/*[out,retval]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnWidth(short pRet/*[in]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnOrder(short* pRet/*[out,retval]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnOrder(short pRet/*[in]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE set_AutoLabel(VARIANT_BOOL pRet/*[in]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE set_AddColon(VARIANT_BOOL pRet/*[in]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE get_LabelX(short* pRet/*[out,retval]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE set_LabelX(short pRet/*[in]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE get_LabelY(short* pRet/*[out,retval]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE set_LabelY(short pRet/*[in]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE get_LabelAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE set_LabelAlign(unsigned_char pRet/*[in]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectPalette(VARIANT* pRet/*[out,retval]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE set_ObjectPalette(VARIANT pRet/*[in]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeUpdate(BSTR pRet/*[in]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE get_AfterUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE set_AfterUpdate(BSTR pRet/*[in]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyDown(BSTR* pRet/*[out,retval]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyDown(BSTR pRet/*[in]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyUp(BSTR* pRet/*[out,retval]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyUp(BSTR pRet/*[in]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyPress(BSTR* pRet/*[out,retval]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyPress(BSTR pRet/*[in]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE set_ReadingOrder(unsigned_char pRet/*[in]*/) = 0; // [367]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Caption(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Caption((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Picture(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Picture((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PictureType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PictureData(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PictureData((VARIANT*)&pRet));
    return pRet;
  }

  long __fastcall get_OptionValue(void)
  {
    long pRet;
    OLECHECK(this->get_OptionValue((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_DefaultValue(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationRule(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationText((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TripleState(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TripleState((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_HideDuplicates(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  long __fastcall get_ForeColor(void)
  {
    long pRet;
    OLECHECK(this->get_ForeColor((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FontName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FontName((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_FontSize(void)
  {
    short pRet;
    OLECHECK(this->get_FontSize((short*)&pRet));
    return pRet;
  }

  short __fastcall get_FontWeight(void)
  {
    short pRet;
    OLECHECK(this->get_FontWeight((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontItalic(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontUnderline(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TextFontCharSet(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_FontBold(void)
  {
    short pRet;
    OLECHECK(this->get_FontBold((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnWidth(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnWidth((short*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnOrder(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnOrder((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHidden(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoLabel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AddColon(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelX(void)
  {
    short pRet;
    OLECHECK(this->get_LabelX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelY(void)
  {
    short pRet;
    OLECHECK(this->get_LabelY((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_LabelAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_ObjectPalette(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyPress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ReadingOrder(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _ToggleButtonEvents
// Flags:     (16) Hidden
// GUID:      {BC9E434F-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _ToggleButtonEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE BeforeUpdate(short* Cancel/*[out]*/) = 0; // [2061]
  virtual HRESULT STDMETHODCALLTYPE AfterUpdate(void) = 0; // [2062]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _ToggleButtonInOptionEvents
// Flags:     (16) Hidden
// GUID:      {BC9E435F-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _ToggleButtonInOptionEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _PaletteButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {9CD4A760-A6A9-11CE-A686-00AA003F0F07}
// *********************************************************************//
interface _PaletteButton  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_OptionValue(long* pRet/*[out,retval]*/) = 0; // [58]
  virtual HRESULT STDMETHODCALLTYPE set_OptionValue(long pRet/*[in]*/) = 0; // [58]
  virtual HRESULT STDMETHODCALLTYPE get_ControlSource(BSTR* pRet/*[out,retval]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE set_ControlSource(BSTR pRet/*[in]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultValue(BSTR* pRet/*[out,retval]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE set_DefaultValue(BSTR pRet/*[in]*/) = 0; // [23]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationRule(BSTR* pRet/*[out,retval]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationRule(BSTR pRet/*[in]*/) = 0; // [145]
  virtual HRESULT STDMETHODCALLTYPE get_ValidationText(BSTR* pRet/*[out,retval]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE set_ValidationText(BSTR pRet/*[in]*/) = 0; // [61]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [294]
  virtual HRESULT STDMETHODCALLTYPE set_TripleState(VARIANT_BOOL pRet/*[in]*/) = 0; // [294]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/) = 0; // [69]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE set_BackStyle(unsigned_char pRet/*[in]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* pRet/*[out,retval]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long pRet/*[in]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnWidth(short* pRet/*[out,retval]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnWidth(short pRet/*[in]*/) = 0; // [166]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnOrder(short* pRet/*[out,retval]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnOrder(short pRet/*[in]*/) = 0; // [165]
  virtual HRESULT STDMETHODCALLTYPE get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/) = 0; // [167]
  virtual HRESULT STDMETHODCALLTYPE get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE set_AutoLabel(VARIANT_BOOL pRet/*[in]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE set_AddColon(VARIANT_BOOL pRet/*[in]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE get_LabelX(short* pRet/*[out,retval]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE set_LabelX(short pRet/*[in]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE get_LabelY(short* pRet/*[out,retval]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE set_LabelY(short pRet/*[in]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE get_LabelAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE set_LabelAlign(unsigned_char pRet/*[in]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeUpdate(BSTR pRet/*[in]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE get_AfterUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE set_AfterUpdate(BSTR pRet/*[in]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyDown(BSTR* pRet/*[out,retval]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyDown(BSTR pRet/*[in]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyUp(BSTR* pRet/*[out,retval]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyUp(BSTR pRet/*[in]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyPress(BSTR* pRet/*[out,retval]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyPress(BSTR pRet/*[in]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_OptionValue(void)
  {
    long pRet;
    OLECHECK(this->get_OptionValue((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_DefaultValue(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationRule(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ValidationText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ValidationText((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TripleState(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TripleState((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_HideDuplicates(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BackStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BackColor(void)
  {
    long pRet;
    OLECHECK(this->get_BackColor((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnWidth(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnWidth((short*)&pRet));
    return pRet;
  }

  short __fastcall get_ColumnOrder(void)
  {
    short pRet;
    OLECHECK(this->get_ColumnOrder((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ColumnHidden(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoLabel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AddColon(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelX(void)
  {
    short pRet;
    OLECHECK(this->get_LabelX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelY(void)
  {
    short pRet;
    OLECHECK(this->get_LabelY((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_LabelAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyPress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _PaletteButtonEvents
// Flags:     (16) Hidden
// GUID:      {A843CCD0-6E2C-11CF-A219-00A0C90542FF}
// *********************************************************************//
interface _PaletteButtonEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE BeforeUpdate(short* Cancel/*[out]*/) = 0; // [2061]
  virtual HRESULT STDMETHODCALLTYPE AfterUpdate(void) = 0; // [2062]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
};

// *********************************************************************//
// Interface: _SubForm
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E964-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _SubForm  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/) = 0; // [2089]
  virtual HRESULT STDMETHODCALLTYPE get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/) = 0; // [2097]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_SourceObject(BSTR* pRet/*[out,retval]*/) = 0; // [132]
  virtual HRESULT STDMETHODCALLTYPE set_SourceObject(BSTR pRet/*[in]*/) = 0; // [132]
  virtual HRESULT STDMETHODCALLTYPE get_LinkChildFields(BSTR* pRet/*[out,retval]*/) = 0; // [49]
  virtual HRESULT STDMETHODCALLTYPE set_LinkChildFields(BSTR pRet/*[in]*/) = 0; // [49]
  virtual HRESULT STDMETHODCALLTYPE get_LinkMasterFields(BSTR* pRet/*[out,retval]*/) = 0; // [50]
  virtual HRESULT STDMETHODCALLTYPE set_LinkMasterFields(BSTR pRet/*[in]*/) = 0; // [50]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [14]
  virtual HRESULT STDMETHODCALLTYPE set_CanGrow(VARIANT_BOOL pRet/*[in]*/) = 0; // [14]
  virtual HRESULT STDMETHODCALLTYPE get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [16]
  virtual HRESULT STDMETHODCALLTYPE set_CanShrink(VARIANT_BOOL pRet/*[in]*/) = 0; // [16]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE set_AutoLabel(VARIANT_BOOL pRet/*[in]*/) = 0; // [57]
  virtual HRESULT STDMETHODCALLTYPE get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE set_AddColon(VARIANT_BOOL pRet/*[in]*/) = 0; // [3]
  virtual HRESULT STDMETHODCALLTYPE get_LabelX(short* pRet/*[out,retval]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE set_LabelX(short pRet/*[in]*/) = 0; // [52]
  virtual HRESULT STDMETHODCALLTYPE get_LabelY(short* pRet/*[out,retval]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE set_LabelY(short pRet/*[in]*/) = 0; // [53]
  virtual HRESULT STDMETHODCALLTYPE get_LabelAlign(unsigned_char* pRet/*[out,retval]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE set_LabelAlign(unsigned_char pRet/*[in]*/) = 0; // [51]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::AccessFormPtr __fastcall get_Form(void)
  {
    Access_2k::AccessFormPtr pRet;
    OLECHECK(this->get_Form(&pRet));
    return pRet;
  }

  Access_2k::AccessReportPtr __fastcall get_Report(void)
  {
    Access_2k::AccessReportPtr pRet;
    OLECHECK(this->get_Report(&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::Controls_Ptr __fastcall get_Controls(void)
  {
    Access_2k::Controls_Ptr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_SourceObject(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_SourceObject((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_LinkChildFields(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_LinkChildFields((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_LinkMasterFields(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_LinkMasterFields((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_CanGrow(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_CanGrow((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_CanShrink(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_CanShrink((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoLabel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AddColon(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelX(void)
  {
    short pRet;
    OLECHECK(this->get_LabelX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_LabelY(void)
  {
    short pRet;
    OLECHECK(this->get_LabelY((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_LabelAlign(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::Controls_Ptr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            SourceObject = {read = get_SourceObject, write = set_SourceObject};
  __property   BSTR            LinkChildFields = {read = get_LinkChildFields, write = set_LinkChildFields};
  __property   BSTR            LinkMasterFields = {read = get_LinkMasterFields, write = set_LinkMasterFields};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    CanGrow = {read = get_CanGrow, write = set_CanGrow};
  __property   VARIANT_BOOL    CanShrink = {read = get_CanShrink, write = set_CanShrink};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _SubFormEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4350-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _SubFormEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
};

// *********************************************************************//
// Interface: _SubReport
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E966-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _SubReport  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/) = 0; // [2089]
  virtual HRESULT STDMETHODCALLTYPE get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/) = 0; // [2097]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::AccessFormPtr __fastcall get_Form(void)
  {
    Access_2k::AccessFormPtr pRet;
    OLECHECK(this->get_Form(&pRet));
    return pRet;
  }

  Access_2k::AccessReportPtr __fastcall get_Report(void)
  {
    Access_2k::AccessReportPtr pRet;
    OLECHECK(this->get_Report(&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _SubReportEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4351-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _SubReportEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
};

// *********************************************************************//
// Interface: _CustomControl
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E968-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _CustomControl  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Object(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2104]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/) = 0; // [2105]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Goto(void) = 0; // [2023]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_ControlSource(BSTR* pRet/*[out,retval]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE set_ControlSource(BSTR pRet/*[in]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE get_OLEClass(BSTR* pRet/*[out,retval]*/) = 0; // [76]
  virtual HRESULT STDMETHODCALLTYPE set_OLEClass(BSTR pRet/*[in]*/) = 0; // [76]
  virtual HRESULT STDMETHODCALLTYPE get_Verb(long* pRet/*[out,retval]*/) = 0; // [102]
  virtual HRESULT STDMETHODCALLTYPE set_Verb(long pRet/*[in]*/) = 0; // [102]
  virtual HRESULT STDMETHODCALLTYPE get_Class(BSTR* pRet/*[out,retval]*/) = 0; // [274]
  virtual HRESULT STDMETHODCALLTYPE set_Class(BSTR pRet/*[in]*/) = 0; // [274]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE set_Locked(VARIANT_BOOL pRet/*[in]*/) = 0; // [56]
  virtual HRESULT STDMETHODCALLTYPE get_OleData(VARIANT* pRet/*[out,retval]*/) = 0; // [171]
  virtual HRESULT STDMETHODCALLTYPE set_OleData(VARIANT pRet/*[in]*/) = 0; // [171]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE set_OldBorderStyle(unsigned_char pRet/*[in]*/) = 0; // [329]
  virtual HRESULT STDMETHODCALLTYPE get_BorderColor(long* pRet/*[out,retval]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE set_BorderColor(long pRet/*[in]*/) = 0; // [8]
  virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(unsigned_char* pRet/*[out,retval]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(unsigned_char pRet/*[in]*/) = 0; // [10]
  virtual HRESULT STDMETHODCALLTYPE get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE set_BorderLineStyle(unsigned_char pRet/*[in]*/) = 0; // [11]
  virtual HRESULT STDMETHODCALLTYPE get_ControlTipText(BSTR* pRet/*[out,retval]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE set_ControlTipText(BSTR pRet/*[in]*/) = 0; // [317]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectPalette(VARIANT* pRet/*[out,retval]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE set_ObjectPalette(VARIANT pRet/*[in]*/) = 0; // [99]
  virtual HRESULT STDMETHODCALLTYPE get_LpOleObject(long* pRet/*[out,retval]*/) = 0; // [172]
  virtual HRESULT STDMETHODCALLTYPE set_LpOleObject(long pRet/*[in]*/) = 0; // [172]
  virtual HRESULT STDMETHODCALLTYPE get_ObjectVerbsCount(long* pRet/*[out,retval]*/) = 0; // [173]
  virtual HRESULT STDMETHODCALLTYPE set_ObjectVerbsCount(long pRet/*[in]*/) = 0; // [173]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_OnUpdated(BSTR* pRet/*[out,retval]*/) = 0; // [118]
  virtual HRESULT STDMETHODCALLTYPE set_OnUpdated(BSTR pRet/*[in]*/) = 0; // [118]
  virtual HRESULT STDMETHODCALLTYPE get_OnEnter(BSTR* pRet/*[out,retval]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE set_OnEnter(BSTR pRet/*[in]*/) = 0; // [222]
  virtual HRESULT STDMETHODCALLTYPE get_OnExit(BSTR* pRet/*[out,retval]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE set_OnExit(BSTR pRet/*[in]*/) = 0; // [223]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_Default(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [220]
  virtual HRESULT STDMETHODCALLTYPE set_Default(VARIANT_BOOL pRet/*[in]*/) = 0; // [220]
  virtual HRESULT STDMETHODCALLTYPE get_Cancel(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [221]
  virtual HRESULT STDMETHODCALLTYPE set_Cancel(VARIANT_BOOL pRet/*[in]*/) = 0; // [221]
  virtual HRESULT STDMETHODCALLTYPE get_Custom(BSTR* pRet/*[out,retval]*/) = 0; // [296]
  virtual HRESULT STDMETHODCALLTYPE set_Custom(BSTR pRet/*[in]*/) = 0; // [296]
  virtual HRESULT STDMETHODCALLTYPE get_About(BSTR* pRet/*[out,retval]*/) = 0; // [297]
  virtual HRESULT STDMETHODCALLTYPE set_About(BSTR pRet/*[in]*/) = 0; // [297]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Object(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Object((LPDISPATCH*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ObjectVerbs(long Index/*[in]*/)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ObjectVerbs(Index, (BSTR*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OLEClass(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OLEClass((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_Verb(void)
  {
    long pRet;
    OLECHECK(this->get_Verb((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Class(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Class((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Locked(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OleData(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OleData((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_OldBorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_BorderColor(void)
  {
    long pRet;
    OLECHECK(this->get_BorderColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderWidth(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderLineStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlTipText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_ObjectPalette(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
    return pRet;
  }

  long __fastcall get_LpOleObject(void)
  {
    long pRet;
    OLECHECK(this->get_LpOleObject((long*)&pRet));
    return pRet;
  }

  long __fastcall get_ObjectVerbsCount(void)
  {
    long pRet;
    OLECHECK(this->get_ObjectVerbsCount((long*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnUpdated(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnUpdated((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnEnter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnEnter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnExit(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnExit((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Default(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Default((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Cancel(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Cancel((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Custom(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Custom((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_About(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_About((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            OLEClass = {read = get_OLEClass, write = set_OLEClass};
  __property   long            Verb = {read = get_Verb, write = set_Verb};
  __property   BSTR            Class = {read = get_Class, write = set_Class};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            LpOleObject = {read = get_LpOleObject, write = set_LpOleObject};
  __property   long            ObjectVerbsCount = {read = get_ObjectVerbsCount, write = set_ObjectVerbsCount};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnUpdated = {read = get_OnUpdated, write = set_OnUpdated};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   VARIANT_BOOL    Default = {read = get_Default, write = set_Default};
  __property   VARIANT_BOOL    Cancel = {read = get_Cancel, write = set_Cancel};
  __property   BSTR            Custom = {read = get_Custom, write = set_Custom};
  __property   BSTR            About = {read = get_About, write = set_About};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _CustomControlEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4352-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _CustomControlEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE Updated(short* Code/*[in,out]*/) = 0; // [2076]
  virtual HRESULT STDMETHODCALLTYPE Enter(void) = 0; // [2019]
  virtual HRESULT STDMETHODCALLTYPE Exit(short* Cancel/*[out]*/) = 0; // [2075]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
};

// *********************************************************************//
// Interface: _CustomControlInReportEvents
// Flags:     (16) Hidden
// GUID:      {300471E2-7426-11CE-AB64-00AA0042B7CE}
// *********************************************************************//
interface _CustomControlInReportEvents  : public IUnknown
{
public:
};

// *********************************************************************//
// Interface: _TabControl
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E971-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _TabControl  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_OldValue(VARIANT* pRet/*[out,retval]*/) = 0; // [2102]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE SizeToFit(void) = 0; // [2151]
  virtual HRESULT STDMETHODCALLTYPE get_Pages(Access_2k::Pages** pRet/*[out,retval]*/) = 0; // [2180]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ControlType(unsigned_char* pRet/*[out,retval]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE set_ControlType(unsigned_char pRet/*[in]*/) = 0; // [21]
  virtual HRESULT STDMETHODCALLTYPE get_StatusBarText(BSTR* pRet/*[out,retval]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE set_StatusBarText(BSTR pRet/*[in]*/) = 0; // [135]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE set_Enabled(VARIANT_BOOL pRet/*[in]*/) = 0; // [25]
  virtual HRESULT STDMETHODCALLTYPE get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE set_TabStop(VARIANT_BOOL pRet/*[in]*/) = 0; // [262]
  virtual HRESULT STDMETHODCALLTYPE get_TabIndex(short* pRet/*[out,retval]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE set_TabIndex(short pRet/*[in]*/) = 0; // [261]
  virtual HRESULT STDMETHODCALLTYPE get_Left(short* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(short pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(short* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(short pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE set_BackStyle(unsigned_char pRet/*[in]*/) = 0; // [29]
  virtual HRESULT STDMETHODCALLTYPE get_MultiRow(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [348]
  virtual HRESULT STDMETHODCALLTYPE set_MultiRow(VARIANT_BOOL pRet/*[in]*/) = 0; // [348]
  virtual HRESULT STDMETHODCALLTYPE get_Style(unsigned_char* pRet/*[out,retval]*/) = 0; // [349]
  virtual HRESULT STDMETHODCALLTYPE set_Style(unsigned_char pRet/*[in]*/) = 0; // [349]
  virtual HRESULT STDMETHODCALLTYPE get_TabFixedHeight(short* pRet/*[out,retval]*/) = 0; // [350]
  virtual HRESULT STDMETHODCALLTYPE set_TabFixedHeight(short pRet/*[in]*/) = 0; // [350]
  virtual HRESULT STDMETHODCALLTYPE get_TabFixedWidth(short* pRet/*[out,retval]*/) = 0; // [351]
  virtual HRESULT STDMETHODCALLTYPE set_TabFixedWidth(short pRet/*[in]*/) = 0; // [351]
  virtual HRESULT STDMETHODCALLTYPE get_FontName(BSTR* pRet/*[out,retval]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE set_FontName(BSTR pRet/*[in]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE get_FontSize(short* pRet/*[out,retval]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE set_FontSize(short pRet/*[in]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE get_FontWeight(short* pRet/*[out,retval]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE set_FontWeight(short pRet/*[in]*/) = 0; // [37]
  virtual HRESULT STDMETHODCALLTYPE get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE set_FontItalic(VARIANT_BOOL pRet/*[in]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE set_FontUnderline(VARIANT_BOOL pRet/*[in]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE set_TextFontCharSet(unsigned_char pRet/*[in]*/) = 0; // [193]
  virtual HRESULT STDMETHODCALLTYPE get_FontBold(short* pRet/*[out,retval]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE set_FontBold(short pRet/*[in]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_Section(short* pRet/*[out,retval]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE set_Section(short pRet/*[in]*/) = 0; // [237]
  virtual HRESULT STDMETHODCALLTYPE get_ControlName(BSTR* pRet/*[out,retval]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE set_ControlName(BSTR pRet/*[in]*/) = 0; // [265]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE set_IsVisible(VARIANT_BOOL pRet/*[in]*/) = 0; // [140]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_OnChange(BSTR* pRet/*[out,retval]*/) = 0; // [114]
  virtual HRESULT STDMETHODCALLTYPE set_OnChange(BSTR pRet/*[in]*/) = 0; // [114]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyDown(BSTR* pRet/*[out,retval]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyDown(BSTR pRet/*[in]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyUp(BSTR* pRet/*[out,retval]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyUp(BSTR pRet/*[in]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyPress(BSTR* pRet/*[out,retval]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyPress(BSTR pRet/*[in]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OldValue(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OldValue((VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::PagesPtr __fastcall get_Pages(void)
  {
    Access_2k::PagesPtr pRet;
    OLECHECK(this->get_Pages(&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ControlType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_StatusBarText(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Enabled(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_TabStop(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_TabIndex(void)
  {
    short pRet;
    OLECHECK(this->get_TabIndex((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Left(void)
  {
    short pRet;
    OLECHECK(this->get_Left((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Top(void)
  {
    short pRet;
    OLECHECK(this->get_Top((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BackStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_MultiRow(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_MultiRow((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_Style(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_Style((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_TabFixedHeight(void)
  {
    short pRet;
    OLECHECK(this->get_TabFixedHeight((short*)&pRet));
    return pRet;
  }

  short __fastcall get_TabFixedWidth(void)
  {
    short pRet;
    OLECHECK(this->get_TabFixedWidth((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FontName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FontName((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_FontSize(void)
  {
    short pRet;
    OLECHECK(this->get_FontSize((short*)&pRet));
    return pRet;
  }

  short __fastcall get_FontWeight(void)
  {
    short pRet;
    OLECHECK(this->get_FontWeight((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontItalic(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FontUnderline(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TextFontCharSet(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
    return pRet;
  }

  short __fastcall get_FontBold(void)
  {
    short pRet;
    OLECHECK(this->get_FontBold((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Section(void)
  {
    short pRet;
    OLECHECK(this->get_Section((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsVisible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnChange(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnChange((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyPress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::PagesPtr Pages = {read = get_Pages};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   VARIANT_BOOL    MultiRow = {read = get_MultiRow, write = set_MultiRow};
  __property   unsigned_char   Style = {read = get_Style, write = set_Style};
  __property   short           TabFixedHeight = {read = get_TabFixedHeight, write = set_TabFixedHeight};
  __property   short           TabFixedWidth = {read = get_TabFixedWidth, write = set_TabFixedWidth};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnChange = {read = get_OnChange, write = set_OnChange};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _TabControlEvents
// Flags:     (16) Hidden
// GUID:      {3B06E972-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _TabControlEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
  virtual HRESULT STDMETHODCALLTYPE Change(void) = 0; // [2077]
};

// *********************************************************************//
// Interface: _PageEvents
// Flags:     (16) Hidden
// GUID:      {3B06E975-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _PageEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
};

// *********************************************************************//
// Interface: _Section
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDCFC-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _Section  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Children** pRet/*[out,retval]*/) = 0; // [2190]
  virtual HRESULT STDMETHODCALLTYPE get_EventProcPrefix(BSTR* pRet/*[out,retval]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE set_EventProcPrefix(BSTR pRet/*[in]*/) = 0; // [22]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_ForceNewPage(unsigned_char* pRet/*[out,retval]*/) = 0; // [151]
  virtual HRESULT STDMETHODCALLTYPE set_ForceNewPage(unsigned_char pRet/*[in]*/) = 0; // [151]
  virtual HRESULT STDMETHODCALLTYPE get_NewRowOrCol(unsigned_char* pRet/*[out,retval]*/) = 0; // [231]
  virtual HRESULT STDMETHODCALLTYPE set_NewRowOrCol(unsigned_char pRet/*[in]*/) = 0; // [231]
  virtual HRESULT STDMETHODCALLTYPE get_KeepTogether(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [75]
  virtual HRESULT STDMETHODCALLTYPE set_KeepTogether(VARIANT_BOOL pRet/*[in]*/) = 0; // [75]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE set_DisplayWhen(unsigned_char pRet/*[in]*/) = 0; // [149]
  virtual HRESULT STDMETHODCALLTYPE get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [14]
  virtual HRESULT STDMETHODCALLTYPE set_CanGrow(VARIANT_BOOL pRet/*[in]*/) = 0; // [14]
  virtual HRESULT STDMETHODCALLTYPE get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [16]
  virtual HRESULT STDMETHODCALLTYPE set_CanShrink(VARIANT_BOOL pRet/*[in]*/) = 0; // [16]
  virtual HRESULT STDMETHODCALLTYPE get_RepeatSection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [15]
  virtual HRESULT STDMETHODCALLTYPE set_RepeatSection(VARIANT_BOOL pRet/*[in]*/) = 0; // [15]
  virtual HRESULT STDMETHODCALLTYPE get_Height(short* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(short pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_BackColor(long* pRet/*[out,retval]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE set_BackColor(long pRet/*[in]*/) = 0; // [28]
  virtual HRESULT STDMETHODCALLTYPE get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE set_SpecialEffect(unsigned_char pRet/*[in]*/) = 0; // [4]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_OnFormat(BSTR* pRet/*[out,retval]*/) = 0; // [80]
  virtual HRESULT STDMETHODCALLTYPE set_OnFormat(BSTR pRet/*[in]*/) = 0; // [80]
  virtual HRESULT STDMETHODCALLTYPE get_OnPrint(BSTR* pRet/*[out,retval]*/) = 0; // [82]
  virtual HRESULT STDMETHODCALLTYPE set_OnPrint(BSTR pRet/*[in]*/) = 0; // [82]
  virtual HRESULT STDMETHODCALLTYPE get_OnRetreat(BSTR* pRet/*[out,retval]*/) = 0; // [84]
  virtual HRESULT STDMETHODCALLTYPE set_OnRetreat(BSTR pRet/*[in]*/) = 0; // [84]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_HasContinued(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [200]
  virtual HRESULT STDMETHODCALLTYPE set_HasContinued(VARIANT_BOOL pRet/*[in]*/) = 0; // [200]
  virtual HRESULT STDMETHODCALLTYPE get_WillContinue(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [201]
  virtual HRESULT STDMETHODCALLTYPE set_WillContinue(VARIANT_BOOL pRet/*[in]*/) = 0; // [201]
  virtual HRESULT STDMETHODCALLTYPE get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE set_InSelection(VARIANT_BOOL pRet/*[in]*/) = 0; // [280]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::ChildrenPtr __fastcall get_Controls(void)
  {
    Access_2k::ChildrenPtr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  BSTR __fastcall get_EventProcPrefix(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ForceNewPage(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ForceNewPage((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_NewRowOrCol(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_NewRowOrCol((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_KeepTogether(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_KeepTogether((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DisplayWhen(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_CanGrow(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_CanGrow((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_CanShrink(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_CanShrink((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_RepeatSection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_RepeatSection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Height(void)
  {
    short pRet;
    OLECHECK(this->get_Height((short*)&pRet));
    return pRet;
  }

  long __fastcall get_BackColor(void)
  {
    long pRet;
    OLECHECK(this->get_BackColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_SpecialEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnFormat(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnFormat((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnPrint(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnPrint((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnRetreat(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnRetreat((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_HasContinued(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_HasContinued((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_WillContinue(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_WillContinue((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_InSelection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ForceNewPage = {read = get_ForceNewPage, write = set_ForceNewPage};
  __property   unsigned_char   NewRowOrCol = {read = get_NewRowOrCol, write = set_NewRowOrCol};
  __property   VARIANT_BOOL    KeepTogether = {read = get_KeepTogether, write = set_KeepTogether};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    CanGrow = {read = get_CanGrow, write = set_CanGrow};
  __property   VARIANT_BOOL    CanShrink = {read = get_CanShrink, write = set_CanShrink};
  __property   VARIANT_BOOL    RepeatSection = {read = get_RepeatSection, write = set_RepeatSection};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            OnFormat = {read = get_OnFormat, write = set_OnFormat};
  __property   BSTR            OnPrint = {read = get_OnPrint, write = set_OnPrint};
  __property   BSTR            OnRetreat = {read = get_OnRetreat, write = set_OnRetreat};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   VARIANT_BOOL    HasContinued = {read = get_HasContinued, write = set_HasContinued};
  __property   VARIANT_BOOL    WillContinue = {read = get_WillContinue, write = set_WillContinue};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _SectionEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4353-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _SectionEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
};

// *********************************************************************//
// Interface: _GroupLevel
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDD27-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _GroupLevel  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE get_ControlSource(BSTR* pRet/*[out,retval]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE set_ControlSource(BSTR pRet/*[in]*/) = 0; // [27]
  virtual HRESULT STDMETHODCALLTYPE get_SortOrder(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [174]
  virtual HRESULT STDMETHODCALLTYPE set_SortOrder(VARIANT_BOOL pRet/*[in]*/) = 0; // [174]
  virtual HRESULT STDMETHODCALLTYPE get_GroupHeader(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [175]
  virtual HRESULT STDMETHODCALLTYPE set_GroupHeader(VARIANT_BOOL pRet/*[in]*/) = 0; // [175]
  virtual HRESULT STDMETHODCALLTYPE get_GroupFooter(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [176]
  virtual HRESULT STDMETHODCALLTYPE set_GroupFooter(VARIANT_BOOL pRet/*[in]*/) = 0; // [176]
  virtual HRESULT STDMETHODCALLTYPE get_GroupOn(short* pRet/*[out,retval]*/) = 0; // [177]
  virtual HRESULT STDMETHODCALLTYPE set_GroupOn(short pRet/*[in]*/) = 0; // [177]
  virtual HRESULT STDMETHODCALLTYPE get_GroupInterval(long* pRet/*[out,retval]*/) = 0; // [178]
  virtual HRESULT STDMETHODCALLTYPE set_GroupInterval(long pRet/*[in]*/) = 0; // [178]
  virtual HRESULT STDMETHODCALLTYPE get_KeepTogether(unsigned_char* pRet/*[out,retval]*/) = 0; // [75]
  virtual HRESULT STDMETHODCALLTYPE set_KeepTogether(unsigned_char pRet/*[in]*/) = 0; // [75]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  BSTR __fastcall get_ControlSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ControlSource((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_SortOrder(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_SortOrder((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_GroupHeader(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_GroupHeader((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_GroupFooter(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_GroupFooter((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_GroupOn(void)
  {
    short pRet;
    OLECHECK(this->get_GroupOn((short*)&pRet));
    return pRet;
  }

  long __fastcall get_GroupInterval(void)
  {
    long pRet;
    OLECHECK(this->get_GroupInterval((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_KeepTogether(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_KeepTogether((unsigned_char*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   VARIANT_BOOL    SortOrder = {read = get_SortOrder, write = set_SortOrder};
  __property   VARIANT_BOOL    GroupHeader = {read = get_GroupHeader, write = set_GroupHeader};
  __property   VARIANT_BOOL    GroupFooter = {read = get_GroupFooter, write = set_GroupFooter};
  __property   short           GroupOn = {read = get_GroupOn, write = set_GroupOn};
  __property   long            GroupInterval = {read = get_GroupInterval, write = set_GroupInterval};
  __property   unsigned_char   KeepTogether = {read = get_KeepTogether, write = set_KeepTogether};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _SectionInReportEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4361-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _SectionInReportEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE Format(short* Cancel/*[out]*/, short* FormatCount/*[in,out]*/) = 0; // [2079]
  virtual HRESULT STDMETHODCALLTYPE Print(short* Cancel/*[out]*/, short* PrintCount/*[in,out]*/) = 0; // [2080]
  virtual HRESULT STDMETHODCALLTYPE Retreat(void) = 0; // [2081]
};

// *********************************************************************//
// Interface: _PageHdrFtrInReportEvents
// Flags:     (16) Hidden
// GUID:      {7AD9E905-BAF8-11CE-A68A-00AA003F0F07}
// *********************************************************************//
interface _PageHdrFtrInReportEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE Format(short* Cancel/*[out]*/, short* FormatCount/*[in,out]*/) = 0; // [2079]
  virtual HRESULT STDMETHODCALLTYPE Print(short* Cancel/*[out]*/, short* PrintCount/*[in,out]*/) = 0; // [2080]
};

// *********************************************************************//
// Interface: Module
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDCFE-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface Module  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE InsertText(BSTR Text/*[in]*/) = 0; // [2093]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE AddFromString(BSTR String/*[in]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE AddFromFile(BSTR FileName/*[in]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_Lines(long Line/*[in]*/, long NumLines/*[in]*/, 
                                              BSTR* String/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_CountOfLines(long* CountOfLines/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE InsertLines(long Line/*[in]*/, BSTR String/*[in]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE DeleteLines(long StartLine/*[in]*/, long Count/*[in]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE ReplaceLine(long Line/*[in]*/, BSTR String/*[in]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_ProcStartLine(BSTR ProcName/*[in]*/, 
                                                      Vbide_2k::vbext_ProcKind ProcKind/*[in]*/, 
                                                      long* ProcStartLine/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_ProcCountLines(BSTR ProcName/*[in]*/, 
                                                       Vbide_2k::vbext_ProcKind ProcKind/*[in]*/, 
                                                       long* ProcCountLines/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_ProcBodyLine(BSTR ProcName/*[in]*/, 
                                                     Vbide_2k::vbext_ProcKind ProcKind/*[in]*/, 
                                                     long* ProcBodyLine/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_ProcOfLine(long Line/*[in]*/, 
                                                   Vbide_2k::vbext_ProcKind* pprockind/*[out]*/, 
                                                   BSTR* pbstrName/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_CountOfDeclarationLines(long* pDeclCountOfLines/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE CreateEventProc(BSTR EventName/*[in]*/, BSTR ObjectName/*[in]*/, 
                                                    long* Line/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE Find(BSTR Target/*[in]*/, long* StartLine/*[in,out]*/, 
                                         long* StartColumn/*[in,out]*/, long* EndLine/*[in,out]*/, 
                                         long* EndColumn/*[in,out]*/, 
                                         VARIANT_BOOL WholeWord/*[in,def,opt]*/, 
                                         VARIANT_BOOL MatchCase/*[in,def,opt]*/, 
                                         VARIANT_BOOL PatternSearch/*[in,def,opt]*/, 
                                         VARIANT_BOOL* pfFound/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_Type(Access_2k::AcModuleType* pRet/*[out,retval]*/) = 0; // [-1]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }

  BSTR __fastcall get_Lines(long Line/*[in]*/, long NumLines/*[in]*/)
  {
    BSTR String = 0;
    OLECHECK(this->get_Lines(Line, NumLines, (BSTR*)&String));
    return String;
  }

  long __fastcall get_CountOfLines(void)
  {
    long CountOfLines;
    OLECHECK(this->get_CountOfLines((long*)&CountOfLines));
    return CountOfLines;
  }

  long __fastcall get_ProcStartLine(BSTR ProcName/*[in]*/, Vbide_2k::vbext_ProcKind ProcKind/*[in]*/)
  {
    long ProcStartLine;
    OLECHECK(this->get_ProcStartLine(ProcName, ProcKind, (long*)&ProcStartLine));
    return ProcStartLine;
  }

  long __fastcall get_ProcCountLines(BSTR ProcName/*[in]*/, 
                                     Vbide_2k::vbext_ProcKind ProcKind/*[in]*/)
  {
    long ProcCountLines;
    OLECHECK(this->get_ProcCountLines(ProcName, ProcKind, (long*)&ProcCountLines));
    return ProcCountLines;
  }

  long __fastcall get_ProcBodyLine(BSTR ProcName/*[in]*/, Vbide_2k::vbext_ProcKind ProcKind/*[in]*/)
  {
    long ProcBodyLine;
    OLECHECK(this->get_ProcBodyLine(ProcName, ProcKind, (long*)&ProcBodyLine));
    return ProcBodyLine;
  }

  BSTR __fastcall get_ProcOfLine(long Line/*[in]*/, Vbide_2k::vbext_ProcKind* pprockind/*[out]*/)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_ProcOfLine(Line, pprockind, (BSTR*)&pbstrName));
    return pbstrName;
  }

  long __fastcall get_CountOfDeclarationLines(void)
  {
    long pDeclCountOfLines;
    OLECHECK(this->get_CountOfDeclarationLines((long*)&pDeclCountOfLines));
    return pDeclCountOfLines;
  }

  long __fastcall CreateEventProc(BSTR EventName/*[in]*/, BSTR ObjectName/*[in]*/)
  {
    long Line;
    OLECHECK(this->CreateEventProc(EventName, ObjectName, (long*)&Line));
    return Line;
  }

  VARIANT_BOOL __fastcall Find(BSTR Target/*[in]*/, long* StartLine/*[in,out]*/, 
                               long* StartColumn/*[in,out]*/, long* EndLine/*[in,out]*/, 
                               long* EndColumn/*[in,out]*/, VARIANT_BOOL WholeWord/*[in,def,opt]*/, 
                               VARIANT_BOOL MatchCase/*[in,def,opt]*/, 
                               VARIANT_BOOL PatternSearch/*[in,def,opt]*/)
  {
    VARIANT_BOOL pfFound;
    OLECHECK(this->Find(Target, StartLine, StartColumn, EndLine, EndColumn, WholeWord, MatchCase, 
                        PatternSearch, (VARIANT_BOOL*)&pfFound));
    return pfFound;
  }

  Access_2k::AcModuleType __fastcall get_Type(void)
  {
    Access_2k::AcModuleType pRet;
    OLECHECK(this->get_Type((Access_2k::AcModuleType*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   long            CountOfLines = {read = get_CountOfLines};
  __property   long            CountOfDeclarationLines = {read = get_CountOfDeclarationLines};
  __property   Access_2k::AcModuleType Type = {read = get_Type};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: Modules
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {9DD0AF42-6E28-11CF-9008-00AA0042B7CE}
// *********************************************************************//
interface Modules  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT Index/*[in]*/, 
                                             Access_2k::Module** pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::Module* __fastcall get_Item(VARIANT Index/*[in]*/)
  {
    Access_2k::Module* pRet = 0;
    OLECHECK(this->get_Item(Index, (Access_2k::Module**)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _Form
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {E5135D80-8F8D-101B-AF4E-00AA003F0F07}
// *********************************************************************//
interface _Form  : public Office_2k::IAccessible
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_FormName(BSTR* pRet/*[out,retval]*/) = 0; // [39]
  virtual HRESULT STDMETHODCALLTYPE set_FormName(BSTR pRet/*[in]*/) = 0; // [39]
  virtual HRESULT STDMETHODCALLTYPE get_RecordSource(BSTR* pRet/*[out,retval]*/) = 0; // [156]
  virtual HRESULT STDMETHODCALLTYPE set_RecordSource(BSTR pRet/*[in]*/) = 0; // [156]
  virtual HRESULT STDMETHODCALLTYPE get_Filter(BSTR* pRet/*[out,retval]*/) = 0; // [245]
  virtual HRESULT STDMETHODCALLTYPE set_Filter(BSTR pRet/*[in]*/) = 0; // [245]
  virtual HRESULT STDMETHODCALLTYPE get_FilterOn(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [332]
  virtual HRESULT STDMETHODCALLTYPE set_FilterOn(VARIANT_BOOL pRet/*[in]*/) = 0; // [332]
  virtual HRESULT STDMETHODCALLTYPE get_OrderBy(BSTR* pRet/*[out,retval]*/) = 0; // [331]
  virtual HRESULT STDMETHODCALLTYPE set_OrderBy(BSTR pRet/*[in]*/) = 0; // [331]
  virtual HRESULT STDMETHODCALLTYPE get_OrderByOn(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [336]
  virtual HRESULT STDMETHODCALLTYPE set_OrderByOn(VARIANT_BOOL pRet/*[in]*/) = 0; // [336]
  virtual HRESULT STDMETHODCALLTYPE get_AllowFilters(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [30]
  virtual HRESULT STDMETHODCALLTYPE set_AllowFilters(VARIANT_BOOL pRet/*[in]*/) = 0; // [30]
  virtual HRESULT STDMETHODCALLTYPE get_Caption(BSTR* pRet/*[out,retval]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE set_Caption(BSTR pRet/*[in]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultView(unsigned_char* pRet/*[out,retval]*/) = 0; // [147]
  virtual HRESULT STDMETHODCALLTYPE set_DefaultView(unsigned_char pRet/*[in]*/) = 0; // [147]
  virtual HRESULT STDMETHODCALLTYPE get_ViewsAllowed(unsigned_char* pRet/*[out,retval]*/) = 0; // [146]
  virtual HRESULT STDMETHODCALLTYPE set_ViewsAllowed(unsigned_char pRet/*[in]*/) = 0; // [146]
  virtual HRESULT STDMETHODCALLTYPE get_AllowEditing(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [24]
  virtual HRESULT STDMETHODCALLTYPE set_AllowEditing(VARIANT_BOOL pRet/*[in]*/) = 0; // [24]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultEditing(short* pRet/*[out,retval]*/) = 0; // [134]
  virtual HRESULT STDMETHODCALLTYPE set_DefaultEditing(short pRet/*[in]*/) = 0; // [134]
  virtual HRESULT STDMETHODCALLTYPE get_AllowEdits(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [339]
  virtual HRESULT STDMETHODCALLTYPE set_AllowEdits(VARIANT_BOOL pRet/*[in]*/) = 0; // [339]
  virtual HRESULT STDMETHODCALLTYPE get_AllowDeletions(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [292]
  virtual HRESULT STDMETHODCALLTYPE set_AllowDeletions(VARIANT_BOOL pRet/*[in]*/) = 0; // [292]
  virtual HRESULT STDMETHODCALLTYPE get_AllowAdditions(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [326]
  virtual HRESULT STDMETHODCALLTYPE set_AllowAdditions(VARIANT_BOOL pRet/*[in]*/) = 0; // [326]
  virtual HRESULT STDMETHODCALLTYPE get_DataEntry(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [338]
  virtual HRESULT STDMETHODCALLTYPE set_DataEntry(VARIANT_BOOL pRet/*[in]*/) = 0; // [338]
  virtual HRESULT STDMETHODCALLTYPE get_AllowUpdating(unsigned_char* pRet/*[out,retval]*/) = 0; // [45]
  virtual HRESULT STDMETHODCALLTYPE set_AllowUpdating(unsigned_char pRet/*[in]*/) = 0; // [45]
  virtual HRESULT STDMETHODCALLTYPE get_RecordsetType(unsigned_char* pRet/*[out,retval]*/) = 0; // [337]
  virtual HRESULT STDMETHODCALLTYPE set_RecordsetType(unsigned_char pRet/*[in]*/) = 0; // [337]
  virtual HRESULT STDMETHODCALLTYPE get_RecordLocks(unsigned_char* pRet/*[out,retval]*/) = 0; // [26]
  virtual HRESULT STDMETHODCALLTYPE set_RecordLocks(unsigned_char pRet/*[in]*/) = 0; // [26]
  virtual HRESULT STDMETHODCALLTYPE get_ScrollBars(unsigned_char* pRet/*[out,retval]*/) = 0; // [152]
  virtual HRESULT STDMETHODCALLTYPE set_ScrollBars(unsigned_char pRet/*[in]*/) = 0; // [152]
  virtual HRESULT STDMETHODCALLTYPE get_RecordSelectors(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [19]
  virtual HRESULT STDMETHODCALLTYPE set_RecordSelectors(VARIANT_BOOL pRet/*[in]*/) = 0; // [19]
  virtual HRESULT STDMETHODCALLTYPE get_NavigationButtons(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [279]
  virtual HRESULT STDMETHODCALLTYPE set_NavigationButtons(VARIANT_BOOL pRet/*[in]*/) = 0; // [279]
  virtual HRESULT STDMETHODCALLTYPE get_DividingLines(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [314]
  virtual HRESULT STDMETHODCALLTYPE set_DividingLines(VARIANT_BOOL pRet/*[in]*/) = 0; // [314]
  virtual HRESULT STDMETHODCALLTYPE get_AutoResize(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [6]
  virtual HRESULT STDMETHODCALLTYPE set_AutoResize(VARIANT_BOOL pRet/*[in]*/) = 0; // [6]
  virtual HRESULT STDMETHODCALLTYPE get_AutoCenter(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [278]
  virtual HRESULT STDMETHODCALLTYPE set_AutoCenter(VARIANT_BOOL pRet/*[in]*/) = 0; // [278]
  virtual HRESULT STDMETHODCALLTYPE get_PopUp(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [90]
  virtual HRESULT STDMETHODCALLTYPE set_PopUp(VARIANT_BOOL pRet/*[in]*/) = 0; // [90]
  virtual HRESULT STDMETHODCALLTYPE get_Modal(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [62]
  virtual HRESULT STDMETHODCALLTYPE set_Modal(VARIANT_BOOL pRet/*[in]*/) = 0; // [62]
  virtual HRESULT STDMETHODCALLTYPE get_BorderStyle(unsigned_char* pRet/*[out,retval]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE set_BorderStyle(unsigned_char pRet/*[in]*/) = 0; // [9]
  virtual HRESULT STDMETHODCALLTYPE get_ControlBox(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [97]
  virtual HRESULT STDMETHODCALLTYPE set_ControlBox(VARIANT_BOOL pRet/*[in]*/) = 0; // [97]
  virtual HRESULT STDMETHODCALLTYPE get_MinButton(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [95]
  virtual HRESULT STDMETHODCALLTYPE set_MinButton(VARIANT_BOOL pRet/*[in]*/) = 0; // [95]
  virtual HRESULT STDMETHODCALLTYPE get_MaxButton(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [94]
  virtual HRESULT STDMETHODCALLTYPE set_MaxButton(VARIANT_BOOL pRet/*[in]*/) = 0; // [94]
  virtual HRESULT STDMETHODCALLTYPE get_MinMaxButtons(unsigned_char* pRet/*[out,retval]*/) = 0; // [328]
  virtual HRESULT STDMETHODCALLTYPE set_MinMaxButtons(unsigned_char pRet/*[in]*/) = 0; // [328]
  virtual HRESULT STDMETHODCALLTYPE get_CloseButton(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [303]
  virtual HRESULT STDMETHODCALLTYPE set_CloseButton(VARIANT_BOOL pRet/*[in]*/) = 0; // [303]
  virtual HRESULT STDMETHODCALLTYPE get_WhatsThisButton(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [96]
  virtual HRESULT STDMETHODCALLTYPE set_WhatsThisButton(VARIANT_BOOL pRet/*[in]*/) = 0; // [96]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Picture(BSTR* pRet/*[out,retval]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE set_Picture(BSTR pRet/*[in]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE get_PictureType(unsigned_char* pRet/*[out,retval]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE set_PictureType(unsigned_char pRet/*[in]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE get_PictureSizeMode(unsigned_char* pRet/*[out,retval]*/) = 0; // [312]
  virtual HRESULT STDMETHODCALLTYPE set_PictureSizeMode(unsigned_char pRet/*[in]*/) = 0; // [312]
  virtual HRESULT STDMETHODCALLTYPE get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/) = 0; // [309]
  virtual HRESULT STDMETHODCALLTYPE set_PictureAlignment(unsigned_char pRet/*[in]*/) = 0; // [309]
  virtual HRESULT STDMETHODCALLTYPE get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [313]
  virtual HRESULT STDMETHODCALLTYPE set_PictureTiling(VARIANT_BOOL pRet/*[in]*/) = 0; // [313]
  virtual HRESULT STDMETHODCALLTYPE get_Cycle(unsigned_char* pRet/*[out,retval]*/) = 0; // [330]
  virtual HRESULT STDMETHODCALLTYPE set_Cycle(unsigned_char pRet/*[in]*/) = 0; // [330]
  virtual HRESULT STDMETHODCALLTYPE get_MenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [240]
  virtual HRESULT STDMETHODCALLTYPE set_MenuBar(BSTR pRet/*[in]*/) = 0; // [240]
  virtual HRESULT STDMETHODCALLTYPE get_Toolbar(BSTR* pRet/*[out,retval]*/) = 0; // [353]
  virtual HRESULT STDMETHODCALLTYPE set_Toolbar(BSTR pRet/*[in]*/) = 0; // [353]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenu(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [31]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenu(VARIANT_BOOL pRet/*[in]*/) = 0; // [31]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_GridX(short* pRet/*[out,retval]*/) = 0; // [41]
  virtual HRESULT STDMETHODCALLTYPE set_GridX(short pRet/*[in]*/) = 0; // [41]
  virtual HRESULT STDMETHODCALLTYPE get_GridY(short* pRet/*[out,retval]*/) = 0; // [42]
  virtual HRESULT STDMETHODCALLTYPE set_GridY(short pRet/*[in]*/) = 0; // [42]
  virtual HRESULT STDMETHODCALLTYPE get_LayoutForPrint(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [143]
  virtual HRESULT STDMETHODCALLTYPE set_LayoutForPrint(VARIANT_BOOL pRet/*[in]*/) = 0; // [143]
  virtual HRESULT STDMETHODCALLTYPE get_FastLaserPrinting(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [144]
  virtual HRESULT STDMETHODCALLTYPE set_FastLaserPrinting(VARIANT_BOOL pRet/*[in]*/) = 0; // [144]
  virtual HRESULT STDMETHODCALLTYPE get_HelpFile(BSTR* pRet/*[out,retval]*/) = 0; // [218]
  virtual HRESULT STDMETHODCALLTYPE set_HelpFile(BSTR pRet/*[in]*/) = 0; // [218]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_RowHeight(short* pRet/*[out,retval]*/) = 0; // [168]
  virtual HRESULT STDMETHODCALLTYPE set_RowHeight(short pRet/*[in]*/) = 0; // [168]
  virtual HRESULT STDMETHODCALLTYPE get_DatasheetFontName(BSTR* pRet/*[out,retval]*/) = 0; // [160]
  virtual HRESULT STDMETHODCALLTYPE set_DatasheetFontName(BSTR pRet/*[in]*/) = 0; // [160]
  virtual HRESULT STDMETHODCALLTYPE get_DatasheetFontHeight(short* pRet/*[out,retval]*/) = 0; // [161]
  virtual HRESULT STDMETHODCALLTYPE set_DatasheetFontHeight(short pRet/*[in]*/) = 0; // [161]
  virtual HRESULT STDMETHODCALLTYPE get_DatasheetFontWeight(short* pRet/*[out,retval]*/) = 0; // [162]
  virtual HRESULT STDMETHODCALLTYPE set_DatasheetFontWeight(short pRet/*[in]*/) = 0; // [162]
  virtual HRESULT STDMETHODCALLTYPE get_DatasheetFontItalic(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [163]
  virtual HRESULT STDMETHODCALLTYPE set_DatasheetFontItalic(VARIANT_BOOL pRet/*[in]*/) = 0; // [163]
  virtual HRESULT STDMETHODCALLTYPE get_DatasheetFontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [164]
  virtual HRESULT STDMETHODCALLTYPE set_DatasheetFontUnderline(VARIANT_BOOL pRet/*[in]*/) = 0; // [164]
  virtual HRESULT STDMETHODCALLTYPE get_TabularCharSet(unsigned_char* pRet/*[out,retval]*/) = 0; // [194]
  virtual HRESULT STDMETHODCALLTYPE set_TabularCharSet(unsigned_char pRet/*[in]*/) = 0; // [194]
  virtual HRESULT STDMETHODCALLTYPE get_DatasheetGridlinesBehavior(unsigned_char* pRet/*[out,retval]*/) = 0; // [318]
  virtual HRESULT STDMETHODCALLTYPE set_DatasheetGridlinesBehavior(unsigned_char pRet/*[in]*/) = 0; // [318]
  virtual HRESULT STDMETHODCALLTYPE get_DatasheetGridlinesColor(long* pRet/*[out,retval]*/) = 0; // [319]
  virtual HRESULT STDMETHODCALLTYPE set_DatasheetGridlinesColor(long pRet/*[in]*/) = 0; // [319]
  virtual HRESULT STDMETHODCALLTYPE get_DatasheetCellsEffect(unsigned_char* pRet/*[out,retval]*/) = 0; // [320]
  virtual HRESULT STDMETHODCALLTYPE set_DatasheetCellsEffect(unsigned_char pRet/*[in]*/) = 0; // [320]
  virtual HRESULT STDMETHODCALLTYPE get_DatasheetForeColor(long* pRet/*[out,retval]*/) = 0; // [306]
  virtual HRESULT STDMETHODCALLTYPE set_DatasheetForeColor(long pRet/*[in]*/) = 0; // [306]
  virtual HRESULT STDMETHODCALLTYPE get_ShowGrid(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [169]
  virtual HRESULT STDMETHODCALLTYPE set_ShowGrid(VARIANT_BOOL pRet/*[in]*/) = 0; // [169]
  virtual HRESULT STDMETHODCALLTYPE get_DatasheetBackColor(long* pRet/*[out,retval]*/) = 0; // [321]
  virtual HRESULT STDMETHODCALLTYPE set_DatasheetBackColor(long pRet/*[in]*/) = 0; // [321]
  virtual HRESULT STDMETHODCALLTYPE get_Hwnd(long* pRet/*[out,retval]*/) = 0; // [192]
  virtual HRESULT STDMETHODCALLTYPE set_Hwnd(long pRet/*[in]*/) = 0; // [192]
  virtual HRESULT STDMETHODCALLTYPE get_Count(short* pRet/*[out,retval]*/) = 0; // [195]
  virtual HRESULT STDMETHODCALLTYPE set_Count(short pRet/*[in]*/) = 0; // [195]
  virtual HRESULT STDMETHODCALLTYPE get_Page(long* pRet/*[out,retval]*/) = 0; // [196]
  virtual HRESULT STDMETHODCALLTYPE set_Page(long pRet/*[in]*/) = 0; // [196]
  virtual HRESULT STDMETHODCALLTYPE get_Pages(short* pRet/*[out,retval]*/) = 0; // [197]
  virtual HRESULT STDMETHODCALLTYPE set_Pages(short pRet/*[in]*/) = 0; // [197]
  virtual HRESULT STDMETHODCALLTYPE get_LogicalPageWidth(long* pRet/*[out,retval]*/) = 0; // [198]
  virtual HRESULT STDMETHODCALLTYPE set_LogicalPageWidth(long pRet/*[in]*/) = 0; // [198]
  virtual HRESULT STDMETHODCALLTYPE get_LogicalPageHeight(long* pRet/*[out,retval]*/) = 0; // [199]
  virtual HRESULT STDMETHODCALLTYPE set_LogicalPageHeight(long pRet/*[in]*/) = 0; // [199]
  virtual HRESULT STDMETHODCALLTYPE get_ZoomControl(long* pRet/*[out,retval]*/) = 0; // [217]
  virtual HRESULT STDMETHODCALLTYPE set_ZoomControl(long pRet/*[in]*/) = 0; // [217]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_Painting(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [241]
  virtual HRESULT STDMETHODCALLTYPE set_Painting(VARIANT_BOOL pRet/*[in]*/) = 0; // [241]
  virtual HRESULT STDMETHODCALLTYPE get_PrtMip(VARIANT* pRet/*[out,retval]*/) = 0; // [189]
  virtual HRESULT STDMETHODCALLTYPE set_PrtMip(VARIANT pRet/*[in]*/) = 0; // [189]
  virtual HRESULT STDMETHODCALLTYPE get_PrtDevMode(VARIANT* pRet/*[out,retval]*/) = 0; // [190]
  virtual HRESULT STDMETHODCALLTYPE set_PrtDevMode(VARIANT pRet/*[in]*/) = 0; // [190]
  virtual HRESULT STDMETHODCALLTYPE get_PrtDevNames(VARIANT* pRet/*[out,retval]*/) = 0; // [191]
  virtual HRESULT STDMETHODCALLTYPE set_PrtDevNames(VARIANT pRet/*[in]*/) = 0; // [191]
  virtual HRESULT STDMETHODCALLTYPE get_FrozenColumns(short* pRet/*[out,retval]*/) = 0; // [170]
  virtual HRESULT STDMETHODCALLTYPE set_FrozenColumns(short pRet/*[in]*/) = 0; // [170]
  virtual HRESULT STDMETHODCALLTYPE get_Bookmark(VARIANT* pRet/*[out,retval]*/) = 0; // [230]
  virtual HRESULT STDMETHODCALLTYPE set_Bookmark(VARIANT pRet/*[in]*/) = 0; // [230]
  virtual HRESULT STDMETHODCALLTYPE get_TabularFamily(unsigned_char* pRet/*[out,retval]*/) = 0; // [244]
  virtual HRESULT STDMETHODCALLTYPE set_TabularFamily(unsigned_char pRet/*[in]*/) = 0; // [244]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_PaletteSource(BSTR* pRet/*[out,retval]*/) = 0; // [98]
  virtual HRESULT STDMETHODCALLTYPE set_PaletteSource(BSTR pRet/*[in]*/) = 0; // [98]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_PaintPalette(VARIANT* pRet/*[out,retval]*/) = 0; // [100]
  virtual HRESULT STDMETHODCALLTYPE set_PaintPalette(VARIANT pRet/*[in]*/) = 0; // [100]
  virtual HRESULT STDMETHODCALLTYPE get_OnMenu(BSTR* pRet/*[out,retval]*/) = 0; // [60]
  virtual HRESULT STDMETHODCALLTYPE set_OnMenu(BSTR pRet/*[in]*/) = 0; // [60]
  virtual HRESULT STDMETHODCALLTYPE get_OpenArgs(VARIANT* pRet/*[out,retval]*/) = 0; // [284]
  virtual HRESULT STDMETHODCALLTYPE set_OpenArgs(VARIANT pRet/*[in]*/) = 0; // [284]
  virtual HRESULT STDMETHODCALLTYPE get_ConnectSynch(short* pRet/*[out,retval]*/) = 0; // [285]
  virtual HRESULT STDMETHODCALLTYPE set_ConnectSynch(short pRet/*[in]*/) = 0; // [285]
  virtual HRESULT STDMETHODCALLTYPE get_OnCurrent(BSTR* pRet/*[out,retval]*/) = 0; // [87]
  virtual HRESULT STDMETHODCALLTYPE set_OnCurrent(BSTR pRet/*[in]*/) = 0; // [87]
  virtual HRESULT STDMETHODCALLTYPE get_OnInsert(BSTR* pRet/*[out,retval]*/) = 0; // [81]
  virtual HRESULT STDMETHODCALLTYPE set_OnInsert(BSTR pRet/*[in]*/) = 0; // [81]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeInsert(BSTR* pRet/*[out,retval]*/) = 0; // [122]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeInsert(BSTR pRet/*[in]*/) = 0; // [122]
  virtual HRESULT STDMETHODCALLTYPE get_AfterInsert(BSTR* pRet/*[out,retval]*/) = 0; // [123]
  virtual HRESULT STDMETHODCALLTYPE set_AfterInsert(BSTR pRet/*[in]*/) = 0; // [123]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeUpdate(BSTR pRet/*[in]*/) = 0; // [85]
  virtual HRESULT STDMETHODCALLTYPE get_AfterUpdate(BSTR* pRet/*[out,retval]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE set_AfterUpdate(BSTR pRet/*[in]*/) = 0; // [86]
  virtual HRESULT STDMETHODCALLTYPE get_OnDirty(BSTR* pRet/*[out,retval]*/) = 0; // [375]
  virtual HRESULT STDMETHODCALLTYPE set_OnDirty(BSTR pRet/*[in]*/) = 0; // [375]
  virtual HRESULT STDMETHODCALLTYPE get_OnDelete(BSTR* pRet/*[out,retval]*/) = 0; // [79]
  virtual HRESULT STDMETHODCALLTYPE set_OnDelete(BSTR pRet/*[in]*/) = 0; // [79]
  virtual HRESULT STDMETHODCALLTYPE get_BeforeDelConfirm(BSTR* pRet/*[out,retval]*/) = 0; // [124]
  virtual HRESULT STDMETHODCALLTYPE set_BeforeDelConfirm(BSTR pRet/*[in]*/) = 0; // [124]
  virtual HRESULT STDMETHODCALLTYPE get_AfterDelConfirm(BSTR* pRet/*[out,retval]*/) = 0; // [125]
  virtual HRESULT STDMETHODCALLTYPE set_AfterDelConfirm(BSTR pRet/*[in]*/) = 0; // [125]
  virtual HRESULT STDMETHODCALLTYPE get_OnOpen(BSTR* pRet/*[out,retval]*/) = 0; // [77]
  virtual HRESULT STDMETHODCALLTYPE set_OnOpen(BSTR pRet/*[in]*/) = 0; // [77]
  virtual HRESULT STDMETHODCALLTYPE get_OnLoad(BSTR* pRet/*[out,retval]*/) = 0; // [127]
  virtual HRESULT STDMETHODCALLTYPE set_OnLoad(BSTR pRet/*[in]*/) = 0; // [127]
  virtual HRESULT STDMETHODCALLTYPE get_OnResize(BSTR* pRet/*[out,retval]*/) = 0; // [117]
  virtual HRESULT STDMETHODCALLTYPE set_OnResize(BSTR pRet/*[in]*/) = 0; // [117]
  virtual HRESULT STDMETHODCALLTYPE get_OnUnload(BSTR* pRet/*[out,retval]*/) = 0; // [128]
  virtual HRESULT STDMETHODCALLTYPE set_OnUnload(BSTR pRet/*[in]*/) = 0; // [128]
  virtual HRESULT STDMETHODCALLTYPE get_OnClose(BSTR* pRet/*[out,retval]*/) = 0; // [78]
  virtual HRESULT STDMETHODCALLTYPE set_OnClose(BSTR pRet/*[in]*/) = 0; // [78]
  virtual HRESULT STDMETHODCALLTYPE get_OnActivate(BSTR* pRet/*[out,retval]*/) = 0; // [112]
  virtual HRESULT STDMETHODCALLTYPE set_OnActivate(BSTR pRet/*[in]*/) = 0; // [112]
  virtual HRESULT STDMETHODCALLTYPE get_OnDeactivate(BSTR* pRet/*[out,retval]*/) = 0; // [113]
  virtual HRESULT STDMETHODCALLTYPE set_OnDeactivate(BSTR pRet/*[in]*/) = 0; // [113]
  virtual HRESULT STDMETHODCALLTYPE get_OnGotFocus(BSTR* pRet/*[out,retval]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE set_OnGotFocus(BSTR pRet/*[in]*/) = 0; // [115]
  virtual HRESULT STDMETHODCALLTYPE get_OnLostFocus(BSTR* pRet/*[out,retval]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE set_OnLostFocus(BSTR pRet/*[in]*/) = 0; // [116]
  virtual HRESULT STDMETHODCALLTYPE get_OnClick(BSTR* pRet/*[out,retval]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE set_OnClick(BSTR pRet/*[in]*/) = 0; // [126]
  virtual HRESULT STDMETHODCALLTYPE get_OnDblClick(BSTR* pRet/*[out,retval]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE set_OnDblClick(BSTR pRet/*[in]*/) = 0; // [224]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseDown(BSTR* pRet/*[out,retval]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseDown(BSTR pRet/*[in]*/) = 0; // [107]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseMove(BSTR* pRet/*[out,retval]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseMove(BSTR pRet/*[in]*/) = 0; // [109]
  virtual HRESULT STDMETHODCALLTYPE get_OnMouseUp(BSTR* pRet/*[out,retval]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE set_OnMouseUp(BSTR pRet/*[in]*/) = 0; // [108]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyDown(BSTR* pRet/*[out,retval]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyDown(BSTR pRet/*[in]*/) = 0; // [104]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyUp(BSTR* pRet/*[out,retval]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyUp(BSTR pRet/*[in]*/) = 0; // [105]
  virtual HRESULT STDMETHODCALLTYPE get_OnKeyPress(BSTR* pRet/*[out,retval]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE set_OnKeyPress(BSTR pRet/*[in]*/) = 0; // [106]
  virtual HRESULT STDMETHODCALLTYPE get_KeyPreview(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [327]
  virtual HRESULT STDMETHODCALLTYPE set_KeyPreview(VARIANT_BOOL pRet/*[in]*/) = 0; // [327]
  virtual HRESULT STDMETHODCALLTYPE get_OnError(BSTR* pRet/*[out,retval]*/) = 0; // [119]
  virtual HRESULT STDMETHODCALLTYPE set_OnError(BSTR pRet/*[in]*/) = 0; // [119]
  virtual HRESULT STDMETHODCALLTYPE get_OnFilter(BSTR* pRet/*[out,retval]*/) = 0; // [333]
  virtual HRESULT STDMETHODCALLTYPE set_OnFilter(BSTR pRet/*[in]*/) = 0; // [333]
  virtual HRESULT STDMETHODCALLTYPE get_OnApplyFilter(BSTR* pRet/*[out,retval]*/) = 0; // [334]
  virtual HRESULT STDMETHODCALLTYPE set_OnApplyFilter(BSTR pRet/*[in]*/) = 0; // [334]
  virtual HRESULT STDMETHODCALLTYPE get_OnTimer(BSTR* pRet/*[out,retval]*/) = 0; // [110]
  virtual HRESULT STDMETHODCALLTYPE set_OnTimer(BSTR pRet/*[in]*/) = 0; // [110]
  virtual HRESULT STDMETHODCALLTYPE get_TimerInterval(long* pRet/*[out,retval]*/) = 0; // [111]
  virtual HRESULT STDMETHODCALLTYPE set_TimerInterval(long pRet/*[in]*/) = 0; // [111]
  virtual HRESULT STDMETHODCALLTYPE get_Dirty(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [286]
  virtual HRESULT STDMETHODCALLTYPE set_Dirty(VARIANT_BOOL pRet/*[in]*/) = 0; // [286]
  virtual HRESULT STDMETHODCALLTYPE get_WindowWidth(short* pRet/*[out,retval]*/) = 0; // [287]
  virtual HRESULT STDMETHODCALLTYPE set_WindowWidth(short pRet/*[in]*/) = 0; // [287]
  virtual HRESULT STDMETHODCALLTYPE get_WindowHeight(short* pRet/*[out,retval]*/) = 0; // [288]
  virtual HRESULT STDMETHODCALLTYPE set_WindowHeight(short pRet/*[in]*/) = 0; // [288]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentView(short* pRet/*[out,retval]*/) = 0; // [289]
  virtual HRESULT STDMETHODCALLTYPE set_CurrentView(short pRet/*[in]*/) = 0; // [289]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentSectionTop(short* pRet/*[out,retval]*/) = 0; // [291]
  virtual HRESULT STDMETHODCALLTYPE set_CurrentSectionTop(short pRet/*[in]*/) = 0; // [291]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentSectionLeft(short* pRet/*[out,retval]*/) = 0; // [290]
  virtual HRESULT STDMETHODCALLTYPE set_CurrentSectionLeft(short pRet/*[in]*/) = 0; // [290]
  virtual HRESULT STDMETHODCALLTYPE get_SelLeft(long* pRet/*[out,retval]*/) = 0; // [298]
  virtual HRESULT STDMETHODCALLTYPE set_SelLeft(long pRet/*[in]*/) = 0; // [298]
  virtual HRESULT STDMETHODCALLTYPE get_SelTop(long* pRet/*[out,retval]*/) = 0; // [299]
  virtual HRESULT STDMETHODCALLTYPE set_SelTop(long pRet/*[in]*/) = 0; // [299]
  virtual HRESULT STDMETHODCALLTYPE get_SelWidth(long* pRet/*[out,retval]*/) = 0; // [300]
  virtual HRESULT STDMETHODCALLTYPE set_SelWidth(long pRet/*[in]*/) = 0; // [300]
  virtual HRESULT STDMETHODCALLTYPE get_SelHeight(long* pRet/*[out,retval]*/) = 0; // [301]
  virtual HRESULT STDMETHODCALLTYPE set_SelHeight(long pRet/*[in]*/) = 0; // [301]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentRecord(long* pRet/*[out,retval]*/) = 0; // [302]
  virtual HRESULT STDMETHODCALLTYPE set_CurrentRecord(long pRet/*[in]*/) = 0; // [302]
  virtual HRESULT STDMETHODCALLTYPE get_PictureData(VARIANT* pRet/*[out,retval]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE set_PictureData(VARIANT pRet/*[in]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE get_InsideHeight(long* pRet/*[out,retval]*/) = 0; // [315]
  virtual HRESULT STDMETHODCALLTYPE set_InsideHeight(long pRet/*[in]*/) = 0; // [315]
  virtual HRESULT STDMETHODCALLTYPE get_InsideWidth(long* pRet/*[out,retval]*/) = 0; // [316]
  virtual HRESULT STDMETHODCALLTYPE set_InsideWidth(long pRet/*[in]*/) = 0; // [316]
  virtual HRESULT STDMETHODCALLTYPE get_PicturePalette(VARIANT* pRet/*[out,retval]*/) = 0; // [311]
  virtual HRESULT STDMETHODCALLTYPE set_PicturePalette(VARIANT pRet/*[in]*/) = 0; // [311]
  virtual HRESULT STDMETHODCALLTYPE get_HasModule(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [342]
  virtual HRESULT STDMETHODCALLTYPE set_HasModule(VARIANT_BOOL pRet/*[in]*/) = 0; // [342]
  virtual HRESULT STDMETHODCALLTYPE get_acHiddenCurrentPage(long* pRet/*[out,retval]*/) = 0; // [365]
  virtual HRESULT STDMETHODCALLTYPE set_acHiddenCurrentPage(long pRet/*[in]*/) = 0; // [365]
  virtual HRESULT STDMETHODCALLTYPE get_Orientation(unsigned_char* pRet/*[out,retval]*/) = 0; // [370]
  virtual HRESULT STDMETHODCALLTYPE set_Orientation(unsigned_char pRet/*[in]*/) = 0; // [370]
  virtual HRESULT STDMETHODCALLTYPE get_AllowDesignChanges(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [373]
  virtual HRESULT STDMETHODCALLTYPE set_AllowDesignChanges(VARIANT_BOOL pRet/*[in]*/) = 0; // [373]
  virtual HRESULT STDMETHODCALLTYPE get_ServerFilter(BSTR* pRet/*[out,retval]*/) = 0; // [246]
  virtual HRESULT STDMETHODCALLTYPE set_ServerFilter(BSTR pRet/*[in]*/) = 0; // [246]
  virtual HRESULT STDMETHODCALLTYPE get_ServerFilterByForm(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [247]
  virtual HRESULT STDMETHODCALLTYPE set_ServerFilterByForm(VARIANT_BOOL pRet/*[in]*/) = 0; // [247]
  virtual HRESULT STDMETHODCALLTYPE get_MaxRecords(long* pRet/*[out,retval]*/) = 0; // [361]
  virtual HRESULT STDMETHODCALLTYPE set_MaxRecords(long pRet/*[in]*/) = 0; // [361]
  virtual HRESULT STDMETHODCALLTYPE get_UniqueTable(BSTR* pRet/*[out,retval]*/) = 0; // [65]
  virtual HRESULT STDMETHODCALLTYPE set_UniqueTable(BSTR pRet/*[in]*/) = 0; // [65]
  virtual HRESULT STDMETHODCALLTYPE get_ResyncCommand(BSTR* pRet/*[out,retval]*/) = 0; // [64]
  virtual HRESULT STDMETHODCALLTYPE set_ResyncCommand(BSTR pRet/*[in]*/) = 0; // [64]
  virtual HRESULT STDMETHODCALLTYPE get_InputParameters(BSTR* pRet/*[out,retval]*/) = 0; // [66]
  virtual HRESULT STDMETHODCALLTYPE set_InputParameters(BSTR pRet/*[in]*/) = 0; // [66]
  virtual HRESULT STDMETHODCALLTYPE get_MaxRecButton(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [63]
  virtual HRESULT STDMETHODCALLTYPE set_MaxRecButton(VARIANT_BOOL pRet/*[in]*/) = 0; // [63]
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_NewRecord(short* pRet/*[out,retval]*/) = 0; // [2147]
  virtual HRESULT STDMETHODCALLTYPE Undo(void) = 0; // [2145]
  virtual HRESULT STDMETHODCALLTYPE get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/) = 0; // [2006]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultControl(long ControlType/*[in]*/, 
                                                       Access_2k::AccessControl** pRet/*[out,retval]*/) = 0; // [2150]
  virtual HRESULT STDMETHODCALLTYPE get_Dynaset(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2085]
  virtual HRESULT STDMETHODCALLTYPE get_RecordsetClone(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2086]
  virtual HRESULT STDMETHODCALLTYPE get_Recordset(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2196]
  virtual HRESULT STDMETHODCALLTYPE _set_Recordset(LPDISPATCH pRet/*[in]*/) = 0; // [2196]
  virtual HRESULT STDMETHODCALLTYPE get_Section(VARIANT Index/*[in]*/, 
                                                Access_2k::AccessSection** pRet/*[out,retval]*/) = 0; // [2088]
  virtual HRESULT STDMETHODCALLTYPE get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/) = 0; // [2089]
  virtual HRESULT STDMETHODCALLTYPE get_Module(Access_2k::Module** pRet/*[out,retval]*/) = 0; // [2090]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE get_ConnectControl(Access_2k::AccessControl** pRet/*[out,retval]*/) = 0; // [2092]
  virtual HRESULT STDMETHODCALLTYPE Recalc(void) = 0; // [2017]
  virtual HRESULT STDMETHODCALLTYPE Requery(void) = 0; // [2018]
  virtual HRESULT STDMETHODCALLTYPE Refresh(void) = 0; // [-550]
  virtual HRESULT STDMETHODCALLTYPE Repaint(void) = 0; // [2020]
  virtual HRESULT STDMETHODCALLTYPE GoToPage(long PageNumber/*[in]*/, long Right/*[in,def,opt]*/, 
                                             long Down/*[in,def,opt]*/) = 0; // [2021]
  virtual HRESULT STDMETHODCALLTYPE SetFocus(void) = 0; // [2022]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE get_SubdatasheetHeight(short* pRet/*[out,retval]*/) = 0; // [387]
  virtual HRESULT STDMETHODCALLTYPE set_SubdatasheetHeight(short pRet/*[in]*/) = 0; // [387]
  virtual HRESULT STDMETHODCALLTYPE get_SubdatasheetExpanded(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [390]
  virtual HRESULT STDMETHODCALLTYPE set_SubdatasheetExpanded(VARIANT_BOOL pRet/*[in]*/) = 0; // [390]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  BSTR __fastcall get_FormName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FormName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_RecordSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_RecordSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Filter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Filter((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FilterOn(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FilterOn((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OrderBy(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OrderBy((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_OrderByOn(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_OrderByOn((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AllowFilters(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AllowFilters((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Caption(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Caption((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DefaultView(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DefaultView((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ViewsAllowed(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ViewsAllowed((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AllowEditing(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AllowEditing((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_DefaultEditing(void)
  {
    short pRet;
    OLECHECK(this->get_DefaultEditing((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AllowEdits(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AllowEdits((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AllowDeletions(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AllowDeletions((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AllowAdditions(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AllowAdditions((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_DataEntry(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_DataEntry((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_AllowUpdating(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_AllowUpdating((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_RecordsetType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_RecordsetType((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_RecordLocks(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_RecordLocks((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_ScrollBars(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_ScrollBars((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_RecordSelectors(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_RecordSelectors((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_NavigationButtons(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_NavigationButtons((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_DividingLines(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_DividingLines((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoResize(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoResize((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AutoCenter(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AutoCenter((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_PopUp(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_PopUp((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Modal(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Modal((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_BorderStyle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ControlBox(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ControlBox((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_MinButton(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_MinButton((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_MaxButton(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_MaxButton((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_MinMaxButtons(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_MinMaxButtons((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_CloseButton(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_CloseButton((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_WhatsThisButton(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_WhatsThisButton((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Picture(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Picture((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PictureType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PictureSizeMode(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PictureSizeMode((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PictureAlignment(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PictureAlignment((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_PictureTiling(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_PictureTiling((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_Cycle(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_Cycle((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_MenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_MenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Toolbar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Toolbar((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ShortcutMenu(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ShortcutMenu((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_GridX(void)
  {
    short pRet;
    OLECHECK(this->get_GridX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_GridY(void)
  {
    short pRet;
    OLECHECK(this->get_GridY((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_LayoutForPrint(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_LayoutForPrint((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FastLaserPrinting(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FastLaserPrinting((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_HelpFile(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_HelpFile((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  short __fastcall get_RowHeight(void)
  {
    short pRet;
    OLECHECK(this->get_RowHeight((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_DatasheetFontName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_DatasheetFontName((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_DatasheetFontHeight(void)
  {
    short pRet;
    OLECHECK(this->get_DatasheetFontHeight((short*)&pRet));
    return pRet;
  }

  short __fastcall get_DatasheetFontWeight(void)
  {
    short pRet;
    OLECHECK(this->get_DatasheetFontWeight((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_DatasheetFontItalic(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_DatasheetFontItalic((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_DatasheetFontUnderline(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_DatasheetFontUnderline((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TabularCharSet(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TabularCharSet((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DatasheetGridlinesBehavior(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DatasheetGridlinesBehavior((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_DatasheetGridlinesColor(void)
  {
    long pRet;
    OLECHECK(this->get_DatasheetGridlinesColor((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DatasheetCellsEffect(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DatasheetCellsEffect((unsigned_char*)&pRet));
    return pRet;
  }

  long __fastcall get_DatasheetForeColor(void)
  {
    long pRet;
    OLECHECK(this->get_DatasheetForeColor((long*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ShowGrid(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ShowGrid((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  long __fastcall get_DatasheetBackColor(void)
  {
    long pRet;
    OLECHECK(this->get_DatasheetBackColor((long*)&pRet));
    return pRet;
  }

  long __fastcall get_Hwnd(void)
  {
    long pRet;
    OLECHECK(this->get_Hwnd((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Count(void)
  {
    short pRet;
    OLECHECK(this->get_Count((short*)&pRet));
    return pRet;
  }

  long __fastcall get_Page(void)
  {
    long pRet;
    OLECHECK(this->get_Page((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Pages(void)
  {
    short pRet;
    OLECHECK(this->get_Pages((short*)&pRet));
    return pRet;
  }

  long __fastcall get_LogicalPageWidth(void)
  {
    long pRet;
    OLECHECK(this->get_LogicalPageWidth((long*)&pRet));
    return pRet;
  }

  long __fastcall get_LogicalPageHeight(void)
  {
    long pRet;
    OLECHECK(this->get_LogicalPageHeight((long*)&pRet));
    return pRet;
  }

  long __fastcall get_ZoomControl(void)
  {
    long pRet;
    OLECHECK(this->get_ZoomControl((long*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Painting(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Painting((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PrtMip(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PrtMip((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PrtDevMode(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PrtDevMode((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PrtDevNames(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PrtDevNames((VARIANT*)&pRet));
    return pRet;
  }

  short __fastcall get_FrozenColumns(void)
  {
    short pRet;
    OLECHECK(this->get_FrozenColumns((short*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_Bookmark(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Bookmark((VARIANT*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_TabularFamily(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_TabularFamily((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_PaletteSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_PaletteSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PaintPalette(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PaintPalette((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMenu(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMenu((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_OpenArgs(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_OpenArgs((VARIANT*)&pRet));
    return pRet;
  }

  short __fastcall get_ConnectSynch(void)
  {
    short pRet;
    OLECHECK(this->get_ConnectSynch((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnCurrent(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnCurrent((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnInsert(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnInsert((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeInsert(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeInsert((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterInsert(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterInsert((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterUpdate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDirty(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDirty((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDelete(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDelete((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_BeforeDelConfirm(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_BeforeDelConfirm((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_AfterDelConfirm(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_AfterDelConfirm((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnOpen(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnOpen((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLoad(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLoad((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnResize(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnResize((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnUnload(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnUnload((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClose(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClose((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnActivate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnActivate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDeactivate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDeactivate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnGotFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnLostFocus(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDblClick(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseMove(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMouseUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyDown(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyUp(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnKeyPress(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_KeyPreview(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_KeyPreview((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnError(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnError((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnFilter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnFilter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnApplyFilter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnApplyFilter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnTimer(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnTimer((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_TimerInterval(void)
  {
    long pRet;
    OLECHECK(this->get_TimerInterval((long*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Dirty(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Dirty((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_WindowWidth(void)
  {
    short pRet;
    OLECHECK(this->get_WindowWidth((short*)&pRet));
    return pRet;
  }

  short __fastcall get_WindowHeight(void)
  {
    short pRet;
    OLECHECK(this->get_WindowHeight((short*)&pRet));
    return pRet;
  }

  short __fastcall get_CurrentView(void)
  {
    short pRet;
    OLECHECK(this->get_CurrentView((short*)&pRet));
    return pRet;
  }

  short __fastcall get_CurrentSectionTop(void)
  {
    short pRet;
    OLECHECK(this->get_CurrentSectionTop((short*)&pRet));
    return pRet;
  }

  short __fastcall get_CurrentSectionLeft(void)
  {
    short pRet;
    OLECHECK(this->get_CurrentSectionLeft((short*)&pRet));
    return pRet;
  }

  long __fastcall get_SelLeft(void)
  {
    long pRet;
    OLECHECK(this->get_SelLeft((long*)&pRet));
    return pRet;
  }

  long __fastcall get_SelTop(void)
  {
    long pRet;
    OLECHECK(this->get_SelTop((long*)&pRet));
    return pRet;
  }

  long __fastcall get_SelWidth(void)
  {
    long pRet;
    OLECHECK(this->get_SelWidth((long*)&pRet));
    return pRet;
  }

  long __fastcall get_SelHeight(void)
  {
    long pRet;
    OLECHECK(this->get_SelHeight((long*)&pRet));
    return pRet;
  }

  long __fastcall get_CurrentRecord(void)
  {
    long pRet;
    OLECHECK(this->get_CurrentRecord((long*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PictureData(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PictureData((VARIANT*)&pRet));
    return pRet;
  }

  long __fastcall get_InsideHeight(void)
  {
    long pRet;
    OLECHECK(this->get_InsideHeight((long*)&pRet));
    return pRet;
  }

  long __fastcall get_InsideWidth(void)
  {
    long pRet;
    OLECHECK(this->get_InsideWidth((long*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PicturePalette(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PicturePalette((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_HasModule(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_HasModule((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  long __fastcall get_acHiddenCurrentPage(void)
  {
    long pRet;
    OLECHECK(this->get_acHiddenCurrentPage((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_Orientation(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_Orientation((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_AllowDesignChanges(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_AllowDesignChanges((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ServerFilter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ServerFilter((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_ServerFilterByForm(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_ServerFilterByForm((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  long __fastcall get_MaxRecords(void)
  {
    long pRet;
    OLECHECK(this->get_MaxRecords((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_UniqueTable(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_UniqueTable((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ResyncCommand(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ResyncCommand((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_InputParameters(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_InputParameters((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_MaxRecButton(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_MaxRecButton((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  short __fastcall get_NewRecord(void)
  {
    short pRet;
    OLECHECK(this->get_NewRecord((short*)&pRet));
    return pRet;
  }

  Access_2k::AccessControlPtr __fastcall get_ActiveControl(void)
  {
    Access_2k::AccessControlPtr pRet;
    OLECHECK(this->get_ActiveControl(&pRet));
    return pRet;
  }

  Access_2k::AccessControl* __fastcall get_DefaultControl(long ControlType/*[in]*/)
  {
    Access_2k::AccessControl* pRet = 0;
    OLECHECK(this->get_DefaultControl(ControlType, (Access_2k::AccessControl**)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Dynaset(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Dynaset((LPDISPATCH*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_RecordsetClone(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_RecordsetClone((LPDISPATCH*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Recordset(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Recordset((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::AccessSection* __fastcall get_Section(VARIANT Index/*[in]*/)
  {
    Access_2k::AccessSection* pRet = 0;
    OLECHECK(this->get_Section(Index, (Access_2k::AccessSection**)&pRet));
    return pRet;
  }

  Access_2k::AccessFormPtr __fastcall get_Form(void)
  {
    Access_2k::AccessFormPtr pRet;
    OLECHECK(this->get_Form(&pRet));
    return pRet;
  }

  Access_2k::ModulePtr __fastcall get_Module(void)
  {
    Access_2k::ModulePtr pRet;
    OLECHECK(this->get_Module(&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::AccessControlPtr __fastcall get_ConnectControl(void)
  {
    Access_2k::AccessControlPtr pRet;
    OLECHECK(this->get_ConnectControl(&pRet));
    return pRet;
  }

  Access_2k::Controls_Ptr __fastcall get_Controls(void)
  {
    Access_2k::Controls_Ptr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }

  short __fastcall get_SubdatasheetHeight(void)
  {
    short pRet;
    OLECHECK(this->get_SubdatasheetHeight((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_SubdatasheetExpanded(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_SubdatasheetExpanded((VARIANT_BOOL*)&pRet));
    return pRet;
  }


  __property   BSTR            FormName = {read = get_FormName, write = set_FormName};
  __property   BSTR            RecordSource = {read = get_RecordSource, write = set_RecordSource};
  __property   BSTR            Filter = {read = get_Filter, write = set_Filter};
  __property   VARIANT_BOOL    FilterOn = {read = get_FilterOn, write = set_FilterOn};
  __property   BSTR            OrderBy = {read = get_OrderBy, write = set_OrderBy};
  __property   VARIANT_BOOL    OrderByOn = {read = get_OrderByOn, write = set_OrderByOn};
  __property   VARIANT_BOOL    AllowFilters = {read = get_AllowFilters, write = set_AllowFilters};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   unsigned_char   DefaultView = {read = get_DefaultView, write = set_DefaultView};
  __property   unsigned_char   ViewsAllowed = {read = get_ViewsAllowed, write = set_ViewsAllowed};
  __property   VARIANT_BOOL    AllowEditing = {read = get_AllowEditing, write = set_AllowEditing};
  __property   short           DefaultEditing = {read = get_DefaultEditing, write = set_DefaultEditing};
  __property   VARIANT_BOOL    AllowEdits = {read = get_AllowEdits, write = set_AllowEdits};
  __property   VARIANT_BOOL    AllowDeletions = {read = get_AllowDeletions, write = set_AllowDeletions};
  __property   VARIANT_BOOL    AllowAdditions = {read = get_AllowAdditions, write = set_AllowAdditions};
  __property   VARIANT_BOOL    DataEntry = {read = get_DataEntry, write = set_DataEntry};
  __property   unsigned_char   AllowUpdating = {read = get_AllowUpdating, write = set_AllowUpdating};
  __property   unsigned_char   RecordsetType = {read = get_RecordsetType, write = set_RecordsetType};
  __property   unsigned_char   RecordLocks = {read = get_RecordLocks, write = set_RecordLocks};
  __property   unsigned_char   ScrollBars = {read = get_ScrollBars, write = set_ScrollBars};
  __property   VARIANT_BOOL    RecordSelectors = {read = get_RecordSelectors, write = set_RecordSelectors};
  __property   VARIANT_BOOL    NavigationButtons = {read = get_NavigationButtons, write = set_NavigationButtons};
  __property   VARIANT_BOOL    DividingLines = {read = get_DividingLines, write = set_DividingLines};
  __property   VARIANT_BOOL    AutoResize = {read = get_AutoResize, write = set_AutoResize};
  __property   VARIANT_BOOL    AutoCenter = {read = get_AutoCenter, write = set_AutoCenter};
  __property   VARIANT_BOOL    PopUp = {read = get_PopUp, write = set_PopUp};
  __property   VARIANT_BOOL    Modal = {read = get_Modal, write = set_Modal};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   VARIANT_BOOL    ControlBox = {read = get_ControlBox, write = set_ControlBox};
  __property   VARIANT_BOOL    MinButton = {read = get_MinButton, write = set_MinButton};
  __property   VARIANT_BOOL    MaxButton = {read = get_MaxButton, write = set_MaxButton};
  __property   unsigned_char   MinMaxButtons = {read = get_MinMaxButtons, write = set_MinMaxButtons};
  __property   VARIANT_BOOL    CloseButton = {read = get_CloseButton, write = set_CloseButton};
  __property   VARIANT_BOOL    WhatsThisButton = {read = get_WhatsThisButton, write = set_WhatsThisButton};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   unsigned_char   PictureSizeMode = {read = get_PictureSizeMode, write = set_PictureSizeMode};
  __property   unsigned_char   PictureAlignment = {read = get_PictureAlignment, write = set_PictureAlignment};
  __property   VARIANT_BOOL    PictureTiling = {read = get_PictureTiling, write = set_PictureTiling};
  __property   unsigned_char   Cycle = {read = get_Cycle, write = set_Cycle};
  __property   BSTR            MenuBar = {read = get_MenuBar, write = set_MenuBar};
  __property   BSTR            Toolbar = {read = get_Toolbar, write = set_Toolbar};
  __property   VARIANT_BOOL    ShortcutMenu = {read = get_ShortcutMenu, write = set_ShortcutMenu};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   short           GridX = {read = get_GridX, write = set_GridX};
  __property   short           GridY = {read = get_GridY, write = set_GridY};
  __property   VARIANT_BOOL    LayoutForPrint = {read = get_LayoutForPrint, write = set_LayoutForPrint};
  __property   VARIANT_BOOL    FastLaserPrinting = {read = get_FastLaserPrinting, write = set_FastLaserPrinting};
  __property   BSTR            HelpFile = {read = get_HelpFile, write = set_HelpFile};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           RowHeight = {read = get_RowHeight, write = set_RowHeight};
  __property   BSTR            DatasheetFontName = {read = get_DatasheetFontName, write = set_DatasheetFontName};
  __property   short           DatasheetFontHeight = {read = get_DatasheetFontHeight, write = set_DatasheetFontHeight};
  __property   short           DatasheetFontWeight = {read = get_DatasheetFontWeight, write = set_DatasheetFontWeight};
  __property   VARIANT_BOOL    DatasheetFontItalic = {read = get_DatasheetFontItalic, write = set_DatasheetFontItalic};
  __property   VARIANT_BOOL    DatasheetFontUnderline = {read = get_DatasheetFontUnderline, write = set_DatasheetFontUnderline};
  __property   unsigned_char   TabularCharSet = {read = get_TabularCharSet, write = set_TabularCharSet};
  __property   unsigned_char   DatasheetGridlinesBehavior = {read = get_DatasheetGridlinesBehavior, write = set_DatasheetGridlinesBehavior};
  __property   long            DatasheetGridlinesColor = {read = get_DatasheetGridlinesColor, write = set_DatasheetGridlinesColor};
  __property   unsigned_char   DatasheetCellsEffect = {read = get_DatasheetCellsEffect, write = set_DatasheetCellsEffect};
  __property   long            DatasheetForeColor = {read = get_DatasheetForeColor, write = set_DatasheetForeColor};
  __property   VARIANT_BOOL    ShowGrid = {read = get_ShowGrid, write = set_ShowGrid};
  __property   long            DatasheetBackColor = {read = get_DatasheetBackColor, write = set_DatasheetBackColor};
  __property   long            Hwnd = {read = get_Hwnd, write = set_Hwnd};
  __property   short           Count = {read = get_Count, write = set_Count};
  __property   long            Page = {read = get_Page, write = set_Page};
  __property   short           Pages = {read = get_Pages, write = set_Pages};
  __property   long            LogicalPageWidth = {read = get_LogicalPageWidth, write = set_LogicalPageWidth};
  __property   long            LogicalPageHeight = {read = get_LogicalPageHeight, write = set_LogicalPageHeight};
  __property   long            ZoomControl = {read = get_ZoomControl, write = set_ZoomControl};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    Painting = {read = get_Painting, write = set_Painting};
  __property   short           FrozenColumns = {read = get_FrozenColumns, write = set_FrozenColumns};
  __property   unsigned_char   TabularFamily = {read = get_TabularFamily, write = set_TabularFamily};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   BSTR            PaletteSource = {read = get_PaletteSource, write = set_PaletteSource};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            OnMenu = {read = get_OnMenu, write = set_OnMenu};
  __property   short           ConnectSynch = {read = get_ConnectSynch, write = set_ConnectSynch};
  __property   BSTR            OnCurrent = {read = get_OnCurrent, write = set_OnCurrent};
  __property   BSTR            OnInsert = {read = get_OnInsert, write = set_OnInsert};
  __property   BSTR            BeforeInsert = {read = get_BeforeInsert, write = set_BeforeInsert};
  __property   BSTR            AfterInsert = {read = get_AfterInsert, write = set_AfterInsert};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnDirty = {read = get_OnDirty, write = set_OnDirty};
  __property   BSTR            OnDelete = {read = get_OnDelete, write = set_OnDelete};
  __property   BSTR            BeforeDelConfirm = {read = get_BeforeDelConfirm, write = set_BeforeDelConfirm};
  __property   BSTR            AfterDelConfirm = {read = get_AfterDelConfirm, write = set_AfterDelConfirm};
  __property   BSTR            OnOpen = {read = get_OnOpen, write = set_OnOpen};
  __property   BSTR            OnLoad = {read = get_OnLoad, write = set_OnLoad};
  __property   BSTR            OnResize = {read = get_OnResize, write = set_OnResize};
  __property   BSTR            OnUnload = {read = get_OnUnload, write = set_OnUnload};
  __property   BSTR            OnClose = {read = get_OnClose, write = set_OnClose};
  __property   BSTR            OnActivate = {read = get_OnActivate, write = set_OnActivate};
  __property   BSTR            OnDeactivate = {read = get_OnDeactivate, write = set_OnDeactivate};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   VARIANT_BOOL    KeyPreview = {read = get_KeyPreview, write = set_KeyPreview};
  __property   BSTR            OnError = {read = get_OnError, write = set_OnError};
  __property   BSTR            OnFilter = {read = get_OnFilter, write = set_OnFilter};
  __property   BSTR            OnApplyFilter = {read = get_OnApplyFilter, write = set_OnApplyFilter};
  __property   BSTR            OnTimer = {read = get_OnTimer, write = set_OnTimer};
  __property   long            TimerInterval = {read = get_TimerInterval, write = set_TimerInterval};
  __property   VARIANT_BOOL    Dirty = {read = get_Dirty, write = set_Dirty};
  __property   short           WindowWidth = {read = get_WindowWidth, write = set_WindowWidth};
  __property   short           WindowHeight = {read = get_WindowHeight, write = set_WindowHeight};
  __property   short           CurrentView = {read = get_CurrentView, write = set_CurrentView};
  __property   short           CurrentSectionTop = {read = get_CurrentSectionTop, write = set_CurrentSectionTop};
  __property   short           CurrentSectionLeft = {read = get_CurrentSectionLeft, write = set_CurrentSectionLeft};
  __property   long            SelLeft = {read = get_SelLeft, write = set_SelLeft};
  __property   long            SelTop = {read = get_SelTop, write = set_SelTop};
  __property   long            SelWidth = {read = get_SelWidth, write = set_SelWidth};
  __property   long            SelHeight = {read = get_SelHeight, write = set_SelHeight};
  __property   long            CurrentRecord = {read = get_CurrentRecord, write = set_CurrentRecord};
  __property   long            InsideHeight = {read = get_InsideHeight, write = set_InsideHeight};
  __property   long            InsideWidth = {read = get_InsideWidth, write = set_InsideWidth};
  __property   VARIANT_BOOL    HasModule = {read = get_HasModule, write = set_HasModule};
  __property   long            acHiddenCurrentPage = {read = get_acHiddenCurrentPage, write = set_acHiddenCurrentPage};
  __property   unsigned_char   Orientation = {read = get_Orientation, write = set_Orientation};
  __property   VARIANT_BOOL    AllowDesignChanges = {read = get_AllowDesignChanges, write = set_AllowDesignChanges};
  __property   BSTR            ServerFilter = {read = get_ServerFilter, write = set_ServerFilter};
  __property   VARIANT_BOOL    ServerFilterByForm = {read = get_ServerFilterByForm, write = set_ServerFilterByForm};
  __property   long            MaxRecords = {read = get_MaxRecords, write = set_MaxRecords};
  __property   BSTR            UniqueTable = {read = get_UniqueTable, write = set_UniqueTable};
  __property   BSTR            ResyncCommand = {read = get_ResyncCommand, write = set_ResyncCommand};
  __property   BSTR            InputParameters = {read = get_InputParameters, write = set_InputParameters};
  __property   VARIANT_BOOL    MaxRecButton = {read = get_MaxRecButton, write = set_MaxRecButton};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   short           NewRecord = {read = get_NewRecord};
  __property   Access_2k::AccessControlPtr ActiveControl = {read = get_ActiveControl};
  __property   LPDISPATCH      Dynaset = {read = get_Dynaset};
  __property   LPDISPATCH      RecordsetClone = {read = get_RecordsetClone};
  __property   LPDISPATCH      Recordset = {read = get_Recordset, write = _set_Recordset};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::ModulePtr Module = {read = get_Module};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::AccessControlPtr ConnectControl = {read = get_ConnectControl};
  __property   Access_2k::Controls_Ptr Controls = {read = get_Controls};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   short           SubdatasheetHeight = {read = get_SubdatasheetHeight, write = set_SubdatasheetHeight};
  __property   VARIANT_BOOL    SubdatasheetExpanded = {read = get_SubdatasheetExpanded, write = set_SubdatasheetExpanded};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _FormEvents
// Flags:     (16) Hidden
// GUID:      {331FDCFB-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _FormEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE Load(void) = 0; // [2067]
  virtual HRESULT STDMETHODCALLTYPE Current(void) = 0; // [2058]
  virtual HRESULT STDMETHODCALLTYPE BeforeInsert(short* Cancel/*[out]*/) = 0; // [2059]
  virtual HRESULT STDMETHODCALLTYPE AfterInsert(void) = 0; // [2060]
  virtual HRESULT STDMETHODCALLTYPE BeforeUpdate(short* Cancel/*[out]*/) = 0; // [2061]
  virtual HRESULT STDMETHODCALLTYPE AfterUpdate(void) = 0; // [2062]
  virtual HRESULT STDMETHODCALLTYPE Delete(short* Cancel/*[out]*/) = 0; // [2063]
  virtual HRESULT STDMETHODCALLTYPE BeforeDelConfirm(short* Cancel/*[out]*/, 
                                                     short* Response/*[out]*/) = 0; // [2064]
  virtual HRESULT STDMETHODCALLTYPE AfterDelConfirm(short* Status/*[in,out]*/) = 0; // [2065]
  virtual HRESULT STDMETHODCALLTYPE Open(short* Cancel/*[out]*/) = 0; // [2066]
  virtual HRESULT STDMETHODCALLTYPE Resize(void) = 0; // [2068]
  virtual HRESULT STDMETHODCALLTYPE Unload(short* Cancel/*[out]*/) = 0; // [2069]
  virtual HRESULT STDMETHODCALLTYPE Close(void) = 0; // [2070]
  virtual HRESULT STDMETHODCALLTYPE Activate(void) = 0; // [2071]
  virtual HRESULT STDMETHODCALLTYPE Deactivate(void) = 0; // [2072]
  virtual HRESULT STDMETHODCALLTYPE GotFocus(void) = 0; // [2073]
  virtual HRESULT STDMETHODCALLTYPE LostFocus(void) = 0; // [2074]
  virtual HRESULT STDMETHODCALLTYPE _Click(void) = 0; // [-600]
  virtual HRESULT STDMETHODCALLTYPE DblClick(short* Cancel/*[out]*/) = 0; // [-601]
  virtual HRESULT STDMETHODCALLTYPE MouseDown(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-605]
  virtual HRESULT STDMETHODCALLTYPE MouseMove(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                              float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-606]
  virtual HRESULT STDMETHODCALLTYPE MouseUp(short* Button/*[in,out]*/, short* Shift/*[in,out]*/, 
                                            float* X/*[in,out]*/, float* Y/*[in,out]*/) = 0; // [-607]
  virtual HRESULT STDMETHODCALLTYPE KeyDown(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-602]
  virtual HRESULT STDMETHODCALLTYPE KeyPress(short* KeyAscii/*[in,out]*/) = 0; // [-603]
  virtual HRESULT STDMETHODCALLTYPE KeyUp(short* KeyCode/*[in,out]*/, short* Shift/*[in,out]*/) = 0; // [-604]
  virtual HRESULT STDMETHODCALLTYPE Error(short* DataErr/*[in,out]*/, short* Response/*[out]*/) = 0; // [2083]
  virtual HRESULT STDMETHODCALLTYPE Timer(void) = 0; // [2084]
  virtual HRESULT STDMETHODCALLTYPE Filter(short* Cancel/*[out]*/, short* FilterType/*[in,out]*/) = 0; // [2155]
  virtual HRESULT STDMETHODCALLTYPE ApplyFilter(short* Cancel/*[out]*/, short* ApplyType/*[in,out]*/) = 0; // [2156]
  virtual HRESULT STDMETHODCALLTYPE Dirty(short* Cancel/*[out]*/) = 0; // [2205]
};

// *********************************************************************//
// Interface: Forms_
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {B1BB0E80-6128-101B-AF4E-00AA003F0F07}
// *********************************************************************//
interface Forms_  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT Index/*[in]*/, 
                                             Access_2k::AccessForm** pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::AccessForm* __fastcall get_Item(VARIANT Index/*[in]*/)
  {
    Access_2k::AccessForm* pRet = 0;
    OLECHECK(this->get_Item(Index, (Access_2k::AccessForm**)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _Report
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3E8B6B00-91FF-101B-AF4E-00AA003F0F07}
// *********************************************************************//
interface _Report  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_FormName(BSTR* pRet/*[out,retval]*/) = 0; // [39]
  virtual HRESULT STDMETHODCALLTYPE set_FormName(BSTR pRet/*[in]*/) = 0; // [39]
  virtual HRESULT STDMETHODCALLTYPE get_RecordSource(BSTR* pRet/*[out,retval]*/) = 0; // [156]
  virtual HRESULT STDMETHODCALLTYPE set_RecordSource(BSTR pRet/*[in]*/) = 0; // [156]
  virtual HRESULT STDMETHODCALLTYPE get_Filter(BSTR* pRet/*[out,retval]*/) = 0; // [245]
  virtual HRESULT STDMETHODCALLTYPE set_Filter(BSTR pRet/*[in]*/) = 0; // [245]
  virtual HRESULT STDMETHODCALLTYPE get_FilterOn(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [332]
  virtual HRESULT STDMETHODCALLTYPE set_FilterOn(VARIANT_BOOL pRet/*[in]*/) = 0; // [332]
  virtual HRESULT STDMETHODCALLTYPE get_OrderBy(BSTR* pRet/*[out,retval]*/) = 0; // [331]
  virtual HRESULT STDMETHODCALLTYPE set_OrderBy(BSTR pRet/*[in]*/) = 0; // [331]
  virtual HRESULT STDMETHODCALLTYPE get_OrderByOn(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [336]
  virtual HRESULT STDMETHODCALLTYPE set_OrderByOn(VARIANT_BOOL pRet/*[in]*/) = 0; // [336]
  virtual HRESULT STDMETHODCALLTYPE get_ServerFilter(BSTR* pRet/*[out,retval]*/) = 0; // [246]
  virtual HRESULT STDMETHODCALLTYPE set_ServerFilter(BSTR pRet/*[in]*/) = 0; // [246]
  virtual HRESULT STDMETHODCALLTYPE get_Caption(BSTR* pRet/*[out,retval]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE set_Caption(BSTR pRet/*[in]*/) = 0; // [17]
  virtual HRESULT STDMETHODCALLTYPE get_RecordLocks(unsigned_char* pRet/*[out,retval]*/) = 0; // [26]
  virtual HRESULT STDMETHODCALLTYPE set_RecordLocks(unsigned_char pRet/*[in]*/) = 0; // [26]
  virtual HRESULT STDMETHODCALLTYPE get_PageHeader(unsigned_char* pRet/*[out,retval]*/) = 0; // [43]
  virtual HRESULT STDMETHODCALLTYPE set_PageHeader(unsigned_char pRet/*[in]*/) = 0; // [43]
  virtual HRESULT STDMETHODCALLTYPE get_PageFooter(unsigned_char* pRet/*[out,retval]*/) = 0; // [40]
  virtual HRESULT STDMETHODCALLTYPE set_PageFooter(unsigned_char pRet/*[in]*/) = 0; // [40]
  virtual HRESULT STDMETHODCALLTYPE get_DateGrouping(unsigned_char* pRet/*[out,retval]*/) = 0; // [282]
  virtual HRESULT STDMETHODCALLTYPE set_DateGrouping(unsigned_char pRet/*[in]*/) = 0; // [282]
  virtual HRESULT STDMETHODCALLTYPE get_GrpKeepTogether(unsigned_char* pRet/*[out,retval]*/) = 0; // [283]
  virtual HRESULT STDMETHODCALLTYPE set_GrpKeepTogether(unsigned_char pRet/*[in]*/) = 0; // [283]
  virtual HRESULT STDMETHODCALLTYPE get_MinButton(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [95]
  virtual HRESULT STDMETHODCALLTYPE set_MinButton(VARIANT_BOOL pRet/*[in]*/) = 0; // [95]
  virtual HRESULT STDMETHODCALLTYPE get_MaxButton(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [94]
  virtual HRESULT STDMETHODCALLTYPE set_MaxButton(VARIANT_BOOL pRet/*[in]*/) = 0; // [94]
  virtual HRESULT STDMETHODCALLTYPE get_Width(short* pRet/*[out,retval]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE set_Width(short pRet/*[in]*/) = 0; // [150]
  virtual HRESULT STDMETHODCALLTYPE get_Picture(BSTR* pRet/*[out,retval]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE set_Picture(BSTR pRet/*[in]*/) = 0; // [7]
  virtual HRESULT STDMETHODCALLTYPE get_PictureType(unsigned_char* pRet/*[out,retval]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE set_PictureType(unsigned_char pRet/*[in]*/) = 0; // [341]
  virtual HRESULT STDMETHODCALLTYPE get_PictureSizeMode(unsigned_char* pRet/*[out,retval]*/) = 0; // [312]
  virtual HRESULT STDMETHODCALLTYPE set_PictureSizeMode(unsigned_char pRet/*[in]*/) = 0; // [312]
  virtual HRESULT STDMETHODCALLTYPE get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/) = 0; // [309]
  virtual HRESULT STDMETHODCALLTYPE set_PictureAlignment(unsigned_char pRet/*[in]*/) = 0; // [309]
  virtual HRESULT STDMETHODCALLTYPE get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [313]
  virtual HRESULT STDMETHODCALLTYPE set_PictureTiling(VARIANT_BOOL pRet/*[in]*/) = 0; // [313]
  virtual HRESULT STDMETHODCALLTYPE get_PicturePages(unsigned_char* pRet/*[out,retval]*/) = 0; // [310]
  virtual HRESULT STDMETHODCALLTYPE set_PicturePages(unsigned_char pRet/*[in]*/) = 0; // [310]
  virtual HRESULT STDMETHODCALLTYPE get_MenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [240]
  virtual HRESULT STDMETHODCALLTYPE set_MenuBar(BSTR pRet/*[in]*/) = 0; // [240]
  virtual HRESULT STDMETHODCALLTYPE get_Toolbar(BSTR* pRet/*[out,retval]*/) = 0; // [353]
  virtual HRESULT STDMETHODCALLTYPE set_Toolbar(BSTR pRet/*[in]*/) = 0; // [353]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [304]
  virtual HRESULT STDMETHODCALLTYPE get_GridX(short* pRet/*[out,retval]*/) = 0; // [41]
  virtual HRESULT STDMETHODCALLTYPE set_GridX(short pRet/*[in]*/) = 0; // [41]
  virtual HRESULT STDMETHODCALLTYPE get_GridY(short* pRet/*[out,retval]*/) = 0; // [42]
  virtual HRESULT STDMETHODCALLTYPE set_GridY(short pRet/*[in]*/) = 0; // [42]
  virtual HRESULT STDMETHODCALLTYPE get_LayoutForPrint(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [143]
  virtual HRESULT STDMETHODCALLTYPE set_LayoutForPrint(VARIANT_BOOL pRet/*[in]*/) = 0; // [143]
  virtual HRESULT STDMETHODCALLTYPE get_FastLaserPrinting(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [144]
  virtual HRESULT STDMETHODCALLTYPE set_FastLaserPrinting(VARIANT_BOOL pRet/*[in]*/) = 0; // [144]
  virtual HRESULT STDMETHODCALLTYPE get_HelpFile(BSTR* pRet/*[out,retval]*/) = 0; // [218]
  virtual HRESULT STDMETHODCALLTYPE set_HelpFile(BSTR pRet/*[in]*/) = 0; // [218]
  virtual HRESULT STDMETHODCALLTYPE get_HelpContextId(long* pRet/*[out,retval]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE set_HelpContextId(long pRet/*[in]*/) = 0; // [219]
  virtual HRESULT STDMETHODCALLTYPE get_Hwnd(long* pRet/*[out,retval]*/) = 0; // [192]
  virtual HRESULT STDMETHODCALLTYPE set_Hwnd(long pRet/*[in]*/) = 0; // [192]
  virtual HRESULT STDMETHODCALLTYPE get_Count(short* pRet/*[out,retval]*/) = 0; // [195]
  virtual HRESULT STDMETHODCALLTYPE set_Count(short pRet/*[in]*/) = 0; // [195]
  virtual HRESULT STDMETHODCALLTYPE get_Page(long* pRet/*[out,retval]*/) = 0; // [196]
  virtual HRESULT STDMETHODCALLTYPE set_Page(long pRet/*[in]*/) = 0; // [196]
  virtual HRESULT STDMETHODCALLTYPE get_Pages(short* pRet/*[out,retval]*/) = 0; // [197]
  virtual HRESULT STDMETHODCALLTYPE set_Pages(short pRet/*[in]*/) = 0; // [197]
  virtual HRESULT STDMETHODCALLTYPE get_LogicalPageWidth(long* pRet/*[out,retval]*/) = 0; // [198]
  virtual HRESULT STDMETHODCALLTYPE set_LogicalPageWidth(long pRet/*[in]*/) = 0; // [198]
  virtual HRESULT STDMETHODCALLTYPE get_LogicalPageHeight(long* pRet/*[out,retval]*/) = 0; // [199]
  virtual HRESULT STDMETHODCALLTYPE set_LogicalPageHeight(long pRet/*[in]*/) = 0; // [199]
  virtual HRESULT STDMETHODCALLTYPE get_ZoomControl(long* pRet/*[out,retval]*/) = 0; // [217]
  virtual HRESULT STDMETHODCALLTYPE set_ZoomControl(long pRet/*[in]*/) = 0; // [217]
  virtual HRESULT STDMETHODCALLTYPE get_HasData(long* pRet/*[out,retval]*/) = 0; // [202]
  virtual HRESULT STDMETHODCALLTYPE set_HasData(long pRet/*[in]*/) = 0; // [202]
  virtual HRESULT STDMETHODCALLTYPE get_Left(long* pRet/*[out,retval]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE set_Left(long pRet/*[in]*/) = 0; // [54]
  virtual HRESULT STDMETHODCALLTYPE get_Top(long* pRet/*[out,retval]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE set_Top(long pRet/*[in]*/) = 0; // [141]
  virtual HRESULT STDMETHODCALLTYPE get_Height(long* pRet/*[out,retval]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE set_Height(long pRet/*[in]*/) = 0; // [44]
  virtual HRESULT STDMETHODCALLTYPE get_PrintSection(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [225]
  virtual HRESULT STDMETHODCALLTYPE set_PrintSection(VARIANT_BOOL pRet/*[in]*/) = 0; // [225]
  virtual HRESULT STDMETHODCALLTYPE get_NextRecord(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [226]
  virtual HRESULT STDMETHODCALLTYPE set_NextRecord(VARIANT_BOOL pRet/*[in]*/) = 0; // [226]
  virtual HRESULT STDMETHODCALLTYPE get_MoveLayout(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [227]
  virtual HRESULT STDMETHODCALLTYPE set_MoveLayout(VARIANT_BOOL pRet/*[in]*/) = 0; // [227]
  virtual HRESULT STDMETHODCALLTYPE get_FormatCount(short* pRet/*[out,retval]*/) = 0; // [228]
  virtual HRESULT STDMETHODCALLTYPE set_FormatCount(short pRet/*[in]*/) = 0; // [228]
  virtual HRESULT STDMETHODCALLTYPE get_PrintCount(short* pRet/*[out,retval]*/) = 0; // [229]
  virtual HRESULT STDMETHODCALLTYPE set_PrintCount(short pRet/*[in]*/) = 0; // [229]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_Painting(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [241]
  virtual HRESULT STDMETHODCALLTYPE set_Painting(VARIANT_BOOL pRet/*[in]*/) = 0; // [241]
  virtual HRESULT STDMETHODCALLTYPE get_PrtMip(VARIANT* pRet/*[out,retval]*/) = 0; // [189]
  virtual HRESULT STDMETHODCALLTYPE set_PrtMip(VARIANT pRet/*[in]*/) = 0; // [189]
  virtual HRESULT STDMETHODCALLTYPE get_PrtDevMode(VARIANT* pRet/*[out,retval]*/) = 0; // [190]
  virtual HRESULT STDMETHODCALLTYPE set_PrtDevMode(VARIANT pRet/*[in]*/) = 0; // [190]
  virtual HRESULT STDMETHODCALLTYPE get_PrtDevNames(VARIANT* pRet/*[out,retval]*/) = 0; // [191]
  virtual HRESULT STDMETHODCALLTYPE set_PrtDevNames(VARIANT pRet/*[in]*/) = 0; // [191]
  virtual HRESULT STDMETHODCALLTYPE get_ForeColor(long* pRet/*[out,retval]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE set_ForeColor(long pRet/*[in]*/) = 0; // [204]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentX(float* pRet/*[out,retval]*/) = 0; // [205]
  virtual HRESULT STDMETHODCALLTYPE set_CurrentX(float pRet/*[in]*/) = 0; // [205]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentY(float* pRet/*[out,retval]*/) = 0; // [206]
  virtual HRESULT STDMETHODCALLTYPE set_CurrentY(float pRet/*[in]*/) = 0; // [206]
  virtual HRESULT STDMETHODCALLTYPE get_ScaleHeight(float* pRet/*[out,retval]*/) = 0; // [207]
  virtual HRESULT STDMETHODCALLTYPE set_ScaleHeight(float pRet/*[in]*/) = 0; // [207]
  virtual HRESULT STDMETHODCALLTYPE get_ScaleLeft(float* pRet/*[out,retval]*/) = 0; // [208]
  virtual HRESULT STDMETHODCALLTYPE set_ScaleLeft(float pRet/*[in]*/) = 0; // [208]
  virtual HRESULT STDMETHODCALLTYPE get_ScaleMode(short* pRet/*[out,retval]*/) = 0; // [209]
  virtual HRESULT STDMETHODCALLTYPE set_ScaleMode(short pRet/*[in]*/) = 0; // [209]
  virtual HRESULT STDMETHODCALLTYPE get_ScaleTop(float* pRet/*[out,retval]*/) = 0; // [210]
  virtual HRESULT STDMETHODCALLTYPE set_ScaleTop(float pRet/*[in]*/) = 0; // [210]
  virtual HRESULT STDMETHODCALLTYPE get_ScaleWidth(float* pRet/*[out,retval]*/) = 0; // [211]
  virtual HRESULT STDMETHODCALLTYPE set_ScaleWidth(float pRet/*[in]*/) = 0; // [211]
  virtual HRESULT STDMETHODCALLTYPE get_FontBold(short* pRet/*[out,retval]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE set_FontBold(short pRet/*[in]*/) = 0; // [32]
  virtual HRESULT STDMETHODCALLTYPE get_FontItalic(short* pRet/*[out,retval]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE set_FontItalic(short pRet/*[in]*/) = 0; // [33]
  virtual HRESULT STDMETHODCALLTYPE get_FontName(BSTR* pRet/*[out,retval]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE set_FontName(BSTR pRet/*[in]*/) = 0; // [34]
  virtual HRESULT STDMETHODCALLTYPE get_FontSize(short* pRet/*[out,retval]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE set_FontSize(short pRet/*[in]*/) = 0; // [35]
  virtual HRESULT STDMETHODCALLTYPE get_FontUnderline(short* pRet/*[out,retval]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE set_FontUnderline(short pRet/*[in]*/) = 0; // [36]
  virtual HRESULT STDMETHODCALLTYPE get_DrawMode(short* pRet/*[out,retval]*/) = 0; // [212]
  virtual HRESULT STDMETHODCALLTYPE set_DrawMode(short pRet/*[in]*/) = 0; // [212]
  virtual HRESULT STDMETHODCALLTYPE get_DrawStyle(short* pRet/*[out,retval]*/) = 0; // [213]
  virtual HRESULT STDMETHODCALLTYPE set_DrawStyle(short pRet/*[in]*/) = 0; // [213]
  virtual HRESULT STDMETHODCALLTYPE get_DrawWidth(short* pRet/*[out,retval]*/) = 0; // [214]
  virtual HRESULT STDMETHODCALLTYPE set_DrawWidth(short pRet/*[in]*/) = 0; // [214]
  virtual HRESULT STDMETHODCALLTYPE get_FillColor(long* pRet/*[out,retval]*/) = 0; // [216]
  virtual HRESULT STDMETHODCALLTYPE set_FillColor(long pRet/*[in]*/) = 0; // [216]
  virtual HRESULT STDMETHODCALLTYPE get_FillStyle(short* pRet/*[out,retval]*/) = 0; // [215]
  virtual HRESULT STDMETHODCALLTYPE set_FillStyle(short pRet/*[in]*/) = 0; // [215]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE set__Name(BSTR pRet/*[in]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_PaletteSource(BSTR* pRet/*[out,retval]*/) = 0; // [98]
  virtual HRESULT STDMETHODCALLTYPE set_PaletteSource(BSTR pRet/*[in]*/) = 0; // [98]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_PaintPalette(VARIANT* pRet/*[out,retval]*/) = 0; // [100]
  virtual HRESULT STDMETHODCALLTYPE set_PaintPalette(VARIANT pRet/*[in]*/) = 0; // [100]
  virtual HRESULT STDMETHODCALLTYPE get_OnMenu(BSTR* pRet/*[out,retval]*/) = 0; // [60]
  virtual HRESULT STDMETHODCALLTYPE set_OnMenu(BSTR pRet/*[in]*/) = 0; // [60]
  virtual HRESULT STDMETHODCALLTYPE get_OnOpen(BSTR* pRet/*[out,retval]*/) = 0; // [77]
  virtual HRESULT STDMETHODCALLTYPE set_OnOpen(BSTR pRet/*[in]*/) = 0; // [77]
  virtual HRESULT STDMETHODCALLTYPE get_OnClose(BSTR* pRet/*[out,retval]*/) = 0; // [78]
  virtual HRESULT STDMETHODCALLTYPE set_OnClose(BSTR pRet/*[in]*/) = 0; // [78]
  virtual HRESULT STDMETHODCALLTYPE get_OnActivate(BSTR* pRet/*[out,retval]*/) = 0; // [112]
  virtual HRESULT STDMETHODCALLTYPE set_OnActivate(BSTR pRet/*[in]*/) = 0; // [112]
  virtual HRESULT STDMETHODCALLTYPE get_OnDeactivate(BSTR* pRet/*[out,retval]*/) = 0; // [113]
  virtual HRESULT STDMETHODCALLTYPE set_OnDeactivate(BSTR pRet/*[in]*/) = 0; // [113]
  virtual HRESULT STDMETHODCALLTYPE get_OnNoData(BSTR* pRet/*[out,retval]*/) = 0; // [121]
  virtual HRESULT STDMETHODCALLTYPE set_OnNoData(BSTR pRet/*[in]*/) = 0; // [121]
  virtual HRESULT STDMETHODCALLTYPE get_OnPage(BSTR* pRet/*[out,retval]*/) = 0; // [83]
  virtual HRESULT STDMETHODCALLTYPE set_OnPage(BSTR pRet/*[in]*/) = 0; // [83]
  virtual HRESULT STDMETHODCALLTYPE get_OnError(BSTR* pRet/*[out,retval]*/) = 0; // [119]
  virtual HRESULT STDMETHODCALLTYPE set_OnError(BSTR pRet/*[in]*/) = 0; // [119]
  virtual HRESULT STDMETHODCALLTYPE get_Dirty(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [286]
  virtual HRESULT STDMETHODCALLTYPE set_Dirty(VARIANT_BOOL pRet/*[in]*/) = 0; // [286]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentRecord(long* pRet/*[out,retval]*/) = 0; // [302]
  virtual HRESULT STDMETHODCALLTYPE set_CurrentRecord(long pRet/*[in]*/) = 0; // [302]
  virtual HRESULT STDMETHODCALLTYPE get_PictureData(VARIANT* pRet/*[out,retval]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE set_PictureData(VARIANT pRet/*[in]*/) = 0; // [188]
  virtual HRESULT STDMETHODCALLTYPE get_PicturePalette(VARIANT* pRet/*[out,retval]*/) = 0; // [311]
  virtual HRESULT STDMETHODCALLTYPE set_PicturePalette(VARIANT pRet/*[in]*/) = 0; // [311]
  virtual HRESULT STDMETHODCALLTYPE get_HasModule(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [342]
  virtual HRESULT STDMETHODCALLTYPE set_HasModule(VARIANT_BOOL pRet/*[in]*/) = 0; // [342]
  virtual HRESULT STDMETHODCALLTYPE get_acHiddenCurrentPage(long* pRet/*[out,retval]*/) = 0; // [365]
  virtual HRESULT STDMETHODCALLTYPE set_acHiddenCurrentPage(long pRet/*[in]*/) = 0; // [365]
  virtual HRESULT STDMETHODCALLTYPE get_Orientation(unsigned_char* pRet/*[out,retval]*/) = 0; // [370]
  virtual HRESULT STDMETHODCALLTYPE set_Orientation(unsigned_char pRet/*[in]*/) = 0; // [370]
  virtual HRESULT STDMETHODCALLTYPE get_InputParameters(BSTR* pRet/*[out,retval]*/) = 0; // [66]
  virtual HRESULT STDMETHODCALLTYPE set_InputParameters(BSTR pRet/*[in]*/) = 0; // [66]
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/) = 0; // [2006]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultControl(long ControlType/*[in]*/, 
                                                       Access_2k::AccessControl** pRet/*[out,retval]*/) = 0; // [2150]
  virtual HRESULT STDMETHODCALLTYPE Circle(short flags/*[in]*/, float X/*[in]*/, float Y/*[in]*/, 
                                           float radius/*[in]*/, long color/*[in]*/, 
                                           float start/*[in]*/, float end/*[in]*/, 
                                           float aspect/*[in]*/) = 0; // [2118]
  virtual HRESULT STDMETHODCALLTYPE Line(short flags/*[in]*/, float x1/*[in]*/, float y1/*[in]*/, 
                                         float x2/*[in]*/, float y2/*[in]*/, long color/*[in]*/) = 0; // [2152]
  virtual HRESULT STDMETHODCALLTYPE PSet(short flags/*[in]*/, float X/*[in]*/, float Y/*[in]*/, 
                                         long color/*[in]*/) = 0; // [2117]
  virtual HRESULT STDMETHODCALLTYPE Scale(short flags/*[in]*/, float x1/*[in]*/, float y1/*[in]*/, 
                                          float x2/*[in]*/, float y2/*[in]*/) = 0; // [2116]
  virtual HRESULT STDMETHODCALLTYPE TextWidth(BSTR Expr/*[in]*/, float* pRet/*[out,retval]*/) = 0; // [2114]
  virtual HRESULT STDMETHODCALLTYPE TextHeight(BSTR Expr/*[in]*/, float* pRet/*[out,retval]*/) = 0; // [2115]
  virtual HRESULT STDMETHODCALLTYPE Print(BSTR Expr/*[in]*/) = 0; // [2153]
  virtual HRESULT STDMETHODCALLTYPE get_Section(VARIANT Index/*[in]*/, 
                                                Access_2k::AccessSection** pRet/*[out,retval]*/) = 0; // [2088]
  virtual HRESULT STDMETHODCALLTYPE get_GroupLevel(long Index/*[in]*/, 
                                                   Access_2k::AccessGroupLevel** pRet/*[out,retval]*/) = 0; // [2098]
  virtual HRESULT STDMETHODCALLTYPE get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/) = 0; // [2097]
  virtual HRESULT STDMETHODCALLTYPE get_Module(Access_2k::Module** pRet/*[out,retval]*/) = 0; // [2090]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::Properties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]
  virtual HRESULT STDMETHODCALLTYPE _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                              VARIANT* pRet/*[out,retval]*/) = 0; // [-5]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE set_Name(BSTR pbstrName/*[in]*/) = 0; // [-2147418112]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  BSTR __fastcall get_FormName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FormName((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_RecordSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_RecordSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Filter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Filter((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FilterOn(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FilterOn((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OrderBy(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OrderBy((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_OrderByOn(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_OrderByOn((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ServerFilter(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ServerFilter((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Caption(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Caption((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_RecordLocks(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_RecordLocks((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PageHeader(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PageHeader((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PageFooter(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PageFooter((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_DateGrouping(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_DateGrouping((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_GrpKeepTogether(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_GrpKeepTogether((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_MinButton(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_MinButton((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_MaxButton(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_MaxButton((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_Width(void)
  {
    short pRet;
    OLECHECK(this->get_Width((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Picture(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Picture((BSTR*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PictureType(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PictureSizeMode(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PictureSizeMode((unsigned_char*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PictureAlignment(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PictureAlignment((unsigned_char*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_PictureTiling(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_PictureTiling((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_PicturePages(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_PicturePages((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_MenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_MenuBar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Toolbar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Toolbar((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_GridX(void)
  {
    short pRet;
    OLECHECK(this->get_GridX((short*)&pRet));
    return pRet;
  }

  short __fastcall get_GridY(void)
  {
    short pRet;
    OLECHECK(this->get_GridY((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_LayoutForPrint(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_LayoutForPrint((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_FastLaserPrinting(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_FastLaserPrinting((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_HelpFile(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_HelpFile((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_HelpContextId(void)
  {
    long pRet;
    OLECHECK(this->get_HelpContextId((long*)&pRet));
    return pRet;
  }

  long __fastcall get_Hwnd(void)
  {
    long pRet;
    OLECHECK(this->get_Hwnd((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Count(void)
  {
    short pRet;
    OLECHECK(this->get_Count((short*)&pRet));
    return pRet;
  }

  long __fastcall get_Page(void)
  {
    long pRet;
    OLECHECK(this->get_Page((long*)&pRet));
    return pRet;
  }

  short __fastcall get_Pages(void)
  {
    short pRet;
    OLECHECK(this->get_Pages((short*)&pRet));
    return pRet;
  }

  long __fastcall get_LogicalPageWidth(void)
  {
    long pRet;
    OLECHECK(this->get_LogicalPageWidth((long*)&pRet));
    return pRet;
  }

  long __fastcall get_LogicalPageHeight(void)
  {
    long pRet;
    OLECHECK(this->get_LogicalPageHeight((long*)&pRet));
    return pRet;
  }

  long __fastcall get_ZoomControl(void)
  {
    long pRet;
    OLECHECK(this->get_ZoomControl((long*)&pRet));
    return pRet;
  }

  long __fastcall get_HasData(void)
  {
    long pRet;
    OLECHECK(this->get_HasData((long*)&pRet));
    return pRet;
  }

  long __fastcall get_Left(void)
  {
    long pRet;
    OLECHECK(this->get_Left((long*)&pRet));
    return pRet;
  }

  long __fastcall get_Top(void)
  {
    long pRet;
    OLECHECK(this->get_Top((long*)&pRet));
    return pRet;
  }

  long __fastcall get_Height(void)
  {
    long pRet;
    OLECHECK(this->get_Height((long*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_PrintSection(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_PrintSection((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_NextRecord(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_NextRecord((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_MoveLayout(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_MoveLayout((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall get_FormatCount(void)
  {
    short pRet;
    OLECHECK(this->get_FormatCount((short*)&pRet));
    return pRet;
  }

  short __fastcall get_PrintCount(void)
  {
    short pRet;
    OLECHECK(this->get_PrintCount((short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Painting(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Painting((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PrtMip(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PrtMip((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PrtDevMode(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PrtDevMode((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PrtDevNames(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PrtDevNames((VARIANT*)&pRet));
    return pRet;
  }

  long __fastcall get_ForeColor(void)
  {
    long pRet;
    OLECHECK(this->get_ForeColor((long*)&pRet));
    return pRet;
  }

  float __fastcall get_CurrentX(void)
  {
    float pRet;
    OLECHECK(this->get_CurrentX((float*)&pRet));
    return pRet;
  }

  float __fastcall get_CurrentY(void)
  {
    float pRet;
    OLECHECK(this->get_CurrentY((float*)&pRet));
    return pRet;
  }

  float __fastcall get_ScaleHeight(void)
  {
    float pRet;
    OLECHECK(this->get_ScaleHeight((float*)&pRet));
    return pRet;
  }

  float __fastcall get_ScaleLeft(void)
  {
    float pRet;
    OLECHECK(this->get_ScaleLeft((float*)&pRet));
    return pRet;
  }

  short __fastcall get_ScaleMode(void)
  {
    short pRet;
    OLECHECK(this->get_ScaleMode((short*)&pRet));
    return pRet;
  }

  float __fastcall get_ScaleTop(void)
  {
    float pRet;
    OLECHECK(this->get_ScaleTop((float*)&pRet));
    return pRet;
  }

  float __fastcall get_ScaleWidth(void)
  {
    float pRet;
    OLECHECK(this->get_ScaleWidth((float*)&pRet));
    return pRet;
  }

  short __fastcall get_FontBold(void)
  {
    short pRet;
    OLECHECK(this->get_FontBold((short*)&pRet));
    return pRet;
  }

  short __fastcall get_FontItalic(void)
  {
    short pRet;
    OLECHECK(this->get_FontItalic((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FontName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FontName((BSTR*)&pRet));
    return pRet;
  }

  short __fastcall get_FontSize(void)
  {
    short pRet;
    OLECHECK(this->get_FontSize((short*)&pRet));
    return pRet;
  }

  short __fastcall get_FontUnderline(void)
  {
    short pRet;
    OLECHECK(this->get_FontUnderline((short*)&pRet));
    return pRet;
  }

  short __fastcall get_DrawMode(void)
  {
    short pRet;
    OLECHECK(this->get_DrawMode((short*)&pRet));
    return pRet;
  }

  short __fastcall get_DrawStyle(void)
  {
    short pRet;
    OLECHECK(this->get_DrawStyle((short*)&pRet));
    return pRet;
  }

  short __fastcall get_DrawWidth(void)
  {
    short pRet;
    OLECHECK(this->get_DrawWidth((short*)&pRet));
    return pRet;
  }

  long __fastcall get_FillColor(void)
  {
    long pRet;
    OLECHECK(this->get_FillColor((long*)&pRet));
    return pRet;
  }

  short __fastcall get_FillStyle(void)
  {
    short pRet;
    OLECHECK(this->get_FillStyle((short*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_PaletteSource(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_PaletteSource((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PaintPalette(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PaintPalette((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnMenu(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnMenu((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnOpen(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnOpen((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnClose(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnClose((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnActivate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnActivate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnDeactivate(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnDeactivate((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnNoData(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnNoData((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnPage(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnPage((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_OnError(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_OnError((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Dirty(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Dirty((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  long __fastcall get_CurrentRecord(void)
  {
    long pRet;
    OLECHECK(this->get_CurrentRecord((long*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PictureData(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PictureData((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_PicturePalette(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_PicturePalette((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_HasModule(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_HasModule((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  long __fastcall get_acHiddenCurrentPage(void)
  {
    long pRet;
    OLECHECK(this->get_acHiddenCurrentPage((long*)&pRet));
    return pRet;
  }

  unsigned_char __fastcall get_Orientation(void)
  {
    unsigned_char pRet;
    OLECHECK(this->get_Orientation((unsigned_char*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_InputParameters(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_InputParameters((BSTR*)&pRet));
    return pRet;
  }

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::AccessControlPtr __fastcall get_ActiveControl(void)
  {
    Access_2k::AccessControlPtr pRet;
    OLECHECK(this->get_ActiveControl(&pRet));
    return pRet;
  }

  Access_2k::AccessControl* __fastcall get_DefaultControl(long ControlType/*[in]*/)
  {
    Access_2k::AccessControl* pRet = 0;
    OLECHECK(this->get_DefaultControl(ControlType, (Access_2k::AccessControl**)&pRet));
    return pRet;
  }

  float __fastcall TextWidth(BSTR Expr/*[in]*/)
  {
    float pRet;
    OLECHECK(this->TextWidth(Expr, (float*)&pRet));
    return pRet;
  }

  float __fastcall TextHeight(BSTR Expr/*[in]*/)
  {
    float pRet;
    OLECHECK(this->TextHeight(Expr, (float*)&pRet));
    return pRet;
  }

  Access_2k::AccessSection* __fastcall get_Section(VARIANT Index/*[in]*/)
  {
    Access_2k::AccessSection* pRet = 0;
    OLECHECK(this->get_Section(Index, (Access_2k::AccessSection**)&pRet));
    return pRet;
  }

  Access_2k::AccessGroupLevel* __fastcall get_GroupLevel(long Index/*[in]*/)
  {
    Access_2k::AccessGroupLevel* pRet = 0;
    OLECHECK(this->get_GroupLevel(Index, (Access_2k::AccessGroupLevel**)&pRet));
    return pRet;
  }

  Access_2k::AccessReportPtr __fastcall get_Report(void)
  {
    Access_2k::AccessReportPtr pRet;
    OLECHECK(this->get_Report(&pRet));
    return pRet;
  }

  Access_2k::ModulePtr __fastcall get_Module(void)
  {
    Access_2k::ModulePtr pRet;
    OLECHECK(this->get_Module(&pRet));
    return pRet;
  }

  Access_2k::PropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::PropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::Controls_Ptr __fastcall get_Controls(void)
  {
    Access_2k::Controls_Ptr pRet;
    OLECHECK(this->get_Controls(&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }

  VARIANT __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }


  __property   BSTR            FormName = {read = get_FormName, write = set_FormName};
  __property   BSTR            RecordSource = {read = get_RecordSource, write = set_RecordSource};
  __property   BSTR            Filter = {read = get_Filter, write = set_Filter};
  __property   VARIANT_BOOL    FilterOn = {read = get_FilterOn, write = set_FilterOn};
  __property   BSTR            OrderBy = {read = get_OrderBy, write = set_OrderBy};
  __property   VARIANT_BOOL    OrderByOn = {read = get_OrderByOn, write = set_OrderByOn};
  __property   BSTR            ServerFilter = {read = get_ServerFilter, write = set_ServerFilter};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   unsigned_char   RecordLocks = {read = get_RecordLocks, write = set_RecordLocks};
  __property   unsigned_char   PageHeader = {read = get_PageHeader, write = set_PageHeader};
  __property   unsigned_char   PageFooter = {read = get_PageFooter, write = set_PageFooter};
  __property   unsigned_char   DateGrouping = {read = get_DateGrouping, write = set_DateGrouping};
  __property   unsigned_char   GrpKeepTogether = {read = get_GrpKeepTogether, write = set_GrpKeepTogether};
  __property   VARIANT_BOOL    MinButton = {read = get_MinButton, write = set_MinButton};
  __property   VARIANT_BOOL    MaxButton = {read = get_MaxButton, write = set_MaxButton};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   unsigned_char   PictureSizeMode = {read = get_PictureSizeMode, write = set_PictureSizeMode};
  __property   unsigned_char   PictureAlignment = {read = get_PictureAlignment, write = set_PictureAlignment};
  __property   VARIANT_BOOL    PictureTiling = {read = get_PictureTiling, write = set_PictureTiling};
  __property   unsigned_char   PicturePages = {read = get_PicturePages, write = set_PicturePages};
  __property   BSTR            MenuBar = {read = get_MenuBar, write = set_MenuBar};
  __property   BSTR            Toolbar = {read = get_Toolbar, write = set_Toolbar};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   short           GridX = {read = get_GridX, write = set_GridX};
  __property   short           GridY = {read = get_GridY, write = set_GridY};
  __property   VARIANT_BOOL    LayoutForPrint = {read = get_LayoutForPrint, write = set_LayoutForPrint};
  __property   VARIANT_BOOL    FastLaserPrinting = {read = get_FastLaserPrinting, write = set_FastLaserPrinting};
  __property   BSTR            HelpFile = {read = get_HelpFile, write = set_HelpFile};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   long            Hwnd = {read = get_Hwnd, write = set_Hwnd};
  __property   short           Count = {read = get_Count, write = set_Count};
  __property   long            Page = {read = get_Page, write = set_Page};
  __property   short           Pages = {read = get_Pages, write = set_Pages};
  __property   long            LogicalPageWidth = {read = get_LogicalPageWidth, write = set_LogicalPageWidth};
  __property   long            LogicalPageHeight = {read = get_LogicalPageHeight, write = set_LogicalPageHeight};
  __property   long            ZoomControl = {read = get_ZoomControl, write = set_ZoomControl};
  __property   long            HasData = {read = get_HasData, write = set_HasData};
  __property   long            Left = {read = get_Left, write = set_Left};
  __property   long            Top = {read = get_Top, write = set_Top};
  __property   long            Height = {read = get_Height, write = set_Height};
  __property   VARIANT_BOOL    PrintSection = {read = get_PrintSection, write = set_PrintSection};
  __property   VARIANT_BOOL    NextRecord = {read = get_NextRecord, write = set_NextRecord};
  __property   VARIANT_BOOL    MoveLayout = {read = get_MoveLayout, write = set_MoveLayout};
  __property   short           FormatCount = {read = get_FormatCount, write = set_FormatCount};
  __property   short           PrintCount = {read = get_PrintCount, write = set_PrintCount};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    Painting = {read = get_Painting, write = set_Painting};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   float           CurrentX = {read = get_CurrentX, write = set_CurrentX};
  __property   float           CurrentY = {read = get_CurrentY, write = set_CurrentY};
  __property   float           ScaleHeight = {read = get_ScaleHeight, write = set_ScaleHeight};
  __property   float           ScaleLeft = {read = get_ScaleLeft, write = set_ScaleLeft};
  __property   short           ScaleMode = {read = get_ScaleMode, write = set_ScaleMode};
  __property   float           ScaleTop = {read = get_ScaleTop, write = set_ScaleTop};
  __property   float           ScaleWidth = {read = get_ScaleWidth, write = set_ScaleWidth};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   short           FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   short           DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   short           DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   long            FillColor = {read = get_FillColor, write = set_FillColor};
  __property   short           FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   BSTR            PaletteSource = {read = get_PaletteSource, write = set_PaletteSource};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            OnMenu = {read = get_OnMenu, write = set_OnMenu};
  __property   BSTR            OnOpen = {read = get_OnOpen, write = set_OnOpen};
  __property   BSTR            OnClose = {read = get_OnClose, write = set_OnClose};
  __property   BSTR            OnActivate = {read = get_OnActivate, write = set_OnActivate};
  __property   BSTR            OnDeactivate = {read = get_OnDeactivate, write = set_OnDeactivate};
  __property   BSTR            OnNoData = {read = get_OnNoData, write = set_OnNoData};
  __property   BSTR            OnPage = {read = get_OnPage, write = set_OnPage};
  __property   BSTR            OnError = {read = get_OnError, write = set_OnError};
  __property   VARIANT_BOOL    Dirty = {read = get_Dirty, write = set_Dirty};
  __property   long            CurrentRecord = {read = get_CurrentRecord, write = set_CurrentRecord};
  __property   VARIANT_BOOL    HasModule = {read = get_HasModule, write = set_HasModule};
  __property   long            acHiddenCurrentPage = {read = get_acHiddenCurrentPage, write = set_acHiddenCurrentPage};
  __property   unsigned_char   Orientation = {read = get_Orientation, write = set_Orientation};
  __property   BSTR            InputParameters = {read = get_InputParameters, write = set_InputParameters};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessControlPtr ActiveControl = {read = get_ActiveControl};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};
  __property   Access_2k::ModulePtr Module = {read = get_Module};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::Controls_Ptr Controls = {read = get_Controls};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _ReportEvents
// Flags:     (16) Hidden
// GUID:      {BC9E4357-F037-11CD-8701-00AA003F0F07}
// *********************************************************************//
interface _ReportEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE Open(short* Cancel/*[out]*/) = 0; // [2066]
  virtual HRESULT STDMETHODCALLTYPE Close(void) = 0; // [2070]
  virtual HRESULT STDMETHODCALLTYPE Activate(void) = 0; // [2071]
  virtual HRESULT STDMETHODCALLTYPE Deactivate(void) = 0; // [2072]
  virtual HRESULT STDMETHODCALLTYPE Error(short* DataErr/*[in,out]*/, short* Response/*[out]*/) = 0; // [2083]
  virtual HRESULT STDMETHODCALLTYPE NoData(short* Cancel/*[out]*/) = 0; // [2161]
  virtual HRESULT STDMETHODCALLTYPE Page(void) = 0; // [2162]
};

// *********************************************************************//
// Interface: Reports
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {D1523700-6128-101B-AF4E-00AA003F0F07}
// *********************************************************************//
interface Reports  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT Index/*[in]*/, 
                                             Access_2k::AccessReport** pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::AccessReport* __fastcall get_Item(VARIANT Index/*[in]*/)
  {
    Access_2k::AccessReport* pRet = 0;
    OLECHECK(this->get_Item(Index, (Access_2k::AccessReport**)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: Screen
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {DC6B66C0-6128-101B-AF4E-00AA003F0F07}
// *********************************************************************//
interface Screen  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_ActiveDatasheet(Access_2k::AccessForm** pRet/*[out,retval]*/) = 0; // [2146]
  virtual HRESULT STDMETHODCALLTYPE get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/) = 0; // [2006]
  virtual HRESULT STDMETHODCALLTYPE get_PreviousControl(Access_2k::AccessControl** pRet/*[out,retval]*/) = 0; // [2007]
  virtual HRESULT STDMETHODCALLTYPE get_ActiveForm(Access_2k::AccessForm** pRet/*[out,retval]*/) = 0; // [2008]
  virtual HRESULT STDMETHODCALLTYPE get_ActiveReport(Access_2k::AccessReport** pRet/*[out,retval]*/) = 0; // [2009]
  virtual HRESULT STDMETHODCALLTYPE get_MousePointer(short* pRet/*[out,retval]*/) = 0; // [2106]
  virtual HRESULT STDMETHODCALLTYPE set_MousePointer(short pRet/*[in]*/) = 0; // [2106]
  virtual HRESULT STDMETHODCALLTYPE get_ActiveDataAccessPage(Access_2k::DataAccessPage** pRet/*[out,retval]*/) = 0; // [2214]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::AccessFormPtr __fastcall get_ActiveDatasheet(void)
  {
    Access_2k::AccessFormPtr pRet;
    OLECHECK(this->get_ActiveDatasheet(&pRet));
    return pRet;
  }

  Access_2k::AccessControlPtr __fastcall get_ActiveControl(void)
  {
    Access_2k::AccessControlPtr pRet;
    OLECHECK(this->get_ActiveControl(&pRet));
    return pRet;
  }

  Access_2k::AccessControlPtr __fastcall get_PreviousControl(void)
  {
    Access_2k::AccessControlPtr pRet;
    OLECHECK(this->get_PreviousControl(&pRet));
    return pRet;
  }

  Access_2k::AccessFormPtr __fastcall get_ActiveForm(void)
  {
    Access_2k::AccessFormPtr pRet;
    OLECHECK(this->get_ActiveForm(&pRet));
    return pRet;
  }

  Access_2k::AccessReportPtr __fastcall get_ActiveReport(void)
  {
    Access_2k::AccessReportPtr pRet;
    OLECHECK(this->get_ActiveReport(&pRet));
    return pRet;
  }

  short __fastcall get_MousePointer(void)
  {
    short pRet;
    OLECHECK(this->get_MousePointer((short*)&pRet));
    return pRet;
  }

  Access_2k::DataAccessPagePtr __fastcall get_ActiveDataAccessPage(void)
  {
    Access_2k::DataAccessPagePtr pRet;
    OLECHECK(this->get_ActiveDataAccessPage(&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessFormPtr ActiveDatasheet = {read = get_ActiveDatasheet};
  __property   Access_2k::AccessControlPtr ActiveControl = {read = get_ActiveControl};
  __property   Access_2k::AccessControlPtr PreviousControl = {read = get_PreviousControl};
  __property   Access_2k::AccessFormPtr ActiveForm = {read = get_ActiveForm};
  __property   Access_2k::AccessReportPtr ActiveReport = {read = get_ActiveReport};
  __property   short           MousePointer = {read = get_MousePointer, write = set_MousePointer};
  __property   Access_2k::DataAccessPagePtr ActiveDataAccessPage = {read = get_ActiveDataAccessPage};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _Application
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {68CCE6C0-6129-101B-AF4E-00AA003F0F07}
// *********************************************************************//
interface _Application  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_CodeContextObject(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2082]
  virtual HRESULT STDMETHODCALLTYPE NewCurrentDatabase(BSTR filepath/*[in]*/) = 0; // [2142]
  virtual HRESULT STDMETHODCALLTYPE OpenCurrentDatabase(BSTR filepath/*[in]*/, 
                                                        VARIANT_BOOL Exclusive/*[in,def,opt]*/) = 0; // [2140]
  virtual HRESULT STDMETHODCALLTYPE get_MenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [2010]
  virtual HRESULT STDMETHODCALLTYPE set_MenuBar(BSTR pRet/*[in]*/) = 0; // [2010]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentObjectType(long* pRet/*[out,retval]*/) = 0; // [2011]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentObjectName(BSTR* pRet/*[out,retval]*/) = 0; // [2012]
  virtual HRESULT STDMETHODCALLTYPE GetOption(BSTR OptionName/*[in]*/, VARIANT* pRet/*[out,retval]*/) = 0; // [2013]
  virtual HRESULT STDMETHODCALLTYPE SetOption(BSTR OptionName/*[in]*/, VARIANT Setting/*[in]*/) = 0; // [2014]
  virtual HRESULT STDMETHODCALLTYPE Echo(short EchoOn/*[in]*/, 
                                         BSTR bstrStatusBarText/*[in,def,opt]*/) = 0; // [2015]
  virtual HRESULT STDMETHODCALLTYPE CloseCurrentDatabase(void) = 0; // [2141]
  virtual HRESULT STDMETHODCALLTYPE Quit(Access_2k::AcQuitOption Option/*[in,def,opt]*/) = 0; // [2016]
  virtual HRESULT STDMETHODCALLTYPE get_Forms(Access_2k::Forms_** pRet/*[out,retval]*/) = 0; // [2002]
  virtual HRESULT STDMETHODCALLTYPE get_Reports(Access_2k::Reports** pRet/*[out,retval]*/) = 0; // [2003]
  virtual HRESULT STDMETHODCALLTYPE get_Screen(Access_2k::Screen** pRet/*[out,retval]*/) = 0; // [2004]
  virtual HRESULT STDMETHODCALLTYPE get_DoCmd(Access_2k::DoCmd** pRet/*[out,retval]*/) = 0; // [2025]
  virtual HRESULT STDMETHODCALLTYPE get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/) = 0; // [2107]
  virtual HRESULT STDMETHODCALLTYPE set_ShortcutMenuBar(BSTR pRet/*[in]*/) = 0; // [2107]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pfVisible/*[out,retval]*/) = 0; // [2148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pfVisible/*[in]*/) = 0; // [2148]
  virtual HRESULT STDMETHODCALLTYPE get_UserControl(VARIANT_BOOL* pfUserCtrl/*[out,retval]*/) = 0; // [2149]
  virtual HRESULT STDMETHODCALLTYPE set_UserControl(VARIANT_BOOL pfUserCtrl/*[in]*/) = 0; // [2149]
  virtual HRESULT STDMETHODCALLTYPE SysCmd(Access_2k::AcSysCmdAction Action/*[in]*/, 
                                           VARIANT Argument2/*[in,opt]*/, 
                                           VARIANT Argument3/*[in,opt]*/, 
                                           VARIANT* pRet/*[out,retval]*/) = 0; // [2028]
  virtual HRESULT STDMETHODCALLTYPE CreateForm(VARIANT Database/*[in,opt]*/, 
                                               VARIANT FormTemplate/*[in,opt]*/, 
                                               Access_2k::AccessForm** pRet/*[out,retval]*/) = 0; // [2029]
  virtual HRESULT STDMETHODCALLTYPE CreateReport(VARIANT Database/*[in,opt]*/, 
                                                 VARIANT ReportTemplate/*[in,opt]*/, 
                                                 Access_2k::AccessReport** pRet/*[out,retval]*/) = 0; // [2030]
  virtual HRESULT STDMETHODCALLTYPE CreateControl(BSTR FormName/*[in]*/, 
                                                  Access_2k::AcControlType ControlType/*[in]*/, 
                                                  Access_2k::AcSection Section/*[in,def,opt]*/, 
                                                  VARIANT Parent/*[in,opt]*/, 
                                                  VARIANT ColumnName/*[in,opt]*/, 
                                                  VARIANT Left/*[in,opt]*/, VARIANT Top/*[in,opt]*/, 
                                                  VARIANT Width/*[in,opt]*/, 
                                                  VARIANT Height/*[in,opt]*/, 
                                                  Access_2k::AccessControl** pRet/*[out,retval]*/) = 0; // [2031]
  virtual HRESULT STDMETHODCALLTYPE CreateReportControl(BSTR ReportName/*[in]*/, 
                                                        Access_2k::AcControlType ControlType/*[in]*/, 
                                                        Access_2k::AcSection Section/*[in,def,opt]*/, 
                                                        VARIANT Parent/*[in,opt]*/, 
                                                        VARIANT ColumnName/*[in,opt]*/, 
                                                        VARIANT Left/*[in,opt]*/, 
                                                        VARIANT Top/*[in,opt]*/, 
                                                        VARIANT Width/*[in,opt]*/, 
                                                        VARIANT Height/*[in,opt]*/, 
                                                        Access_2k::AccessControl** pRet/*[out,retval]*/) = 0; // [2032]
  virtual HRESULT STDMETHODCALLTYPE CreateControlEx(BSTR FormName/*[in]*/, 
                                                    Access_2k::AcControlType ControlType/*[in]*/, 
                                                    Access_2k::AcSection Section/*[in]*/, 
                                                    BSTR Parent/*[in]*/, BSTR ControlSource/*[in]*/, 
                                                    long Left/*[in]*/, long Top/*[in]*/, 
                                                    long Width/*[in]*/, long Height/*[in]*/, 
                                                    Access_2k::AccessControl** pRet/*[out,retval]*/) = 0; // [2164]
  virtual HRESULT STDMETHODCALLTYPE CreateReportControlEx(BSTR ReportName/*[in]*/, 
                                                          Access_2k::AcControlType ControlType/*[in]*/, 
                                                          Access_2k::AcSection Section/*[in]*/, 
                                                          BSTR Parent/*[in]*/, 
                                                          BSTR ControlName/*[in]*/, 
                                                          long Left/*[in]*/, long Top/*[in]*/, 
                                                          long Width/*[in]*/, long Height/*[in]*/, 
                                                          Access_2k::AccessControl** pRet/*[out,retval]*/) = 0; // [2165]
  virtual HRESULT STDMETHODCALLTYPE DeleteControl(BSTR FormName/*[in]*/, BSTR ControlName/*[in]*/) = 0; // [2033]
  virtual HRESULT STDMETHODCALLTYPE DeleteReportControl(BSTR ReportName/*[in]*/, 
                                                        BSTR ControlName/*[in]*/) = 0; // [2034]
  virtual HRESULT STDMETHODCALLTYPE CreateGroupLevel(BSTR ReportName/*[in]*/, 
                                                     BSTR Expression/*[in]*/, short Header/*[in]*/, 
                                                     short Footer/*[in]*/, 
                                                     long* pRet/*[out,retval]*/) = 0; // [2051]
  virtual HRESULT STDMETHODCALLTYPE DMin(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                         VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/) = 0; // [2035]
  virtual HRESULT STDMETHODCALLTYPE DMax(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                         VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/) = 0; // [2036]
  virtual HRESULT STDMETHODCALLTYPE DSum(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                         VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/) = 0; // [2037]
  virtual HRESULT STDMETHODCALLTYPE DAvg(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                         VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/) = 0; // [2038]
  virtual HRESULT STDMETHODCALLTYPE DLookup(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                            VARIANT Criteria/*[in,opt]*/, 
                                            VARIANT* pRet/*[out,retval]*/) = 0; // [2039]
  virtual HRESULT STDMETHODCALLTYPE DLast(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                          VARIANT Criteria/*[in,opt]*/, 
                                          VARIANT* pRet/*[out,retval]*/) = 0; // [2040]
  virtual HRESULT STDMETHODCALLTYPE DVar(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                         VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/) = 0; // [2041]
  virtual HRESULT STDMETHODCALLTYPE DVarP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                          VARIANT Criteria/*[in,opt]*/, 
                                          VARIANT* pRet/*[out,retval]*/) = 0; // [2042]
  virtual HRESULT STDMETHODCALLTYPE DStDev(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                           VARIANT Criteria/*[in,opt]*/, 
                                           VARIANT* pRet/*[out,retval]*/) = 0; // [2043]
  virtual HRESULT STDMETHODCALLTYPE DStDevP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                            VARIANT Criteria/*[in,opt]*/, 
                                            VARIANT* pRet/*[out,retval]*/) = 0; // [2044]
  virtual HRESULT STDMETHODCALLTYPE DFirst(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                           VARIANT Criteria/*[in,opt]*/, 
                                           VARIANT* pRet/*[out,retval]*/) = 0; // [2045]
  virtual HRESULT STDMETHODCALLTYPE DCount(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                           VARIANT Criteria/*[in,opt]*/, 
                                           VARIANT* pRet/*[out,retval]*/) = 0; // [2046]
  virtual HRESULT STDMETHODCALLTYPE Eval(BSTR StringExpr/*[in]*/, VARIANT* pRet/*[out,retval]*/) = 0; // [2047]
  virtual HRESULT STDMETHODCALLTYPE CurrentUser(BSTR* pRet/*[out,retval]*/) = 0; // [2048]
  virtual HRESULT STDMETHODCALLTYPE DDEInitiate(BSTR Application/*[in]*/, BSTR Topic/*[in]*/, 
                                                VARIANT* pRet/*[out,retval]*/) = 0; // [2052]
  virtual HRESULT STDMETHODCALLTYPE DDEExecute(VARIANT ChanNum/*[in]*/, BSTR Command/*[in]*/) = 0; // [2053]
  virtual HRESULT STDMETHODCALLTYPE DDEPoke(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/, 
                                            BSTR Data/*[in]*/) = 0; // [2054]
  virtual HRESULT STDMETHODCALLTYPE DDERequest(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/, 
                                               BSTR* pRet/*[out,retval]*/) = 0; // [2055]
  virtual HRESULT STDMETHODCALLTYPE DDETerminate(VARIANT ChanNum/*[in]*/) = 0; // [2056]
  virtual HRESULT STDMETHODCALLTYPE DDETerminateAll(void) = 0; // [2057]
  virtual HRESULT STDMETHODCALLTYPE get_DBEngine(Dao_2k::DBEngine** pRet/*[out,retval]*/) = 0; // [2110]
  virtual HRESULT STDMETHODCALLTYPE CurrentDb(Dao_2k::Database** pRet/*[out,retval]*/) = 0; // [2049]
  virtual HRESULT STDMETHODCALLTYPE CodeDb(Dao_2k::Database** pRet/*[out,retval]*/) = 0; // [2050]
  virtual HRESULT STDMETHODCALLTYPE BeginUndoable(long Hwnd/*[in]*/) = 0; // [2099]
  virtual HRESULT STDMETHODCALLTYPE SetUndoRecording(short yesno/*[in]*/) = 0; // [2100]
  virtual HRESULT STDMETHODCALLTYPE BuildCriteria(BSTR Field/*[in]*/, short FieldType/*[in]*/, 
                                                  BSTR Expression/*[in]*/, 
                                                  BSTR* pRet/*[out,retval]*/) = 0; // [2138]
  virtual HRESULT STDMETHODCALLTYPE InsertText(BSTR Text/*[in]*/, BSTR ModuleName/*[in]*/) = 0; // [2093]
  virtual HRESULT STDMETHODCALLTYPE ReloadAddIns(void) = 0; // [2154]
  virtual HRESULT STDMETHODCALLTYPE DefaultWorkspaceClone(Dao_2k::Workspace** pRet/*[out,retval]*/) = 0; // [2157]
  virtual HRESULT STDMETHODCALLTYPE RefreshTitleBar(void) = 0; // [2158]
  virtual HRESULT STDMETHODCALLTYPE AddAutoCorrect(BSTR ChangeFrom/*[in]*/, BSTR ChangeTo/*[in]*/) = 0; // [2159]
  virtual HRESULT STDMETHODCALLTYPE DelAutoCorrect(BSTR ChangeFrom/*[in]*/) = 0; // [2160]
  virtual HRESULT STDMETHODCALLTYPE hWndAccessApp(int* phWndAccessAppWnd/*[out,retval]*/) = 0; // [2163]
  virtual HRESULT STDMETHODCALLTYPE Run(BSTR Procedure/*[in]*/, VARIANT* Arg1/*[in,out,opt]*/, 
                                        VARIANT* Arg2/*[in,out,opt]*/, VARIANT* Arg3/*[in,out,opt]*/, 
                                        VARIANT* Arg4/*[in,out,opt]*/, VARIANT* Arg5/*[in,out,opt]*/, 
                                        VARIANT* Arg6/*[in,out,opt]*/, VARIANT* Arg7/*[in,out,opt]*/, 
                                        VARIANT* Arg8/*[in,out,opt]*/, VARIANT* Arg9/*[in,out,opt]*/, 
                                        VARIANT* Arg10/*[in,out,opt]*/, 
                                        VARIANT* Arg11/*[in,out,opt]*/, 
                                        VARIANT* Arg12/*[in,out,opt]*/, 
                                        VARIANT* Arg13/*[in,out,opt]*/, 
                                        VARIANT* Arg14/*[in,out,opt]*/, 
                                        VARIANT* Arg15/*[in,out,opt]*/, 
                                        VARIANT* Arg16/*[in,out,opt]*/, 
                                        VARIANT* Arg17/*[in,out,opt]*/, 
                                        VARIANT* Arg18/*[in,out,opt]*/, 
                                        VARIANT* Arg19/*[in,out,opt]*/, 
                                        VARIANT* Arg20/*[in,out,opt]*/, 
                                        VARIANT* Arg21/*[in,out,opt]*/, 
                                        VARIANT* Arg22/*[in,out,opt]*/, 
                                        VARIANT* Arg23/*[in,out,opt]*/, 
                                        VARIANT* Arg24/*[in,out,opt]*/, 
                                        VARIANT* Arg25/*[in,out,opt]*/, 
                                        VARIANT* Arg26/*[in,out,opt]*/, 
                                        VARIANT* Arg27/*[in,out,opt]*/, 
                                        VARIANT* Arg28/*[in,out,opt]*/, 
                                        VARIANT* Arg29/*[in,out,opt]*/, 
                                        VARIANT* Arg30/*[in,out,opt]*/, 
                                        VARIANT* pRet/*[out,retval]*/) = 0; // [2134]
  virtual HRESULT STDMETHODCALLTYPE Nz(VARIANT Value/*[in]*/, VARIANT ValueIfNull/*[in,opt]*/, 
                                       VARIANT* pRet/*[out,retval]*/) = 0; // [2135]
  virtual HRESULT STDMETHODCALLTYPE LoadPicture(BSTR FileName/*[in]*/, 
                                                LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2166]
  virtual HRESULT STDMETHODCALLTYPE ReplaceModule(long objtyp/*[in]*/, BSTR ModuleName/*[in]*/, 
                                                  BSTR FileName/*[in]*/, long token/*[in]*/) = 0; // [2168]
  virtual HRESULT STDMETHODCALLTYPE AccessError(VARIANT ErrorNumber/*[in]*/, 
                                                VARIANT* pRet/*[out,retval]*/) = 0; // [2169]
  virtual HRESULT STDMETHODCALLTYPE BuilderString(VARIANT* pRet/*[out,retval]*/) = 0; // [2170]
  virtual HRESULT STDMETHODCALLTYPE StringFromGUID(VARIANT Guid/*[in]*/, 
                                                   VARIANT* pRet/*[out,retval]*/) = 0; // [2171]
  virtual HRESULT STDMETHODCALLTYPE GUIDFromString(VARIANT String/*[in]*/, 
                                                   VARIANT* pRet/*[out,retval]*/) = 0; // [2172]
  virtual HRESULT STDMETHODCALLTYPE AppLoadString(long id/*[in]*/, VARIANT* pRet/*[out,retval]*/) = 0; // [2173]
  virtual HRESULT STDMETHODCALLTYPE get_CommandBars(Office_2k::CommandBars** pRet/*[out,retval]*/) = 0; // [2174]
  virtual HRESULT STDMETHODCALLTYPE get_Assistant(Office_2k::Assistant** pRet/*[out,retval]*/) = 0; // [2175]
  virtual HRESULT STDMETHODCALLTYPE FollowHyperlink(BSTR Address/*[in]*/, 
                                                    BSTR SubAddress/*[in,def,opt]*/, 
                                                    VARIANT_BOOL NewWindow/*[in,def,opt]*/, 
                                                    VARIANT_BOOL AddHistory/*[in,def,opt]*/, 
                                                    VARIANT ExtraInfo/*[in,opt]*/, 
                                                    Office_2k::MsoExtraInfoMethod Method/*[in,def,opt]*/, 
                                                    BSTR HeaderInfo/*[in,def,opt]*/) = 0; // [2176]
  virtual HRESULT STDMETHODCALLTYPE SaveAsText(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                               BSTR ObjectName/*[in]*/, BSTR FileName/*[in]*/) = 0; // [2178]
  virtual HRESULT STDMETHODCALLTYPE LoadFromText(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                                 BSTR ObjectName/*[in]*/, BSTR FileName/*[in]*/) = 0; // [2179]
  virtual HRESULT STDMETHODCALLTYPE AddToFavorites(void) = 0; // [2184]
  virtual HRESULT STDMETHODCALLTYPE RefreshDatabaseWindow(void) = 0; // [2186]
  virtual HRESULT STDMETHODCALLTYPE get_References(Access_2k::AccessReferences** pRet/*[out,retval]*/) = 0; // [2187]
  virtual HRESULT STDMETHODCALLTYPE get_Modules(Access_2k::Modules** pRet/*[out,retval]*/) = 0; // [2188]
  virtual HRESULT STDMETHODCALLTYPE get_FileSearch(Office_2k::FileSearch** pRet/*[out,retval]*/) = 0; // [2189]
  virtual HRESULT STDMETHODCALLTYPE get_IsCompiled(VARIANT_BOOL* pfCompiled/*[out,retval]*/) = 0; // [2193]
  virtual HRESULT STDMETHODCALLTYPE RunCommand(Access_2k::AcCommand Command/*[in]*/) = 0; // [2194]
  virtual HRESULT STDMETHODCALLTYPE HyperlinkPart(VARIANT Hyperlink/*[in]*/, 
                                                  Access_2k::AcHyperlinkPart Part/*[in,def,opt]*/, 
                                                  BSTR* pRet/*[out,retval]*/) = 0; // [2195]
  virtual HRESULT STDMETHODCALLTYPE GetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                                       BSTR ObjectName/*[in]*/, 
                                                       VARIANT_BOOL* pfHidden/*[out,retval]*/) = 0; // [2197]
  virtual HRESULT STDMETHODCALLTYPE SetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                                       BSTR ObjectName/*[in]*/, 
                                                       VARIANT_BOOL fHidden/*[in]*/) = 0; // [2198]
  virtual HRESULT STDMETHODCALLTYPE get_VBE(Vbide_2k::VBE** ppVBE/*[out,retval]*/) = 0; // [2210]
  virtual HRESULT STDMETHODCALLTYPE get_DataAccessPages(Access_2k::DataAccessPages** pRet/*[out,retval]*/) = 0; // [2212]
  virtual HRESULT STDMETHODCALLTYPE CreateDataAccessPage(VARIANT FileName/*[in,opt]*/, 
                                                         VARIANT_BOOL CreateNewFile/*[in,def,opt]*/, 
                                                         Access_2k::DataAccessPage** pRet/*[out,retval]*/) = 0; // [2213]
  virtual HRESULT STDMETHODCALLTYPE get_ADOConnectString(BSTR* pbstrADOConnectString/*[out,retval]*/) = 0; // [2233]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentProject(Access_2k::CurrentProject** pRet/*[out,retval]*/) = 0; // [2215]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentData(Access_2k::CurrentData** pRet/*[out,retval]*/) = 0; // [2216]
  virtual HRESULT STDMETHODCALLTYPE get_CodeProject(Access_2k::CodeProject** pRet/*[out,retval]*/) = 0; // [2217]
  virtual HRESULT STDMETHODCALLTYPE get_CodeData(Access_2k::CodeData** pRet/*[out,retval]*/) = 0; // [2218]
  virtual HRESULT STDMETHODCALLTYPE NewAccessProject(BSTR filepath/*[in]*/, 
                                                     VARIANT Connect/*[in,opt]*/= TNoParam()) = 0; // [2262]
  virtual HRESULT STDMETHODCALLTYPE OpenAccessProject(BSTR filepath/*[in]*/, 
                                                      VARIANT_BOOL Exclusive/*[in,def,opt]*/) = 0; // [2263]
  virtual HRESULT STDMETHODCALLTYPE CreateAccessProject(BSTR filepath/*[in]*/, 
                                                        VARIANT Connect/*[in,opt]*/= TNoParam()) = 0; // [2264]
  virtual HRESULT STDMETHODCALLTYPE get_WizHook(Access_2k::WizHook** pRet/*[out,retval]*/) = 0; // [2235]
  virtual HRESULT STDMETHODCALLTYPE get_ProductCode(BSTR* pRet/*[out,retval]*/) = 0; // [2266]
  virtual HRESULT STDMETHODCALLTYPE get_COMAddIns(Office_2k::COMAddIns** pRet/*[out,retval]*/) = 0; // [2277]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pRet/*[out,retval]*/) = 0; // [2094]
  virtual HRESULT STDMETHODCALLTYPE get_DefaultWebOptions(Access_2k::DefaultWebOptions** ppDWO/*[out,retval]*/) = 0; // [2278]
  virtual HRESULT STDMETHODCALLTYPE get_LanguageSettings(Office_2k::LanguageSettings** ppRet/*[out,retval]*/) = 0; // [2301]
  virtual HRESULT STDMETHODCALLTYPE get_AnswerWizard(Office_2k::AnswerWizard** pRet/*[out,retval]*/) = 0; // [2304]
  virtual HRESULT STDMETHODCALLTYPE get_FeatureInstall(Office_2k::MsoFeatureInstall* FeatureInstall/*[out,retval]*/) = 0; // [2322]
  virtual HRESULT STDMETHODCALLTYPE set_FeatureInstall(Office_2k::MsoFeatureInstall FeatureInstall/*[in]*/) = 0; // [2322]
  virtual HRESULT STDMETHODCALLTYPE EuroConvert(double Number/*[in]*/, BSTR SourceCurrency/*[in]*/, 
                                                BSTR TargetCurrency/*[in]*/, 
                                                VARIANT FullPrecision/*[in,opt]*/, 
                                                VARIANT TriangulationPrecision/*[in,opt]*/, 
                                                double* pRet/*[out,retval]*/) = 0; // [2325]
  virtual HRESULT STDMETHODCALLTYPE get_VGXFrameInterval(VARIANT* pnmsec/*[out,retval]*/) = 0; // [2326]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_CodeContextObject(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_CodeContextObject((LPDISPATCH*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_MenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_MenuBar((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_CurrentObjectType(void)
  {
    long pRet;
    OLECHECK(this->get_CurrentObjectType((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_CurrentObjectName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_CurrentObjectName((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall GetOption(BSTR OptionName/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->GetOption(OptionName, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::Forms_Ptr __fastcall get_Forms(void)
  {
    Access_2k::Forms_Ptr pRet;
    OLECHECK(this->get_Forms(&pRet));
    return pRet;
  }

  Access_2k::ReportsPtr __fastcall get_Reports(void)
  {
    Access_2k::ReportsPtr pRet;
    OLECHECK(this->get_Reports(&pRet));
    return pRet;
  }

  Access_2k::ScreenPtr __fastcall get_Screen(void)
  {
    Access_2k::ScreenPtr pRet;
    OLECHECK(this->get_Screen(&pRet));
    return pRet;
  }

  Access_2k::DoCmdPtr __fastcall get_DoCmd(void)
  {
    Access_2k::DoCmdPtr pRet;
    OLECHECK(this->get_DoCmd(&pRet));
    return pRet;
  }

  BSTR __fastcall get_ShortcutMenuBar(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pfVisible;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pfVisible));
    return pfVisible;
  }

  VARIANT_BOOL __fastcall get_UserControl(void)
  {
    VARIANT_BOOL pfUserCtrl;
    OLECHECK(this->get_UserControl((VARIANT_BOOL*)&pfUserCtrl));
    return pfUserCtrl;
  }

  VARIANT __fastcall SysCmd(Access_2k::AcSysCmdAction Action/*[in]*/, 
                            VARIANT Argument2/*[in,opt]*/= TNoParam(), 
                            VARIANT Argument3/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->SysCmd(Action, Argument2, Argument3, (VARIANT*)&pRet));
    return pRet;
  }

  Access_2k::AccessForm* __fastcall CreateForm(VARIANT Database/*[in,opt]*/= TNoParam(), 
                                               VARIANT FormTemplate/*[in,opt]*/= TNoParam())
  {
    Access_2k::AccessForm* pRet = 0;
    OLECHECK(this->CreateForm(Database, FormTemplate, (Access_2k::AccessForm**)&pRet));
    return pRet;
  }

  Access_2k::AccessReport* __fastcall CreateReport(VARIANT Database/*[in,opt]*/= TNoParam(), 
                                                   VARIANT ReportTemplate/*[in,opt]*/= TNoParam())
  {
    Access_2k::AccessReport* pRet = 0;
    OLECHECK(this->CreateReport(Database, ReportTemplate, (Access_2k::AccessReport**)&pRet));
    return pRet;
  }

  Access_2k::AccessControl* __fastcall CreateControl(BSTR FormName/*[in]*/, 
                                                     Access_2k::AcControlType ControlType/*[in]*/, 
                                                     Access_2k::AcSection Section/*[in,def,opt]*/, 
                                                     VARIANT Parent/*[in,opt]*/= TNoParam(), 
                                                     VARIANT ColumnName/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Left/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Top/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Width/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Height/*[in,opt]*/= TNoParam())
  {
    Access_2k::AccessControl* pRet = 0;
    OLECHECK(this->CreateControl(FormName, ControlType, Section, Parent, ColumnName, Left, Top, 
                                 Width, Height, (Access_2k::AccessControl**)&pRet));
    return pRet;
  }

  Access_2k::AccessControl* __fastcall CreateReportControl(BSTR ReportName/*[in]*/, 
                                                           Access_2k::AcControlType ControlType/*[in]*/, 
                                                           Access_2k::AcSection Section/*[in,def,opt]*/, 
                                                           VARIANT Parent/*[in,opt]*/= TNoParam(), 
                                                           VARIANT ColumnName/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Left/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Top/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Width/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Height/*[in,opt]*/= TNoParam())
  {
    Access_2k::AccessControl* pRet = 0;
    OLECHECK(this->CreateReportControl(ReportName, ControlType, Section, Parent, ColumnName, Left, 
                                       Top, Width, Height, (Access_2k::AccessControl**)&pRet));
    return pRet;
  }

  Access_2k::AccessControl* __fastcall CreateControlEx(BSTR FormName/*[in]*/, 
                                                       Access_2k::AcControlType ControlType/*[in]*/, 
                                                       Access_2k::AcSection Section/*[in]*/, 
                                                       BSTR Parent/*[in]*/, 
                                                       BSTR ControlSource/*[in]*/, long Left/*[in]*/, 
                                                       long Top/*[in]*/, long Width/*[in]*/, 
                                                       long Height/*[in]*/)
  {
    Access_2k::AccessControl* pRet = 0;
    OLECHECK(this->CreateControlEx(FormName, ControlType, Section, Parent, ControlSource, Left, Top, 
                                   Width, Height, (Access_2k::AccessControl**)&pRet));
    return pRet;
  }

  Access_2k::AccessControl* __fastcall CreateReportControlEx(BSTR ReportName/*[in]*/, 
                                                             Access_2k::AcControlType ControlType/*[in]*/, 
                                                             Access_2k::AcSection Section/*[in]*/, 
                                                             BSTR Parent/*[in]*/, 
                                                             BSTR ControlName/*[in]*/, 
                                                             long Left/*[in]*/, long Top/*[in]*/, 
                                                             long Width/*[in]*/, long Height/*[in]*/)
  {
    Access_2k::AccessControl* pRet = 0;
    OLECHECK(this->CreateReportControlEx(ReportName, ControlType, Section, Parent, ControlName, Left, 
                                         Top, Width, Height, (Access_2k::AccessControl**)&pRet));
    return pRet;
  }

  long __fastcall CreateGroupLevel(BSTR ReportName/*[in]*/, BSTR Expression/*[in]*/, 
                                   short Header/*[in]*/, short Footer/*[in]*/)
  {
    long pRet;
    OLECHECK(this->CreateGroupLevel(ReportName, Expression, Header, Footer, (long*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DMin(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                          VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DMin(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DMax(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                          VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DMax(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DSum(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                          VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DSum(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DAvg(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                          VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DAvg(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DLookup(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                             VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DLookup(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DLast(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                           VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DLast(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DVar(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                          VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DVar(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DVarP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                           VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DVarP(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DStDev(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                            VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DStDev(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DStDevP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                             VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DStDevP(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DFirst(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                            VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DFirst(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DCount(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                            VARIANT Criteria/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->DCount(Expr, Domain, Criteria, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall Eval(BSTR StringExpr/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->Eval(StringExpr, (VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall CurrentUser(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->CurrentUser((BSTR*)&pRet));
    return pRet;
  }

  VARIANT __fastcall DDEInitiate(BSTR Application/*[in]*/, BSTR Topic/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->DDEInitiate(Application, Topic, (VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall DDERequest(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/)
  {
    BSTR pRet = 0;
    OLECHECK(this->DDERequest(ChanNum, Item, (BSTR*)&pRet));
    return pRet;
  }

  Dao_2k::DBEnginePtr __fastcall get_DBEngine(void)
  {
    Dao_2k::DBEnginePtr pRet;
    OLECHECK(this->get_DBEngine(&pRet));
    return pRet;
  }

  Dao_2k::Database* __fastcall CurrentDb(void)
  {
    Dao_2k::Database* pRet = 0;
    OLECHECK(this->CurrentDb((Dao_2k::Database**)&pRet));
    return pRet;
  }

  Dao_2k::Database* __fastcall CodeDb(void)
  {
    Dao_2k::Database* pRet = 0;
    OLECHECK(this->CodeDb((Dao_2k::Database**)&pRet));
    return pRet;
  }

  BSTR __fastcall BuildCriteria(BSTR Field/*[in]*/, short FieldType/*[in]*/, BSTR Expression/*[in]*/)
  {
    BSTR pRet = 0;
    OLECHECK(this->BuildCriteria(Field, FieldType, Expression, (BSTR*)&pRet));
    return pRet;
  }

  Dao_2k::Workspace* __fastcall DefaultWorkspaceClone(void)
  {
    Dao_2k::Workspace* pRet = 0;
    OLECHECK(this->DefaultWorkspaceClone((Dao_2k::Workspace**)&pRet));
    return pRet;
  }

  int __fastcall hWndAccessApp(void)
  {
    int phWndAccessAppWnd;
    OLECHECK(this->hWndAccessApp((int*)&phWndAccessAppWnd));
    return phWndAccessAppWnd;
  }

  VARIANT __fastcall Run(BSTR Procedure/*[in]*/, VARIANT* Arg1/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg2/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg3/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg4/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg5/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg6/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg7/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg8/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg9/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg10/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg11/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg12/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg13/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg14/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg15/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg16/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg17/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg18/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg19/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg20/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg21/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg22/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg23/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg24/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg25/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg26/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg27/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg28/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg29/*[in,out,opt]*/= TNoParam(), 
                         VARIANT* Arg30/*[in,out,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->Run(Procedure, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8, Arg9, Arg10, Arg11, 
                       Arg12, Arg13, Arg14, Arg15, Arg16, Arg17, Arg18, Arg19, Arg20, Arg21, Arg22, 
                       Arg23, Arg24, Arg25, Arg26, Arg27, Arg28, Arg29, Arg30, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall Nz(VARIANT Value/*[in]*/, VARIANT ValueIfNull/*[in,opt]*/= TNoParam())
  {
    VARIANT pRet;
    OLECHECK(this->Nz(Value, ValueIfNull, (VARIANT*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall LoadPicture(BSTR FileName/*[in]*/)
  {
    LPDISPATCH pRet;
    OLECHECK(this->LoadPicture(FileName, (LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT __fastcall AccessError(VARIANT ErrorNumber/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->AccessError(ErrorNumber, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall BuilderString(void)
  {
    VARIANT pRet;
    OLECHECK(this->BuilderString((VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall StringFromGUID(VARIANT Guid/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->StringFromGUID(Guid, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall GUIDFromString(VARIANT String/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->GUIDFromString(String, (VARIANT*)&pRet));
    return pRet;
  }

  VARIANT __fastcall AppLoadString(long id/*[in]*/)
  {
    VARIANT pRet;
    OLECHECK(this->AppLoadString(id, (VARIANT*)&pRet));
    return pRet;
  }

  Office_2k::CommandBarsPtr __fastcall get_CommandBars(void)
  {
    Office_2k::CommandBarsPtr pRet;
    OLECHECK(this->get_CommandBars(&pRet));
    return pRet;
  }

  Office_2k::AssistantPtr __fastcall get_Assistant(void)
  {
    Office_2k::AssistantPtr pRet;
    OLECHECK(this->get_Assistant(&pRet));
    return pRet;
  }

  Access_2k::AccessReferencesPtr __fastcall get_References(void)
  {
    Access_2k::AccessReferencesPtr pRet;
    OLECHECK(this->get_References(&pRet));
    return pRet;
  }

  Access_2k::ModulesPtr __fastcall get_Modules(void)
  {
    Access_2k::ModulesPtr pRet;
    OLECHECK(this->get_Modules(&pRet));
    return pRet;
  }

  Office_2k::FileSearchPtr __fastcall get_FileSearch(void)
  {
    Office_2k::FileSearchPtr pRet;
    OLECHECK(this->get_FileSearch(&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsCompiled(void)
  {
    VARIANT_BOOL pfCompiled;
    OLECHECK(this->get_IsCompiled((VARIANT_BOOL*)&pfCompiled));
    return pfCompiled;
  }

  BSTR __fastcall HyperlinkPart(VARIANT Hyperlink/*[in]*/, 
                                Access_2k::AcHyperlinkPart Part/*[in,def,opt]*/)
  {
    BSTR pRet = 0;
    OLECHECK(this->HyperlinkPart(Hyperlink, Part, (BSTR*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall GetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                             BSTR ObjectName/*[in]*/)
  {
    VARIANT_BOOL pfHidden;
    OLECHECK(this->GetHiddenAttribute(ObjectType, ObjectName, (VARIANT_BOOL*)&pfHidden));
    return pfHidden;
  }

  Vbide_2k::VBEPtr __fastcall get_VBE(void)
  {
    Vbide_2k::VBEPtr ppVBE;
    OLECHECK(this->get_VBE(&ppVBE));
    return ppVBE;
  }

  Access_2k::DataAccessPagesPtr __fastcall get_DataAccessPages(void)
  {
    Access_2k::DataAccessPagesPtr pRet;
    OLECHECK(this->get_DataAccessPages(&pRet));
    return pRet;
  }

  Access_2k::DataAccessPage* __fastcall CreateDataAccessPage(VARIANT FileName/*[in,opt]*/, 
                                                             VARIANT_BOOL CreateNewFile/*[in,def,opt]*/)
  {
    Access_2k::DataAccessPage* pRet = 0;
    OLECHECK(this->CreateDataAccessPage(FileName, CreateNewFile, (Access_2k::DataAccessPage**)&pRet));
    return pRet;
  }

  BSTR __fastcall get_ADOConnectString(void)
  {
    BSTR pbstrADOConnectString = 0;
    OLECHECK(this->get_ADOConnectString((BSTR*)&pbstrADOConnectString));
    return pbstrADOConnectString;
  }

  Access_2k::CurrentProjectPtr __fastcall get_CurrentProject(void)
  {
    Access_2k::CurrentProjectPtr pRet;
    OLECHECK(this->get_CurrentProject(&pRet));
    return pRet;
  }

  Access_2k::CurrentDataPtr __fastcall get_CurrentData(void)
  {
    Access_2k::CurrentDataPtr pRet;
    OLECHECK(this->get_CurrentData(&pRet));
    return pRet;
  }

  Access_2k::CodeProjectPtr __fastcall get_CodeProject(void)
  {
    Access_2k::CodeProjectPtr pRet;
    OLECHECK(this->get_CodeProject(&pRet));
    return pRet;
  }

  Access_2k::CodeDataPtr __fastcall get_CodeData(void)
  {
    Access_2k::CodeDataPtr pRet;
    OLECHECK(this->get_CodeData(&pRet));
    return pRet;
  }

  Access_2k::WizHookPtr __fastcall get_WizHook(void)
  {
    Access_2k::WizHookPtr pRet;
    OLECHECK(this->get_WizHook(&pRet));
    return pRet;
  }

  BSTR __fastcall get_ProductCode(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ProductCode((BSTR*)&pRet));
    return pRet;
  }

  Office_2k::COMAddInsPtr __fastcall get_COMAddIns(void)
  {
    Office_2k::COMAddInsPtr pRet;
    OLECHECK(this->get_COMAddIns(&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Name((BSTR*)&pRet));
    return pRet;
  }

  Access_2k::DefaultWebOptionsPtr __fastcall get_DefaultWebOptions(void)
  {
    Access_2k::DefaultWebOptionsPtr ppDWO;
    OLECHECK(this->get_DefaultWebOptions(&ppDWO));
    return ppDWO;
  }

  Office_2k::LanguageSettingsPtr __fastcall get_LanguageSettings(void)
  {
    Office_2k::LanguageSettingsPtr ppRet;
    OLECHECK(this->get_LanguageSettings(&ppRet));
    return ppRet;
  }

  Office_2k::AnswerWizardPtr __fastcall get_AnswerWizard(void)
  {
    Office_2k::AnswerWizardPtr pRet;
    OLECHECK(this->get_AnswerWizard(&pRet));
    return pRet;
  }

  Office_2k::MsoFeatureInstall __fastcall get_FeatureInstall(void)
  {
    Office_2k::MsoFeatureInstall FeatureInstall;
    OLECHECK(this->get_FeatureInstall((Office_2k::MsoFeatureInstall*)&FeatureInstall));
    return FeatureInstall;
  }

  double __fastcall EuroConvert(double Number/*[in]*/, BSTR SourceCurrency/*[in]*/, 
                                BSTR TargetCurrency/*[in]*/, 
                                VARIANT FullPrecision/*[in,opt]*/= TNoParam(), 
                                VARIANT TriangulationPrecision/*[in,opt]*/= TNoParam())
  {
    double pRet;
    OLECHECK(this->EuroConvert(Number, SourceCurrency, TargetCurrency, FullPrecision, 
                               TriangulationPrecision, (double*)&pRet));
    return pRet;
  }

  VARIANT __fastcall get_VGXFrameInterval(void)
  {
    VARIANT pnmsec;
    OLECHECK(this->get_VGXFrameInterval((VARIANT*)&pnmsec));
    return pnmsec;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      CodeContextObject = {read = get_CodeContextObject};
  __property   BSTR            MenuBar = {read = get_MenuBar, write = set_MenuBar};
  __property   long            CurrentObjectType = {read = get_CurrentObjectType};
  __property   BSTR            CurrentObjectName = {read = get_CurrentObjectName};
  __property   Access_2k::Forms_Ptr Forms = {read = get_Forms};
  __property   Access_2k::ReportsPtr Reports = {read = get_Reports};
  __property   Access_2k::ScreenPtr Screen = {read = get_Screen};
  __property   Access_2k::DoCmdPtr DoCmd = {read = get_DoCmd};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    UserControl = {read = get_UserControl, write = set_UserControl};
  __property   Dao_2k::DBEnginePtr DBEngine = {read = get_DBEngine};
  __property   Office_2k::CommandBarsPtr CommandBars = {read = get_CommandBars};
  __property   Office_2k::AssistantPtr Assistant = {read = get_Assistant};
  __property   Access_2k::AccessReferencesPtr References = {read = get_References};
  __property   Access_2k::ModulesPtr Modules = {read = get_Modules};
  __property   Office_2k::FileSearchPtr FileSearch = {read = get_FileSearch};
  __property   VARIANT_BOOL    IsCompiled = {read = get_IsCompiled};
  __property   Vbide_2k::VBEPtr VBE = {read = get_VBE};
  __property   Access_2k::DataAccessPagesPtr DataAccessPages = {read = get_DataAccessPages};
  __property   BSTR            ADOConnectString = {read = get_ADOConnectString};
  __property   Access_2k::CurrentProjectPtr CurrentProject = {read = get_CurrentProject};
  __property   Access_2k::CurrentDataPtr CurrentData = {read = get_CurrentData};
  __property   Access_2k::CodeProjectPtr CodeProject = {read = get_CodeProject};
  __property   Access_2k::CodeDataPtr CodeData = {read = get_CodeData};
  __property   Access_2k::WizHookPtr WizHook = {read = get_WizHook};
  __property   BSTR            ProductCode = {read = get_ProductCode};
  __property   Office_2k::COMAddInsPtr COMAddIns = {read = get_COMAddIns};
  __property   BSTR            Name = {read = get_Name};
  __property   Access_2k::DefaultWebOptionsPtr DefaultWebOptions = {read = get_DefaultWebOptions};
  __property   Office_2k::LanguageSettingsPtr LanguageSettings = {read = get_LanguageSettings};
  __property   Office_2k::AnswerWizardPtr AnswerWizard = {read = get_AnswerWizard};
  __property   Office_2k::MsoFeatureInstall FeatureInstall = {read = get_FeatureInstall, write = set_FeatureInstall};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: Reference
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {EB106212-9C89-11CF-A2B3-00A0C90542FF}
// *********************************************************************//
interface Reference  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Collection(Access_2k::AccessReferences** retval/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_Guid(BSTR* pbstrGuid/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_Major(long* pMajor/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_Minor(long* pMinor/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_FullPath(BSTR* pbstrFullPath/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_BuiltIn(VARIANT_BOOL* pfBuiltIn/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_IsBroken(VARIANT_BOOL* pfIsBroken/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE get_Kind(Vbide_2k::vbext_RefKind* pKind/*[out,retval]*/) = 0; // [-1]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessReferencesPtr __fastcall get_Collection(void)
  {
    Access_2k::AccessReferencesPtr retval;
    OLECHECK(this->get_Collection(&retval));
    return retval;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }

  BSTR __fastcall get_Guid(void)
  {
    BSTR pbstrGuid = 0;
    OLECHECK(this->get_Guid((BSTR*)&pbstrGuid));
    return pbstrGuid;
  }

  long __fastcall get_Major(void)
  {
    long pMajor;
    OLECHECK(this->get_Major((long*)&pMajor));
    return pMajor;
  }

  long __fastcall get_Minor(void)
  {
    long pMinor;
    OLECHECK(this->get_Minor((long*)&pMinor));
    return pMinor;
  }

  BSTR __fastcall get_FullPath(void)
  {
    BSTR pbstrFullPath = 0;
    OLECHECK(this->get_FullPath((BSTR*)&pbstrFullPath));
    return pbstrFullPath;
  }

  VARIANT_BOOL __fastcall get_BuiltIn(void)
  {
    VARIANT_BOOL pfBuiltIn;
    OLECHECK(this->get_BuiltIn((VARIANT_BOOL*)&pfBuiltIn));
    return pfBuiltIn;
  }

  VARIANT_BOOL __fastcall get_IsBroken(void)
  {
    VARIANT_BOOL pfIsBroken;
    OLECHECK(this->get_IsBroken((VARIANT_BOOL*)&pfIsBroken));
    return pfIsBroken;
  }

  Vbide_2k::vbext_RefKind __fastcall get_Kind(void)
  {
    Vbide_2k::vbext_RefKind pKind;
    OLECHECK(this->get_Kind((Vbide_2k::vbext_RefKind*)&pKind));
    return pKind;
  }


  __property   Access_2k::AccessReferencesPtr Collection = {read = get_Collection};
  __property   BSTR            Name = {read = get_Name};
  __property   BSTR            Guid = {read = get_Guid};
  __property   long            Major = {read = get_Major};
  __property   long            Minor = {read = get_Minor};
  __property   BSTR            FullPath = {read = get_FullPath};
  __property   VARIANT_BOOL    BuiltIn = {read = get_BuiltIn};
  __property   VARIANT_BOOL    IsBroken = {read = get_IsBroken};
  __property   Vbide_2k::vbext_RefKind Kind = {read = get_Kind};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _References
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {EB106213-9C89-11CF-A2B3-00A0C90542FF}
// *********************************************************************//
interface _References  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* retval/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE Item(VARIANT var/*[in]*/, 
                                         Access_2k::Reference** Reference/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* Count/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* ppenum/*[out,retval]*/) = 0; // [-4]
  virtual HRESULT STDMETHODCALLTYPE AddFromGuid(BSTR Guid/*[in]*/, long Major/*[in]*/, 
                                                long Minor/*[in]*/, 
                                                Access_2k::Reference** Reference/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE AddFromFile(BSTR FileName/*[in]*/, 
                                                Access_2k::Reference** Reference/*[out,retval]*/) = 0; // [-1]
  virtual HRESULT STDMETHODCALLTYPE Remove(Access_2k::Reference* Reference/*[in]*/) = 0; // [-1]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH retval;
    OLECHECK(this->get_Parent((LPDISPATCH*)&retval));
    return retval;
  }

  Access_2k::Reference* __fastcall Item(VARIANT var/*[in]*/)
  {
    Access_2k::Reference* Reference = 0;
    OLECHECK(this->Item(var, (Access_2k::Reference**)&Reference));
    return Reference;
  }

  long __fastcall get_Count(void)
  {
    long Count;
    OLECHECK(this->get_Count((long*)&Count));
    return Count;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN ppenum;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&ppenum));
    return ppenum;
  }

  Access_2k::Reference* __fastcall AddFromGuid(BSTR Guid/*[in]*/, long Major/*[in]*/, 
                                               long Minor/*[in]*/)
  {
    Access_2k::Reference* Reference = 0;
    OLECHECK(this->AddFromGuid(Guid, Major, Minor, (Access_2k::Reference**)&Reference));
    return Reference;
  }

  Access_2k::Reference* __fastcall AddFromFile(BSTR FileName/*[in]*/)
  {
    Access_2k::Reference* Reference = 0;
    OLECHECK(this->AddFromFile(FileName, (Access_2k::Reference**)&Reference));
    return Reference;
  }


  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _References_Events
// Flags:     (4240) Hidden NonExtensible Dispatchable
// GUID:      {F163F201-ADA2-11CF-89A9-00A0C9054129}
// *********************************************************************//
interface _References_Events : public TDispWrapper<IDispatch>
{
  void __fastcall ItemAdded(Access_2k::Reference* Reference)
  {
    _TDispID _dispid(/* ItemAdded */ DISPID(0));
    TAutoArgs<1> _args;
    _args[1] = (LPDISPATCH)(Access_2k::Reference*)Reference /*[VT_USERDEFINED:1]*/;
    OleProcedure(_dispid, _args);
  }

  void __fastcall ItemRemoved(Access_2k::Reference* Reference)
  {
    _TDispID _dispid(/* ItemRemoved */ DISPID(1));
    TAutoArgs<1> _args;
    _args[1] = (LPDISPATCH)(Access_2k::Reference*)Reference /*[VT_USERDEFINED:1]*/;
    OleProcedure(_dispid, _args);
  }


};
// *********************************************************************//
// Interface: _Dummy
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {8B06E320-B23C-11CF-89A8-00A0C9054129}
// *********************************************************************//
interface _Dummy  : public IDispatch
{
public:

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)



#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _DataAccessPage
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {493D8A72-1DB1-11D1-98A2-006008197D41}
// *********************************************************************//
interface _DataAccessPage  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE set_Visible(VARIANT_BOOL pRet/*[in]*/) = 0; // [148]
  virtual HRESULT STDMETHODCALLTYPE get_Tag(BSTR* pRet/*[out,retval]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE set_Tag(BSTR pRet/*[in]*/) = 0; // [266]
  virtual HRESULT STDMETHODCALLTYPE get_WindowWidth(long* pRet/*[out,retval]*/) = 0; // [287]
  virtual HRESULT STDMETHODCALLTYPE get_WindowHeight(long* pRet/*[out,retval]*/) = 0; // [288]
  virtual HRESULT STDMETHODCALLTYPE get_CurrentView(short* pRet/*[out,retval]*/) = 0; // [289]
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Document(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE ApplyTheme(BSTR ThemeName/*[in]*/) = 0; // [2258]
  virtual HRESULT STDMETHODCALLTYPE get_WebOptions(Access_2k::AccessWebOptions** ppWO/*[out,retval]*/) = 0; // [2293]
  virtual HRESULT STDMETHODCALLTYPE get_ConnectionString(BSTR* pRet/*[out,retval]*/) = 0; // [2268]
  virtual HRESULT STDMETHODCALLTYPE set_ConnectionString(BSTR pRet/*[in]*/) = 0; // [2268]
  virtual HRESULT STDMETHODCALLTYPE get_FieldListConnection(LPDISPATCH* ppRet/*[out,retval]*/) = 0; // [2298]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }

  VARIANT_BOOL __fastcall get_Visible(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Tag(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Tag((BSTR*)&pRet));
    return pRet;
  }

  long __fastcall get_WindowWidth(void)
  {
    long pRet;
    OLECHECK(this->get_WindowWidth((long*)&pRet));
    return pRet;
  }

  long __fastcall get_WindowHeight(void)
  {
    long pRet;
    OLECHECK(this->get_WindowHeight((long*)&pRet));
    return pRet;
  }

  short __fastcall get_CurrentView(void)
  {
    short pRet;
    OLECHECK(this->get_CurrentView((short*)&pRet));
    return pRet;
  }

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Document(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Document((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::AccessWebOptionsPtr __fastcall get_WebOptions(void)
  {
    Access_2k::AccessWebOptionsPtr ppWO;
    OLECHECK(this->get_WebOptions(&ppWO));
    return ppWO;
  }

  BSTR __fastcall get_ConnectionString(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_ConnectionString((BSTR*)&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_FieldListConnection(void)
  {
    LPDISPATCH ppRet;
    OLECHECK(this->get_FieldListConnection((LPDISPATCH*)&ppRet));
    return ppRet;
  }


  __property   BSTR            _Name = {read = get__Name};
  __property   BSTR            Name = {read = get_Name};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            WindowWidth = {read = get_WindowWidth};
  __property   long            WindowHeight = {read = get_WindowHeight};
  __property   short           CurrentView = {read = get_CurrentView};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Document = {read = get_Document};
  __property   Access_2k::AccessWebOptionsPtr WebOptions = {read = get_WebOptions};
  __property   BSTR            ConnectionString = {read = get_ConnectionString, write = set_ConnectionString};
  __property   LPDISPATCH      FieldListConnection = {read = get_FieldListConnection};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: DataAccessPages
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {493D8A71-1DB1-11D1-98A2-006008197D41}
// *********************************************************************//
interface DataAccessPages  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT var/*[in]*/, 
                                             Access_2k::DataAccessPage** pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::DataAccessPage* __fastcall get_Item(VARIANT var/*[in]*/)
  {
    Access_2k::DataAccessPage* pRet = 0;
    OLECHECK(this->get_Item(var, (Access_2k::DataAccessPage**)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: AllObjects
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {DDBD4001-44D5-11D1-98C0-006008197D41}
// *********************************************************************//
interface AllObjects  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT var/*[in]*/, 
                                             Access_2k::AccessObject** pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::AccessObject* __fastcall get_Item(VARIANT var/*[in]*/)
  {
    Access_2k::AccessObject* pRet = 0;
    OLECHECK(this->get_Item(var, (Access_2k::AccessObject**)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: AccessObjectProperty
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {1FE3E471-A7D0-11D1-9944-006008197D41}
// *********************************************************************//
interface AccessObjectProperty  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get__Value(VARIANT* pRet/*[out,retval]*/) = 0; // [2103]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE get_Value(VARIANT* pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE set_Value(VARIANT pRet/*[in]*/) = 0; // [0]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  VARIANT __fastcall get__Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get__Value((VARIANT*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }

  VARIANT __fastcall get_Value(void)
  {
    VARIANT pRet;
    OLECHECK(this->get_Value((VARIANT*)&pRet));
    return pRet;
  }


  __property   BSTR            Name = {read = get_Name};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: AccessObjectProperties
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {0921F331-A7C9-11D1-9944-006008197D41}
// *********************************************************************//
interface AccessObjectProperties  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_Item(VARIANT Index/*[in]*/, 
                                             Access_2k::AccessObjectProperty** pRet/*[out,retval]*/) = 0; // [0]
  virtual HRESULT STDMETHODCALLTYPE get_Count(long* pRet/*[out,retval]*/) = 0; // [2001]
  virtual HRESULT STDMETHODCALLTYPE _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/) = 0; // [-4]
  virtual HRESULT STDMETHODCALLTYPE Add(BSTR PropertyName/*[in]*/, VARIANT Value/*[in]*/) = 0; // [2191]
  virtual HRESULT STDMETHODCALLTYPE Remove(VARIANT Item/*[in]*/) = 0; // [2192]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::AccessObjectProperty* __fastcall get_Item(VARIANT Index/*[in]*/)
  {
    Access_2k::AccessObjectProperty* pRet = 0;
    OLECHECK(this->get_Item(Index, (Access_2k::AccessObjectProperty**)&pRet));
    return pRet;
  }

  long __fastcall get_Count(void)
  {
    long pRet;
    OLECHECK(this->get_Count((long*)&pRet));
    return pRet;
  }

  LPUNKNOWN __fastcall _NewEnum(void)
  {
    LPUNKNOWN pRet;
    OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
    return pRet;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _CurrentProject
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {9212BA71-3E79-11D1-98BD-006008197D41}
// *********************************************************************//
interface _CurrentProject  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_AllForms(Access_2k::AllForms** pRet/*[out,retval]*/) = 0; // [2219]
  virtual HRESULT STDMETHODCALLTYPE get_AllReports(Access_2k::AllReports** pRet/*[out,retval]*/) = 0; // [2220]
  virtual HRESULT STDMETHODCALLTYPE get_AllMacros(Access_2k::AllMacros** pRet/*[out,retval]*/) = 0; // [2221]
  virtual HRESULT STDMETHODCALLTYPE get_AllModules(Access_2k::AllModules** pRet/*[out,retval]*/) = 0; // [2222]
  virtual HRESULT STDMETHODCALLTYPE get_AllDataAccessPages(Access_2k::AllDataAccessPages** pRet/*[out,retval]*/) = 0; // [2224]
  virtual HRESULT STDMETHODCALLTYPE get_ProjectType(Access_2k::AcProjectType* pacProjType/*[out,retval]*/) = 0; // [2271]
  virtual HRESULT STDMETHODCALLTYPE get_BaseConnectionString(BSTR* pbstrADOConnectString/*[out,retval]*/) = 0; // [2267]
  virtual HRESULT STDMETHODCALLTYPE get_IsConnected(VARIANT_BOOL* pfConnected/*[out,retval]*/) = 0; // [2269]
  virtual HRESULT STDMETHODCALLTYPE OpenConnection(VARIANT BaseConnectionString/*[in,opt]*/= TNoParam(), 
                                                   VARIANT UserID/*[in,opt]*/= TNoParam(), 
                                                   VARIANT Password/*[in,opt]*/= TNoParam()) = 0; // [2272]
  virtual HRESULT STDMETHODCALLTYPE CloseConnection(void) = 0; // [2270]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pRet/*[out,retval]*/) = 0; // [2094]
  virtual HRESULT STDMETHODCALLTYPE get_Path(BSTR* pRet/*[out,retval]*/) = 0; // [2275]
  virtual HRESULT STDMETHODCALLTYPE get_FullName(BSTR* pRet/*[out,retval]*/) = 0; // [2260]
  virtual HRESULT STDMETHODCALLTYPE get_Connection(Adodb_2k::Connection** pRet/*[out,retval]*/) = 0; // [2274]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::AccessObjectProperties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AllFormsPtr __fastcall get_AllForms(void)
  {
    Access_2k::AllFormsPtr pRet;
    OLECHECK(this->get_AllForms(&pRet));
    return pRet;
  }

  Access_2k::AllReportsPtr __fastcall get_AllReports(void)
  {
    Access_2k::AllReportsPtr pRet;
    OLECHECK(this->get_AllReports(&pRet));
    return pRet;
  }

  Access_2k::AllMacrosPtr __fastcall get_AllMacros(void)
  {
    Access_2k::AllMacrosPtr pRet;
    OLECHECK(this->get_AllMacros(&pRet));
    return pRet;
  }

  Access_2k::AllModulesPtr __fastcall get_AllModules(void)
  {
    Access_2k::AllModulesPtr pRet;
    OLECHECK(this->get_AllModules(&pRet));
    return pRet;
  }

  Access_2k::AllDataAccessPagesPtr __fastcall get_AllDataAccessPages(void)
  {
    Access_2k::AllDataAccessPagesPtr pRet;
    OLECHECK(this->get_AllDataAccessPages(&pRet));
    return pRet;
  }

  Access_2k::AcProjectType __fastcall get_ProjectType(void)
  {
    Access_2k::AcProjectType pacProjType;
    OLECHECK(this->get_ProjectType((Access_2k::AcProjectType*)&pacProjType));
    return pacProjType;
  }

  BSTR __fastcall get_BaseConnectionString(void)
  {
    BSTR pbstrADOConnectString = 0;
    OLECHECK(this->get_BaseConnectionString((BSTR*)&pbstrADOConnectString));
    return pbstrADOConnectString;
  }

  VARIANT_BOOL __fastcall get_IsConnected(void)
  {
    VARIANT_BOOL pfConnected;
    OLECHECK(this->get_IsConnected((VARIANT_BOOL*)&pfConnected));
    return pfConnected;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Name((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Path(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_Path((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FullName(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get_FullName((BSTR*)&pRet));
    return pRet;
  }

  Adodb_2k::ConnectionPtr __fastcall get_Connection(void)
  {
    Adodb_2k::ConnectionPtr pRet;
    OLECHECK(this->get_Connection(&pRet));
    return pRet;
  }

  Access_2k::AccessObjectPropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::AccessObjectPropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }


  __property   Access_2k::AllFormsPtr AllForms = {read = get_AllForms};
  __property   Access_2k::AllReportsPtr AllReports = {read = get_AllReports};
  __property   Access_2k::AllMacrosPtr AllMacros = {read = get_AllMacros};
  __property   Access_2k::AllModulesPtr AllModules = {read = get_AllModules};
  __property   Access_2k::AllDataAccessPagesPtr AllDataAccessPages = {read = get_AllDataAccessPages};
  __property   Access_2k::AcProjectType ProjectType = {read = get_ProjectType};
  __property   BSTR            BaseConnectionString = {read = get_BaseConnectionString};
  __property   VARIANT_BOOL    IsConnected = {read = get_IsConnected};
  __property   BSTR            Name = {read = get_Name};
  __property   BSTR            Path = {read = get_Path};
  __property   BSTR            FullName = {read = get_FullName};
  __property   Adodb_2k::ConnectionPtr Connection = {read = get_Connection};
  __property   Access_2k::AccessObjectPropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _CurrentData
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {9212BA73-3E79-11D1-98BD-006008197D41}
// *********************************************************************//
interface _CurrentData  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_AllTables(Access_2k::AllTables** pRet/*[out,retval]*/) = 0; // [2225]
  virtual HRESULT STDMETHODCALLTYPE get_AllQueries(Access_2k::AllQueries** pRet/*[out,retval]*/) = 0; // [2226]
  virtual HRESULT STDMETHODCALLTYPE get_AllViews(Access_2k::AllViews** pRet/*[out,retval]*/) = 0; // [2228]
  virtual HRESULT STDMETHODCALLTYPE get_AllStoredProcedures(Access_2k::AllStoredProcedures** pRet/*[out,retval]*/) = 0; // [2229]
  virtual HRESULT STDMETHODCALLTYPE get_AllDatabaseDiagrams(Access_2k::AllDatabaseDiagrams** pRet/*[out,retval]*/) = 0; // [2230]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AllTablesPtr __fastcall get_AllTables(void)
  {
    Access_2k::AllTablesPtr pRet;
    OLECHECK(this->get_AllTables(&pRet));
    return pRet;
  }

  Access_2k::AllQueriesPtr __fastcall get_AllQueries(void)
  {
    Access_2k::AllQueriesPtr pRet;
    OLECHECK(this->get_AllQueries(&pRet));
    return pRet;
  }

  Access_2k::AllViewsPtr __fastcall get_AllViews(void)
  {
    Access_2k::AllViewsPtr pRet;
    OLECHECK(this->get_AllViews(&pRet));
    return pRet;
  }

  Access_2k::AllStoredProceduresPtr __fastcall get_AllStoredProcedures(void)
  {
    Access_2k::AllStoredProceduresPtr pRet;
    OLECHECK(this->get_AllStoredProcedures(&pRet));
    return pRet;
  }

  Access_2k::AllDatabaseDiagramsPtr __fastcall get_AllDatabaseDiagrams(void)
  {
    Access_2k::AllDatabaseDiagramsPtr pRet;
    OLECHECK(this->get_AllDatabaseDiagrams(&pRet));
    return pRet;
  }


  __property   Access_2k::AllTablesPtr AllTables = {read = get_AllTables};
  __property   Access_2k::AllQueriesPtr AllQueries = {read = get_AllQueries};
  __property   Access_2k::AllViewsPtr AllViews = {read = get_AllViews};
  __property   Access_2k::AllStoredProceduresPtr AllStoredProcedures = {read = get_AllStoredProcedures};
  __property   Access_2k::AllDatabaseDiagramsPtr AllDatabaseDiagrams = {read = get_AllDatabaseDiagrams};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: AccessObject
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {ABE316B1-3FF6-11D1-98BD-006008197D41}
// *********************************************************************//
interface AccessObject  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get__Name(BSTR* pRet/*[out,retval]*/) = 0; // [20]
  virtual HRESULT STDMETHODCALLTYPE get_Name(BSTR* pbstrName/*[out,retval]*/) = 0; // [-2147418112]
  virtual HRESULT STDMETHODCALLTYPE get_Type(long* pRet/*[out,retval]*/) = 0; // [2095]
  virtual HRESULT STDMETHODCALLTYPE get_Attributes(long* pRet/*[out,retval]*/) = 0; // [2257]
  virtual HRESULT STDMETHODCALLTYPE get_Properties(Access_2k::AccessObjectProperties** pRet/*[out,retval]*/) = 0; // [2091]
  virtual HRESULT STDMETHODCALLTYPE get_IsLoaded(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2276]
  virtual HRESULT STDMETHODCALLTYPE get_FullName(BSTR* pbstrFullName/*[out,retval]*/) = 0; // [2260]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  BSTR __fastcall get__Name(void)
  {
    BSTR pRet = 0;
    OLECHECK(this->get__Name((BSTR*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_Name(void)
  {
    BSTR pbstrName = 0;
    OLECHECK(this->get_Name((BSTR*)&pbstrName));
    return pbstrName;
  }

  long __fastcall get_Type(void)
  {
    long pRet;
    OLECHECK(this->get_Type((long*)&pRet));
    return pRet;
  }

  long __fastcall get_Attributes(void)
  {
    long pRet;
    OLECHECK(this->get_Attributes((long*)&pRet));
    return pRet;
  }

  Access_2k::AccessObjectPropertiesPtr __fastcall get_Properties(void)
  {
    Access_2k::AccessObjectPropertiesPtr pRet;
    OLECHECK(this->get_Properties(&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_IsLoaded(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsLoaded((VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall get_FullName(void)
  {
    BSTR pbstrFullName = 0;
    OLECHECK(this->get_FullName((BSTR*)&pbstrFullName));
    return pbstrFullName;
  }


  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   BSTR            _Name = {read = get__Name};
  __property   BSTR            Name = {read = get_Name};
  __property   long            Type = {read = get_Type};
  __property   long            Attributes = {read = get_Attributes};
  __property   Access_2k::AccessObjectPropertiesPtr Properties = {read = get_Properties};
  __property   VARIANT_BOOL    IsLoaded = {read = get_IsLoaded};
  __property   BSTR            FullName = {read = get_FullName};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _WizHook
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {CB9D3171-4728-11D1-8334-006008197CC8}
// *********************************************************************//
interface _WizHook  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE set_Key(int Param1/*[in]*/) = 0; // [2237]
  virtual HRESULT STDMETHODCALLTYPE NameFromActid(int Actid/*[in]*/, BSTR* Name/*[out,retval]*/) = 0; // [2234]
  virtual HRESULT STDMETHODCALLTYPE ArgsOfActid(int Actid/*[in]*/, int* CArgs/*[out,retval]*/) = 0; // [2236]
  virtual HRESULT STDMETHODCALLTYPE OpenScript(BSTR Script/*[in]*/, BSTR Label/*[in]*/, 
                                               long OpenMode/*[in]*/, int* Extra/*[in,out]*/, 
                                               long* Version/*[in,out]*/, long* HScr/*[out,retval]*/) = 0; // [2238]
  virtual HRESULT STDMETHODCALLTYPE GetScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                                    BSTR* Value/*[in,out]*/, 
                                                    VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2239]
  virtual HRESULT STDMETHODCALLTYPE SaveScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                                     BSTR Value/*[in]*/, 
                                                     VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2240]
  virtual HRESULT STDMETHODCALLTYPE GlobalProcExists(BSTR Name/*[in]*/, 
                                                     VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2241]
  virtual HRESULT STDMETHODCALLTYPE TableFieldHasUniqueIndex(BSTR Table/*[in]*/, 
                                                             BSTR Columns/*[in]*/, 
                                                             VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2242]
  virtual HRESULT STDMETHODCALLTYPE BracketString(BSTR* String/*[in,out]*/, long flags/*[in]*/, 
                                                  VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2243]
  virtual HRESULT STDMETHODCALLTYPE WizHelp(BSTR HelpFile/*[in]*/, long wCmd/*[in]*/, 
                                            long ContextID/*[in]*/, 
                                            VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2244]
  virtual HRESULT STDMETHODCALLTYPE OpenPictureFile(BSTR* File/*[in,out]*/, 
                                                    VARIANT_BOOL* Cancelled/*[in,out]*/, 
                                                    VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2245]
  virtual HRESULT STDMETHODCALLTYPE EnglishPictToLocal(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                                       VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2246]
  virtual HRESULT STDMETHODCALLTYPE TranslateExpression(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                                        long ParseFlags/*[in]*/, 
                                                        long TranslateFlags/*[in]*/, 
                                                        VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2247]
  virtual HRESULT STDMETHODCALLTYPE FileExists(BSTR File/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2248]
  virtual HRESULT STDMETHODCALLTYPE FullPath(BSTR RelativePath/*[in]*/, BSTR* FullPath/*[in,out]*/, 
                                             short* pRet/*[out,retval]*/) = 0; // [2249]
  virtual HRESULT STDMETHODCALLTYPE SplitPath(BSTR Path/*[in]*/, BSTR* Drive/*[in,out]*/, 
                                              BSTR* Dir/*[in,out]*/, BSTR* File/*[in,out]*/, 
                                              BSTR* Ext/*[in,out]*/) = 0; // [2250]
  virtual HRESULT STDMETHODCALLTYPE TwipsFromFont(BSTR FontName/*[in]*/, long Size/*[in]*/, 
                                                  long Weight/*[in]*/, VARIANT_BOOL Italic/*[in]*/, 
                                                  VARIANT_BOOL Underline/*[in]*/, long Cch/*[in]*/, 
                                                  BSTR Caption/*[in]*/, long MaxWidthCch/*[in]*/, 
                                                  long* dx/*[in,out]*/, long* dy/*[in,out]*/, 
                                                  VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2251]
  virtual HRESULT STDMETHODCALLTYPE ObjTypOfRecordSource(BSTR RecordSource/*[in]*/, 
                                                         short* pobjtyp/*[out,retval]*/) = 0; // [2252]
  virtual HRESULT STDMETHODCALLTYPE IsValidIdent(BSTR Identifier/*[in]*/, 
                                                 VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2253]
  virtual HRESULT STDMETHODCALLTYPE SortStringArray(LPSAFEARRAY* Array/*[in,out]*/) = 0; // [2254]
  virtual HRESULT STDMETHODCALLTYPE AnalyzeTable(Dao_2k::Workspace* Workspace/*[in]*/, 
                                                 Dao_2k::Database* Database/*[in]*/, 
                                                 BSTR Table/*[in]*/, 
                                                 VARIANT_BOOL ReturnDebugInfo/*[in]*/, 
                                                 BSTR* Results/*[in,out]*/, 
                                                 long* pRet/*[out,retval]*/) = 0; // [2255]
  virtual HRESULT STDMETHODCALLTYPE AnalyzeQuery(Dao_2k::Workspace* Workspace/*[in]*/, 
                                                 Dao_2k::Database* Database/*[in]*/, 
                                                 BSTR Query/*[in]*/, BSTR* Results/*[in,out]*/, 
                                                 long* pRet/*[out,retval]*/) = 0; // [2256]
  virtual HRESULT STDMETHODCALLTYPE GetFileName(long hwndOwner/*[in]*/, BSTR AppName/*[in]*/, 
                                                BSTR DlgTitle/*[in]*/, BSTR OpenTitle/*[in]*/, 
                                                BSTR* File/*[in,out]*/, BSTR InitialDir/*[in]*/, 
                                                BSTR Filter/*[in]*/, long FilterIndex/*[in]*/, 
                                                long View/*[in]*/, long flags/*[in]*/, 
                                                VARIANT_BOOL fOpen/*[in]*/, 
                                                long* pRet/*[out,retval]*/) = 0; // [2261]
  virtual HRESULT STDMETHODCALLTYPE CreateDataPageControl(BSTR DpName/*[in]*/, BSTR CtlName/*[in]*/, 
                                                          long Typ/*[in]*/, BSTR Section/*[in]*/, 
                                                          long SectionType/*[in]*/, 
                                                          BSTR AppletCode/*[in]*/, long X/*[in]*/, 
                                                          long Y/*[in]*/, long dx/*[in]*/, 
                                                          long dy/*[in]*/) = 0; // [2265]
  virtual HRESULT STDMETHODCALLTYPE KnownWizLeaks(VARIANT_BOOL fStart/*[in]*/) = 0; // [2273]
  virtual HRESULT STDMETHODCALLTYPE SetVbaPassword(BSTR bstrDbName/*[in]*/, BSTR bstrConnect/*[in]*/, 
                                                   BSTR bstrPasswd/*[in]*/, 
                                                   VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2294]
  virtual HRESULT STDMETHODCALLTYPE LocalFont(BSTR* FontName/*[out,retval]*/) = 0; // [2295]
  virtual HRESULT STDMETHODCALLTYPE SaveObject(BSTR bstrName/*[in]*/, short objtyp/*[in]*/) = 0; // [2296]
  virtual HRESULT STDMETHODCALLTYPE CurrentLangID(long* pRet/*[out,retval]*/) = 0; // [2299]
  virtual HRESULT STDMETHODCALLTYPE KeyboardLangID(long* pRet/*[out,retval]*/) = 0; // [2300]
  virtual HRESULT STDMETHODCALLTYPE AccessUserDataDir(BSTR* Path/*[out,retval]*/) = 0; // [2302]
  virtual HRESULT STDMETHODCALLTYPE OfficeAddInDir(BSTR* Path/*[out,retval]*/) = 0; // [2303]
  virtual HRESULT STDMETHODCALLTYPE EmbedFileOnDataPage(BSTR DpName/*[in]*/, 
                                                        BSTR FileToInsert/*[in]*/, 
                                                        BSTR* FileToUse/*[out,retval]*/) = 0; // [2305]
  virtual HRESULT STDMETHODCALLTYPE get_DbcVbProject(Vbide_2k::_VBProject** VbProject/*[out,retval]*/) = 0; // [2306]
  virtual HRESULT STDMETHODCALLTYPE ReportLeaksToFile(VARIANT_BOOL fRptToFile/*[in]*/, 
                                                      BSTR bstrFileOut/*[in]*/) = 0; // [2292]
  virtual HRESULT STDMETHODCALLTYPE get_IsMatchToDbcConnectString(BSTR bstrConnectionString/*[in]*/, 
                                                                  VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2291]
  virtual HRESULT STDMETHODCALLTYPE LoadImexSpecSolution(BSTR bstrFilename/*[in]*/) = 0; // [2282]
  virtual HRESULT STDMETHODCALLTYPE SetDpBlockKeyInput(VARIANT_BOOL fBlockKeys/*[in]*/) = 0; // [2283]
  virtual HRESULT STDMETHODCALLTYPE FirstDbcDataObject(BSTR* Name/*[in,out]*/, 
                                                       Access_2k::AcObjectType* ObjType/*[in,out]*/, 
                                                       long* Attribs/*[in,out]*/, 
                                                       VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2323]
  virtual HRESULT STDMETHODCALLTYPE CloseCurrentDatabase(VARIANT_BOOL* pRet/*[out,retval]*/) = 0; // [2324]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  BSTR __fastcall NameFromActid(int Actid/*[in]*/)
  {
    BSTR Name = 0;
    OLECHECK(this->NameFromActid(Actid, (BSTR*)&Name));
    return Name;
  }

  int __fastcall ArgsOfActid(int Actid/*[in]*/)
  {
    int CArgs;
    OLECHECK(this->ArgsOfActid(Actid, (int*)&CArgs));
    return CArgs;
  }

  long __fastcall OpenScript(BSTR Script/*[in]*/, BSTR Label/*[in]*/, long OpenMode/*[in]*/, 
                             int* Extra/*[in,out]*/, long* Version/*[in,out]*/)
  {
    long HScr;
    OLECHECK(this->OpenScript(Script, Label, OpenMode, Extra, Version, (long*)&HScr));
    return HScr;
  }

  VARIANT_BOOL __fastcall GetScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                          BSTR* Value/*[in,out]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->GetScriptString(HScr, ScriptColumn, Value, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall SaveScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                           BSTR Value/*[in]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->SaveScriptString(HScr, ScriptColumn, Value, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall GlobalProcExists(BSTR Name/*[in]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->GlobalProcExists(Name, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall TableFieldHasUniqueIndex(BSTR Table/*[in]*/, BSTR Columns/*[in]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->TableFieldHasUniqueIndex(Table, Columns, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall BracketString(BSTR* String/*[in,out]*/, long flags/*[in]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->BracketString(String, flags, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall WizHelp(BSTR HelpFile/*[in]*/, long wCmd/*[in]*/, long ContextID/*[in]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->WizHelp(HelpFile, wCmd, ContextID, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall OpenPictureFile(BSTR* File/*[in,out]*/, 
                                          VARIANT_BOOL* Cancelled/*[in,out]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->OpenPictureFile(File, Cancelled, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall EnglishPictToLocal(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->EnglishPictToLocal(In, Out, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall TranslateExpression(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                              long ParseFlags/*[in]*/, long TranslateFlags/*[in]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->TranslateExpression(In, Out, ParseFlags, TranslateFlags, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall FileExists(BSTR File/*[in]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->FileExists(File, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall FullPath(BSTR RelativePath/*[in]*/, BSTR* FullPath/*[in,out]*/)
  {
    short pRet;
    OLECHECK(this->FullPath(RelativePath, FullPath, (short*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall TwipsFromFont(BSTR FontName/*[in]*/, long Size/*[in]*/, 
                                        long Weight/*[in]*/, VARIANT_BOOL Italic/*[in]*/, 
                                        VARIANT_BOOL Underline/*[in]*/, long Cch/*[in]*/, 
                                        BSTR Caption/*[in]*/, long MaxWidthCch/*[in]*/, 
                                        long* dx/*[in,out]*/, long* dy/*[in,out]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->TwipsFromFont(FontName, Size, Weight, Italic, Underline, Cch, Caption, 
                                 MaxWidthCch, dx, dy, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  short __fastcall ObjTypOfRecordSource(BSTR RecordSource/*[in]*/)
  {
    short pobjtyp;
    OLECHECK(this->ObjTypOfRecordSource(RecordSource, (short*)&pobjtyp));
    return pobjtyp;
  }

  VARIANT_BOOL __fastcall IsValidIdent(BSTR Identifier/*[in]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->IsValidIdent(Identifier, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  long __fastcall AnalyzeTable(Dao_2k::Workspace* Workspace/*[in]*/, 
                               Dao_2k::Database* Database/*[in]*/, BSTR Table/*[in]*/, 
                               VARIANT_BOOL ReturnDebugInfo/*[in]*/, BSTR* Results/*[in,out]*/)
  {
    long pRet;
    OLECHECK(this->AnalyzeTable(Workspace, Database, Table, ReturnDebugInfo, Results, (long*)&pRet));
    return pRet;
  }

  long __fastcall AnalyzeQuery(Dao_2k::Workspace* Workspace/*[in]*/, 
                               Dao_2k::Database* Database/*[in]*/, BSTR Query/*[in]*/, 
                               BSTR* Results/*[in,out]*/)
  {
    long pRet;
    OLECHECK(this->AnalyzeQuery(Workspace, Database, Query, Results, (long*)&pRet));
    return pRet;
  }

  long __fastcall GetFileName(long hwndOwner/*[in]*/, BSTR AppName/*[in]*/, BSTR DlgTitle/*[in]*/, 
                              BSTR OpenTitle/*[in]*/, BSTR* File/*[in,out]*/, 
                              BSTR InitialDir/*[in]*/, BSTR Filter/*[in]*/, long FilterIndex/*[in]*/, 
                              long View/*[in]*/, long flags/*[in]*/, VARIANT_BOOL fOpen/*[in]*/)
  {
    long pRet;
    OLECHECK(this->GetFileName(hwndOwner, AppName, DlgTitle, OpenTitle, File, InitialDir, Filter, 
                               FilterIndex, View, flags, fOpen, (long*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall SetVbaPassword(BSTR bstrDbName/*[in]*/, BSTR bstrConnect/*[in]*/, 
                                         BSTR bstrPasswd/*[in]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->SetVbaPassword(bstrDbName, bstrConnect, bstrPasswd, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  BSTR __fastcall LocalFont(void)
  {
    BSTR FontName = 0;
    OLECHECK(this->LocalFont((BSTR*)&FontName));
    return FontName;
  }

  long __fastcall CurrentLangID(void)
  {
    long pRet;
    OLECHECK(this->CurrentLangID((long*)&pRet));
    return pRet;
  }

  long __fastcall KeyboardLangID(void)
  {
    long pRet;
    OLECHECK(this->KeyboardLangID((long*)&pRet));
    return pRet;
  }

  BSTR __fastcall AccessUserDataDir(void)
  {
    BSTR Path = 0;
    OLECHECK(this->AccessUserDataDir((BSTR*)&Path));
    return Path;
  }

  BSTR __fastcall OfficeAddInDir(void)
  {
    BSTR Path = 0;
    OLECHECK(this->OfficeAddInDir((BSTR*)&Path));
    return Path;
  }

  BSTR __fastcall EmbedFileOnDataPage(BSTR DpName/*[in]*/, BSTR FileToInsert/*[in]*/)
  {
    BSTR FileToUse = 0;
    OLECHECK(this->EmbedFileOnDataPage(DpName, FileToInsert, (BSTR*)&FileToUse));
    return FileToUse;
  }

  Vbide_2k::_VBProjectPtr __fastcall get_DbcVbProject(void)
  {
    Vbide_2k::_VBProjectPtr VbProject;
    OLECHECK(this->get_DbcVbProject(&VbProject));
    return VbProject;
  }

  VARIANT_BOOL __fastcall get_IsMatchToDbcConnectString(BSTR bstrConnectionString/*[in]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->get_IsMatchToDbcConnectString(bstrConnectionString, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall FirstDbcDataObject(BSTR* Name/*[in,out]*/, 
                                             Access_2k::AcObjectType* ObjType/*[in,out]*/, 
                                             long* Attribs/*[in,out]*/)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->FirstDbcDataObject(Name, ObjType, Attribs, (VARIANT_BOOL*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall CloseCurrentDatabase(void)
  {
    VARIANT_BOOL pRet;
    OLECHECK(this->CloseCurrentDatabase((VARIANT_BOOL*)&pRet));
    return pRet;
  }


  __property   int             Key = {write = set_Key};
  __property   Vbide_2k::_VBProjectPtr DbcVbProject = {read = get_DbcVbProject};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _DefaultWebOptions
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {416ED4F0-AB31-11D1-BF72-0060083E43CF}
// *********************************************************************//
interface _DefaultWebOptions  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_HyperlinkColor(Access_2k::AcColorIndex* pl/*[out,retval]*/) = 0; // [2279]
  virtual HRESULT STDMETHODCALLTYPE set_HyperlinkColor(Access_2k::AcColorIndex pl/*[in]*/) = 0; // [2279]
  virtual HRESULT STDMETHODCALLTYPE get_FollowedHyperlinkColor(Access_2k::AcColorIndex* pl/*[out,retval]*/) = 0; // [2280]
  virtual HRESULT STDMETHODCALLTYPE set_FollowedHyperlinkColor(Access_2k::AcColorIndex pl/*[in]*/) = 0; // [2280]
  virtual HRESULT STDMETHODCALLTYPE get_UnderlineHyperlinks(VARIANT_BOOL* pf/*[out,retval]*/) = 0; // [2281]
  virtual HRESULT STDMETHODCALLTYPE set_UnderlineHyperlinks(VARIANT_BOOL pf/*[in]*/) = 0; // [2281]
  virtual HRESULT STDMETHODCALLTYPE get_OrganizeInFolder(VARIANT_BOOL* pf/*[out,retval]*/) = 0; // [2284]
  virtual HRESULT STDMETHODCALLTYPE set_OrganizeInFolder(VARIANT_BOOL pf/*[in]*/) = 0; // [2284]
  virtual HRESULT STDMETHODCALLTYPE get_UseLongFileNames(VARIANT_BOOL* pf/*[out,retval]*/) = 0; // [2285]
  virtual HRESULT STDMETHODCALLTYPE set_UseLongFileNames(VARIANT_BOOL pf/*[in]*/) = 0; // [2285]
  virtual HRESULT STDMETHODCALLTYPE get_CheckIfOfficeIsHTMLEditor(VARIANT_BOOL* pf/*[out,retval]*/) = 0; // [2286]
  virtual HRESULT STDMETHODCALLTYPE set_CheckIfOfficeIsHTMLEditor(VARIANT_BOOL pf/*[in]*/) = 0; // [2286]
  virtual HRESULT STDMETHODCALLTYPE get_DownloadComponents(VARIANT_BOOL* pf/*[out,retval]*/) = 0; // [2287]
  virtual HRESULT STDMETHODCALLTYPE set_DownloadComponents(VARIANT_BOOL pf/*[in]*/) = 0; // [2287]
  virtual HRESULT STDMETHODCALLTYPE get_LocationOfComponents(BSTR* pstr/*[out,retval]*/) = 0; // [2288]
  virtual HRESULT STDMETHODCALLTYPE set_LocationOfComponents(BSTR pstr/*[in]*/) = 0; // [2288]
  virtual HRESULT STDMETHODCALLTYPE get_Encoding(Office_2k::MsoEncoding* penc/*[out,retval]*/) = 0; // [2289]
  virtual HRESULT STDMETHODCALLTYPE set_Encoding(Office_2k::MsoEncoding penc/*[in]*/) = 0; // [2289]
  virtual HRESULT STDMETHODCALLTYPE get_AlwaysSaveInDefaultEncoding(VARIANT_BOOL* pf/*[out,retval]*/) = 0; // [2290]
  virtual HRESULT STDMETHODCALLTYPE set_AlwaysSaveInDefaultEncoding(VARIANT_BOOL pf/*[in]*/) = 0; // [2290]
  virtual HRESULT STDMETHODCALLTYPE get_FolderSuffix(BSTR* pbstr/*[out,retval]*/) = 0; // [2307]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  Access_2k::AcColorIndex __fastcall get_HyperlinkColor(void)
  {
    Access_2k::AcColorIndex pl;
    OLECHECK(this->get_HyperlinkColor((Access_2k::AcColorIndex*)&pl));
    return pl;
  }

  Access_2k::AcColorIndex __fastcall get_FollowedHyperlinkColor(void)
  {
    Access_2k::AcColorIndex pl;
    OLECHECK(this->get_FollowedHyperlinkColor((Access_2k::AcColorIndex*)&pl));
    return pl;
  }

  VARIANT_BOOL __fastcall get_UnderlineHyperlinks(void)
  {
    VARIANT_BOOL pf;
    OLECHECK(this->get_UnderlineHyperlinks((VARIANT_BOOL*)&pf));
    return pf;
  }

  VARIANT_BOOL __fastcall get_OrganizeInFolder(void)
  {
    VARIANT_BOOL pf;
    OLECHECK(this->get_OrganizeInFolder((VARIANT_BOOL*)&pf));
    return pf;
  }

  VARIANT_BOOL __fastcall get_UseLongFileNames(void)
  {
    VARIANT_BOOL pf;
    OLECHECK(this->get_UseLongFileNames((VARIANT_BOOL*)&pf));
    return pf;
  }

  VARIANT_BOOL __fastcall get_CheckIfOfficeIsHTMLEditor(void)
  {
    VARIANT_BOOL pf;
    OLECHECK(this->get_CheckIfOfficeIsHTMLEditor((VARIANT_BOOL*)&pf));
    return pf;
  }

  VARIANT_BOOL __fastcall get_DownloadComponents(void)
  {
    VARIANT_BOOL pf;
    OLECHECK(this->get_DownloadComponents((VARIANT_BOOL*)&pf));
    return pf;
  }

  BSTR __fastcall get_LocationOfComponents(void)
  {
    BSTR pstr = 0;
    OLECHECK(this->get_LocationOfComponents((BSTR*)&pstr));
    return pstr;
  }

  Office_2k::MsoEncoding __fastcall get_Encoding(void)
  {
    Office_2k::MsoEncoding penc;
    OLECHECK(this->get_Encoding((Office_2k::MsoEncoding*)&penc));
    return penc;
  }

  VARIANT_BOOL __fastcall get_AlwaysSaveInDefaultEncoding(void)
  {
    VARIANT_BOOL pf;
    OLECHECK(this->get_AlwaysSaveInDefaultEncoding((VARIANT_BOOL*)&pf));
    return pf;
  }

  BSTR __fastcall get_FolderSuffix(void)
  {
    BSTR pbstr = 0;
    OLECHECK(this->get_FolderSuffix((BSTR*)&pbstr));
    return pbstr;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AcColorIndex HyperlinkColor = {read = get_HyperlinkColor, write = set_HyperlinkColor};
  __property   Access_2k::AcColorIndex FollowedHyperlinkColor = {read = get_FollowedHyperlinkColor, write = set_FollowedHyperlinkColor};
  __property   VARIANT_BOOL    UnderlineHyperlinks = {read = get_UnderlineHyperlinks, write = set_UnderlineHyperlinks};
  __property   VARIANT_BOOL    OrganizeInFolder = {read = get_OrganizeInFolder, write = set_OrganizeInFolder};
  __property   VARIANT_BOOL    UseLongFileNames = {read = get_UseLongFileNames, write = set_UseLongFileNames};
  __property   VARIANT_BOOL    CheckIfOfficeIsHTMLEditor = {read = get_CheckIfOfficeIsHTMLEditor, write = set_CheckIfOfficeIsHTMLEditor};
  __property   VARIANT_BOOL    DownloadComponents = {read = get_DownloadComponents, write = set_DownloadComponents};
  __property   BSTR            LocationOfComponents = {read = get_LocationOfComponents, write = set_LocationOfComponents};
  __property   Office_2k::MsoEncoding Encoding = {read = get_Encoding, write = set_Encoding};
  __property   VARIANT_BOOL    AlwaysSaveInDefaultEncoding = {read = get_AlwaysSaveInDefaultEncoding, write = set_AlwaysSaveInDefaultEncoding};
  __property   BSTR            FolderSuffix = {read = get_FolderSuffix};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _WebOptions
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {416ED4F6-AB31-11D1-BF72-0060083E43CF}
// *********************************************************************//
interface _WebOptions  : public IDispatch
{
public:
  virtual HRESULT STDMETHODCALLTYPE get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/) = 0; // [2005]
  virtual HRESULT STDMETHODCALLTYPE get_Parent(LPDISPATCH* pRet/*[out,retval]*/) = 0; // [2087]
  virtual HRESULT STDMETHODCALLTYPE get_OrganizeInFolder(VARIANT_BOOL* pf/*[out,retval]*/) = 0; // [2284]
  virtual HRESULT STDMETHODCALLTYPE set_OrganizeInFolder(VARIANT_BOOL pf/*[in]*/) = 0; // [2284]
  virtual HRESULT STDMETHODCALLTYPE get_UseLongFileNames(VARIANT_BOOL* pf/*[out,retval]*/) = 0; // [2285]
  virtual HRESULT STDMETHODCALLTYPE set_UseLongFileNames(VARIANT_BOOL pf/*[in]*/) = 0; // [2285]
  virtual HRESULT STDMETHODCALLTYPE get_DownloadComponents(VARIANT_BOOL* pf/*[out,retval]*/) = 0; // [2287]
  virtual HRESULT STDMETHODCALLTYPE set_DownloadComponents(VARIANT_BOOL pf/*[in]*/) = 0; // [2287]
  virtual HRESULT STDMETHODCALLTYPE get_LocationOfComponents(BSTR* pstr/*[out,retval]*/) = 0; // [2288]
  virtual HRESULT STDMETHODCALLTYPE set_LocationOfComponents(BSTR pstr/*[in]*/) = 0; // [2288]
  virtual HRESULT STDMETHODCALLTYPE get_Encoding(Office_2k::MsoEncoding* penc/*[out,retval]*/) = 0; // [2289]
  virtual HRESULT STDMETHODCALLTYPE set_Encoding(Office_2k::MsoEncoding penc/*[in]*/) = 0; // [2289]
  virtual HRESULT STDMETHODCALLTYPE get_FolderSuffix(BSTR* pbstr/*[out,retval]*/) = 0; // [2307]
  virtual HRESULT STDMETHODCALLTYPE UseDefaultFolderSuffix(void) = 0; // [2308]

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)

  Access_2k::AccessApplicationPtr __fastcall get_Application(void)
  {
    Access_2k::AccessApplicationPtr pRet;
    OLECHECK(this->get_Application(&pRet));
    return pRet;
  }

  LPDISPATCH __fastcall get_Parent(void)
  {
    LPDISPATCH pRet;
    OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
    return pRet;
  }

  VARIANT_BOOL __fastcall get_OrganizeInFolder(void)
  {
    VARIANT_BOOL pf;
    OLECHECK(this->get_OrganizeInFolder((VARIANT_BOOL*)&pf));
    return pf;
  }

  VARIANT_BOOL __fastcall get_UseLongFileNames(void)
  {
    VARIANT_BOOL pf;
    OLECHECK(this->get_UseLongFileNames((VARIANT_BOOL*)&pf));
    return pf;
  }

  VARIANT_BOOL __fastcall get_DownloadComponents(void)
  {
    VARIANT_BOOL pf;
    OLECHECK(this->get_DownloadComponents((VARIANT_BOOL*)&pf));
    return pf;
  }

  BSTR __fastcall get_LocationOfComponents(void)
  {
    BSTR pstr = 0;
    OLECHECK(this->get_LocationOfComponents((BSTR*)&pstr));
    return pstr;
  }

  Office_2k::MsoEncoding __fastcall get_Encoding(void)
  {
    Office_2k::MsoEncoding penc;
    OLECHECK(this->get_Encoding((Office_2k::MsoEncoding*)&penc));
    return penc;
  }

  BSTR __fastcall get_FolderSuffix(void)
  {
    BSTR pbstr = 0;
    OLECHECK(this->get_FolderSuffix((BSTR*)&pbstr));
    return pbstr;
  }


  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   VARIANT_BOOL    OrganizeInFolder = {read = get_OrganizeInFolder, write = set_OrganizeInFolder};
  __property   VARIANT_BOOL    UseLongFileNames = {read = get_UseLongFileNames, write = set_UseLongFileNames};
  __property   VARIANT_BOOL    DownloadComponents = {read = get_DownloadComponents, write = set_DownloadComponents};
  __property   BSTR            LocationOfComponents = {read = get_LocationOfComponents, write = set_LocationOfComponents};
  __property   Office_2k::MsoEncoding Encoding = {read = get_Encoding, write = set_Encoding};
  __property   BSTR            FolderSuffix = {read = get_FolderSuffix};

#endif //   __TLB_NO_INTERFACE_WRAPPERS

};

// *********************************************************************//
// Interface: _DummyEvents
// Flags:     (16) Hidden
// GUID:      {58BF3100-B580-11CF-89A8-00A0C9054129}
// *********************************************************************//
interface _DummyEvents  : public IUnknown
{
public:
  virtual HRESULT STDMETHODCALLTYPE Initialize(void) = 0; // [-6]
  virtual HRESULT STDMETHODCALLTYPE Terminate(void) = 0; // [-7]
};

#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
typedef TComInterface<DoCmd>  TCOMDoCmd;

// *********************************************************************//
// DispIntf:  DoCmd
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {C547E760-9658-101B-81EE-00AA004750E2}
// *********************************************************************//
template<class T>
class DoCmdDispT : public TAutoDriver<DoCmd>
{
public:
  DoCmdDispT(){}

  DoCmdDispT(DoCmd *pintf)
  {
    TAutoDriver<DoCmd>::Bind(pintf, false);
  }

  DoCmdDispT(DoCmdPtr pintf)
  {
    TAutoDriver<DoCmd>::Bind(pintf, true);
  }

  DoCmdDispT& operator=(DoCmd *pintf)
  {
    TAutoDriver<DoCmd>::Bind(pintf, false);
    return *this;
  }

  DoCmdDispT& operator=(DoCmdPtr pintf)
  {
    TAutoDriver<DoCmd>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall AddMenu(VARIANT MenuName/*[in]*/, VARIANT MenuMacroName/*[in]*/, 
                                     VARIANT StatusBarText/*[in]*/);
  HRESULT         __fastcall ApplyFilter(VARIANT FilterName/*[in,opt]*/= TNoParam(), 
                                         VARIANT WhereCondition/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall Beep();
  HRESULT         __fastcall CancelEvent();
  HRESULT         __fastcall Close(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                   VARIANT ObjectName/*[in,opt]*/, 
                                   Access_2k::AcCloseSave Save/*[in,def,opt]*/);
  HRESULT         __fastcall CopyObject(VARIANT DestinationDatabase/*[in,opt]*/, 
                                        VARIANT NewName/*[in,opt]*/, 
                                        Access_2k::AcObjectType SourceObjectType/*[in,def,opt]*/, 
                                        VARIANT SourceObjectName/*[in,opt]*/);
  HRESULT         __fastcall DoMenuItem(VARIANT MenuBar/*[in]*/, VARIANT MenuName/*[in]*/, 
                                        VARIANT Command/*[in]*/, 
                                        VARIANT Subcommand/*[in,opt]*/= TNoParam(), 
                                        VARIANT Version/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall Echo(VARIANT EchoOn/*[in]*/, 
                                  VARIANT StatusBarText/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall FindNext();
  HRESULT         __fastcall FindRecord(VARIANT FindWhat/*[in]*/, 
                                        Access_2k::AcFindMatch Match/*[in,def,opt]*/, 
                                        VARIANT MatchCase/*[in,opt]*/, 
                                        Access_2k::AcSearchDirection Search/*[in,def,opt]*/, 
                                        VARIANT SearchAsFormatted/*[in,opt]*/, 
                                        Access_2k::AcFindField OnlyCurrentField/*[in,def,opt]*/, 
                                        VARIANT FindFirst/*[in,opt]*/);
  HRESULT         __fastcall GoToControl(VARIANT ControlName/*[in]*/);
  HRESULT         __fastcall GoToPage(VARIANT PageNumber/*[in]*/, 
                                      VARIANT Right/*[in,opt]*/= TNoParam(), 
                                      VARIANT Down/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall GoToRecord(Access_2k::AcDataObjectType ObjectType/*[in,def,opt]*/, 
                                        VARIANT ObjectName/*[in,opt]*/, 
                                        Access_2k::AcRecord Record/*[in,def,opt]*/, 
                                        VARIANT Offset/*[in,opt]*/);
  HRESULT         __fastcall Hourglass(VARIANT HourglassOn/*[in]*/);
  HRESULT         __fastcall Maximize();
  HRESULT         __fastcall Minimize();
  HRESULT         __fastcall MoveSize(VARIANT Right/*[in,opt]*/= TNoParam(), 
                                      VARIANT Down/*[in,opt]*/= TNoParam(), 
                                      VARIANT Width/*[in,opt]*/= TNoParam(), 
                                      VARIANT Height/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall OpenForm(VARIANT FormName/*[in]*/, 
                                      Access_2k::AcFormView View/*[in,def,opt]*/, 
                                      VARIANT FilterName/*[in,opt]*/, 
                                      VARIANT WhereCondition/*[in,opt]*/, 
                                      Access_2k::AcFormOpenDataMode DataMode/*[in,def,opt]*/, 
                                      Access_2k::AcWindowMode WindowMode/*[in,def,opt]*/, 
                                      VARIANT OpenArgs/*[in,opt]*/);
  HRESULT         __fastcall OpenQuery(VARIANT QueryName/*[in]*/, 
                                       Access_2k::AcView View/*[in,def,opt]*/, 
                                       Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/);
  HRESULT         __fastcall OpenTable(VARIANT TableName/*[in]*/, 
                                       Access_2k::AcView View/*[in,def,opt]*/, 
                                       Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/);
  HRESULT         __fastcall PrintOut(Access_2k::AcPrintRange PrintRange/*[in,def,opt]*/, 
                                      VARIANT PageFrom/*[in,opt]*/, VARIANT PageTo/*[in,opt]*/, 
                                      Access_2k::AcPrintQuality PrintQuality/*[in,def,opt]*/, 
                                      VARIANT Copies/*[in,opt]*/, VARIANT CollateCopies/*[in,opt]*/);
  HRESULT         __fastcall Quit(Access_2k::AcQuitOption Options/*[in,def,opt]*/);
  HRESULT         __fastcall Requery(VARIANT ControlName/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall RepaintObject(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                           VARIANT ObjectName/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall Rename(VARIANT NewName/*[in]*/, 
                                    Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                    VARIANT OldName/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall Restore();
  HRESULT         __fastcall RunMacro(VARIANT MacroName/*[in]*/, 
                                      VARIANT RepeatCount/*[in,opt]*/= TNoParam(), 
                                      VARIANT RepeatExpression/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall RunSQL(VARIANT SQLStatement/*[in]*/, 
                                    VARIANT UseTransaction/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall SelectObject(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                          VARIANT ObjectName/*[in,opt]*/= TNoParam(), 
                                          VARIANT InDatabaseWindow/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall SetWarnings(VARIANT WarningsOn/*[in]*/);
  HRESULT         __fastcall ShowAllRecords();
  HRESULT         __fastcall OpenReport(VARIANT ReportName/*[in]*/, 
                                        Access_2k::AcView View/*[in,def,opt]*/, 
                                        VARIANT FilterName/*[in,opt]*/= TNoParam(), 
                                        VARIANT WhereCondition/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall TransferDatabase(Access_2k::AcDataTransferType TransferType/*[in,def,opt]*/
                                              , VARIANT DatabaseType/*[in,opt]*/, 
                                              VARIANT DatabaseName/*[in,opt]*/, 
                                              Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                              VARIANT Source/*[in,opt]*/, 
                                              VARIANT Destination/*[in,opt]*/, 
                                              VARIANT StructureOnly/*[in,opt]*/, 
                                              VARIANT StoreLogin/*[in,opt]*/);
  HRESULT         __fastcall TransferSpreadsheet(Access_2k::AcDataTransferType TransferType/*[in,def,opt]*/
                                                 , 
                                                 Access_2k::AcSpreadSheetType SpreadsheetType/*[in,def,opt]*/
                                                 , VARIANT TableName/*[in,opt]*/= TNoParam(), 
                                                 VARIANT FileName/*[in,opt]*/= TNoParam(), 
                                                 VARIANT HasFieldNames/*[in,opt]*/= TNoParam(), 
                                                 VARIANT Range/*[in,opt]*/= TNoParam(), 
                                                 VARIANT UseOA/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall TransferText(Access_2k::AcTextTransferType TransferType/*[in,def,opt]*/
                                          , VARIANT SpecificationName/*[in,opt]*/= TNoParam(), 
                                          VARIANT TableName/*[in,opt]*/= TNoParam(), 
                                          VARIANT FileName/*[in,opt]*/= TNoParam(), 
                                          VARIANT HasFieldNames/*[in,opt]*/= TNoParam(), 
                                          VARIANT HTMLTableName/*[in,opt]*/= TNoParam(), 
                                          VARIANT CodePage/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall OutputTo(Access_2k::AcOutputObjectType ObjectType/*[in]*/, 
                                      VARIANT ObjectName/*[in,opt]*/= TNoParam(), 
                                      VARIANT OutputFormat/*[in,opt]*/= TNoParam(), 
                                      VARIANT OutputFile/*[in,opt]*/= TNoParam(), 
                                      VARIANT AutoStart/*[in,opt]*/= TNoParam(), 
                                      VARIANT TemplateFile/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DeleteObject(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                          VARIANT ObjectName/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall OpenModule(VARIANT ModuleName/*[in,opt]*/= TNoParam(), 
                                        VARIANT ProcedureName/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall SendObject(Access_2k::AcSendObjectType ObjectType/*[in,def,opt]*/, 
                                        VARIANT ObjectName/*[in,opt]*/= TNoParam(), 
                                        VARIANT OutputFormat/*[in,opt]*/= TNoParam(), 
                                        VARIANT To/*[in,opt]*/= TNoParam(), 
                                        VARIANT Cc/*[in,opt]*/= TNoParam(), 
                                        VARIANT Bcc/*[in,opt]*/= TNoParam(), 
                                        VARIANT Subject/*[in,opt]*/= TNoParam(), 
                                        VARIANT MessageText/*[in,opt]*/= TNoParam(), 
                                        VARIANT EditMessage/*[in,opt]*/= TNoParam(), 
                                        VARIANT TemplateFile/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall ShowToolbar(VARIANT ToolbarName/*[in]*/, 
                                         Access_2k::AcShowToolbar Show/*[in,def,opt]*/);
  HRESULT         __fastcall Save(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                  VARIANT ObjectName/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall SetMenuItem(VARIANT MenuIndex/*[in]*/, 
                                         VARIANT CommandIndex/*[in,opt]*/= TNoParam(), 
                                         VARIANT SubcommandIndex/*[in,opt]*/= TNoParam(), 
                                         VARIANT Flag/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall RunCommand(Access_2k::AcCommand Command/*[in]*/);
  HRESULT         __fastcall OpenDataAccessPage(VARIANT DataAccessPageName/*[in]*/, 
                                                Access_2k::AcDataAccessPageView View/*[in,def,opt]*/);
  HRESULT         __fastcall OpenView(VARIANT ViewName/*[in]*/, 
                                      Access_2k::AcView View/*[in,def,opt]*/, 
                                      Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/);
  HRESULT         __fastcall OpenDiagram(VARIANT DiagramName/*[in]*/);
  HRESULT         __fastcall OpenStoredProcedure(VARIANT ProcedureName/*[in]*/, 
                                                 Access_2k::AcView View/*[in,def,opt]*/, 
                                                 Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/);

};
typedef DoCmdDispT<DoCmd> DoCmdDisp;

typedef TComInterface<_RecordsetEvents>  TCOM_RecordsetEvents;

// *********************************************************************//
// DispIntf:  _RecordsetEvents
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {45165490-EF32-11D0-86FB-006097C9818C}
// *********************************************************************//
template<class T>
class _RecordsetEventsDispT : public TAutoDriver<_RecordsetEvents>
{
public:
  _RecordsetEventsDispT(){}

  _RecordsetEventsDispT(_RecordsetEvents *pintf)
  {
    TAutoDriver<_RecordsetEvents>::Bind(pintf, false);
  }

  _RecordsetEventsDispT(_RecordsetEventsPtr pintf)
  {
    TAutoDriver<_RecordsetEvents>::Bind(pintf, true);
  }

  _RecordsetEventsDispT& operator=(_RecordsetEvents *pintf)
  {
    TAutoDriver<_RecordsetEvents>::Bind(pintf, false);
    return *this;
  }

  _RecordsetEventsDispT& operator=(_RecordsetEventsPtr pintf)
  {
    TAutoDriver<_RecordsetEvents>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall WillChangeField(long cFields/*[in]*/, VARIANT Fields/*[in]*/, 
                                             Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                             LPUNKNOWN pRecordset/*[in]*/);
  HRESULT         __fastcall FieldChangeComplete(long cFields/*[in]*/, VARIANT Fields/*[in]*/, 
                                                 LPUNKNOWN pError/*[in]*/, 
                                                 Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                 LPUNKNOWN pRecordset/*[in]*/);
  HRESULT         __fastcall WillChangeRecord(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                              long cRecords/*[in]*/, 
                                              Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                              LPUNKNOWN pRecordset/*[in]*/);
  HRESULT         __fastcall RecordChangeComplete(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                                  long cRecords/*[in]*/, LPUNKNOWN pError/*[in]*/, 
                                                  Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                  LPUNKNOWN pRecordset/*[in]*/);
  HRESULT         __fastcall WillChangeRecordset(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                                 Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                 LPUNKNOWN pRecordset/*[in]*/);
  HRESULT         __fastcall RecordsetChangeComplete(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                                     LPUNKNOWN pError/*[in]*/, 
                                                     Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/
                                                     , LPUNKNOWN pRecordset/*[in]*/);
  HRESULT         __fastcall WillMove(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                      Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                      LPUNKNOWN pRecordset/*[in]*/);
  HRESULT         __fastcall MoveComplete(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                          LPUNKNOWN pError/*[in]*/, 
                                          Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                          LPUNKNOWN pRecordset/*[in]*/);
  HRESULT         __fastcall EndOfRecordset(short* fMoreData/*[in,out]*/, 
                                            Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                            LPUNKNOWN pRecordset/*[in]*/);
  HRESULT         __fastcall FetchProgress(long Progress/*[in]*/, long MaxProgress/*[in]*/, 
                                           Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                           LPUNKNOWN pRecordset/*[in]*/);
  HRESULT         __fastcall FetchComplete(LPUNKNOWN pError/*[in]*/, 
                                           Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                           LPUNKNOWN pRecordset/*[in]*/);

};
typedef _RecordsetEventsDispT<_RecordsetEvents> _RecordsetEventsDisp;

typedef TComInterface<_AccessProperty>  TCOM_AccessProperty;

// *********************************************************************//
// DispIntf:  _AccessProperty
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDD00-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _AccessPropertyDispT : public TAutoDriver<_AccessProperty>
{
public:
  _AccessPropertyDispT(){}

  _AccessPropertyDispT(_AccessProperty *pintf)
  {
    TAutoDriver<_AccessProperty>::Bind(pintf, false);
  }

  _AccessPropertyDispT(_AccessPropertyPtr pintf)
  {
    TAutoDriver<_AccessProperty>::Bind(pintf, true);
  }

  _AccessPropertyDispT& operator=(_AccessProperty *pintf)
  {
    TAutoDriver<_AccessProperty>::Bind(pintf, false);
    return *this;
  }

  _AccessPropertyDispT& operator=(_AccessPropertyPtr pintf)
  {
    TAutoDriver<_AccessProperty>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Category(short* pRet/*[out,retval]*/);
  short           __fastcall get_Category(void);
  HRESULT         __fastcall get_Value(VARIANT* pval/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pval/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstr/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstr/*[in]*/);
  HRESULT         __fastcall get_Type(short* ptype/*[out,retval]*/);
  short           __fastcall get_Type(void);
  HRESULT         __fastcall set_Type(short ptype/*[in]*/);
  HRESULT         __fastcall get_Inherited(VARIANT_BOOL* pb/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Inherited(void);
  HRESULT         __fastcall get_Properties(Dao_2k::Properties** ppprops/*[out,retval]*/);
  Dao_2k::PropertiesPtr __fastcall get_Properties(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   short           Category = {read = get_Category};

  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   short           Type = {read = get_Type, write = set_Type};
  __property   VARIANT_BOOL    Inherited = {read = get_Inherited};

  __property   Dao_2k::PropertiesPtr Properties = {read = get_Properties};
};
typedef _AccessPropertyDispT<_AccessProperty> _AccessPropertyDisp;

typedef TComInterface<Properties>  TCOMProperties;

// *********************************************************************//
// DispIntf:  Properties
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDD02-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class PropertiesDispT : public TAutoDriver<Properties>
{
public:
  PropertiesDispT(){}

  PropertiesDispT(Properties *pintf)
  {
    TAutoDriver<Properties>::Bind(pintf, false);
  }

  PropertiesDispT(PropertiesPtr pintf)
  {
    TAutoDriver<Properties>::Bind(pintf, true);
  }

  PropertiesDispT& operator=(Properties *pintf)
  {
    TAutoDriver<Properties>::Bind(pintf, false);
    return *this;
  }

  PropertiesDispT& operator=(PropertiesPtr pintf)
  {
    TAutoDriver<Properties>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Item(VARIANT Index/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Item(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef PropertiesDispT<Properties> PropertiesDisp;

// *********************************************************************//
// SmartIntf: TCOM_FormatCondition
// Interface: _FormatCondition
// *********************************************************************//
template <class T /* _FormatCondition */ >
class TCOM_FormatConditionT : public TComInterface<_FormatCondition>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_FormatConditionT() {}
  TCOM_FormatConditionT(_FormatCondition *intf, bool addRef = false) : TComInterface<_FormatCondition>(intf, addRef) {}
  TCOM_FormatConditionT(const TCOM_FormatConditionT& src) : TComInterface<_FormatCondition>(src) {}
  TCOM_FormatConditionT& operator=(const TCOM_FormatConditionT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_ForeColor(long* plResult/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long plResult/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* plResult/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long plResult/*[in]*/);
  HRESULT         __fastcall get_FontBold(VARIANT_BOOL* pfResult/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(VARIANT_BOOL pfResult/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pfResult/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pfResult/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pfResult/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pfResult/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pfResult/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pfResult/*[in]*/);
  HRESULT         __fastcall get_Type(Access_2k::AcFormatConditionType* pacfctResult/*[out,retval]*/);
  Access_2k::AcFormatConditionType __fastcall get_Type(void);
  HRESULT         __fastcall get_Operator(Access_2k::AcFormatConditionOperator* pacfcoResult/*[out,retval]*/);
  Access_2k::AcFormatConditionOperator __fastcall get_Operator(void);
  HRESULT         __fastcall get_Expression1(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_Expression1(void);
  HRESULT         __fastcall get_Expression2(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_Expression2(void);
  HRESULT         __fastcall Modify(Access_2k::AcFormatConditionType Type/*[in]*/, 
                                    Access_2k::AcFormatConditionOperator Operator/*[in,def,opt]*/, 
                                    VARIANT Expression1/*[in,opt]*/= TNoParam(), 
                                    VARIANT Expression2/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall Delete(void);

  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   VARIANT_BOOL    FontBold = {read = get_FontBold, write = set_FontBold};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   Access_2k::AcFormatConditionType Type = {read = get_Type};
  __property   Access_2k::AcFormatConditionOperator Operator = {read = get_Operator};
  __property   BSTR            Expression1 = {read = get_Expression1};
  __property   BSTR            Expression2 = {read = get_Expression2};
};
typedef TCOM_FormatConditionT<_FormatCondition> TCOM_FormatCondition;

// *********************************************************************//
// DispIntf:  _FormatCondition
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {E27A992C-A330-11D0-81DD-00C04FC2F51B}
// *********************************************************************//
template<class T>
class _FormatConditionDispT : public TAutoDriver<_FormatCondition>
{
public:
  _FormatConditionDispT(){}

  _FormatConditionDispT(_FormatCondition *pintf)
  {
    TAutoDriver<_FormatCondition>::Bind(pintf, false);
  }

  _FormatConditionDispT(_FormatConditionPtr pintf)
  {
    TAutoDriver<_FormatCondition>::Bind(pintf, true);
  }

  _FormatConditionDispT& operator=(_FormatCondition *pintf)
  {
    TAutoDriver<_FormatCondition>::Bind(pintf, false);
    return *this;
  }

  _FormatConditionDispT& operator=(_FormatConditionPtr pintf)
  {
    TAutoDriver<_FormatCondition>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_FormatCondition));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_FormatCondition);
  }

  HRESULT         __fastcall get_ForeColor(long* plResult/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long plResult/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* plResult/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long plResult/*[in]*/);
  HRESULT         __fastcall get_FontBold(VARIANT_BOOL* pfResult/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(VARIANT_BOOL pfResult/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pfResult/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pfResult/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pfResult/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pfResult/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pfResult/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pfResult/*[in]*/);
  HRESULT         __fastcall get_Type(Access_2k::AcFormatConditionType* pacfctResult/*[out,retval]*/);
  Access_2k::AcFormatConditionType __fastcall get_Type(void);
  HRESULT         __fastcall get_Operator(Access_2k::AcFormatConditionOperator* pacfcoResult/*[out,retval]*/);
  Access_2k::AcFormatConditionOperator __fastcall get_Operator(void);
  HRESULT         __fastcall get_Expression1(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_Expression1(void);
  HRESULT         __fastcall get_Expression2(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_Expression2(void);
  HRESULT         __fastcall Modify(Access_2k::AcFormatConditionType Type/*[in]*/, 
                                    Access_2k::AcFormatConditionOperator Operator/*[in,def,opt]*/, 
                                    VARIANT Expression1/*[in,opt]*/= TNoParam(), 
                                    VARIANT Expression2/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall Delete();

  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   VARIANT_BOOL    FontBold = {read = get_FontBold, write = set_FontBold};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   Access_2k::AcFormatConditionType Type = {read = get_Type};
  __property   Access_2k::AcFormatConditionOperator Operator = {read = get_Operator};
  __property   BSTR            Expression1 = {read = get_Expression1};
  __property   BSTR            Expression2 = {read = get_Expression2};
};
typedef _FormatConditionDispT<_FormatCondition> _FormatConditionDisp;

typedef TComInterface<FormatConditions>  TCOMFormatConditions;

// *********************************************************************//
// DispIntf:  FormatConditions
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {E27A992E-A330-11D0-81DD-00C04FC2F51B}
// *********************************************************************//
template<class T>
class FormatConditionsDispT : public TAutoDriver<FormatConditions>
{
public:
  FormatConditionsDispT(){}

  FormatConditionsDispT(FormatConditions *pintf)
  {
    TAutoDriver<FormatConditions>::Bind(pintf, false);
  }

  FormatConditionsDispT(FormatConditionsPtr pintf)
  {
    TAutoDriver<FormatConditions>::Bind(pintf, true);
  }

  FormatConditionsDispT& operator=(FormatConditions *pintf)
  {
    TAutoDriver<FormatConditions>::Bind(pintf, false);
    return *this;
  }

  FormatConditionsDispT& operator=(FormatConditionsPtr pintf)
  {
    TAutoDriver<FormatConditions>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Item(VARIANT Index/*[in]*/, 
                                      Access_2k::_FormatCondition** pRet/*[out,retval]*/);
  Access_2k::_FormatCondition* __fastcall get_Item(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall Add(Access_2k::AcFormatConditionType Type/*[in]*/, 
                                 Access_2k::AcFormatConditionOperator Operator/*[in,def,opt]*/, 
                                 VARIANT Expression1/*[in,opt]*/, VARIANT Expression2/*[in,opt]*/, 
                                 Access_2k::_FormatCondition** pRet/*[out,retval]*/);
  Access_2k::_FormatCondition* __fastcall Add(Access_2k::AcFormatConditionType Type/*[in]*/, 
                                              Access_2k::AcFormatConditionOperator Operator/*[in,def,opt]*/, 
                                              VARIANT Expression1/*[in,opt]*/= TNoParam(), 
                                              VARIANT Expression2/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall Delete();
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef FormatConditionsDispT<FormatConditions> FormatConditionsDisp;

typedef TComInterface<_ItemsSelected>  TCOM_ItemsSelected;

// *********************************************************************//
// DispIntf:  _ItemsSelected
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {31B09710-EADC-11CD-B9F7-00AA004753B5}
// *********************************************************************//
template<class T>
class _ItemsSelectedDispT : public TAutoDriver<_ItemsSelected>
{
public:
  _ItemsSelectedDispT(){}

  _ItemsSelectedDispT(_ItemsSelected *pintf)
  {
    TAutoDriver<_ItemsSelected>::Bind(pintf, false);
  }

  _ItemsSelectedDispT(_ItemsSelectedPtr pintf)
  {
    TAutoDriver<_ItemsSelected>::Bind(pintf, true);
  }

  _ItemsSelectedDispT& operator=(_ItemsSelected *pintf)
  {
    TAutoDriver<_ItemsSelected>::Bind(pintf, false);
    return *this;
  }

  _ItemsSelectedDispT& operator=(_ItemsSelectedPtr pintf)
  {
    TAutoDriver<_ItemsSelected>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Item(VARIANT Index/*[in]*/, long* pRet/*[out,retval]*/);
  long            __fastcall get_Item(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);

  __property   long            Count = {read = get_Count};
};
typedef _ItemsSelectedDispT<_ItemsSelected> _ItemsSelectedDisp;

typedef TComInterface<Children>  TCOMChildren;

// *********************************************************************//
// DispIntf:  Children
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E977-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class ChildrenDispT : public TAutoDriver<Children>
{
public:
  ChildrenDispT(){}

  ChildrenDispT(Children *pintf)
  {
    TAutoDriver<Children>::Bind(pintf, false);
  }

  ChildrenDispT(ChildrenPtr pintf)
  {
    TAutoDriver<Children>::Bind(pintf, true);
  }

  ChildrenDispT& operator=(Children *pintf)
  {
    TAutoDriver<Children>::Bind(pintf, false);
    return *this;
  }

  ChildrenDispT& operator=(ChildrenPtr pintf)
  {
    TAutoDriver<Children>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Item(VARIANT Index/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Item(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);

  __property   long            Count = {read = get_Count};
};
typedef ChildrenDispT<Children> ChildrenDisp;

// *********************************************************************//
// SmartIntf: TCOM_AccessField
// Interface: _AccessField
// *********************************************************************//
template <class T /* _AccessField */ >
class TCOM_AccessFieldT : public TComInterface<_AccessField>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_AccessFieldT() {}
  TCOM_AccessFieldT(_AccessField *intf, bool addRef = false) : TComInterface<_AccessField>(intf, addRef) {}
  TCOM_AccessFieldT(const TCOM_AccessFieldT& src) : TComInterface<_AccessField>(src) {}
  TCOM_AccessFieldT& operator=(const TCOM_AccessFieldT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);

};
typedef TCOM_AccessFieldT<_AccessField> TCOM_AccessField;

// *********************************************************************//
// DispIntf:  _AccessField
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {B1C1EAC1-486F-11CE-A65D-00AA003F0F07}
// *********************************************************************//
template<class T>
class _AccessFieldDispT : public TAutoDriver<_AccessField>
{
public:
  _AccessFieldDispT(){}

  _AccessFieldDispT(_AccessField *pintf)
  {
    TAutoDriver<_AccessField>::Bind(pintf, false);
  }

  _AccessFieldDispT(_AccessFieldPtr pintf)
  {
    TAutoDriver<_AccessField>::Bind(pintf, true);
  }

  _AccessFieldDispT& operator=(_AccessField *pintf)
  {
    TAutoDriver<_AccessField>::Bind(pintf, false);
    return *this;
  }

  _AccessFieldDispT& operator=(_AccessFieldPtr pintf)
  {
    TAutoDriver<_AccessField>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessField));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessField);
  }

  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);

};
typedef _AccessFieldDispT<_AccessField> _AccessFieldDisp;

typedef TComInterface<__Help>  TCOM__Help;

// *********************************************************************//
// SmartIntf: TCOM_Hyperlink
// Interface: _Hyperlink
// *********************************************************************//
template <class T /* _Hyperlink */ >
class TCOM_HyperlinkT : public TComInterface<_Hyperlink>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_HyperlinkT() {}
  TCOM_HyperlinkT(_Hyperlink *intf, bool addRef = false) : TComInterface<_Hyperlink>(intf, addRef) {}
  TCOM_HyperlinkT(const TCOM_HyperlinkT& src) : TComInterface<_Hyperlink>(src) {}
  TCOM_HyperlinkT& operator=(const TCOM_HyperlinkT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_SubAddress(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_SubAddress(void);
  HRESULT         __fastcall set_SubAddress(VARIANT pbstrResult/*[in]*/);
  HRESULT         __fastcall get_Address(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_Address(void);
  HRESULT         __fastcall set_Address(VARIANT pbstrResult/*[in]*/);
  HRESULT         __fastcall AddToFavorites(void);
  HRESULT         __fastcall Follow(VARIANT_BOOL NewWindow/*[in,def,opt]*/, 
                                    VARIANT_BOOL AddHistory/*[in,def,opt]*/, 
                                    VARIANT ExtraInfo/*[in,opt]*/, 
                                    Office_2k::MsoExtraInfoMethod Method/*[in,def,opt]*/, 
                                    BSTR HeaderInfo/*[in,def,opt]*/);
  HRESULT         __fastcall get_EmailSubject(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_EmailSubject(void);
  HRESULT         __fastcall set_EmailSubject(VARIANT pbstrResult/*[in]*/);
  HRESULT         __fastcall get_ScreenTip(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_ScreenTip(void);
  HRESULT         __fastcall set_ScreenTip(VARIANT pbstrResult/*[in]*/);
  HRESULT         __fastcall get_TextToDisplay(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_TextToDisplay(void);
  HRESULT         __fastcall set_TextToDisplay(VARIANT pbstrResult/*[in]*/);
  HRESULT         __fastcall CreateNewDocument(BSTR FileName/*[in]*/, VARIANT_BOOL EditNow/*[in]*/, 
                                               VARIANT_BOOL Overwrite/*[in]*/);

  __property   BSTR            SubAddress = {read = get_SubAddress};
  __property   BSTR            Address = {read = get_Address};
  __property   BSTR            EmailSubject = {read = get_EmailSubject};
  __property   BSTR            ScreenTip = {read = get_ScreenTip};
  __property   BSTR            TextToDisplay = {read = get_TextToDisplay};
};
typedef TCOM_HyperlinkT<_Hyperlink> TCOM_Hyperlink;

// *********************************************************************//
// DispIntf:  _Hyperlink
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {50D56611-60AC-11CF-82C9-00AA004B9FE6}
// *********************************************************************//
template<class T>
class _HyperlinkDispT : public TAutoDriver<_Hyperlink>
{
public:
  _HyperlinkDispT(){}

  _HyperlinkDispT(_Hyperlink *pintf)
  {
    TAutoDriver<_Hyperlink>::Bind(pintf, false);
  }

  _HyperlinkDispT(_HyperlinkPtr pintf)
  {
    TAutoDriver<_Hyperlink>::Bind(pintf, true);
  }

  _HyperlinkDispT& operator=(_Hyperlink *pintf)
  {
    TAutoDriver<_Hyperlink>::Bind(pintf, false);
    return *this;
  }

  _HyperlinkDispT& operator=(_HyperlinkPtr pintf)
  {
    TAutoDriver<_Hyperlink>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessHyperlink));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessHyperlink);
  }

  HRESULT         __fastcall get_SubAddress(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_SubAddress(void);
  HRESULT         __fastcall set_SubAddress(VARIANT pbstrResult/*[in]*/);
  HRESULT         __fastcall get_Address(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_Address(void);
  HRESULT         __fastcall set_Address(VARIANT pbstrResult/*[in]*/);
  HRESULT         __fastcall AddToFavorites();
  HRESULT         __fastcall Follow(VARIANT_BOOL NewWindow/*[in,def,opt]*/, 
                                    VARIANT_BOOL AddHistory/*[in,def,opt]*/, 
                                    VARIANT ExtraInfo/*[in,opt]*/, 
                                    Office_2k::MsoExtraInfoMethod Method/*[in,def,opt]*/, 
                                    BSTR HeaderInfo/*[in,def,opt]*/);
  HRESULT         __fastcall get_EmailSubject(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_EmailSubject(void);
  HRESULT         __fastcall set_EmailSubject(VARIANT pbstrResult/*[in]*/);
  HRESULT         __fastcall get_ScreenTip(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_ScreenTip(void);
  HRESULT         __fastcall set_ScreenTip(VARIANT pbstrResult/*[in]*/);
  HRESULT         __fastcall get_TextToDisplay(BSTR* pbstrResult/*[out,retval]*/);
  BSTR            __fastcall get_TextToDisplay(void);
  HRESULT         __fastcall set_TextToDisplay(VARIANT pbstrResult/*[in]*/);
  HRESULT         __fastcall CreateNewDocument(BSTR FileName/*[in]*/, VARIANT_BOOL EditNow/*[in]*/, 
                                               VARIANT_BOOL Overwrite/*[in]*/);

  __property   BSTR            SubAddress = {read = get_SubAddress};
  __property   BSTR            Address = {read = get_Address};
  __property   BSTR            EmailSubject = {read = get_EmailSubject};
  __property   BSTR            ScreenTip = {read = get_ScreenTip};
  __property   BSTR            TextToDisplay = {read = get_TextToDisplay};
};
typedef _HyperlinkDispT<_Hyperlink> _HyperlinkDisp;

// *********************************************************************//
// SmartIntf: TCOM_Page
// Interface: _Page
// *********************************************************************//
template <class T /* _Page */ >
class TCOM_PageT : public TComInterface<_Page>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_PageT() {}
  TCOM_PageT(_Page *intf, bool addRef = false) : TComInterface<_Page>(intf, addRef) {}
  TCOM_PageT(const TCOM_PageT& src) : TComInterface<_Page>(src) {}
  TCOM_PageT& operator=(const TCOM_PageT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PageIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_PageIndex(void);
  HRESULT         __fastcall set_PageIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   short           PageIndex = {read = get_PageIndex, write = set_PageIndex};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_PageT<_Page> TCOM_Page;

// *********************************************************************//
// DispIntf:  _Page
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E974-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _PageDispT : public TAutoDriver<_Page>
{
public:
  _PageDispT(){}

  _PageDispT(_Page *pintf)
  {
    TAutoDriver<_Page>::Bind(pintf, false);
  }

  _PageDispT(_PagePtr pintf)
  {
    TAutoDriver<_Page>::Bind(pintf, true);
  }

  _PageDispT& operator=(_Page *pintf)
  {
    TAutoDriver<_Page>::Bind(pintf, false);
    return *this;
  }

  _PageDispT& operator=(_PagePtr pintf)
  {
    TAutoDriver<_Page>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessPage));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessPage);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PageIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_PageIndex(void);
  HRESULT         __fastcall set_PageIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   short           PageIndex = {read = get_PageIndex, write = set_PageIndex};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _PageDispT<_Page> _PageDisp;

typedef TComInterface<Pages>  TCOMPages;

// *********************************************************************//
// DispIntf:  Pages
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E978-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class PagesDispT : public TAutoDriver<Pages>
{
public:
  PagesDispT(){}

  PagesDispT(Pages *pintf)
  {
    TAutoDriver<Pages>::Bind(pintf, false);
  }

  PagesDispT(PagesPtr pintf)
  {
    TAutoDriver<Pages>::Bind(pintf, true);
  }

  PagesDispT& operator=(Pages *pintf)
  {
    TAutoDriver<Pages>::Bind(pintf, false);
    return *this;
  }

  PagesDispT& operator=(PagesPtr pintf)
  {
    TAutoDriver<Pages>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Item(VARIANT Index/*[in]*/, 
                                      Access_2k::AccessPage** pRet/*[out,retval]*/);
  Access_2k::AccessPage* __fastcall get_Item(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);
  HRESULT         __fastcall Add(VARIANT Before/*[in,opt]*/, 
                                 Access_2k::AccessPage** pRet/*[out,retval]*/);
  Access_2k::AccessPage* __fastcall Add(VARIANT Before/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall Remove(VARIANT Item/*[in,opt]*/= TNoParam());

  __property   long            Count = {read = get_Count};
};
typedef PagesDispT<Pages> PagesDisp;

// *********************************************************************//
// SmartIntf: TCOM_Control
// Interface: _Control
// *********************************************************************//
template <class T /* _Control */ >
class TCOM_ControlT : public TComInterface<_Control>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_ControlT() {}
  TCOM_ControlT(_Control *intf, bool addRef = false) : TComInterface<_Control>(intf, addRef) {}
  TCOM_ControlT(const TCOM_ControlT& src) : TComInterface<_Control>(src) {}
  TCOM_ControlT& operator=(const TCOM_ControlT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo(void);
  HRESULT         __fastcall Dropdown(void);
  HRESULT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                                        VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_Selected(long lRow/*[in]*/, long* pRet/*[out,retval]*/);
  long            __fastcall get_Selected(long lRow/*[in]*/);
  HRESULT         __fastcall set_Selected(long lRow/*[in]*/, long pRet/*[in]*/);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessFormPtr __fastcall get_Form(void);
  HRESULT         __fastcall get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReportPtr __fastcall get_Report(void);
  HRESULT         __fastcall get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ItemData(long Index/*[in]*/);
  HRESULT         __fastcall get_Object(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Object(void);
  HRESULT         __fastcall get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ObjectVerbs(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall get_ItemsSelected(Access_2k::_ItemsSelected** pRet/*[out,retval]*/);
  Access_2k::_ItemsSelectedPtr __fastcall get_ItemsSelected(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Pages(Access_2k::Pages** pRet/*[out,retval]*/);
  Access_2k::PagesPtr __fastcall get_Pages(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::_ItemsSelectedPtr ItemsSelected = {read = get_ItemsSelected};
  __property   Access_2k::PagesPtr Pages = {read = get_Pages};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
};
typedef TCOM_ControlT<_Control> TCOM_Control;

// *********************************************************************//
// DispIntf:  _Control
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {26B96540-8F8E-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template<class T>
class _ControlDispT : public TAutoDriver<_Control>
{
public:
  _ControlDispT(){}

  _ControlDispT(_Control *pintf)
  {
    TAutoDriver<_Control>::Bind(pintf, false);
  }

  _ControlDispT(_ControlPtr pintf)
  {
    TAutoDriver<_Control>::Bind(pintf, true);
  }

  _ControlDispT& operator=(_Control *pintf)
  {
    TAutoDriver<_Control>::Bind(pintf, false);
    return *this;
  }

  _ControlDispT& operator=(_ControlPtr pintf)
  {
    TAutoDriver<_Control>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessControl));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessControl);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo();
  HRESULT         __fastcall Dropdown();
  HRESULT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                                        VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_Selected(long lRow/*[in]*/, long* pRet/*[out,retval]*/);
  long            __fastcall get_Selected(long lRow/*[in]*/);
  HRESULT         __fastcall set_Selected(long lRow/*[in]*/, long pRet/*[in]*/);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessFormPtr __fastcall get_Form(void);
  HRESULT         __fastcall get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReportPtr __fastcall get_Report(void);
  HRESULT         __fastcall get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ItemData(long Index/*[in]*/);
  HRESULT         __fastcall get_Object(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Object(void);
  HRESULT         __fastcall get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ObjectVerbs(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall get_ItemsSelected(Access_2k::_ItemsSelected** pRet/*[out,retval]*/);
  Access_2k::_ItemsSelectedPtr __fastcall get_ItemsSelected(void);
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Pages(Access_2k::Pages** pRet/*[out,retval]*/);
  Access_2k::PagesPtr __fastcall get_Pages(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::_ItemsSelectedPtr ItemsSelected = {read = get_ItemsSelected};
  __property   Access_2k::PagesPtr Pages = {read = get_Pages};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
};
typedef _ControlDispT<_Control> _ControlDisp;

typedef TComInterface<__ControlInReportEvents>  TCOM__ControlInReportEvents;

typedef TComInterface<Controls_>  TCOMControls_;

// *********************************************************************//
// DispIntf:  Controls
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {5970C574-EB8C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class Controls_DispT : public TAutoDriver<Controls_>
{
public:
  Controls_DispT(){}

  Controls_DispT(Controls_ *pintf)
  {
    TAutoDriver<Controls_>::Bind(pintf, false);
  }

  Controls_DispT(Controls_Ptr pintf)
  {
    TAutoDriver<Controls_>::Bind(pintf, true);
  }

  Controls_DispT& operator=(Controls_ *pintf)
  {
    TAutoDriver<Controls_>::Bind(pintf, false);
    return *this;
  }

  Controls_DispT& operator=(Controls_Ptr pintf)
  {
    TAutoDriver<Controls_>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Item(VARIANT Index/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Item(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef Controls_DispT<Controls_> Controls_Disp;

// *********************************************************************//
// SmartIntf: TCOM_Label
// Interface: _Label
// *********************************************************************//
template <class T /* _Label */ >
class TCOM_LabelT : public TComInterface<_Label>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_LabelT() {}
  TCOM_LabelT(_Label *intf, bool addRef = false) : TComInterface<_Label>(intf, addRef) {}
  TCOM_LabelT(const TCOM_LabelT& src) : TComInterface<_Label>(src) {}
  TCOM_LabelT& operator=(const TCOM_LabelT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkAddress(void);
  HRESULT         __fastcall set_HyperlinkAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkSubAddress(void);
  HRESULT         __fastcall set_HyperlinkSubAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Vertical(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Vertical(void);
  HRESULT         __fastcall set_Vertical(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextAlign(void);
  HRESULT         __fastcall set_TextAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_NumeralShapes(void);
  HRESULT         __fastcall set_NumeralShapes(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_LeftMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_LeftMargin(void);
  HRESULT         __fastcall set_LeftMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_TopMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_TopMargin(void);
  HRESULT         __fastcall set_TopMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_LineSpacing(short* pRet/*[out,retval]*/);
  short           __fastcall get_LineSpacing(void);
  HRESULT         __fastcall set_LineSpacing(short pRet/*[in]*/);
  HRESULT         __fastcall get_RightMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_RightMargin(void);
  HRESULT         __fastcall set_RightMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_BottomMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_BottomMargin(void);
  HRESULT         __fastcall set_BottomMargin(short pRet/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            HyperlinkAddress = {read = get_HyperlinkAddress, write = set_HyperlinkAddress};
  __property   BSTR            HyperlinkSubAddress = {read = get_HyperlinkSubAddress, write = set_HyperlinkSubAddress};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Vertical = {read = get_Vertical, write = set_Vertical};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   short           LeftMargin = {read = get_LeftMargin, write = set_LeftMargin};
  __property   short           TopMargin = {read = get_TopMargin, write = set_TopMargin};
  __property   short           LineSpacing = {read = get_LineSpacing, write = set_LineSpacing};
  __property   short           RightMargin = {read = get_RightMargin, write = set_RightMargin};
  __property   short           BottomMargin = {read = get_BottomMargin, write = set_BottomMargin};
};
typedef TCOM_LabelT<_Label> TCOM_Label;

// *********************************************************************//
// DispIntf:  _Label
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E948-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _LabelDispT : public TAutoDriver<_Label>
{
public:
  _LabelDispT(){}

  _LabelDispT(_Label *pintf)
  {
    TAutoDriver<_Label>::Bind(pintf, false);
  }

  _LabelDispT(_LabelPtr pintf)
  {
    TAutoDriver<_Label>::Bind(pintf, true);
  }

  _LabelDispT& operator=(_Label *pintf)
  {
    TAutoDriver<_Label>::Bind(pintf, false);
    return *this;
  }

  _LabelDispT& operator=(_LabelPtr pintf)
  {
    TAutoDriver<_Label>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessLabel));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessLabel);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkAddress(void);
  HRESULT         __fastcall set_HyperlinkAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkSubAddress(void);
  HRESULT         __fastcall set_HyperlinkSubAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Vertical(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Vertical(void);
  HRESULT         __fastcall set_Vertical(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextAlign(void);
  HRESULT         __fastcall set_TextAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_NumeralShapes(void);
  HRESULT         __fastcall set_NumeralShapes(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_LeftMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_LeftMargin(void);
  HRESULT         __fastcall set_LeftMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_TopMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_TopMargin(void);
  HRESULT         __fastcall set_TopMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_LineSpacing(short* pRet/*[out,retval]*/);
  short           __fastcall get_LineSpacing(void);
  HRESULT         __fastcall set_LineSpacing(short pRet/*[in]*/);
  HRESULT         __fastcall get_RightMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_RightMargin(void);
  HRESULT         __fastcall set_RightMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_BottomMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_BottomMargin(void);
  HRESULT         __fastcall set_BottomMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            HyperlinkAddress = {read = get_HyperlinkAddress, write = set_HyperlinkAddress};
  __property   BSTR            HyperlinkSubAddress = {read = get_HyperlinkSubAddress, write = set_HyperlinkSubAddress};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Vertical = {read = get_Vertical, write = set_Vertical};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   short           LeftMargin = {read = get_LeftMargin, write = set_LeftMargin};
  __property   short           TopMargin = {read = get_TopMargin, write = set_TopMargin};
  __property   short           LineSpacing = {read = get_LineSpacing, write = set_LineSpacing};
  __property   short           RightMargin = {read = get_RightMargin, write = set_RightMargin};
  __property   short           BottomMargin = {read = get_BottomMargin, write = set_BottomMargin};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _LabelDispT<_Label> _LabelDisp;

typedef TComInterface<_LabelEvents>  TCOM_LabelEvents;

typedef TComInterface<_ChildLabelEvents>  TCOM_ChildLabelEvents;

// *********************************************************************//
// SmartIntf: TCOM_Rectangle
// Interface: _Rectangle
// *********************************************************************//
template <class T /* _Rectangle */ >
class TCOM_RectangleT : public TComInterface<_Rectangle>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_RectangleT() {}
  TCOM_RectangleT(_Rectangle *intf, bool addRef = false) : TComInterface<_Rectangle>(intf, addRef) {}
  TCOM_RectangleT(const TCOM_RectangleT& src) : TComInterface<_Rectangle>(src) {}
  TCOM_RectangleT& operator=(const TCOM_RectangleT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_RectangleT<_Rectangle> TCOM_Rectangle;

// *********************************************************************//
// DispIntf:  _Rectangle
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E94A-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _RectangleDispT : public TAutoDriver<_Rectangle>
{
public:
  _RectangleDispT(){}

  _RectangleDispT(_Rectangle *pintf)
  {
    TAutoDriver<_Rectangle>::Bind(pintf, false);
  }

  _RectangleDispT(_RectanglePtr pintf)
  {
    TAutoDriver<_Rectangle>::Bind(pintf, true);
  }

  _RectangleDispT& operator=(_Rectangle *pintf)
  {
    TAutoDriver<_Rectangle>::Bind(pintf, false);
    return *this;
  }

  _RectangleDispT& operator=(_RectanglePtr pintf)
  {
    TAutoDriver<_Rectangle>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessRectangle));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessRectangle);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef _RectangleDispT<_Rectangle> _RectangleDisp;

typedef TComInterface<_RectangleEvents>  TCOM_RectangleEvents;

// *********************************************************************//
// SmartIntf: TCOM_Line
// Interface: _Line
// *********************************************************************//
template <class T /* _Line */ >
class TCOM_LineT : public TComInterface<_Line>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_LineT() {}
  TCOM_LineT(_Line *intf, bool addRef = false) : TComInterface<_Line>(intf, addRef) {}
  TCOM_LineT(const TCOM_LineT& src) : TComInterface<_Line>(src) {}
  TCOM_LineT& operator=(const TCOM_LineT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_LineSlant(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_LineSlant(void);
  HRESULT         __fastcall set_LineSlant(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   VARIANT_BOOL    LineSlant = {read = get_LineSlant, write = set_LineSlant};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_LineT<_Line> TCOM_Line;

// *********************************************************************//
// DispIntf:  _Line
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E94C-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _LineDispT : public TAutoDriver<_Line>
{
public:
  _LineDispT(){}

  _LineDispT(_Line *pintf)
  {
    TAutoDriver<_Line>::Bind(pintf, false);
  }

  _LineDispT(_LinePtr pintf)
  {
    TAutoDriver<_Line>::Bind(pintf, true);
  }

  _LineDispT& operator=(_Line *pintf)
  {
    TAutoDriver<_Line>::Bind(pintf, false);
    return *this;
  }

  _LineDispT& operator=(_LinePtr pintf)
  {
    TAutoDriver<_Line>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessLine));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessLine);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_LineSlant(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_LineSlant(void);
  HRESULT         __fastcall set_LineSlant(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   VARIANT_BOOL    LineSlant = {read = get_LineSlant, write = set_LineSlant};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef _LineDispT<_Line> _LineDisp;

typedef TComInterface<_LineEvents>  TCOM_LineEvents;

// *********************************************************************//
// SmartIntf: TCOM_Image
// Interface: _Image
// *********************************************************************//
template <class T /* _Image */ >
class TCOM_ImageT : public TComInterface<_Image>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_ImageT() {}
  TCOM_ImageT(_Image *intf, bool addRef = false) : TComInterface<_Image>(intf, addRef) {}
  TCOM_ImageT(const TCOM_ImageT& src) : TComInterface<_Image>(src) {}
  TCOM_ImageT& operator=(const TCOM_ImageT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_SizeMode(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SizeMode(void);
  HRESULT         __fastcall set_SizeMode(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureAlignment(void);
  HRESULT         __fastcall set_PictureAlignment(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_PictureTiling(void);
  HRESULT         __fastcall set_PictureTiling(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkAddress(void);
  HRESULT         __fastcall set_HyperlinkAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkSubAddress(void);
  HRESULT         __fastcall set_HyperlinkSubAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ImageHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_ImageHeight(void);
  HRESULT         __fastcall set_ImageHeight(long pRet/*[in]*/);
  HRESULT         __fastcall get_ImageWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_ImageWidth(void);
  HRESULT         __fastcall set_ImageWidth(long pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   unsigned_char   SizeMode = {read = get_SizeMode, write = set_SizeMode};
  __property   unsigned_char   PictureAlignment = {read = get_PictureAlignment, write = set_PictureAlignment};
  __property   VARIANT_BOOL    PictureTiling = {read = get_PictureTiling, write = set_PictureTiling};
  __property   BSTR            HyperlinkAddress = {read = get_HyperlinkAddress, write = set_HyperlinkAddress};
  __property   BSTR            HyperlinkSubAddress = {read = get_HyperlinkSubAddress, write = set_HyperlinkSubAddress};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   long            ImageHeight = {read = get_ImageHeight, write = set_ImageHeight};
  __property   long            ImageWidth = {read = get_ImageWidth, write = set_ImageWidth};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_ImageT<_Image> TCOM_Image;

// *********************************************************************//
// DispIntf:  _Image
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E94E-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _ImageDispT : public TAutoDriver<_Image>
{
public:
  _ImageDispT(){}

  _ImageDispT(_Image *pintf)
  {
    TAutoDriver<_Image>::Bind(pintf, false);
  }

  _ImageDispT(_ImagePtr pintf)
  {
    TAutoDriver<_Image>::Bind(pintf, true);
  }

  _ImageDispT& operator=(_Image *pintf)
  {
    TAutoDriver<_Image>::Bind(pintf, false);
    return *this;
  }

  _ImageDispT& operator=(_ImagePtr pintf)
  {
    TAutoDriver<_Image>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessImage));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessImage);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_SizeMode(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SizeMode(void);
  HRESULT         __fastcall set_SizeMode(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureAlignment(void);
  HRESULT         __fastcall set_PictureAlignment(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_PictureTiling(void);
  HRESULT         __fastcall set_PictureTiling(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkAddress(void);
  HRESULT         __fastcall set_HyperlinkAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkSubAddress(void);
  HRESULT         __fastcall set_HyperlinkSubAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ImageHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_ImageHeight(void);
  HRESULT         __fastcall set_ImageHeight(long pRet/*[in]*/);
  HRESULT         __fastcall get_ImageWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_ImageWidth(void);
  HRESULT         __fastcall set_ImageWidth(long pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   unsigned_char   SizeMode = {read = get_SizeMode, write = set_SizeMode};
  __property   unsigned_char   PictureAlignment = {read = get_PictureAlignment, write = set_PictureAlignment};
  __property   VARIANT_BOOL    PictureTiling = {read = get_PictureTiling, write = set_PictureTiling};
  __property   BSTR            HyperlinkAddress = {read = get_HyperlinkAddress, write = set_HyperlinkAddress};
  __property   BSTR            HyperlinkSubAddress = {read = get_HyperlinkSubAddress, write = set_HyperlinkSubAddress};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   long            ImageHeight = {read = get_ImageHeight, write = set_ImageHeight};
  __property   long            ImageWidth = {read = get_ImageWidth, write = set_ImageWidth};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef _ImageDispT<_Image> _ImageDisp;

typedef TComInterface<_ImageEvents>  TCOM_ImageEvents;

// *********************************************************************//
// SmartIntf: TCOM_CommandButton
// Interface: _CommandButton
// *********************************************************************//
template <class T /* _CommandButton */ >
class TCOM_CommandButtonT : public TComInterface<_CommandButton>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_CommandButtonT() {}
  TCOM_CommandButtonT(_CommandButton *intf, bool addRef = false) : TComInterface<_CommandButton>(intf, addRef) {}
  TCOM_CommandButtonT(const TCOM_CommandButtonT& src) : TComInterface<_CommandButton>(src) {}
  TCOM_CommandButtonT& operator=(const TCOM_CommandButtonT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_Transparent(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Transparent(void);
  HRESULT         __fastcall set_Transparent(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Default(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Default(void);
  HRESULT         __fastcall set_Default(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Cancel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Cancel(void);
  HRESULT         __fastcall set_Cancel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoRepeat(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoRepeat(void);
  HRESULT         __fastcall set_AutoRepeat(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnPush(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnPush(void);
  HRESULT         __fastcall set_OnPush(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkAddress(void);
  HRESULT         __fastcall set_HyperlinkAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkSubAddress(void);
  HRESULT         __fastcall set_HyperlinkSubAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   VARIANT_BOOL    Transparent = {read = get_Transparent, write = set_Transparent};
  __property   VARIANT_BOOL    Default = {read = get_Default, write = set_Default};
  __property   VARIANT_BOOL    Cancel = {read = get_Cancel, write = set_Cancel};
  __property   VARIANT_BOOL    AutoRepeat = {read = get_AutoRepeat, write = set_AutoRepeat};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   BSTR            OnPush = {read = get_OnPush, write = set_OnPush};
  __property   BSTR            HyperlinkAddress = {read = get_HyperlinkAddress, write = set_HyperlinkAddress};
  __property   BSTR            HyperlinkSubAddress = {read = get_HyperlinkSubAddress, write = set_HyperlinkSubAddress};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_CommandButtonT<_CommandButton> TCOM_CommandButton;

// *********************************************************************//
// DispIntf:  _CommandButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E950-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _CommandButtonDispT : public TAutoDriver<_CommandButton>
{
public:
  _CommandButtonDispT(){}

  _CommandButtonDispT(_CommandButton *pintf)
  {
    TAutoDriver<_CommandButton>::Bind(pintf, false);
  }

  _CommandButtonDispT(_CommandButtonPtr pintf)
  {
    TAutoDriver<_CommandButton>::Bind(pintf, true);
  }

  _CommandButtonDispT& operator=(_CommandButton *pintf)
  {
    TAutoDriver<_CommandButton>::Bind(pintf, false);
    return *this;
  }

  _CommandButtonDispT& operator=(_CommandButtonPtr pintf)
  {
    TAutoDriver<_CommandButton>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessCommandButton));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessCommandButton);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_Transparent(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Transparent(void);
  HRESULT         __fastcall set_Transparent(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Default(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Default(void);
  HRESULT         __fastcall set_Default(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Cancel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Cancel(void);
  HRESULT         __fastcall set_Cancel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoRepeat(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoRepeat(void);
  HRESULT         __fastcall set_AutoRepeat(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnPush(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnPush(void);
  HRESULT         __fastcall set_OnPush(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkAddress(void);
  HRESULT         __fastcall set_HyperlinkAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HyperlinkSubAddress(void);
  HRESULT         __fastcall set_HyperlinkSubAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   VARIANT_BOOL    Transparent = {read = get_Transparent, write = set_Transparent};
  __property   VARIANT_BOOL    Default = {read = get_Default, write = set_Default};
  __property   VARIANT_BOOL    Cancel = {read = get_Cancel, write = set_Cancel};
  __property   VARIANT_BOOL    AutoRepeat = {read = get_AutoRepeat, write = set_AutoRepeat};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   BSTR            OnPush = {read = get_OnPush, write = set_OnPush};
  __property   BSTR            HyperlinkAddress = {read = get_HyperlinkAddress, write = set_HyperlinkAddress};
  __property   BSTR            HyperlinkSubAddress = {read = get_HyperlinkSubAddress, write = set_HyperlinkSubAddress};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _CommandButtonDispT<_CommandButton> _CommandButtonDisp;

typedef TComInterface<_CommandButtonEvents>  TCOM_CommandButtonEvents;

// *********************************************************************//
// SmartIntf: TCOM_OptionButton
// Interface: _OptionButton
// *********************************************************************//
template <class T /* _OptionButton */ >
class TCOM_OptionButtonT : public TComInterface<_OptionButton>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_OptionButtonT() {}
  TCOM_OptionButtonT(_OptionButton *intf, bool addRef = false) : TComInterface<_OptionButton>(intf, addRef) {}
  TCOM_OptionButtonT(const TCOM_OptionButtonT& src) : TComInterface<_OptionButton>(src) {}
  TCOM_OptionButtonT& operator=(const TCOM_OptionButtonT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OptionValue(long* pRet/*[out,retval]*/);
  long            __fastcall get_OptionValue(void);
  HRESULT         __fastcall set_OptionValue(long pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TripleState(void);
  HRESULT         __fastcall set_TripleState(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_OptionButtonT<_OptionButton> TCOM_OptionButton;

// *********************************************************************//
// DispIntf:  _OptionButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E952-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _OptionButtonDispT : public TAutoDriver<_OptionButton>
{
public:
  _OptionButtonDispT(){}

  _OptionButtonDispT(_OptionButton *pintf)
  {
    TAutoDriver<_OptionButton>::Bind(pintf, false);
  }

  _OptionButtonDispT(_OptionButtonPtr pintf)
  {
    TAutoDriver<_OptionButton>::Bind(pintf, true);
  }

  _OptionButtonDispT& operator=(_OptionButton *pintf)
  {
    TAutoDriver<_OptionButton>::Bind(pintf, false);
    return *this;
  }

  _OptionButtonDispT& operator=(_OptionButtonPtr pintf)
  {
    TAutoDriver<_OptionButton>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessOptionButton));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessOptionButton);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OptionValue(long* pRet/*[out,retval]*/);
  long            __fastcall get_OptionValue(void);
  HRESULT         __fastcall set_OptionValue(long pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TripleState(void);
  HRESULT         __fastcall set_TripleState(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _OptionButtonDispT<_OptionButton> _OptionButtonDisp;

typedef TComInterface<_OptionButtonEvents>  TCOM_OptionButtonEvents;

typedef TComInterface<_OptionButtonInOptionEvents>  TCOM_OptionButtonInOptionEvents;

// *********************************************************************//
// SmartIntf: TCOM_Checkbox
// Interface: _Checkbox
// *********************************************************************//
template <class T /* _Checkbox */ >
class TCOM_CheckboxT : public TComInterface<_Checkbox>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_CheckboxT() {}
  TCOM_CheckboxT(_Checkbox *intf, bool addRef = false) : TComInterface<_Checkbox>(intf, addRef) {}
  TCOM_CheckboxT(const TCOM_CheckboxT& src) : TComInterface<_Checkbox>(src) {}
  TCOM_CheckboxT& operator=(const TCOM_CheckboxT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OptionValue(long* pRet/*[out,retval]*/);
  long            __fastcall get_OptionValue(void);
  HRESULT         __fastcall set_OptionValue(long pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TripleState(void);
  HRESULT         __fastcall set_TripleState(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_CheckboxT<_Checkbox> TCOM_Checkbox;

// *********************************************************************//
// DispIntf:  _Checkbox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E954-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _CheckboxDispT : public TAutoDriver<_Checkbox>
{
public:
  _CheckboxDispT(){}

  _CheckboxDispT(_Checkbox *pintf)
  {
    TAutoDriver<_Checkbox>::Bind(pintf, false);
  }

  _CheckboxDispT(_CheckboxPtr pintf)
  {
    TAutoDriver<_Checkbox>::Bind(pintf, true);
  }

  _CheckboxDispT& operator=(_Checkbox *pintf)
  {
    TAutoDriver<_Checkbox>::Bind(pintf, false);
    return *this;
  }

  _CheckboxDispT& operator=(_CheckboxPtr pintf)
  {
    TAutoDriver<_Checkbox>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessCheckBox));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessCheckBox);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo();
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OptionValue(long* pRet/*[out,retval]*/);
  long            __fastcall get_OptionValue(void);
  HRESULT         __fastcall set_OptionValue(long pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TripleState(void);
  HRESULT         __fastcall set_TripleState(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _CheckboxDispT<_Checkbox> _CheckboxDisp;

typedef TComInterface<_CheckBoxEvents>  TCOM_CheckBoxEvents;

typedef TComInterface<_CheckBoxInOptionEvents>  TCOM_CheckBoxInOptionEvents;

// *********************************************************************//
// SmartIntf: TCOM_OptionGroup
// Interface: _OptionGroup
// *********************************************************************//
template <class T /* _OptionGroup */ >
class TCOM_OptionGroupT : public TComInterface<_OptionGroup>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_OptionGroupT() {}
  TCOM_OptionGroupT(_OptionGroup *intf, bool addRef = false) : TComInterface<_OptionGroup>(intf, addRef) {}
  TCOM_OptionGroupT(const TCOM_OptionGroupT& src) : TComInterface<_OptionGroup>(src) {}
  TCOM_OptionGroupT& operator=(const TCOM_OptionGroupT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_OptionGroupT<_OptionGroup> TCOM_OptionGroup;

// *********************************************************************//
// DispIntf:  _OptionGroup
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E956-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _OptionGroupDispT : public TAutoDriver<_OptionGroup>
{
public:
  _OptionGroupDispT(){}

  _OptionGroupDispT(_OptionGroup *pintf)
  {
    TAutoDriver<_OptionGroup>::Bind(pintf, false);
  }

  _OptionGroupDispT(_OptionGroupPtr pintf)
  {
    TAutoDriver<_OptionGroup>::Bind(pintf, true);
  }

  _OptionGroupDispT& operator=(_OptionGroup *pintf)
  {
    TAutoDriver<_OptionGroup>::Bind(pintf, false);
    return *this;
  }

  _OptionGroupDispT& operator=(_OptionGroupPtr pintf)
  {
    TAutoDriver<_OptionGroup>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessOptionGroup));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessOptionGroup);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo();
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _OptionGroupDispT<_OptionGroup> _OptionGroupDisp;

typedef TComInterface<_OptionGroupEvents>  TCOM_OptionGroupEvents;

// *********************************************************************//
// SmartIntf: TCOM_BoundObjectFrame
// Interface: _BoundObjectFrame
// *********************************************************************//
template <class T /* _BoundObjectFrame */ >
class TCOM_BoundObjectFrameT : public TComInterface<_BoundObjectFrame>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_BoundObjectFrameT() {}
  TCOM_BoundObjectFrameT(_BoundObjectFrame *intf, bool addRef = false) : TComInterface<_BoundObjectFrame>(intf, addRef) {}
  TCOM_BoundObjectFrameT(const TCOM_BoundObjectFrameT& src) : TComInterface<_BoundObjectFrame>(src) {}
  TCOM_BoundObjectFrameT& operator=(const TCOM_BoundObjectFrameT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Object(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Object(void);
  HRESULT         __fastcall get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ObjectVerbs(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SizeMode(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SizeMode(void);
  HRESULT         __fastcall set_SizeMode(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Class(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Class(void);
  HRESULT         __fastcall set_Class(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SourceDoc(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceDoc(void);
  HRESULT         __fastcall set_SourceDoc(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SourceItem(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceItem(void);
  HRESULT         __fastcall set_SourceItem(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AutoActivate(short* pRet/*[out,retval]*/);
  short           __fastcall get_AutoActivate(void);
  HRESULT         __fastcall set_AutoActivate(short pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayType(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DisplayType(void);
  HRESULT         __fastcall set_DisplayType(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_UpdateOptions(short* pRet/*[out,retval]*/);
  short           __fastcall get_UpdateOptions(void);
  HRESULT         __fastcall set_UpdateOptions(short pRet/*[in]*/);
  HRESULT         __fastcall get_Verb(long* pRet/*[out,retval]*/);
  long            __fastcall get_Verb(void);
  HRESULT         __fastcall set_Verb(long pRet/*[in]*/);
  HRESULT         __fastcall get_OLETypeAllowed(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OLETypeAllowed(void);
  HRESULT         __fastcall set_OLETypeAllowed(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_LpOleObject(long* pRet/*[out,retval]*/);
  long            __fastcall get_LpOleObject(void);
  HRESULT         __fastcall set_LpOleObject(long pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectVerbsCount(long* pRet/*[out,retval]*/);
  long            __fastcall get_ObjectVerbsCount(void);
  HRESULT         __fastcall set_ObjectVerbsCount(long pRet/*[in]*/);
  HRESULT         __fastcall get_Action(short* pRet/*[out,retval]*/);
  short           __fastcall get_Action(void);
  HRESULT         __fastcall set_Action(short pRet/*[in]*/);
  HRESULT         __fastcall get_Scaling(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Scaling(void);
  HRESULT         __fastcall set_Scaling(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OLEType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OLEType(void);
  HRESULT         __fastcall set_OLEType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnUpdated(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnUpdated(void);
  HRESULT         __fastcall set_OnUpdated(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   unsigned_char   SizeMode = {read = get_SizeMode, write = set_SizeMode};
  __property   BSTR            Class = {read = get_Class, write = set_Class};
  __property   BSTR            SourceDoc = {read = get_SourceDoc, write = set_SourceDoc};
  __property   BSTR            SourceItem = {read = get_SourceItem, write = set_SourceItem};
  __property   short           AutoActivate = {read = get_AutoActivate, write = set_AutoActivate};
  __property   VARIANT_BOOL    DisplayType = {read = get_DisplayType, write = set_DisplayType};
  __property   short           UpdateOptions = {read = get_UpdateOptions, write = set_UpdateOptions};
  __property   long            Verb = {read = get_Verb, write = set_Verb};
  __property   unsigned_char   OLETypeAllowed = {read = get_OLETypeAllowed, write = set_OLETypeAllowed};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            LpOleObject = {read = get_LpOleObject, write = set_LpOleObject};
  __property   long            ObjectVerbsCount = {read = get_ObjectVerbsCount, write = set_ObjectVerbsCount};
  __property   short           Action = {read = get_Action, write = set_Action};
  __property   unsigned_char   Scaling = {read = get_Scaling, write = set_Scaling};
  __property   unsigned_char   OLEType = {read = get_OLEType, write = set_OLEType};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnUpdated = {read = get_OnUpdated, write = set_OnUpdated};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_BoundObjectFrameT<_BoundObjectFrame> TCOM_BoundObjectFrame;

// *********************************************************************//
// DispIntf:  _BoundObjectFrame
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E958-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _BoundObjectFrameDispT : public TAutoDriver<_BoundObjectFrame>
{
public:
  _BoundObjectFrameDispT(){}

  _BoundObjectFrameDispT(_BoundObjectFrame *pintf)
  {
    TAutoDriver<_BoundObjectFrame>::Bind(pintf, false);
  }

  _BoundObjectFrameDispT(_BoundObjectFramePtr pintf)
  {
    TAutoDriver<_BoundObjectFrame>::Bind(pintf, true);
  }

  _BoundObjectFrameDispT& operator=(_BoundObjectFrame *pintf)
  {
    TAutoDriver<_BoundObjectFrame>::Bind(pintf, false);
    return *this;
  }

  _BoundObjectFrameDispT& operator=(_BoundObjectFramePtr pintf)
  {
    TAutoDriver<_BoundObjectFrame>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessBoundObjectFrame));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessBoundObjectFrame);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Object(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Object(void);
  HRESULT         __fastcall get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ObjectVerbs(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SizeMode(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SizeMode(void);
  HRESULT         __fastcall set_SizeMode(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Class(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Class(void);
  HRESULT         __fastcall set_Class(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SourceDoc(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceDoc(void);
  HRESULT         __fastcall set_SourceDoc(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SourceItem(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceItem(void);
  HRESULT         __fastcall set_SourceItem(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AutoActivate(short* pRet/*[out,retval]*/);
  short           __fastcall get_AutoActivate(void);
  HRESULT         __fastcall set_AutoActivate(short pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayType(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DisplayType(void);
  HRESULT         __fastcall set_DisplayType(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_UpdateOptions(short* pRet/*[out,retval]*/);
  short           __fastcall get_UpdateOptions(void);
  HRESULT         __fastcall set_UpdateOptions(short pRet/*[in]*/);
  HRESULT         __fastcall get_Verb(long* pRet/*[out,retval]*/);
  long            __fastcall get_Verb(void);
  HRESULT         __fastcall set_Verb(long pRet/*[in]*/);
  HRESULT         __fastcall get_OLETypeAllowed(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OLETypeAllowed(void);
  HRESULT         __fastcall set_OLETypeAllowed(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_LpOleObject(long* pRet/*[out,retval]*/);
  long            __fastcall get_LpOleObject(void);
  HRESULT         __fastcall set_LpOleObject(long pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectVerbsCount(long* pRet/*[out,retval]*/);
  long            __fastcall get_ObjectVerbsCount(void);
  HRESULT         __fastcall set_ObjectVerbsCount(long pRet/*[in]*/);
  HRESULT         __fastcall get_Action(short* pRet/*[out,retval]*/);
  short           __fastcall get_Action(void);
  HRESULT         __fastcall set_Action(short pRet/*[in]*/);
  HRESULT         __fastcall get_Scaling(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Scaling(void);
  HRESULT         __fastcall set_Scaling(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OLEType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OLEType(void);
  HRESULT         __fastcall set_OLEType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnUpdated(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnUpdated(void);
  HRESULT         __fastcall set_OnUpdated(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   unsigned_char   SizeMode = {read = get_SizeMode, write = set_SizeMode};
  __property   BSTR            Class = {read = get_Class, write = set_Class};
  __property   BSTR            SourceDoc = {read = get_SourceDoc, write = set_SourceDoc};
  __property   BSTR            SourceItem = {read = get_SourceItem, write = set_SourceItem};
  __property   short           AutoActivate = {read = get_AutoActivate, write = set_AutoActivate};
  __property   VARIANT_BOOL    DisplayType = {read = get_DisplayType, write = set_DisplayType};
  __property   short           UpdateOptions = {read = get_UpdateOptions, write = set_UpdateOptions};
  __property   long            Verb = {read = get_Verb, write = set_Verb};
  __property   unsigned_char   OLETypeAllowed = {read = get_OLETypeAllowed, write = set_OLETypeAllowed};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            LpOleObject = {read = get_LpOleObject, write = set_LpOleObject};
  __property   long            ObjectVerbsCount = {read = get_ObjectVerbsCount, write = set_ObjectVerbsCount};
  __property   short           Action = {read = get_Action, write = set_Action};
  __property   unsigned_char   Scaling = {read = get_Scaling, write = set_Scaling};
  __property   unsigned_char   OLEType = {read = get_OLEType, write = set_OLEType};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnUpdated = {read = get_OnUpdated, write = set_OnUpdated};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _BoundObjectFrameDispT<_BoundObjectFrame> _BoundObjectFrameDisp;

typedef TComInterface<_BoundObjectFrameEvents>  TCOM_BoundObjectFrameEvents;

// *********************************************************************//
// SmartIntf: TCOM_Textbox
// Interface: _Textbox
// *********************************************************************//
template <class T /* _Textbox */ >
class TCOM_TextboxT : public TComInterface<_Textbox>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_TextboxT() {}
  TCOM_TextboxT(_Textbox *intf, bool addRef = false) : TComInterface<_Textbox>(intf, addRef) {}
  TCOM_TextboxT(const TCOM_TextboxT& src) : TComInterface<_Textbox>(src) {}
  TCOM_TextboxT& operator=(const TCOM_TextboxT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_FormatConditions(Access_2k::FormatConditions** ppRet/*[out,retval]*/);
  Access_2k::FormatConditionsPtr __fastcall get_FormatConditions(void);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Format(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Format(void);
  HRESULT         __fastcall set_Format(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DecimalPlaces(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DecimalPlaces(void);
  HRESULT         __fastcall set_DecimalPlaces(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_InputMask(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_InputMask(void);
  HRESULT         __fastcall set_InputMask(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IMEHold(void);
  HRESULT         __fastcall set_IMEHold(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FuriganaControl(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FuriganaControl(void);
  HRESULT         __fastcall set_FuriganaControl(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PostalAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_PostalAddress(void);
  HRESULT         __fastcall set_PostalAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_EnterKeyBehavior(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_EnterKeyBehavior(void);
  HRESULT         __fastcall set_EnterKeyBehavior(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowAutoCorrect(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowAutoCorrect(void);
  HRESULT         __fastcall set_AllowAutoCorrect(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Vertical(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Vertical(void);
  HRESULT         __fastcall set_Vertical(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FELineBreak(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FELineBreak(void);
  HRESULT         __fastcall set_FELineBreak(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FilterLookup(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_FilterLookup(void);
  HRESULT         __fastcall set_FilterLookup(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_AutoTab(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoTab(void);
  HRESULT         __fastcall set_AutoTab(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_ScrollBars(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ScrollBars(void);
  HRESULT         __fastcall set_ScrollBars(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanGrow(void);
  HRESULT         __fastcall set_CanGrow(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanShrink(void);
  HRESULT         __fastcall set_CanShrink(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_RunningSum(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_RunningSum(void);
  HRESULT         __fastcall set_RunningSum(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextAlign(void);
  HRESULT         __fastcall set_TextAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Text(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Text(void);
  HRESULT         __fastcall set_Text(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SelText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SelText(void);
  HRESULT         __fastcall set_SelText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SelStart(short* pRet/*[out,retval]*/);
  short           __fastcall get_SelStart(void);
  HRESULT         __fastcall set_SelStart(short pRet/*[in]*/);
  HRESULT         __fastcall get_SelLength(short* pRet/*[out,retval]*/);
  short           __fastcall get_SelLength(void);
  HRESULT         __fastcall set_SelLength(short pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlignGeneral(short* pRet/*[out,retval]*/);
  short           __fastcall get_TextAlignGeneral(void);
  HRESULT         __fastcall set_TextAlignGeneral(short pRet/*[in]*/);
  HRESULT         __fastcall get_Coltyp(long* pRet/*[out,retval]*/);
  long            __fastcall get_Coltyp(void);
  HRESULT         __fastcall set_Coltyp(long pRet/*[in]*/);
  HRESULT         __fastcall get_FormatPictureText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FormatPictureText(void);
  HRESULT         __fastcall set_FormatPictureText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnChange(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnChange(void);
  HRESULT         __fastcall set_OnChange(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_KeyboardLanguage(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_KeyboardLanguage(void);
  HRESULT         __fastcall set_KeyboardLanguage(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_AllowedText(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_AllowedText(void);
  HRESULT         __fastcall set_AllowedText(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ScrollBarAlign(void);
  HRESULT         __fastcall set_ScrollBarAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_NumeralShapes(void);
  HRESULT         __fastcall set_NumeralShapes(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/);
  Access_2k::AcImeMode __fastcall get_IMEMode(void);
  HRESULT         __fastcall set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/);
  Access_2k::AcImeSentenceMode __fastcall get_IMESentenceMode(void);
  HRESULT         __fastcall set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/);
  HRESULT         __fastcall get_LeftMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_LeftMargin(void);
  HRESULT         __fastcall set_LeftMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_TopMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_TopMargin(void);
  HRESULT         __fastcall set_TopMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_LineSpacing(short* pRet/*[out,retval]*/);
  short           __fastcall get_LineSpacing(void);
  HRESULT         __fastcall set_LineSpacing(short pRet/*[in]*/);
  HRESULT         __fastcall get_RightMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_RightMargin(void);
  HRESULT         __fastcall set_RightMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_BottomMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_BottomMargin(void);
  HRESULT         __fastcall set_BottomMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_IsHyperlink(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsHyperlink(void);
  HRESULT         __fastcall set_IsHyperlink(VARIANT_BOOL pRet/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   Access_2k::FormatConditionsPtr FormatConditions = {read = get_FormatConditions};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            Format = {read = get_Format, write = set_Format};
  __property   unsigned_char   DecimalPlaces = {read = get_DecimalPlaces, write = set_DecimalPlaces};
  __property   BSTR            InputMask = {read = get_InputMask, write = set_InputMask};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   VARIANT_BOOL    IMEHold = {read = get_IMEHold, write = set_IMEHold};
  __property   BSTR            FuriganaControl = {read = get_FuriganaControl, write = set_FuriganaControl};
  __property   BSTR            PostalAddress = {read = get_PostalAddress, write = set_PostalAddress};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    EnterKeyBehavior = {read = get_EnterKeyBehavior, write = set_EnterKeyBehavior};
  __property   VARIANT_BOOL    AllowAutoCorrect = {read = get_AllowAutoCorrect, write = set_AllowAutoCorrect};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Vertical = {read = get_Vertical, write = set_Vertical};
  __property   VARIANT_BOOL    FELineBreak = {read = get_FELineBreak, write = set_FELineBreak};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   unsigned_char   FilterLookup = {read = get_FilterLookup, write = set_FilterLookup};
  __property   VARIANT_BOOL    AutoTab = {read = get_AutoTab, write = set_AutoTab};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   unsigned_char   ScrollBars = {read = get_ScrollBars, write = set_ScrollBars};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   VARIANT_BOOL    CanGrow = {read = get_CanGrow, write = set_CanGrow};
  __property   VARIANT_BOOL    CanShrink = {read = get_CanShrink, write = set_CanShrink};
  __property   unsigned_char   RunningSum = {read = get_RunningSum, write = set_RunningSum};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            Text = {read = get_Text, write = set_Text};
  __property   BSTR            SelText = {read = get_SelText, write = set_SelText};
  __property   short           SelStart = {read = get_SelStart, write = set_SelStart};
  __property   short           SelLength = {read = get_SelLength, write = set_SelLength};
  __property   short           TextAlignGeneral = {read = get_TextAlignGeneral, write = set_TextAlignGeneral};
  __property   long            Coltyp = {read = get_Coltyp, write = set_Coltyp};
  __property   BSTR            FormatPictureText = {read = get_FormatPictureText, write = set_FormatPictureText};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnChange = {read = get_OnChange, write = set_OnChange};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   KeyboardLanguage = {read = get_KeyboardLanguage, write = set_KeyboardLanguage};
  __property   unsigned_char   AllowedText = {read = get_AllowedText, write = set_AllowedText};
  __property   unsigned_char   ScrollBarAlign = {read = get_ScrollBarAlign, write = set_ScrollBarAlign};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   Access_2k::AcImeMode IMEMode = {read = get_IMEMode, write = set_IMEMode};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   Access_2k::AcImeSentenceMode IMESentenceMode = {read = get_IMESentenceMode, write = set_IMESentenceMode};
  __property   short           LeftMargin = {read = get_LeftMargin, write = set_LeftMargin};
  __property   short           TopMargin = {read = get_TopMargin, write = set_TopMargin};
  __property   short           LineSpacing = {read = get_LineSpacing, write = set_LineSpacing};
  __property   short           RightMargin = {read = get_RightMargin, write = set_RightMargin};
  __property   short           BottomMargin = {read = get_BottomMargin, write = set_BottomMargin};
  __property   VARIANT_BOOL    IsHyperlink = {read = get_IsHyperlink, write = set_IsHyperlink};
};
typedef TCOM_TextboxT<_Textbox> TCOM_Textbox;

// *********************************************************************//
// DispIntf:  _Textbox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E946-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _TextboxDispT : public TAutoDriver<_Textbox>
{
public:
  _TextboxDispT(){}

  _TextboxDispT(_Textbox *pintf)
  {
    TAutoDriver<_Textbox>::Bind(pintf, false);
  }

  _TextboxDispT(_TextboxPtr pintf)
  {
    TAutoDriver<_Textbox>::Bind(pintf, true);
  }

  _TextboxDispT& operator=(_Textbox *pintf)
  {
    TAutoDriver<_Textbox>::Bind(pintf, false);
    return *this;
  }

  _TextboxDispT& operator=(_TextboxPtr pintf)
  {
    TAutoDriver<_Textbox>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessTextBox));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessTextBox);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo();
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_FormatConditions(Access_2k::FormatConditions** ppRet/*[out,retval]*/);
  Access_2k::FormatConditionsPtr __fastcall get_FormatConditions(void);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Format(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Format(void);
  HRESULT         __fastcall set_Format(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DecimalPlaces(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DecimalPlaces(void);
  HRESULT         __fastcall set_DecimalPlaces(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_InputMask(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_InputMask(void);
  HRESULT         __fastcall set_InputMask(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IMEHold(void);
  HRESULT         __fastcall set_IMEHold(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FuriganaControl(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FuriganaControl(void);
  HRESULT         __fastcall set_FuriganaControl(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PostalAddress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_PostalAddress(void);
  HRESULT         __fastcall set_PostalAddress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_EnterKeyBehavior(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_EnterKeyBehavior(void);
  HRESULT         __fastcall set_EnterKeyBehavior(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowAutoCorrect(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowAutoCorrect(void);
  HRESULT         __fastcall set_AllowAutoCorrect(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Vertical(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Vertical(void);
  HRESULT         __fastcall set_Vertical(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FELineBreak(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FELineBreak(void);
  HRESULT         __fastcall set_FELineBreak(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FilterLookup(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_FilterLookup(void);
  HRESULT         __fastcall set_FilterLookup(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_AutoTab(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoTab(void);
  HRESULT         __fastcall set_AutoTab(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_ScrollBars(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ScrollBars(void);
  HRESULT         __fastcall set_ScrollBars(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanGrow(void);
  HRESULT         __fastcall set_CanGrow(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanShrink(void);
  HRESULT         __fastcall set_CanShrink(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_RunningSum(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_RunningSum(void);
  HRESULT         __fastcall set_RunningSum(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextAlign(void);
  HRESULT         __fastcall set_TextAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Text(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Text(void);
  HRESULT         __fastcall set_Text(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SelText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SelText(void);
  HRESULT         __fastcall set_SelText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SelStart(short* pRet/*[out,retval]*/);
  short           __fastcall get_SelStart(void);
  HRESULT         __fastcall set_SelStart(short pRet/*[in]*/);
  HRESULT         __fastcall get_SelLength(short* pRet/*[out,retval]*/);
  short           __fastcall get_SelLength(void);
  HRESULT         __fastcall set_SelLength(short pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlignGeneral(short* pRet/*[out,retval]*/);
  short           __fastcall get_TextAlignGeneral(void);
  HRESULT         __fastcall set_TextAlignGeneral(short pRet/*[in]*/);
  HRESULT         __fastcall get_Coltyp(long* pRet/*[out,retval]*/);
  long            __fastcall get_Coltyp(void);
  HRESULT         __fastcall set_Coltyp(long pRet/*[in]*/);
  HRESULT         __fastcall get_FormatPictureText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FormatPictureText(void);
  HRESULT         __fastcall set_FormatPictureText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnChange(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnChange(void);
  HRESULT         __fastcall set_OnChange(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_KeyboardLanguage(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_KeyboardLanguage(void);
  HRESULT         __fastcall set_KeyboardLanguage(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_AllowedText(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_AllowedText(void);
  HRESULT         __fastcall set_AllowedText(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ScrollBarAlign(void);
  HRESULT         __fastcall set_ScrollBarAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_NumeralShapes(void);
  HRESULT         __fastcall set_NumeralShapes(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/);
  Access_2k::AcImeMode __fastcall get_IMEMode(void);
  HRESULT         __fastcall set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/);
  Access_2k::AcImeSentenceMode __fastcall get_IMESentenceMode(void);
  HRESULT         __fastcall set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/);
  HRESULT         __fastcall get_LeftMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_LeftMargin(void);
  HRESULT         __fastcall set_LeftMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_TopMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_TopMargin(void);
  HRESULT         __fastcall set_TopMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_LineSpacing(short* pRet/*[out,retval]*/);
  short           __fastcall get_LineSpacing(void);
  HRESULT         __fastcall set_LineSpacing(short pRet/*[in]*/);
  HRESULT         __fastcall get_RightMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_RightMargin(void);
  HRESULT         __fastcall set_RightMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_BottomMargin(short* pRet/*[out,retval]*/);
  short           __fastcall get_BottomMargin(void);
  HRESULT         __fastcall set_BottomMargin(short pRet/*[in]*/);
  HRESULT         __fastcall get_IsHyperlink(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsHyperlink(void);
  HRESULT         __fastcall set_IsHyperlink(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   Access_2k::FormatConditionsPtr FormatConditions = {read = get_FormatConditions};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            Format = {read = get_Format, write = set_Format};
  __property   unsigned_char   DecimalPlaces = {read = get_DecimalPlaces, write = set_DecimalPlaces};
  __property   BSTR            InputMask = {read = get_InputMask, write = set_InputMask};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   VARIANT_BOOL    IMEHold = {read = get_IMEHold, write = set_IMEHold};
  __property   BSTR            FuriganaControl = {read = get_FuriganaControl, write = set_FuriganaControl};
  __property   BSTR            PostalAddress = {read = get_PostalAddress, write = set_PostalAddress};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    EnterKeyBehavior = {read = get_EnterKeyBehavior, write = set_EnterKeyBehavior};
  __property   VARIANT_BOOL    AllowAutoCorrect = {read = get_AllowAutoCorrect, write = set_AllowAutoCorrect};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Vertical = {read = get_Vertical, write = set_Vertical};
  __property   VARIANT_BOOL    FELineBreak = {read = get_FELineBreak, write = set_FELineBreak};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   unsigned_char   FilterLookup = {read = get_FilterLookup, write = set_FilterLookup};
  __property   VARIANT_BOOL    AutoTab = {read = get_AutoTab, write = set_AutoTab};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   unsigned_char   ScrollBars = {read = get_ScrollBars, write = set_ScrollBars};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   VARIANT_BOOL    CanGrow = {read = get_CanGrow, write = set_CanGrow};
  __property   VARIANT_BOOL    CanShrink = {read = get_CanShrink, write = set_CanShrink};
  __property   unsigned_char   RunningSum = {read = get_RunningSum, write = set_RunningSum};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            Text = {read = get_Text, write = set_Text};
  __property   BSTR            SelText = {read = get_SelText, write = set_SelText};
  __property   short           SelStart = {read = get_SelStart, write = set_SelStart};
  __property   short           SelLength = {read = get_SelLength, write = set_SelLength};
  __property   short           TextAlignGeneral = {read = get_TextAlignGeneral, write = set_TextAlignGeneral};
  __property   long            Coltyp = {read = get_Coltyp, write = set_Coltyp};
  __property   BSTR            FormatPictureText = {read = get_FormatPictureText, write = set_FormatPictureText};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnChange = {read = get_OnChange, write = set_OnChange};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   KeyboardLanguage = {read = get_KeyboardLanguage, write = set_KeyboardLanguage};
  __property   unsigned_char   AllowedText = {read = get_AllowedText, write = set_AllowedText};
  __property   unsigned_char   ScrollBarAlign = {read = get_ScrollBarAlign, write = set_ScrollBarAlign};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   Access_2k::AcImeMode IMEMode = {read = get_IMEMode, write = set_IMEMode};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   Access_2k::AcImeSentenceMode IMESentenceMode = {read = get_IMESentenceMode, write = set_IMESentenceMode};
  __property   short           LeftMargin = {read = get_LeftMargin, write = set_LeftMargin};
  __property   short           TopMargin = {read = get_TopMargin, write = set_TopMargin};
  __property   short           LineSpacing = {read = get_LineSpacing, write = set_LineSpacing};
  __property   short           RightMargin = {read = get_RightMargin, write = set_RightMargin};
  __property   short           BottomMargin = {read = get_BottomMargin, write = set_BottomMargin};
  __property   VARIANT_BOOL    IsHyperlink = {read = get_IsHyperlink, write = set_IsHyperlink};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _TextboxDispT<_Textbox> _TextboxDisp;

typedef TComInterface<_TextBoxEvents>  TCOM_TextBoxEvents;

// *********************************************************************//
// SmartIntf: TCOM_ListBox
// Interface: _ListBox
// *********************************************************************//
template <class T /* _ListBox */ >
class TCOM_ListBoxT : public TComInterface<_ListBox>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_ListBoxT() {}
  TCOM_ListBoxT(_ListBox *intf, bool addRef = false) : TComInterface<_ListBox>(intf, addRef) {}
  TCOM_ListBoxT(const TCOM_ListBoxT& src) : TComInterface<_ListBox>(src) {}
  TCOM_ListBoxT& operator=(const TCOM_ListBoxT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo(void);
  HRESULT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                                        VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_Selected(long lRow/*[in]*/, long* pRet/*[out,retval]*/);
  long            __fastcall get_Selected(long lRow/*[in]*/);
  HRESULT         __fastcall set_Selected(long lRow/*[in]*/, long pRet/*[in]*/);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ItemData(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall get_ItemsSelected(Access_2k::_ItemsSelected** pRet/*[out,retval]*/);
  Access_2k::_ItemsSelectedPtr __fastcall get_ItemsSelected(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSourceType(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSourceType(void);
  HRESULT         __fastcall set_RowSourceType(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSource(void);
  HRESULT         __fastcall set_RowSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnCount(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnCount(void);
  HRESULT         __fastcall set_ColumnCount(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHeads(void);
  HRESULT         __fastcall set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidths(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ColumnWidths(void);
  HRESULT         __fastcall set_ColumnWidths(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_BoundColumn(long* pRet/*[out,retval]*/);
  long            __fastcall get_BoundColumn(void);
  HRESULT         __fastcall set_BoundColumn(long pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IMEHold(void);
  HRESULT         __fastcall set_IMEHold(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MultiSelect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_MultiSelect(void);
  HRESULT         __fastcall set_MultiSelect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ListCount(long* pRet/*[out,retval]*/);
  long            __fastcall get_ListCount(void);
  HRESULT         __fastcall set_ListCount(long pRet/*[in]*/);
  HRESULT         __fastcall get_ListIndex(long* pRet/*[out,retval]*/);
  long            __fastcall get_ListIndex(void);
  HRESULT         __fastcall set_ListIndex(long pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ScrollBarAlign(void);
  HRESULT         __fastcall set_ScrollBarAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextAlign(void);
  HRESULT         __fastcall set_TextAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_NumeralShapes(void);
  HRESULT         __fastcall set_NumeralShapes(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/);
  Access_2k::AcImeMode __fastcall get_IMEMode(void);
  HRESULT         __fastcall set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/);
  Access_2k::AcImeSentenceMode __fastcall get_IMESentenceMode(void);
  HRESULT         __fastcall set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_ItemsSelectedPtr ItemsSelected = {read = get_ItemsSelected};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            RowSourceType = {read = get_RowSourceType, write = set_RowSourceType};
  __property   BSTR            RowSource = {read = get_RowSource, write = set_RowSource};
  __property   short           ColumnCount = {read = get_ColumnCount, write = set_ColumnCount};
  __property   VARIANT_BOOL    ColumnHeads = {read = get_ColumnHeads, write = set_ColumnHeads};
  __property   BSTR            ColumnWidths = {read = get_ColumnWidths, write = set_ColumnWidths};
  __property   long            BoundColumn = {read = get_BoundColumn, write = set_BoundColumn};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   VARIANT_BOOL    IMEHold = {read = get_IMEHold, write = set_IMEHold};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   unsigned_char   MultiSelect = {read = get_MultiSelect, write = set_MultiSelect};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            ListCount = {read = get_ListCount, write = set_ListCount};
  __property   long            ListIndex = {read = get_ListIndex, write = set_ListIndex};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   ScrollBarAlign = {read = get_ScrollBarAlign, write = set_ScrollBarAlign};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   Access_2k::AcImeMode IMEMode = {read = get_IMEMode, write = set_IMEMode};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   Access_2k::AcImeSentenceMode IMESentenceMode = {read = get_IMESentenceMode, write = set_IMESentenceMode};
};
typedef TCOM_ListBoxT<_ListBox> TCOM_ListBox;

// *********************************************************************//
// DispIntf:  _ListBox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E95A-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _ListBoxDispT : public TAutoDriver<_ListBox>
{
public:
  _ListBoxDispT(){}

  _ListBoxDispT(_ListBox *pintf)
  {
    TAutoDriver<_ListBox>::Bind(pintf, false);
  }

  _ListBoxDispT(_ListBoxPtr pintf)
  {
    TAutoDriver<_ListBox>::Bind(pintf, true);
  }

  _ListBoxDispT& operator=(_ListBox *pintf)
  {
    TAutoDriver<_ListBox>::Bind(pintf, false);
    return *this;
  }

  _ListBoxDispT& operator=(_ListBoxPtr pintf)
  {
    TAutoDriver<_ListBox>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessListBox));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessListBox);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo();
  HRESULT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                                        VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_Selected(long lRow/*[in]*/, long* pRet/*[out,retval]*/);
  long            __fastcall get_Selected(long lRow/*[in]*/);
  HRESULT         __fastcall set_Selected(long lRow/*[in]*/, long pRet/*[in]*/);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ItemData(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall get_ItemsSelected(Access_2k::_ItemsSelected** pRet/*[out,retval]*/);
  Access_2k::_ItemsSelectedPtr __fastcall get_ItemsSelected(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSourceType(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSourceType(void);
  HRESULT         __fastcall set_RowSourceType(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSource(void);
  HRESULT         __fastcall set_RowSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnCount(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnCount(void);
  HRESULT         __fastcall set_ColumnCount(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHeads(void);
  HRESULT         __fastcall set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidths(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ColumnWidths(void);
  HRESULT         __fastcall set_ColumnWidths(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_BoundColumn(long* pRet/*[out,retval]*/);
  long            __fastcall get_BoundColumn(void);
  HRESULT         __fastcall set_BoundColumn(long pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IMEHold(void);
  HRESULT         __fastcall set_IMEHold(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MultiSelect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_MultiSelect(void);
  HRESULT         __fastcall set_MultiSelect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ListCount(long* pRet/*[out,retval]*/);
  long            __fastcall get_ListCount(void);
  HRESULT         __fastcall set_ListCount(long pRet/*[in]*/);
  HRESULT         __fastcall get_ListIndex(long* pRet/*[out,retval]*/);
  long            __fastcall get_ListIndex(void);
  HRESULT         __fastcall set_ListIndex(long pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ScrollBarAlign(void);
  HRESULT         __fastcall set_ScrollBarAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextAlign(void);
  HRESULT         __fastcall set_TextAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_NumeralShapes(void);
  HRESULT         __fastcall set_NumeralShapes(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/);
  Access_2k::AcImeMode __fastcall get_IMEMode(void);
  HRESULT         __fastcall set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/);
  Access_2k::AcImeSentenceMode __fastcall get_IMESentenceMode(void);
  HRESULT         __fastcall set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_ItemsSelectedPtr ItemsSelected = {read = get_ItemsSelected};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            RowSourceType = {read = get_RowSourceType, write = set_RowSourceType};
  __property   BSTR            RowSource = {read = get_RowSource, write = set_RowSource};
  __property   short           ColumnCount = {read = get_ColumnCount, write = set_ColumnCount};
  __property   VARIANT_BOOL    ColumnHeads = {read = get_ColumnHeads, write = set_ColumnHeads};
  __property   BSTR            ColumnWidths = {read = get_ColumnWidths, write = set_ColumnWidths};
  __property   long            BoundColumn = {read = get_BoundColumn, write = set_BoundColumn};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   VARIANT_BOOL    IMEHold = {read = get_IMEHold, write = set_IMEHold};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   unsigned_char   MultiSelect = {read = get_MultiSelect, write = set_MultiSelect};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            ListCount = {read = get_ListCount, write = set_ListCount};
  __property   long            ListIndex = {read = get_ListIndex, write = set_ListIndex};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   ScrollBarAlign = {read = get_ScrollBarAlign, write = set_ScrollBarAlign};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   Access_2k::AcImeMode IMEMode = {read = get_IMEMode, write = set_IMEMode};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   Access_2k::AcImeSentenceMode IMESentenceMode = {read = get_IMESentenceMode, write = set_IMESentenceMode};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _ListBoxDispT<_ListBox> _ListBoxDisp;

typedef TComInterface<_ListBoxEvents>  TCOM_ListBoxEvents;

// *********************************************************************//
// SmartIntf: TCOM_Combobox
// Interface: _Combobox
// *********************************************************************//
template <class T /* _Combobox */ >
class TCOM_ComboboxT : public TComInterface<_Combobox>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_ComboboxT() {}
  TCOM_ComboboxT(_Combobox *intf, bool addRef = false) : TComInterface<_Combobox>(intf, addRef) {}
  TCOM_ComboboxT(const TCOM_ComboboxT& src) : TComInterface<_Combobox>(src) {}
  TCOM_ComboboxT& operator=(const TCOM_ComboboxT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo(void);
  HRESULT         __fastcall Dropdown(void);
  HRESULT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                                        VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ItemData(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_FormatConditions(Access_2k::FormatConditions** ppRet/*[out,retval]*/);
  Access_2k::FormatConditionsPtr __fastcall get_FormatConditions(void);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Format(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Format(void);
  HRESULT         __fastcall set_Format(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DecimalPlaces(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DecimalPlaces(void);
  HRESULT         __fastcall set_DecimalPlaces(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_InputMask(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_InputMask(void);
  HRESULT         __fastcall set_InputMask(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSourceType(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSourceType(void);
  HRESULT         __fastcall set_RowSourceType(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSource(void);
  HRESULT         __fastcall set_RowSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnCount(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnCount(void);
  HRESULT         __fastcall set_ColumnCount(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHeads(void);
  HRESULT         __fastcall set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidths(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ColumnWidths(void);
  HRESULT         __fastcall set_ColumnWidths(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_BoundColumn(long* pRet/*[out,retval]*/);
  long            __fastcall get_BoundColumn(void);
  HRESULT         __fastcall set_BoundColumn(long pRet/*[in]*/);
  HRESULT         __fastcall get_ListRows(short* pRet/*[out,retval]*/);
  short           __fastcall get_ListRows(void);
  HRESULT         __fastcall set_ListRows(short pRet/*[in]*/);
  HRESULT         __fastcall get_ListWidth(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ListWidth(void);
  HRESULT         __fastcall set_ListWidth(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_LimitToList(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_LimitToList(void);
  HRESULT         __fastcall set_LimitToList(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoExpand(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoExpand(void);
  HRESULT         __fastcall set_AutoExpand(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IMEHold(void);
  HRESULT         __fastcall set_IMEHold(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowAutoCorrect(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowAutoCorrect(void);
  HRESULT         __fastcall set_AllowAutoCorrect(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextAlign(void);
  HRESULT         __fastcall set_TextAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Text(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Text(void);
  HRESULT         __fastcall set_Text(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SelText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SelText(void);
  HRESULT         __fastcall set_SelText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SelStart(short* pRet/*[out,retval]*/);
  short           __fastcall get_SelStart(void);
  HRESULT         __fastcall set_SelStart(short pRet/*[in]*/);
  HRESULT         __fastcall get_SelLength(short* pRet/*[out,retval]*/);
  short           __fastcall get_SelLength(void);
  HRESULT         __fastcall set_SelLength(short pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlignGeneral(short* pRet/*[out,retval]*/);
  short           __fastcall get_TextAlignGeneral(void);
  HRESULT         __fastcall set_TextAlignGeneral(short pRet/*[in]*/);
  HRESULT         __fastcall get_FormatPictureText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FormatPictureText(void);
  HRESULT         __fastcall set_FormatPictureText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Coltyp(long* pRet/*[out,retval]*/);
  long            __fastcall get_Coltyp(void);
  HRESULT         __fastcall set_Coltyp(long pRet/*[in]*/);
  HRESULT         __fastcall get_ListCount(long* pRet/*[out,retval]*/);
  long            __fastcall get_ListCount(void);
  HRESULT         __fastcall set_ListCount(long pRet/*[in]*/);
  HRESULT         __fastcall get_ListIndex(long* pRet/*[out,retval]*/);
  long            __fastcall get_ListIndex(void);
  HRESULT         __fastcall set_ListIndex(long pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnChange(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnChange(void);
  HRESULT         __fastcall set_OnChange(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnNotInList(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnNotInList(void);
  HRESULT         __fastcall set_OnNotInList(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_KeyboardLanguage(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_KeyboardLanguage(void);
  HRESULT         __fastcall set_KeyboardLanguage(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_AllowedText(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_AllowedText(void);
  HRESULT         __fastcall set_AllowedText(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ScrollBarAlign(void);
  HRESULT         __fastcall set_ScrollBarAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_NumeralShapes(void);
  HRESULT         __fastcall set_NumeralShapes(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/);
  Access_2k::AcImeMode __fastcall get_IMEMode(void);
  HRESULT         __fastcall set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/);
  Access_2k::AcImeSentenceMode __fastcall get_IMESentenceMode(void);
  HRESULT         __fastcall set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/);
  HRESULT         __fastcall get_IsHyperlink(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsHyperlink(void);
  HRESULT         __fastcall set_IsHyperlink(VARIANT_BOOL pRet/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   Access_2k::FormatConditionsPtr FormatConditions = {read = get_FormatConditions};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            Format = {read = get_Format, write = set_Format};
  __property   unsigned_char   DecimalPlaces = {read = get_DecimalPlaces, write = set_DecimalPlaces};
  __property   BSTR            InputMask = {read = get_InputMask, write = set_InputMask};
  __property   BSTR            RowSourceType = {read = get_RowSourceType, write = set_RowSourceType};
  __property   BSTR            RowSource = {read = get_RowSource, write = set_RowSource};
  __property   short           ColumnCount = {read = get_ColumnCount, write = set_ColumnCount};
  __property   VARIANT_BOOL    ColumnHeads = {read = get_ColumnHeads, write = set_ColumnHeads};
  __property   BSTR            ColumnWidths = {read = get_ColumnWidths, write = set_ColumnWidths};
  __property   long            BoundColumn = {read = get_BoundColumn, write = set_BoundColumn};
  __property   short           ListRows = {read = get_ListRows, write = set_ListRows};
  __property   BSTR            ListWidth = {read = get_ListWidth, write = set_ListWidth};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    LimitToList = {read = get_LimitToList, write = set_LimitToList};
  __property   VARIANT_BOOL    AutoExpand = {read = get_AutoExpand, write = set_AutoExpand};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   VARIANT_BOOL    IMEHold = {read = get_IMEHold, write = set_IMEHold};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    AllowAutoCorrect = {read = get_AllowAutoCorrect, write = set_AllowAutoCorrect};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            Text = {read = get_Text, write = set_Text};
  __property   BSTR            SelText = {read = get_SelText, write = set_SelText};
  __property   short           SelStart = {read = get_SelStart, write = set_SelStart};
  __property   short           SelLength = {read = get_SelLength, write = set_SelLength};
  __property   short           TextAlignGeneral = {read = get_TextAlignGeneral, write = set_TextAlignGeneral};
  __property   BSTR            FormatPictureText = {read = get_FormatPictureText, write = set_FormatPictureText};
  __property   long            Coltyp = {read = get_Coltyp, write = set_Coltyp};
  __property   long            ListCount = {read = get_ListCount, write = set_ListCount};
  __property   long            ListIndex = {read = get_ListIndex, write = set_ListIndex};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnChange = {read = get_OnChange, write = set_OnChange};
  __property   BSTR            OnNotInList = {read = get_OnNotInList, write = set_OnNotInList};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   KeyboardLanguage = {read = get_KeyboardLanguage, write = set_KeyboardLanguage};
  __property   unsigned_char   AllowedText = {read = get_AllowedText, write = set_AllowedText};
  __property   unsigned_char   ScrollBarAlign = {read = get_ScrollBarAlign, write = set_ScrollBarAlign};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   Access_2k::AcImeMode IMEMode = {read = get_IMEMode, write = set_IMEMode};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   Access_2k::AcImeSentenceMode IMESentenceMode = {read = get_IMESentenceMode, write = set_IMESentenceMode};
  __property   VARIANT_BOOL    IsHyperlink = {read = get_IsHyperlink, write = set_IsHyperlink};
};
typedef TCOM_ComboboxT<_Combobox> TCOM_Combobox;

// *********************************************************************//
// DispIntf:  _Combobox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E95C-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _ComboboxDispT : public TAutoDriver<_Combobox>
{
public:
  _ComboboxDispT(){}

  _ComboboxDispT(_Combobox *pintf)
  {
    TAutoDriver<_Combobox>::Bind(pintf, false);
  }

  _ComboboxDispT(_ComboboxPtr pintf)
  {
    TAutoDriver<_Combobox>::Bind(pintf, true);
  }

  _ComboboxDispT& operator=(_Combobox *pintf)
  {
    TAutoDriver<_Combobox>::Bind(pintf, false);
    return *this;
  }

  _ComboboxDispT& operator=(_ComboboxPtr pintf)
  {
    TAutoDriver<_Combobox>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessComboBox));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessComboBox);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo();
  HRESULT         __fastcall Dropdown();
  HRESULT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                                        VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ItemData(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/);
  Access_2k::_HyperlinkPtr __fastcall get_Hyperlink(void);
  HRESULT         __fastcall get_FormatConditions(Access_2k::FormatConditions** ppRet/*[out,retval]*/);
  Access_2k::FormatConditionsPtr __fastcall get_FormatConditions(void);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Format(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Format(void);
  HRESULT         __fastcall set_Format(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DecimalPlaces(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DecimalPlaces(void);
  HRESULT         __fastcall set_DecimalPlaces(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_InputMask(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_InputMask(void);
  HRESULT         __fastcall set_InputMask(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSourceType(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSourceType(void);
  HRESULT         __fastcall set_RowSourceType(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSource(void);
  HRESULT         __fastcall set_RowSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnCount(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnCount(void);
  HRESULT         __fastcall set_ColumnCount(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHeads(void);
  HRESULT         __fastcall set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidths(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ColumnWidths(void);
  HRESULT         __fastcall set_ColumnWidths(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_BoundColumn(long* pRet/*[out,retval]*/);
  long            __fastcall get_BoundColumn(void);
  HRESULT         __fastcall set_BoundColumn(long pRet/*[in]*/);
  HRESULT         __fastcall get_ListRows(short* pRet/*[out,retval]*/);
  short           __fastcall get_ListRows(void);
  HRESULT         __fastcall set_ListRows(short pRet/*[in]*/);
  HRESULT         __fastcall get_ListWidth(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ListWidth(void);
  HRESULT         __fastcall set_ListWidth(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_LimitToList(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_LimitToList(void);
  HRESULT         __fastcall set_LimitToList(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoExpand(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoExpand(void);
  HRESULT         __fastcall set_AutoExpand(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IMEHold(void);
  HRESULT         __fastcall set_IMEHold(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowAutoCorrect(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowAutoCorrect(void);
  HRESULT         __fastcall set_AllowAutoCorrect(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextAlign(void);
  HRESULT         __fastcall set_TextAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Text(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Text(void);
  HRESULT         __fastcall set_Text(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SelText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SelText(void);
  HRESULT         __fastcall set_SelText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SelStart(short* pRet/*[out,retval]*/);
  short           __fastcall get_SelStart(void);
  HRESULT         __fastcall set_SelStart(short pRet/*[in]*/);
  HRESULT         __fastcall get_SelLength(short* pRet/*[out,retval]*/);
  short           __fastcall get_SelLength(void);
  HRESULT         __fastcall set_SelLength(short pRet/*[in]*/);
  HRESULT         __fastcall get_TextAlignGeneral(short* pRet/*[out,retval]*/);
  short           __fastcall get_TextAlignGeneral(void);
  HRESULT         __fastcall set_TextAlignGeneral(short pRet/*[in]*/);
  HRESULT         __fastcall get_FormatPictureText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FormatPictureText(void);
  HRESULT         __fastcall set_FormatPictureText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Coltyp(long* pRet/*[out,retval]*/);
  long            __fastcall get_Coltyp(void);
  HRESULT         __fastcall set_Coltyp(long pRet/*[in]*/);
  HRESULT         __fastcall get_ListCount(long* pRet/*[out,retval]*/);
  long            __fastcall get_ListCount(void);
  HRESULT         __fastcall set_ListCount(long pRet/*[in]*/);
  HRESULT         __fastcall get_ListIndex(long* pRet/*[out,retval]*/);
  long            __fastcall get_ListIndex(void);
  HRESULT         __fastcall set_ListIndex(long pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnChange(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnChange(void);
  HRESULT         __fastcall set_OnChange(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnNotInList(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnNotInList(void);
  HRESULT         __fastcall set_OnNotInList(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_KeyboardLanguage(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_KeyboardLanguage(void);
  HRESULT         __fastcall set_KeyboardLanguage(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_AllowedText(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_AllowedText(void);
  HRESULT         __fastcall set_AllowedText(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ScrollBarAlign(void);
  HRESULT         __fastcall set_ScrollBarAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_NumeralShapes(void);
  HRESULT         __fastcall set_NumeralShapes(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/);
  Access_2k::AcImeMode __fastcall get_IMEMode(void);
  HRESULT         __fastcall set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/);
  Access_2k::AcImeSentenceMode __fastcall get_IMESentenceMode(void);
  HRESULT         __fastcall set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/);
  HRESULT         __fastcall get_IsHyperlink(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsHyperlink(void);
  HRESULT         __fastcall set_IsHyperlink(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   Access_2k::_HyperlinkPtr Hyperlink = {read = get_Hyperlink};
  __property   Access_2k::FormatConditionsPtr FormatConditions = {read = get_FormatConditions};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            Format = {read = get_Format, write = set_Format};
  __property   unsigned_char   DecimalPlaces = {read = get_DecimalPlaces, write = set_DecimalPlaces};
  __property   BSTR            InputMask = {read = get_InputMask, write = set_InputMask};
  __property   BSTR            RowSourceType = {read = get_RowSourceType, write = set_RowSourceType};
  __property   BSTR            RowSource = {read = get_RowSource, write = set_RowSource};
  __property   short           ColumnCount = {read = get_ColumnCount, write = set_ColumnCount};
  __property   VARIANT_BOOL    ColumnHeads = {read = get_ColumnHeads, write = set_ColumnHeads};
  __property   BSTR            ColumnWidths = {read = get_ColumnWidths, write = set_ColumnWidths};
  __property   long            BoundColumn = {read = get_BoundColumn, write = set_BoundColumn};
  __property   short           ListRows = {read = get_ListRows, write = set_ListRows};
  __property   BSTR            ListWidth = {read = get_ListWidth, write = set_ListWidth};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    LimitToList = {read = get_LimitToList, write = set_LimitToList};
  __property   VARIANT_BOOL    AutoExpand = {read = get_AutoExpand, write = set_AutoExpand};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   VARIANT_BOOL    IMEHold = {read = get_IMEHold, write = set_IMEHold};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    AllowAutoCorrect = {read = get_AllowAutoCorrect, write = set_AllowAutoCorrect};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   unsigned_char   TextAlign = {read = get_TextAlign, write = set_TextAlign};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            Text = {read = get_Text, write = set_Text};
  __property   BSTR            SelText = {read = get_SelText, write = set_SelText};
  __property   short           SelStart = {read = get_SelStart, write = set_SelStart};
  __property   short           SelLength = {read = get_SelLength, write = set_SelLength};
  __property   short           TextAlignGeneral = {read = get_TextAlignGeneral, write = set_TextAlignGeneral};
  __property   BSTR            FormatPictureText = {read = get_FormatPictureText, write = set_FormatPictureText};
  __property   long            Coltyp = {read = get_Coltyp, write = set_Coltyp};
  __property   long            ListCount = {read = get_ListCount, write = set_ListCount};
  __property   long            ListIndex = {read = get_ListIndex, write = set_ListIndex};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnChange = {read = get_OnChange, write = set_OnChange};
  __property   BSTR            OnNotInList = {read = get_OnNotInList, write = set_OnNotInList};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   unsigned_char   KeyboardLanguage = {read = get_KeyboardLanguage, write = set_KeyboardLanguage};
  __property   unsigned_char   AllowedText = {read = get_AllowedText, write = set_AllowedText};
  __property   unsigned_char   ScrollBarAlign = {read = get_ScrollBarAlign, write = set_ScrollBarAlign};
  __property   unsigned_char   NumeralShapes = {read = get_NumeralShapes, write = set_NumeralShapes};
  __property   Access_2k::AcImeMode IMEMode = {read = get_IMEMode, write = set_IMEMode};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   Access_2k::AcImeSentenceMode IMESentenceMode = {read = get_IMESentenceMode, write = set_IMESentenceMode};
  __property   VARIANT_BOOL    IsHyperlink = {read = get_IsHyperlink, write = set_IsHyperlink};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _ComboboxDispT<_Combobox> _ComboboxDisp;

typedef TComInterface<_ComboBoxEvents>  TCOM_ComboBoxEvents;

// *********************************************************************//
// SmartIntf: TCOM_ObjectFrame
// Interface: _ObjectFrame
// *********************************************************************//
template <class T /* _ObjectFrame */ >
class TCOM_ObjectFrameT : public TComInterface<_ObjectFrame>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_ObjectFrameT() {}
  TCOM_ObjectFrameT(_ObjectFrame *intf, bool addRef = false) : TComInterface<_ObjectFrame>(intf, addRef) {}
  TCOM_ObjectFrameT(const TCOM_ObjectFrameT& src) : TComInterface<_ObjectFrame>(src) {}
  TCOM_ObjectFrameT& operator=(const TCOM_ObjectFrameT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Object(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Object(void);
  HRESULT         __fastcall get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ObjectVerbs(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_SizeMode(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SizeMode(void);
  HRESULT         __fastcall set_SizeMode(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OLEClass(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OLEClass(void);
  HRESULT         __fastcall set_OLEClass(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Item(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Item(void);
  HRESULT         __fastcall set_Item(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSourceType(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSourceType(void);
  HRESULT         __fastcall set_RowSourceType(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSource(void);
  HRESULT         __fastcall set_RowSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_LinkChildFields(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_LinkChildFields(void);
  HRESULT         __fastcall set_LinkChildFields(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_LinkMasterFields(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_LinkMasterFields(void);
  HRESULT         __fastcall set_LinkMasterFields(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AutoActivate(short* pRet/*[out,retval]*/);
  short           __fastcall get_AutoActivate(void);
  HRESULT         __fastcall set_AutoActivate(short pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayType(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DisplayType(void);
  HRESULT         __fastcall set_DisplayType(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_UpdateOptions(short* pRet/*[out,retval]*/);
  short           __fastcall get_UpdateOptions(void);
  HRESULT         __fastcall set_UpdateOptions(short pRet/*[in]*/);
  HRESULT         __fastcall get_Verb(long* pRet/*[out,retval]*/);
  long            __fastcall get_Verb(void);
  HRESULT         __fastcall set_Verb(long pRet/*[in]*/);
  HRESULT         __fastcall get_OLEType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OLEType(void);
  HRESULT         __fastcall set_OLEType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OLETypeAllowed(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OLETypeAllowed(void);
  HRESULT         __fastcall set_OLETypeAllowed(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_SourceObject(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceObject(void);
  HRESULT         __fastcall set_SourceObject(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Class(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Class(void);
  HRESULT         __fastcall set_Class(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SourceDoc(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceDoc(void);
  HRESULT         __fastcall set_SourceDoc(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SourceItem(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceItem(void);
  HRESULT         __fastcall set_SourceItem(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnCount(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnCount(void);
  HRESULT         __fastcall set_ColumnCount(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHeads(void);
  HRESULT         __fastcall set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OleData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OleData(void);
  HRESULT         __fastcall set_OleData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_UpdateMethod(short* pRet/*[out,retval]*/);
  short           __fastcall get_UpdateMethod(void);
  HRESULT         __fastcall set_UpdateMethod(short pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Data(short* pRet/*[out,retval]*/);
  short           __fastcall get_Data(void);
  HRESULT         __fastcall set_Data(short pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_LpOleObject(long* pRet/*[out,retval]*/);
  long            __fastcall get_LpOleObject(void);
  HRESULT         __fastcall set_LpOleObject(long pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectVerbsCount(long* pRet/*[out,retval]*/);
  long            __fastcall get_ObjectVerbsCount(void);
  HRESULT         __fastcall set_ObjectVerbsCount(long pRet/*[in]*/);
  HRESULT         __fastcall get_Action(short* pRet/*[out,retval]*/);
  short           __fastcall get_Action(void);
  HRESULT         __fastcall set_Action(short pRet/*[in]*/);
  HRESULT         __fastcall get_Scaling(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Scaling(void);
  HRESULT         __fastcall set_Scaling(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnUpdated(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnUpdated(void);
  HRESULT         __fastcall set_OnUpdated(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   unsigned_char   SizeMode = {read = get_SizeMode, write = set_SizeMode};
  __property   BSTR            OLEClass = {read = get_OLEClass, write = set_OLEClass};
  __property   BSTR            Item = {read = get_Item, write = set_Item};
  __property   BSTR            RowSourceType = {read = get_RowSourceType, write = set_RowSourceType};
  __property   BSTR            RowSource = {read = get_RowSource, write = set_RowSource};
  __property   BSTR            LinkChildFields = {read = get_LinkChildFields, write = set_LinkChildFields};
  __property   BSTR            LinkMasterFields = {read = get_LinkMasterFields, write = set_LinkMasterFields};
  __property   short           AutoActivate = {read = get_AutoActivate, write = set_AutoActivate};
  __property   VARIANT_BOOL    DisplayType = {read = get_DisplayType, write = set_DisplayType};
  __property   short           UpdateOptions = {read = get_UpdateOptions, write = set_UpdateOptions};
  __property   long            Verb = {read = get_Verb, write = set_Verb};
  __property   unsigned_char   OLEType = {read = get_OLEType, write = set_OLEType};
  __property   unsigned_char   OLETypeAllowed = {read = get_OLETypeAllowed, write = set_OLETypeAllowed};
  __property   BSTR            SourceObject = {read = get_SourceObject, write = set_SourceObject};
  __property   BSTR            Class = {read = get_Class, write = set_Class};
  __property   BSTR            SourceDoc = {read = get_SourceDoc, write = set_SourceDoc};
  __property   BSTR            SourceItem = {read = get_SourceItem, write = set_SourceItem};
  __property   short           ColumnCount = {read = get_ColumnCount, write = set_ColumnCount};
  __property   VARIANT_BOOL    ColumnHeads = {read = get_ColumnHeads, write = set_ColumnHeads};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           UpdateMethod = {read = get_UpdateMethod, write = set_UpdateMethod};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Data = {read = get_Data, write = set_Data};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            LpOleObject = {read = get_LpOleObject, write = set_LpOleObject};
  __property   long            ObjectVerbsCount = {read = get_ObjectVerbsCount, write = set_ObjectVerbsCount};
  __property   short           Action = {read = get_Action, write = set_Action};
  __property   unsigned_char   Scaling = {read = get_Scaling, write = set_Scaling};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnUpdated = {read = get_OnUpdated, write = set_OnUpdated};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_ObjectFrameT<_ObjectFrame> TCOM_ObjectFrame;

// *********************************************************************//
// DispIntf:  _ObjectFrame
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E95E-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _ObjectFrameDispT : public TAutoDriver<_ObjectFrame>
{
public:
  _ObjectFrameDispT(){}

  _ObjectFrameDispT(_ObjectFrame *pintf)
  {
    TAutoDriver<_ObjectFrame>::Bind(pintf, false);
  }

  _ObjectFrameDispT(_ObjectFramePtr pintf)
  {
    TAutoDriver<_ObjectFrame>::Bind(pintf, true);
  }

  _ObjectFrameDispT& operator=(_ObjectFrame *pintf)
  {
    TAutoDriver<_ObjectFrame>::Bind(pintf, false);
    return *this;
  }

  _ObjectFrameDispT& operator=(_ObjectFramePtr pintf)
  {
    TAutoDriver<_ObjectFrame>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessObjectFrame));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessObjectFrame);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Object(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Object(void);
  HRESULT         __fastcall get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ObjectVerbs(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_SizeMode(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SizeMode(void);
  HRESULT         __fastcall set_SizeMode(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OLEClass(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OLEClass(void);
  HRESULT         __fastcall set_OLEClass(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Item(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Item(void);
  HRESULT         __fastcall set_Item(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSourceType(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSourceType(void);
  HRESULT         __fastcall set_RowSourceType(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RowSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RowSource(void);
  HRESULT         __fastcall set_RowSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_LinkChildFields(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_LinkChildFields(void);
  HRESULT         __fastcall set_LinkChildFields(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_LinkMasterFields(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_LinkMasterFields(void);
  HRESULT         __fastcall set_LinkMasterFields(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AutoActivate(short* pRet/*[out,retval]*/);
  short           __fastcall get_AutoActivate(void);
  HRESULT         __fastcall set_AutoActivate(short pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayType(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DisplayType(void);
  HRESULT         __fastcall set_DisplayType(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_UpdateOptions(short* pRet/*[out,retval]*/);
  short           __fastcall get_UpdateOptions(void);
  HRESULT         __fastcall set_UpdateOptions(short pRet/*[in]*/);
  HRESULT         __fastcall get_Verb(long* pRet/*[out,retval]*/);
  long            __fastcall get_Verb(void);
  HRESULT         __fastcall set_Verb(long pRet/*[in]*/);
  HRESULT         __fastcall get_OLEType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OLEType(void);
  HRESULT         __fastcall set_OLEType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OLETypeAllowed(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OLETypeAllowed(void);
  HRESULT         __fastcall set_OLETypeAllowed(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_SourceObject(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceObject(void);
  HRESULT         __fastcall set_SourceObject(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Class(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Class(void);
  HRESULT         __fastcall set_Class(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SourceDoc(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceDoc(void);
  HRESULT         __fastcall set_SourceDoc(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SourceItem(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceItem(void);
  HRESULT         __fastcall set_SourceItem(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnCount(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnCount(void);
  HRESULT         __fastcall set_ColumnCount(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHeads(void);
  HRESULT         __fastcall set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OleData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OleData(void);
  HRESULT         __fastcall set_OleData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_UpdateMethod(short* pRet/*[out,retval]*/);
  short           __fastcall get_UpdateMethod(void);
  HRESULT         __fastcall set_UpdateMethod(short pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Data(short* pRet/*[out,retval]*/);
  short           __fastcall get_Data(void);
  HRESULT         __fastcall set_Data(short pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_LpOleObject(long* pRet/*[out,retval]*/);
  long            __fastcall get_LpOleObject(void);
  HRESULT         __fastcall set_LpOleObject(long pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectVerbsCount(long* pRet/*[out,retval]*/);
  long            __fastcall get_ObjectVerbsCount(void);
  HRESULT         __fastcall set_ObjectVerbsCount(long pRet/*[in]*/);
  HRESULT         __fastcall get_Action(short* pRet/*[out,retval]*/);
  short           __fastcall get_Action(void);
  HRESULT         __fastcall set_Action(short pRet/*[in]*/);
  HRESULT         __fastcall get_Scaling(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Scaling(void);
  HRESULT         __fastcall set_Scaling(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnUpdated(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnUpdated(void);
  HRESULT         __fastcall set_OnUpdated(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   unsigned_char   SizeMode = {read = get_SizeMode, write = set_SizeMode};
  __property   BSTR            OLEClass = {read = get_OLEClass, write = set_OLEClass};
  __property   BSTR            Item = {read = get_Item, write = set_Item};
  __property   BSTR            RowSourceType = {read = get_RowSourceType, write = set_RowSourceType};
  __property   BSTR            RowSource = {read = get_RowSource, write = set_RowSource};
  __property   BSTR            LinkChildFields = {read = get_LinkChildFields, write = set_LinkChildFields};
  __property   BSTR            LinkMasterFields = {read = get_LinkMasterFields, write = set_LinkMasterFields};
  __property   short           AutoActivate = {read = get_AutoActivate, write = set_AutoActivate};
  __property   VARIANT_BOOL    DisplayType = {read = get_DisplayType, write = set_DisplayType};
  __property   short           UpdateOptions = {read = get_UpdateOptions, write = set_UpdateOptions};
  __property   long            Verb = {read = get_Verb, write = set_Verb};
  __property   unsigned_char   OLEType = {read = get_OLEType, write = set_OLEType};
  __property   unsigned_char   OLETypeAllowed = {read = get_OLETypeAllowed, write = set_OLETypeAllowed};
  __property   BSTR            SourceObject = {read = get_SourceObject, write = set_SourceObject};
  __property   BSTR            Class = {read = get_Class, write = set_Class};
  __property   BSTR            SourceDoc = {read = get_SourceDoc, write = set_SourceDoc};
  __property   BSTR            SourceItem = {read = get_SourceItem, write = set_SourceItem};
  __property   short           ColumnCount = {read = get_ColumnCount, write = set_ColumnCount};
  __property   VARIANT_BOOL    ColumnHeads = {read = get_ColumnHeads, write = set_ColumnHeads};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   short           UpdateMethod = {read = get_UpdateMethod, write = set_UpdateMethod};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Data = {read = get_Data, write = set_Data};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            LpOleObject = {read = get_LpOleObject, write = set_LpOleObject};
  __property   long            ObjectVerbsCount = {read = get_ObjectVerbsCount, write = set_ObjectVerbsCount};
  __property   short           Action = {read = get_Action, write = set_Action};
  __property   unsigned_char   Scaling = {read = get_Scaling, write = set_Scaling};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnUpdated = {read = get_OnUpdated, write = set_OnUpdated};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _ObjectFrameDispT<_ObjectFrame> _ObjectFrameDisp;

typedef TComInterface<_ObjectFrameEvents>  TCOM_ObjectFrameEvents;

// *********************************************************************//
// SmartIntf: TCOM_PageBreak
// Interface: _PageBreak
// *********************************************************************//
template <class T /* _PageBreak */ >
class TCOM_PageBreakT : public TComInterface<_PageBreak>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_PageBreakT() {}
  TCOM_PageBreakT(_PageBreak *intf, bool addRef = false) : TComInterface<_PageBreak>(intf, addRef) {}
  TCOM_PageBreakT(const TCOM_PageBreakT& src) : TComInterface<_PageBreak>(src) {}
  TCOM_PageBreakT& operator=(const TCOM_PageBreakT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_PageBreakT<_PageBreak> TCOM_PageBreak;

// *********************************************************************//
// DispIntf:  _PageBreak
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E960-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _PageBreakDispT : public TAutoDriver<_PageBreak>
{
public:
  _PageBreakDispT(){}

  _PageBreakDispT(_PageBreak *pintf)
  {
    TAutoDriver<_PageBreak>::Bind(pintf, false);
  }

  _PageBreakDispT(_PageBreakPtr pintf)
  {
    TAutoDriver<_PageBreak>::Bind(pintf, true);
  }

  _PageBreakDispT& operator=(_PageBreak *pintf)
  {
    TAutoDriver<_PageBreak>::Bind(pintf, false);
    return *this;
  }

  _PageBreakDispT& operator=(_PageBreakPtr pintf)
  {
    TAutoDriver<_PageBreak>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessPageBreak));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessPageBreak);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef _PageBreakDispT<_PageBreak> _PageBreakDisp;

typedef TComInterface<_PageBreakEvents>  TCOM_PageBreakEvents;

// *********************************************************************//
// SmartIntf: TCOM_ToggleButton
// Interface: _ToggleButton
// *********************************************************************//
template <class T /* _ToggleButton */ >
class TCOM_ToggleButtonT : public TComInterface<_ToggleButton>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_ToggleButtonT() {}
  TCOM_ToggleButtonT(_ToggleButton *intf, bool addRef = false) : TComInterface<_ToggleButton>(intf, addRef) {}
  TCOM_ToggleButtonT(const TCOM_ToggleButtonT& src) : TComInterface<_ToggleButton>(src) {}
  TCOM_ToggleButtonT& operator=(const TCOM_ToggleButtonT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_OptionValue(long* pRet/*[out,retval]*/);
  long            __fastcall get_OptionValue(void);
  HRESULT         __fastcall set_OptionValue(long pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TripleState(void);
  HRESULT         __fastcall set_TripleState(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_ToggleButtonT<_ToggleButton> TCOM_ToggleButton;

// *********************************************************************//
// DispIntf:  _ToggleButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E962-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _ToggleButtonDispT : public TAutoDriver<_ToggleButton>
{
public:
  _ToggleButtonDispT(){}

  _ToggleButtonDispT(_ToggleButton *pintf)
  {
    TAutoDriver<_ToggleButton>::Bind(pintf, false);
  }

  _ToggleButtonDispT(_ToggleButtonPtr pintf)
  {
    TAutoDriver<_ToggleButton>::Bind(pintf, true);
  }

  _ToggleButtonDispT& operator=(_ToggleButton *pintf)
  {
    TAutoDriver<_ToggleButton>::Bind(pintf, false);
    return *this;
  }

  _ToggleButtonDispT& operator=(_ToggleButtonPtr pintf)
  {
    TAutoDriver<_ToggleButton>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessToggleButton));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessToggleButton);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Undo();
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_OptionValue(long* pRet/*[out,retval]*/);
  long            __fastcall get_OptionValue(void);
  HRESULT         __fastcall set_OptionValue(long pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TripleState(void);
  HRESULT         __fastcall set_TripleState(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ReadingOrder(void);
  HRESULT         __fastcall set_ReadingOrder(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   unsigned_char   ReadingOrder = {read = get_ReadingOrder, write = set_ReadingOrder};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _ToggleButtonDispT<_ToggleButton> _ToggleButtonDisp;

typedef TComInterface<_ToggleButtonEvents>  TCOM_ToggleButtonEvents;

typedef TComInterface<_ToggleButtonInOptionEvents>  TCOM_ToggleButtonInOptionEvents;

// *********************************************************************//
// SmartIntf: TCOM_PaletteButton
// Interface: _PaletteButton
// *********************************************************************//
template <class T /* _PaletteButton */ >
class TCOM_PaletteButtonT : public TComInterface<_PaletteButton>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_PaletteButtonT() {}
  TCOM_PaletteButtonT(_PaletteButton *intf, bool addRef = false) : TComInterface<_PaletteButton>(intf, addRef) {}
  TCOM_PaletteButtonT(const TCOM_PaletteButtonT& src) : TComInterface<_PaletteButton>(src) {}
  TCOM_PaletteButtonT& operator=(const TCOM_PaletteButtonT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OptionValue(long* pRet/*[out,retval]*/);
  long            __fastcall get_OptionValue(void);
  HRESULT         __fastcall set_OptionValue(long pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TripleState(void);
  HRESULT         __fastcall set_TripleState(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_PaletteButtonT<_PaletteButton> TCOM_PaletteButton;

// *********************************************************************//
// DispIntf:  _PaletteButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {9CD4A760-A6A9-11CE-A686-00AA003F0F07}
// *********************************************************************//
template<class T>
class _PaletteButtonDispT : public TAutoDriver<_PaletteButton>
{
public:
  _PaletteButtonDispT(){}

  _PaletteButtonDispT(_PaletteButton *pintf)
  {
    TAutoDriver<_PaletteButton>::Bind(pintf, false);
  }

  _PaletteButtonDispT(_PaletteButtonPtr pintf)
  {
    TAutoDriver<_PaletteButton>::Bind(pintf, true);
  }

  _PaletteButtonDispT& operator=(_PaletteButton *pintf)
  {
    TAutoDriver<_PaletteButton>::Bind(pintf, false);
    return *this;
  }

  _PaletteButtonDispT& operator=(_PaletteButtonPtr pintf)
  {
    TAutoDriver<_PaletteButton>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessPaletteButton));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessPaletteButton);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OptionValue(long* pRet/*[out,retval]*/);
  long            __fastcall get_OptionValue(void);
  HRESULT         __fastcall set_OptionValue(long pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultValue(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DefaultValue(void);
  HRESULT         __fastcall set_DefaultValue(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationRule(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationRule(void);
  HRESULT         __fastcall set_ValidationRule(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ValidationText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ValidationText(void);
  HRESULT         __fastcall set_ValidationText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TripleState(void);
  HRESULT         __fastcall set_TripleState(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HideDuplicates(void);
  HRESULT         __fastcall set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnWidth(void);
  HRESULT         __fastcall set_ColumnWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnOrder(short* pRet/*[out,retval]*/);
  short           __fastcall get_ColumnOrder(void);
  HRESULT         __fastcall set_ColumnOrder(short pRet/*[in]*/);
  HRESULT         __fastcall get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ColumnHidden(void);
  HRESULT         __fastcall set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   long            OptionValue = {read = get_OptionValue, write = set_OptionValue};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            DefaultValue = {read = get_DefaultValue, write = set_DefaultValue};
  __property   BSTR            ValidationRule = {read = get_ValidationRule, write = set_ValidationRule};
  __property   BSTR            ValidationText = {read = get_ValidationText, write = set_ValidationText};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TripleState = {read = get_TripleState, write = set_TripleState};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    HideDuplicates = {read = get_HideDuplicates, write = set_HideDuplicates};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           ColumnWidth = {read = get_ColumnWidth, write = set_ColumnWidth};
  __property   short           ColumnOrder = {read = get_ColumnOrder, write = set_ColumnOrder};
  __property   VARIANT_BOOL    ColumnHidden = {read = get_ColumnHidden, write = set_ColumnHidden};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef _PaletteButtonDispT<_PaletteButton> _PaletteButtonDisp;

typedef TComInterface<_PaletteButtonEvents>  TCOM_PaletteButtonEvents;

// *********************************************************************//
// SmartIntf: TCOM_SubForm
// Interface: _SubForm
// *********************************************************************//
template <class T /* _SubForm */ >
class TCOM_SubFormT : public TComInterface<_SubForm>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_SubFormT() {}
  TCOM_SubFormT(_SubForm *intf, bool addRef = false) : TComInterface<_SubForm>(intf, addRef) {}
  TCOM_SubFormT(const TCOM_SubFormT& src) : TComInterface<_SubForm>(src) {}
  TCOM_SubFormT& operator=(const TCOM_SubFormT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessFormPtr __fastcall get_Form(void);
  HRESULT         __fastcall get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReportPtr __fastcall get_Report(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/);
  Access_2k::Controls_Ptr __fastcall get_Controls(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_SourceObject(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceObject(void);
  HRESULT         __fastcall set_SourceObject(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_LinkChildFields(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_LinkChildFields(void);
  HRESULT         __fastcall set_LinkChildFields(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_LinkMasterFields(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_LinkMasterFields(void);
  HRESULT         __fastcall set_LinkMasterFields(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanGrow(void);
  HRESULT         __fastcall set_CanGrow(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanShrink(void);
  HRESULT         __fastcall set_CanShrink(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::Controls_Ptr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            SourceObject = {read = get_SourceObject, write = set_SourceObject};
  __property   BSTR            LinkChildFields = {read = get_LinkChildFields, write = set_LinkChildFields};
  __property   BSTR            LinkMasterFields = {read = get_LinkMasterFields, write = set_LinkMasterFields};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    CanGrow = {read = get_CanGrow, write = set_CanGrow};
  __property   VARIANT_BOOL    CanShrink = {read = get_CanShrink, write = set_CanShrink};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_SubFormT<_SubForm> TCOM_SubForm;

// *********************************************************************//
// DispIntf:  _SubForm
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E964-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _SubFormDispT : public TAutoDriver<_SubForm>
{
public:
  _SubFormDispT(){}

  _SubFormDispT(_SubForm *pintf)
  {
    TAutoDriver<_SubForm>::Bind(pintf, false);
  }

  _SubFormDispT(_SubFormPtr pintf)
  {
    TAutoDriver<_SubForm>::Bind(pintf, true);
  }

  _SubFormDispT& operator=(_SubForm *pintf)
  {
    TAutoDriver<_SubForm>::Bind(pintf, false);
    return *this;
  }

  _SubFormDispT& operator=(_SubFormPtr pintf)
  {
    TAutoDriver<_SubForm>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessSubForm));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessSubForm);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessFormPtr __fastcall get_Form(void);
  HRESULT         __fastcall get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReportPtr __fastcall get_Report(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/);
  Access_2k::Controls_Ptr __fastcall get_Controls(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_SourceObject(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_SourceObject(void);
  HRESULT         __fastcall set_SourceObject(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_LinkChildFields(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_LinkChildFields(void);
  HRESULT         __fastcall set_LinkChildFields(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_LinkMasterFields(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_LinkMasterFields(void);
  HRESULT         __fastcall set_LinkMasterFields(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanGrow(void);
  HRESULT         __fastcall set_CanGrow(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanShrink(void);
  HRESULT         __fastcall set_CanShrink(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoLabel(void);
  HRESULT         __fastcall set_AutoLabel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AddColon(void);
  HRESULT         __fastcall set_AddColon(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_LabelX(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelX(void);
  HRESULT         __fastcall set_LabelX(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelY(short* pRet/*[out,retval]*/);
  short           __fastcall get_LabelY(void);
  HRESULT         __fastcall set_LabelY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LabelAlign(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_LabelAlign(void);
  HRESULT         __fastcall set_LabelAlign(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::Controls_Ptr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            SourceObject = {read = get_SourceObject, write = set_SourceObject};
  __property   BSTR            LinkChildFields = {read = get_LinkChildFields, write = set_LinkChildFields};
  __property   BSTR            LinkMasterFields = {read = get_LinkMasterFields, write = set_LinkMasterFields};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   VARIANT_BOOL    CanGrow = {read = get_CanGrow, write = set_CanGrow};
  __property   VARIANT_BOOL    CanShrink = {read = get_CanShrink, write = set_CanShrink};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   VARIANT_BOOL    AutoLabel = {read = get_AutoLabel, write = set_AutoLabel};
  __property   VARIANT_BOOL    AddColon = {read = get_AddColon, write = set_AddColon};
  __property   short           LabelX = {read = get_LabelX, write = set_LabelX};
  __property   short           LabelY = {read = get_LabelY, write = set_LabelY};
  __property   unsigned_char   LabelAlign = {read = get_LabelAlign, write = set_LabelAlign};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _SubFormDispT<_SubForm> _SubFormDisp;

typedef TComInterface<_SubFormEvents>  TCOM_SubFormEvents;

// *********************************************************************//
// SmartIntf: TCOM_SubReport
// Interface: _SubReport
// *********************************************************************//
template <class T /* _SubReport */ >
class TCOM_SubReportT : public TComInterface<_SubReport>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_SubReportT() {}
  TCOM_SubReportT(_SubReport *intf, bool addRef = false) : TComInterface<_SubReport>(intf, addRef) {}
  TCOM_SubReportT(const TCOM_SubReportT& src) : TComInterface<_SubReport>(src) {}
  TCOM_SubReportT& operator=(const TCOM_SubReportT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessFormPtr __fastcall get_Form(void);
  HRESULT         __fastcall get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReportPtr __fastcall get_Report(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};
};
typedef TCOM_SubReportT<_SubReport> TCOM_SubReport;

// *********************************************************************//
// DispIntf:  _SubReport
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E966-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _SubReportDispT : public TAutoDriver<_SubReport>
{
public:
  _SubReportDispT(){}

  _SubReportDispT(_SubReport *pintf)
  {
    TAutoDriver<_SubReport>::Bind(pintf, false);
  }

  _SubReportDispT(_SubReportPtr pintf)
  {
    TAutoDriver<_SubReport>::Bind(pintf, true);
  }

  _SubReportDispT& operator=(_SubReport *pintf)
  {
    TAutoDriver<_SubReport>::Bind(pintf, false);
    return *this;
  }

  _SubReportDispT& operator=(_SubReportPtr pintf)
  {
    TAutoDriver<_SubReport>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessSubReport));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessSubReport);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessFormPtr __fastcall get_Form(void);
  HRESULT         __fastcall get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReportPtr __fastcall get_Report(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};
};
typedef _SubReportDispT<_SubReport> _SubReportDisp;

typedef TComInterface<_SubReportEvents>  TCOM_SubReportEvents;

// *********************************************************************//
// SmartIntf: TCOM_CustomControl
// Interface: _CustomControl
// *********************************************************************//
template <class T /* _CustomControl */ >
class TCOM_CustomControlT : public TComInterface<_CustomControl>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_CustomControlT() {}
  TCOM_CustomControlT(_CustomControl *intf, bool addRef = false) : TComInterface<_CustomControl>(intf, addRef) {}
  TCOM_CustomControlT(const TCOM_CustomControlT& src) : TComInterface<_CustomControl>(src) {}
  TCOM_CustomControlT& operator=(const TCOM_CustomControlT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Object(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Object(void);
  HRESULT         __fastcall get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ObjectVerbs(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Goto(void);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OLEClass(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OLEClass(void);
  HRESULT         __fastcall set_OLEClass(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Verb(long* pRet/*[out,retval]*/);
  long            __fastcall get_Verb(void);
  HRESULT         __fastcall set_Verb(long pRet/*[in]*/);
  HRESULT         __fastcall get_Class(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Class(void);
  HRESULT         __fastcall set_Class(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OleData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OleData(void);
  HRESULT         __fastcall set_OleData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_LpOleObject(long* pRet/*[out,retval]*/);
  long            __fastcall get_LpOleObject(void);
  HRESULT         __fastcall set_LpOleObject(long pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectVerbsCount(long* pRet/*[out,retval]*/);
  long            __fastcall get_ObjectVerbsCount(void);
  HRESULT         __fastcall set_ObjectVerbsCount(long pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnUpdated(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnUpdated(void);
  HRESULT         __fastcall set_OnUpdated(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Default(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Default(void);
  HRESULT         __fastcall set_Default(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Cancel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Cancel(void);
  HRESULT         __fastcall set_Cancel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Custom(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Custom(void);
  HRESULT         __fastcall set_Custom(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_About(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_About(void);
  HRESULT         __fastcall set_About(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            OLEClass = {read = get_OLEClass, write = set_OLEClass};
  __property   long            Verb = {read = get_Verb, write = set_Verb};
  __property   BSTR            Class = {read = get_Class, write = set_Class};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            LpOleObject = {read = get_LpOleObject, write = set_LpOleObject};
  __property   long            ObjectVerbsCount = {read = get_ObjectVerbsCount, write = set_ObjectVerbsCount};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnUpdated = {read = get_OnUpdated, write = set_OnUpdated};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   VARIANT_BOOL    Default = {read = get_Default, write = set_Default};
  __property   VARIANT_BOOL    Cancel = {read = get_Cancel, write = set_Cancel};
  __property   BSTR            Custom = {read = get_Custom, write = set_Custom};
  __property   BSTR            About = {read = get_About, write = set_About};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_CustomControlT<_CustomControl> TCOM_CustomControl;

// *********************************************************************//
// DispIntf:  _CustomControl
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E968-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _CustomControlDispT : public TAutoDriver<_CustomControl>
{
public:
  _CustomControlDispT(){}

  _CustomControlDispT(_CustomControl *pintf)
  {
    TAutoDriver<_CustomControl>::Bind(pintf, false);
  }

  _CustomControlDispT(_CustomControlPtr pintf)
  {
    TAutoDriver<_CustomControl>::Bind(pintf, true);
  }

  _CustomControlDispT& operator=(_CustomControl *pintf)
  {
    TAutoDriver<_CustomControl>::Bind(pintf, false);
    return *this;
  }

  _CustomControlDispT& operator=(_CustomControlPtr pintf)
  {
    TAutoDriver<_CustomControl>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessCustomControl));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessCustomControl);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Object(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Object(void);
  HRESULT         __fastcall get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ObjectVerbs(long Index/*[in]*/);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Goto();
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OLEClass(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OLEClass(void);
  HRESULT         __fastcall set_OLEClass(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Verb(long* pRet/*[out,retval]*/);
  long            __fastcall get_Verb(void);
  HRESULT         __fastcall set_Verb(long pRet/*[in]*/);
  HRESULT         __fastcall get_Class(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Class(void);
  HRESULT         __fastcall set_Class(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Locked(void);
  HRESULT         __fastcall set_Locked(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OleData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OleData(void);
  HRESULT         __fastcall set_OleData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_OldBorderStyle(void);
  HRESULT         __fastcall set_OldBorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BorderColor(void);
  HRESULT         __fastcall set_BorderColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_BorderWidth(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderWidth(void);
  HRESULT         __fastcall set_BorderWidth(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderLineStyle(void);
  HRESULT         __fastcall set_BorderLineStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlTipText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlTipText(void);
  HRESULT         __fastcall set_ControlTipText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_ObjectPalette(void);
  HRESULT         __fastcall set_ObjectPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_LpOleObject(long* pRet/*[out,retval]*/);
  long            __fastcall get_LpOleObject(void);
  HRESULT         __fastcall set_LpOleObject(long pRet/*[in]*/);
  HRESULT         __fastcall get_ObjectVerbsCount(long* pRet/*[out,retval]*/);
  long            __fastcall get_ObjectVerbsCount(void);
  HRESULT         __fastcall set_ObjectVerbsCount(long pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnUpdated(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnUpdated(void);
  HRESULT         __fastcall set_OnUpdated(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnEnter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnEnter(void);
  HRESULT         __fastcall set_OnEnter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnExit(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnExit(void);
  HRESULT         __fastcall set_OnExit(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Default(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Default(void);
  HRESULT         __fastcall set_Default(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Cancel(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Cancel(void);
  HRESULT         __fastcall set_Cancel(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Custom(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Custom(void);
  HRESULT         __fastcall set_Custom(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_About(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_About(void);
  HRESULT         __fastcall set_About(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Object = {read = get_Object};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   BSTR            OLEClass = {read = get_OLEClass, write = set_OLEClass};
  __property   long            Verb = {read = get_Verb, write = set_Verb};
  __property   BSTR            Class = {read = get_Class, write = set_Class};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    Locked = {read = get_Locked, write = set_Locked};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   unsigned_char   OldBorderStyle = {read = get_OldBorderStyle, write = set_OldBorderStyle};
  __property   long            BorderColor = {read = get_BorderColor, write = set_BorderColor};
  __property   unsigned_char   BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
  __property   unsigned_char   BorderLineStyle = {read = get_BorderLineStyle, write = set_BorderLineStyle};
  __property   BSTR            ControlTipText = {read = get_ControlTipText, write = set_ControlTipText};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            LpOleObject = {read = get_LpOleObject, write = set_LpOleObject};
  __property   long            ObjectVerbsCount = {read = get_ObjectVerbsCount, write = set_ObjectVerbsCount};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnUpdated = {read = get_OnUpdated, write = set_OnUpdated};
  __property   BSTR            OnEnter = {read = get_OnEnter, write = set_OnEnter};
  __property   BSTR            OnExit = {read = get_OnExit, write = set_OnExit};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   VARIANT_BOOL    Default = {read = get_Default, write = set_Default};
  __property   VARIANT_BOOL    Cancel = {read = get_Cancel, write = set_Cancel};
  __property   BSTR            Custom = {read = get_Custom, write = set_Custom};
  __property   BSTR            About = {read = get_About, write = set_About};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _CustomControlDispT<_CustomControl> _CustomControlDisp;

typedef TComInterface<_CustomControlEvents>  TCOM_CustomControlEvents;

typedef TComInterface<_CustomControlInReportEvents>  TCOM_CustomControlInReportEvents;

// *********************************************************************//
// SmartIntf: TCOM_TabControl
// Interface: _TabControl
// *********************************************************************//
template <class T /* _TabControl */ >
class TCOM_TabControlT : public TComInterface<_TabControl>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_TabControlT() {}
  TCOM_TabControlT(_TabControl *intf, bool addRef = false) : TComInterface<_TabControl>(intf, addRef) {}
  TCOM_TabControlT(const TCOM_TabControlT& src) : TComInterface<_TabControl>(src) {}
  TCOM_TabControlT& operator=(const TCOM_TabControlT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit(void);
  HRESULT         __fastcall get_Pages(Access_2k::Pages** pRet/*[out,retval]*/);
  Access_2k::PagesPtr __fastcall get_Pages(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_MultiRow(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MultiRow(void);
  HRESULT         __fastcall set_MultiRow(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Style(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Style(void);
  HRESULT         __fastcall set_Style(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TabFixedHeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabFixedHeight(void);
  HRESULT         __fastcall set_TabFixedHeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_TabFixedWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabFixedWidth(void);
  HRESULT         __fastcall set_TabFixedWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnChange(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnChange(void);
  HRESULT         __fastcall set_OnChange(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::PagesPtr Pages = {read = get_Pages};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   VARIANT_BOOL    MultiRow = {read = get_MultiRow, write = set_MultiRow};
  __property   unsigned_char   Style = {read = get_Style, write = set_Style};
  __property   short           TabFixedHeight = {read = get_TabFixedHeight, write = set_TabFixedHeight};
  __property   short           TabFixedWidth = {read = get_TabFixedWidth, write = set_TabFixedWidth};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnChange = {read = get_OnChange, write = set_OnChange};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_TabControlT<_TabControl> TCOM_TabControl;

// *********************************************************************//
// DispIntf:  _TabControl
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E971-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _TabControlDispT : public TAutoDriver<_TabControl>
{
public:
  _TabControlDispT(){}

  _TabControlDispT(_TabControl *pintf)
  {
    TAutoDriver<_TabControl>::Bind(pintf, false);
  }

  _TabControlDispT(_TabControlPtr pintf)
  {
    TAutoDriver<_TabControl>::Bind(pintf, true);
  }

  _TabControlDispT& operator=(_TabControl *pintf)
  {
    TAutoDriver<_TabControl>::Bind(pintf, false);
    return *this;
  }

  _TabControlDispT& operator=(_TabControlPtr pintf)
  {
    TAutoDriver<_TabControl>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessTabControl));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessTabControl);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OldValue(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OldValue(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall SizeToFit();
  HRESULT         __fastcall get_Pages(Access_2k::Pages** pRet/*[out,retval]*/);
  Access_2k::PagesPtr __fastcall get_Pages(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ControlType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ControlType(void);
  HRESULT         __fastcall set_ControlType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_StatusBarText(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_StatusBarText(void);
  HRESULT         __fastcall set_StatusBarText(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Enabled(void);
  HRESULT         __fastcall set_Enabled(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_TabStop(void);
  HRESULT         __fastcall set_TabStop(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabIndex(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabIndex(void);
  HRESULT         __fastcall set_TabIndex(short pRet/*[in]*/);
  HRESULT         __fastcall get_Left(short* pRet/*[out,retval]*/);
  short           __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(short pRet/*[in]*/);
  HRESULT         __fastcall get_Top(short* pRet/*[out,retval]*/);
  short           __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(short pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BackStyle(void);
  HRESULT         __fastcall set_BackStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_MultiRow(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MultiRow(void);
  HRESULT         __fastcall set_MultiRow(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Style(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Style(void);
  HRESULT         __fastcall set_Style(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_TabFixedHeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabFixedHeight(void);
  HRESULT         __fastcall set_TabFixedHeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_TabFixedWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_TabFixedWidth(void);
  HRESULT         __fastcall set_TabFixedWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontWeight(void);
  HRESULT         __fastcall set_FontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TextFontCharSet(void);
  HRESULT         __fastcall set_TextFontCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Section(short* pRet/*[out,retval]*/);
  short           __fastcall get_Section(void);
  HRESULT         __fastcall set_Section(short pRet/*[in]*/);
  HRESULT         __fastcall get_ControlName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlName(void);
  HRESULT         __fastcall set_ControlName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsVisible(void);
  HRESULT         __fastcall set_IsVisible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnChange(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnChange(void);
  HRESULT         __fastcall set_OnChange(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::PagesPtr Pages = {read = get_Pages};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ControlType = {read = get_ControlType, write = set_ControlType};
  __property   BSTR            StatusBarText = {read = get_StatusBarText, write = set_StatusBarText};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    Enabled = {read = get_Enabled, write = set_Enabled};
  __property   VARIANT_BOOL    TabStop = {read = get_TabStop, write = set_TabStop};
  __property   short           TabIndex = {read = get_TabIndex, write = set_TabIndex};
  __property   short           Left = {read = get_Left, write = set_Left};
  __property   short           Top = {read = get_Top, write = set_Top};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   unsigned_char   BackStyle = {read = get_BackStyle, write = set_BackStyle};
  __property   VARIANT_BOOL    MultiRow = {read = get_MultiRow, write = set_MultiRow};
  __property   unsigned_char   Style = {read = get_Style, write = set_Style};
  __property   short           TabFixedHeight = {read = get_TabFixedHeight, write = set_TabFixedHeight};
  __property   short           TabFixedWidth = {read = get_TabFixedWidth, write = set_TabFixedWidth};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontWeight = {read = get_FontWeight, write = set_FontWeight};
  __property   VARIANT_BOOL    FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   VARIANT_BOOL    FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   unsigned_char   TextFontCharSet = {read = get_TextFontCharSet, write = set_TextFontCharSet};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           Section = {read = get_Section, write = set_Section};
  __property   BSTR            ControlName = {read = get_ControlName, write = set_ControlName};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   VARIANT_BOOL    IsVisible = {read = get_IsVisible, write = set_IsVisible};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            OnChange = {read = get_OnChange, write = set_OnChange};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   BSTR            Name = {read = get_Name, write = set_Name};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _TabControlDispT<_TabControl> _TabControlDisp;

typedef TComInterface<_TabControlEvents>  TCOM_TabControlEvents;

typedef TComInterface<_PageEvents>  TCOM_PageEvents;

// *********************************************************************//
// SmartIntf: TCOM_Section
// Interface: _Section
// *********************************************************************//
template <class T /* _Section */ >
class TCOM_SectionT : public TComInterface<_Section>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_SectionT() {}
  TCOM_SectionT(_Section *intf, bool addRef = false) : TComInterface<_Section>(intf, addRef) {}
  TCOM_SectionT(const TCOM_SectionT& src) : TComInterface<_Section>(src) {}
  TCOM_SectionT& operator=(const TCOM_SectionT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ForceNewPage(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ForceNewPage(void);
  HRESULT         __fastcall set_ForceNewPage(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_NewRowOrCol(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_NewRowOrCol(void);
  HRESULT         __fastcall set_NewRowOrCol(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_KeepTogether(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_KeepTogether(void);
  HRESULT         __fastcall set_KeepTogether(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanGrow(void);
  HRESULT         __fastcall set_CanGrow(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanShrink(void);
  HRESULT         __fastcall set_CanShrink(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_RepeatSection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_RepeatSection(void);
  HRESULT         __fastcall set_RepeatSection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnFormat(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnFormat(void);
  HRESULT         __fastcall set_OnFormat(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnPrint(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnPrint(void);
  HRESULT         __fastcall set_OnPrint(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnRetreat(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnRetreat(void);
  HRESULT         __fastcall set_OnRetreat(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HasContinued(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HasContinued(void);
  HRESULT         __fastcall set_HasContinued(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_WillContinue(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_WillContinue(void);
  HRESULT         __fastcall set_WillContinue(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ForceNewPage = {read = get_ForceNewPage, write = set_ForceNewPage};
  __property   unsigned_char   NewRowOrCol = {read = get_NewRowOrCol, write = set_NewRowOrCol};
  __property   VARIANT_BOOL    KeepTogether = {read = get_KeepTogether, write = set_KeepTogether};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    CanGrow = {read = get_CanGrow, write = set_CanGrow};
  __property   VARIANT_BOOL    CanShrink = {read = get_CanShrink, write = set_CanShrink};
  __property   VARIANT_BOOL    RepeatSection = {read = get_RepeatSection, write = set_RepeatSection};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            OnFormat = {read = get_OnFormat, write = set_OnFormat};
  __property   BSTR            OnPrint = {read = get_OnPrint, write = set_OnPrint};
  __property   BSTR            OnRetreat = {read = get_OnRetreat, write = set_OnRetreat};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   VARIANT_BOOL    HasContinued = {read = get_HasContinued, write = set_HasContinued};
  __property   VARIANT_BOOL    WillContinue = {read = get_WillContinue, write = set_WillContinue};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_SectionT<_Section> TCOM_Section;

// *********************************************************************//
// DispIntf:  _Section
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDCFC-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _SectionDispT : public TAutoDriver<_Section>
{
public:
  _SectionDispT(){}

  _SectionDispT(_Section *pintf)
  {
    TAutoDriver<_Section>::Bind(pintf, false);
  }

  _SectionDispT(_SectionPtr pintf)
  {
    TAutoDriver<_Section>::Bind(pintf, true);
  }

  _SectionDispT& operator=(_Section *pintf)
  {
    TAutoDriver<_Section>::Bind(pintf, false);
    return *this;
  }

  _SectionDispT& operator=(_SectionPtr pintf)
  {
    TAutoDriver<_Section>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessSection));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessSection);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall get_Controls(Access_2k::Children** pRet/*[out,retval]*/);
  Access_2k::ChildrenPtr __fastcall get_Controls(void);
  HRESULT         __fastcall get_EventProcPrefix(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_EventProcPrefix(void);
  HRESULT         __fastcall set_EventProcPrefix(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ForceNewPage(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ForceNewPage(void);
  HRESULT         __fastcall set_ForceNewPage(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_NewRowOrCol(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_NewRowOrCol(void);
  HRESULT         __fastcall set_NewRowOrCol(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_KeepTogether(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_KeepTogether(void);
  HRESULT         __fastcall set_KeepTogether(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DisplayWhen(void);
  HRESULT         __fastcall set_DisplayWhen(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanGrow(void);
  HRESULT         __fastcall set_CanGrow(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CanShrink(void);
  HRESULT         __fastcall set_CanShrink(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_RepeatSection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_RepeatSection(void);
  HRESULT         __fastcall set_RepeatSection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Height(short* pRet/*[out,retval]*/);
  short           __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(short pRet/*[in]*/);
  HRESULT         __fastcall get_BackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_BackColor(void);
  HRESULT         __fastcall set_BackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_SpecialEffect(void);
  HRESULT         __fastcall set_SpecialEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnFormat(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnFormat(void);
  HRESULT         __fastcall set_OnFormat(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnPrint(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnPrint(void);
  HRESULT         __fastcall set_OnPrint(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnRetreat(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnRetreat(void);
  HRESULT         __fastcall set_OnRetreat(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HasContinued(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HasContinued(void);
  HRESULT         __fastcall set_HasContinued(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_WillContinue(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_WillContinue(void);
  HRESULT         __fastcall set_WillContinue(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_InSelection(void);
  HRESULT         __fastcall set_InSelection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::ChildrenPtr Controls = {read = get_Controls};
  __property   BSTR            EventProcPrefix = {read = get_EventProcPrefix, write = set_EventProcPrefix};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   unsigned_char   ForceNewPage = {read = get_ForceNewPage, write = set_ForceNewPage};
  __property   unsigned_char   NewRowOrCol = {read = get_NewRowOrCol, write = set_NewRowOrCol};
  __property   VARIANT_BOOL    KeepTogether = {read = get_KeepTogether, write = set_KeepTogether};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   unsigned_char   DisplayWhen = {read = get_DisplayWhen, write = set_DisplayWhen};
  __property   VARIANT_BOOL    CanGrow = {read = get_CanGrow, write = set_CanGrow};
  __property   VARIANT_BOOL    CanShrink = {read = get_CanShrink, write = set_CanShrink};
  __property   VARIANT_BOOL    RepeatSection = {read = get_RepeatSection, write = set_RepeatSection};
  __property   short           Height = {read = get_Height, write = set_Height};
  __property   long            BackColor = {read = get_BackColor, write = set_BackColor};
  __property   unsigned_char   SpecialEffect = {read = get_SpecialEffect, write = set_SpecialEffect};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            OnFormat = {read = get_OnFormat, write = set_OnFormat};
  __property   BSTR            OnPrint = {read = get_OnPrint, write = set_OnPrint};
  __property   BSTR            OnRetreat = {read = get_OnRetreat, write = set_OnRetreat};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   VARIANT_BOOL    HasContinued = {read = get_HasContinued, write = set_HasContinued};
  __property   VARIANT_BOOL    WillContinue = {read = get_WillContinue, write = set_WillContinue};
  __property   VARIANT_BOOL    InSelection = {read = get_InSelection, write = set_InSelection};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef _SectionDispT<_Section> _SectionDisp;

typedef TComInterface<_SectionEvents>  TCOM_SectionEvents;

// *********************************************************************//
// SmartIntf: TCOM_GroupLevel
// Interface: _GroupLevel
// *********************************************************************//
template <class T /* _GroupLevel */ >
class TCOM_GroupLevelT : public TComInterface<_GroupLevel>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_GroupLevelT() {}
  TCOM_GroupLevelT(_GroupLevel *intf, bool addRef = false) : TComInterface<_GroupLevel>(intf, addRef) {}
  TCOM_GroupLevelT(const TCOM_GroupLevelT& src) : TComInterface<_GroupLevel>(src) {}
  TCOM_GroupLevelT& operator=(const TCOM_GroupLevelT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SortOrder(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_SortOrder(void);
  HRESULT         __fastcall set_SortOrder(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_GroupHeader(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_GroupHeader(void);
  HRESULT         __fastcall set_GroupHeader(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_GroupFooter(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_GroupFooter(void);
  HRESULT         __fastcall set_GroupFooter(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_GroupOn(short* pRet/*[out,retval]*/);
  short           __fastcall get_GroupOn(void);
  HRESULT         __fastcall set_GroupOn(short pRet/*[in]*/);
  HRESULT         __fastcall get_GroupInterval(long* pRet/*[out,retval]*/);
  long            __fastcall get_GroupInterval(void);
  HRESULT         __fastcall set_GroupInterval(long pRet/*[in]*/);
  HRESULT         __fastcall get_KeepTogether(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_KeepTogether(void);
  HRESULT         __fastcall set_KeepTogether(unsigned_char pRet/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   VARIANT_BOOL    SortOrder = {read = get_SortOrder, write = set_SortOrder};
  __property   VARIANT_BOOL    GroupHeader = {read = get_GroupHeader, write = set_GroupHeader};
  __property   VARIANT_BOOL    GroupFooter = {read = get_GroupFooter, write = set_GroupFooter};
  __property   short           GroupOn = {read = get_GroupOn, write = set_GroupOn};
  __property   long            GroupInterval = {read = get_GroupInterval, write = set_GroupInterval};
  __property   unsigned_char   KeepTogether = {read = get_KeepTogether, write = set_KeepTogether};
};
typedef TCOM_GroupLevelT<_GroupLevel> TCOM_GroupLevel;

// *********************************************************************//
// DispIntf:  _GroupLevel
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDD27-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class _GroupLevelDispT : public TAutoDriver<_GroupLevel>
{
public:
  _GroupLevelDispT(){}

  _GroupLevelDispT(_GroupLevel *pintf)
  {
    TAutoDriver<_GroupLevel>::Bind(pintf, false);
  }

  _GroupLevelDispT(_GroupLevelPtr pintf)
  {
    TAutoDriver<_GroupLevel>::Bind(pintf, true);
  }

  _GroupLevelDispT& operator=(_GroupLevel *pintf)
  {
    TAutoDriver<_GroupLevel>::Bind(pintf, false);
    return *this;
  }

  _GroupLevelDispT& operator=(_GroupLevelPtr pintf)
  {
    TAutoDriver<_GroupLevel>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessGroupLevel));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessGroupLevel);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall get_ControlSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ControlSource(void);
  HRESULT         __fastcall set_ControlSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_SortOrder(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_SortOrder(void);
  HRESULT         __fastcall set_SortOrder(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_GroupHeader(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_GroupHeader(void);
  HRESULT         __fastcall set_GroupHeader(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_GroupFooter(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_GroupFooter(void);
  HRESULT         __fastcall set_GroupFooter(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_GroupOn(short* pRet/*[out,retval]*/);
  short           __fastcall get_GroupOn(void);
  HRESULT         __fastcall set_GroupOn(short pRet/*[in]*/);
  HRESULT         __fastcall get_GroupInterval(long* pRet/*[out,retval]*/);
  long            __fastcall get_GroupInterval(void);
  HRESULT         __fastcall set_GroupInterval(long pRet/*[in]*/);
  HRESULT         __fastcall get_KeepTogether(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_KeepTogether(void);
  HRESULT         __fastcall set_KeepTogether(unsigned_char pRet/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   BSTR            ControlSource = {read = get_ControlSource, write = set_ControlSource};
  __property   VARIANT_BOOL    SortOrder = {read = get_SortOrder, write = set_SortOrder};
  __property   VARIANT_BOOL    GroupHeader = {read = get_GroupHeader, write = set_GroupHeader};
  __property   VARIANT_BOOL    GroupFooter = {read = get_GroupFooter, write = set_GroupFooter};
  __property   short           GroupOn = {read = get_GroupOn, write = set_GroupOn};
  __property   long            GroupInterval = {read = get_GroupInterval, write = set_GroupInterval};
  __property   unsigned_char   KeepTogether = {read = get_KeepTogether, write = set_KeepTogether};
};
typedef _GroupLevelDispT<_GroupLevel> _GroupLevelDisp;

typedef TComInterface<_SectionInReportEvents>  TCOM_SectionInReportEvents;

typedef TComInterface<_PageHdrFtrInReportEvents>  TCOM_PageHdrFtrInReportEvents;

typedef TComInterface<Module>  TCOMModule;

// *********************************************************************//
// DispIntf:  Module
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDCFE-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
template<class T>
class ModuleDispT : public TAutoDriver<Module>
{
public:
  ModuleDispT(){}

  ModuleDispT(Module *pintf)
  {
    TAutoDriver<Module>::Bind(pintf, false);
  }

  ModuleDispT(ModulePtr pintf)
  {
    TAutoDriver<Module>::Bind(pintf, true);
  }

  ModuleDispT& operator=(Module *pintf)
  {
    TAutoDriver<Module>::Bind(pintf, false);
    return *this;
  }

  ModuleDispT& operator=(ModulePtr pintf)
  {
    TAutoDriver<Module>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall InsertText(BSTR Text/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall AddFromString(BSTR String/*[in]*/);
  HRESULT         __fastcall AddFromFile(BSTR FileName/*[in]*/);
  HRESULT         __fastcall get_Lines(long Line/*[in]*/, long NumLines/*[in]*/, 
                                       BSTR* String/*[out,retval]*/);
  BSTR            __fastcall get_Lines(long Line/*[in]*/, long NumLines/*[in]*/);
  HRESULT         __fastcall get_CountOfLines(long* CountOfLines/*[out,retval]*/);
  long            __fastcall get_CountOfLines(void);
  HRESULT         __fastcall InsertLines(long Line/*[in]*/, BSTR String/*[in]*/);
  HRESULT         __fastcall DeleteLines(long StartLine/*[in]*/, long Count/*[in]*/);
  HRESULT         __fastcall ReplaceLine(long Line/*[in]*/, BSTR String/*[in]*/);
  HRESULT         __fastcall get_ProcStartLine(BSTR ProcName/*[in]*/, 
                                               Vbide_2k::vbext_ProcKind ProcKind/*[in]*/, 
                                               long* ProcStartLine/*[out,retval]*/);
  long            __fastcall get_ProcStartLine(BSTR ProcName/*[in]*/, 
                                               Vbide_2k::vbext_ProcKind ProcKind/*[in]*/);
  HRESULT         __fastcall get_ProcCountLines(BSTR ProcName/*[in]*/, 
                                                Vbide_2k::vbext_ProcKind ProcKind/*[in]*/, 
                                                long* ProcCountLines/*[out,retval]*/);
  long            __fastcall get_ProcCountLines(BSTR ProcName/*[in]*/, 
                                                Vbide_2k::vbext_ProcKind ProcKind/*[in]*/);
  HRESULT         __fastcall get_ProcBodyLine(BSTR ProcName/*[in]*/, 
                                              Vbide_2k::vbext_ProcKind ProcKind/*[in]*/, 
                                              long* ProcBodyLine/*[out,retval]*/);
  long            __fastcall get_ProcBodyLine(BSTR ProcName/*[in]*/, 
                                              Vbide_2k::vbext_ProcKind ProcKind/*[in]*/);
  HRESULT         __fastcall get_ProcOfLine(long Line/*[in]*/, 
                                            Vbide_2k::vbext_ProcKind* pprockind/*[out]*/, 
                                            BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_ProcOfLine(long Line/*[in]*/, 
                                            Vbide_2k::vbext_ProcKind* pprockind/*[out]*/);
  HRESULT         __fastcall get_CountOfDeclarationLines(long* pDeclCountOfLines/*[out,retval]*/);
  long            __fastcall get_CountOfDeclarationLines(void);
  HRESULT         __fastcall CreateEventProc(BSTR EventName/*[in]*/, BSTR ObjectName/*[in]*/, 
                                             long* Line/*[out,retval]*/);
  long            __fastcall CreateEventProc(BSTR EventName/*[in]*/, BSTR ObjectName/*[in]*/);
  HRESULT         __fastcall Find(BSTR Target/*[in]*/, long* StartLine/*[in,out]*/, 
                                  long* StartColumn/*[in,out]*/, long* EndLine/*[in,out]*/, 
                                  long* EndColumn/*[in,out]*/, 
                                  VARIANT_BOOL WholeWord/*[in,def,opt]*/, 
                                  VARIANT_BOOL MatchCase/*[in,def,opt]*/, 
                                  VARIANT_BOOL PatternSearch/*[in,def,opt]*/, 
                                  VARIANT_BOOL* pfFound/*[out,retval]*/);
  VARIANT_BOOL    __fastcall Find(BSTR Target/*[in]*/, long* StartLine/*[in,out]*/, 
                                  long* StartColumn/*[in,out]*/, long* EndLine/*[in,out]*/, 
                                  long* EndColumn/*[in,out]*/, 
                                  VARIANT_BOOL WholeWord/*[in,def,opt]*/, 
                                  VARIANT_BOOL MatchCase/*[in,def,opt]*/, 
                                  VARIANT_BOOL PatternSearch/*[in,def,opt]*/);
  HRESULT         __fastcall get_Type(Access_2k::AcModuleType* pRet/*[out,retval]*/);
  Access_2k::AcModuleType __fastcall get_Type(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   long            CountOfLines = {read = get_CountOfLines};
  __property   long            CountOfDeclarationLines = {read = get_CountOfDeclarationLines};
  __property   Access_2k::AcModuleType Type = {read = get_Type};
};
typedef ModuleDispT<Module> ModuleDisp;

typedef TComInterface<Modules>  TCOMModules;

// *********************************************************************//
// DispIntf:  Modules
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {9DD0AF42-6E28-11CF-9008-00AA0042B7CE}
// *********************************************************************//
template<class T>
class ModulesDispT : public TAutoDriver<Modules>
{
public:
  ModulesDispT(){}

  ModulesDispT(Modules *pintf)
  {
    TAutoDriver<Modules>::Bind(pintf, false);
  }

  ModulesDispT(ModulesPtr pintf)
  {
    TAutoDriver<Modules>::Bind(pintf, true);
  }

  ModulesDispT& operator=(Modules *pintf)
  {
    TAutoDriver<Modules>::Bind(pintf, false);
    return *this;
  }

  ModulesDispT& operator=(ModulesPtr pintf)
  {
    TAutoDriver<Modules>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Item(VARIANT Index/*[in]*/, 
                                      Access_2k::Module** pRet/*[out,retval]*/);
  Access_2k::Module* __fastcall get_Item(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef ModulesDispT<Modules> ModulesDisp;

// *********************************************************************//
// SmartIntf: TCOM_Form
// Interface: _Form
// *********************************************************************//
template <class T /* _Form */ >
class TCOM_FormT : public TComInterface<_Form>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_FormT() {}
  TCOM_FormT(_Form *intf, bool addRef = false) : TComInterface<_Form>(intf, addRef) {}
  TCOM_FormT(const TCOM_FormT& src) : TComInterface<_Form>(src) {}
  TCOM_FormT& operator=(const TCOM_FormT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_FormName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FormName(void);
  HRESULT         __fastcall set_FormName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RecordSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RecordSource(void);
  HRESULT         __fastcall set_RecordSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Filter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Filter(void);
  HRESULT         __fastcall set_Filter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FilterOn(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FilterOn(void);
  HRESULT         __fastcall set_FilterOn(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OrderBy(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OrderBy(void);
  HRESULT         __fastcall set_OrderBy(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OrderByOn(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_OrderByOn(void);
  HRESULT         __fastcall set_OrderByOn(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowFilters(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowFilters(void);
  HRESULT         __fastcall set_AllowFilters(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultView(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DefaultView(void);
  HRESULT         __fastcall set_DefaultView(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ViewsAllowed(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ViewsAllowed(void);
  HRESULT         __fastcall set_ViewsAllowed(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_AllowEditing(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowEditing(void);
  HRESULT         __fastcall set_AllowEditing(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultEditing(short* pRet/*[out,retval]*/);
  short           __fastcall get_DefaultEditing(void);
  HRESULT         __fastcall set_DefaultEditing(short pRet/*[in]*/);
  HRESULT         __fastcall get_AllowEdits(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowEdits(void);
  HRESULT         __fastcall set_AllowEdits(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowDeletions(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowDeletions(void);
  HRESULT         __fastcall set_AllowDeletions(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowAdditions(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowAdditions(void);
  HRESULT         __fastcall set_AllowAdditions(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DataEntry(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DataEntry(void);
  HRESULT         __fastcall set_DataEntry(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowUpdating(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_AllowUpdating(void);
  HRESULT         __fastcall set_AllowUpdating(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_RecordsetType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_RecordsetType(void);
  HRESULT         __fastcall set_RecordsetType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_RecordLocks(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_RecordLocks(void);
  HRESULT         __fastcall set_RecordLocks(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ScrollBars(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ScrollBars(void);
  HRESULT         __fastcall set_ScrollBars(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_RecordSelectors(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_RecordSelectors(void);
  HRESULT         __fastcall set_RecordSelectors(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_NavigationButtons(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_NavigationButtons(void);
  HRESULT         __fastcall set_NavigationButtons(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DividingLines(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DividingLines(void);
  HRESULT         __fastcall set_DividingLines(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoResize(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoResize(void);
  HRESULT         __fastcall set_AutoResize(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoCenter(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoCenter(void);
  HRESULT         __fastcall set_AutoCenter(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_PopUp(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_PopUp(void);
  HRESULT         __fastcall set_PopUp(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Modal(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Modal(void);
  HRESULT         __fastcall set_Modal(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlBox(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ControlBox(void);
  HRESULT         __fastcall set_ControlBox(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MinButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MinButton(void);
  HRESULT         __fastcall set_MinButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MaxButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MaxButton(void);
  HRESULT         __fastcall set_MaxButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MinMaxButtons(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_MinMaxButtons(void);
  HRESULT         __fastcall set_MinMaxButtons(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_CloseButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CloseButton(void);
  HRESULT         __fastcall set_CloseButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_WhatsThisButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_WhatsThisButton(void);
  HRESULT         __fastcall set_WhatsThisButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureSizeMode(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureSizeMode(void);
  HRESULT         __fastcall set_PictureSizeMode(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureAlignment(void);
  HRESULT         __fastcall set_PictureAlignment(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_PictureTiling(void);
  HRESULT         __fastcall set_PictureTiling(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Cycle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Cycle(void);
  HRESULT         __fastcall set_Cycle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_MenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_MenuBar(void);
  HRESULT         __fastcall set_MenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Toolbar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Toolbar(void);
  HRESULT         __fastcall set_Toolbar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenu(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ShortcutMenu(void);
  HRESULT         __fastcall set_ShortcutMenu(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_GridX(short* pRet/*[out,retval]*/);
  short           __fastcall get_GridX(void);
  HRESULT         __fastcall set_GridX(short pRet/*[in]*/);
  HRESULT         __fastcall get_GridY(short* pRet/*[out,retval]*/);
  short           __fastcall get_GridY(void);
  HRESULT         __fastcall set_GridY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LayoutForPrint(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_LayoutForPrint(void);
  HRESULT         __fastcall set_LayoutForPrint(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FastLaserPrinting(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FastLaserPrinting(void);
  HRESULT         __fastcall set_FastLaserPrinting(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_HelpFile(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HelpFile(void);
  HRESULT         __fastcall set_HelpFile(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_RowHeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_RowHeight(void);
  HRESULT         __fastcall set_RowHeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetFontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DatasheetFontName(void);
  HRESULT         __fastcall set_DatasheetFontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetFontHeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_DatasheetFontHeight(void);
  HRESULT         __fastcall set_DatasheetFontHeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetFontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_DatasheetFontWeight(void);
  HRESULT         __fastcall set_DatasheetFontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetFontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DatasheetFontItalic(void);
  HRESULT         __fastcall set_DatasheetFontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetFontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DatasheetFontUnderline(void);
  HRESULT         __fastcall set_DatasheetFontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabularCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TabularCharSet(void);
  HRESULT         __fastcall set_TabularCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetGridlinesBehavior(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DatasheetGridlinesBehavior(void);
  HRESULT         __fastcall set_DatasheetGridlinesBehavior(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetGridlinesColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_DatasheetGridlinesColor(void);
  HRESULT         __fastcall set_DatasheetGridlinesColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetCellsEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DatasheetCellsEffect(void);
  HRESULT         __fastcall set_DatasheetCellsEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_DatasheetForeColor(void);
  HRESULT         __fastcall set_DatasheetForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_ShowGrid(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ShowGrid(void);
  HRESULT         __fastcall set_ShowGrid(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetBackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_DatasheetBackColor(void);
  HRESULT         __fastcall set_DatasheetBackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_Hwnd(long* pRet/*[out,retval]*/);
  long            __fastcall get_Hwnd(void);
  HRESULT         __fastcall set_Hwnd(long pRet/*[in]*/);
  HRESULT         __fastcall get_Count(short* pRet/*[out,retval]*/);
  short           __fastcall get_Count(void);
  HRESULT         __fastcall set_Count(short pRet/*[in]*/);
  HRESULT         __fastcall get_Page(long* pRet/*[out,retval]*/);
  long            __fastcall get_Page(void);
  HRESULT         __fastcall set_Page(long pRet/*[in]*/);
  HRESULT         __fastcall get_Pages(short* pRet/*[out,retval]*/);
  short           __fastcall get_Pages(void);
  HRESULT         __fastcall set_Pages(short pRet/*[in]*/);
  HRESULT         __fastcall get_LogicalPageWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_LogicalPageWidth(void);
  HRESULT         __fastcall set_LogicalPageWidth(long pRet/*[in]*/);
  HRESULT         __fastcall get_LogicalPageHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_LogicalPageHeight(void);
  HRESULT         __fastcall set_LogicalPageHeight(long pRet/*[in]*/);
  HRESULT         __fastcall get_ZoomControl(long* pRet/*[out,retval]*/);
  long            __fastcall get_ZoomControl(void);
  HRESULT         __fastcall set_ZoomControl(long pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Painting(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Painting(void);
  HRESULT         __fastcall set_Painting(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_PrtMip(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtMip(void);
  HRESULT         __fastcall set_PrtMip(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_PrtDevMode(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtDevMode(void);
  HRESULT         __fastcall set_PrtDevMode(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_PrtDevNames(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtDevNames(void);
  HRESULT         __fastcall set_PrtDevNames(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_FrozenColumns(short* pRet/*[out,retval]*/);
  short           __fastcall get_FrozenColumns(void);
  HRESULT         __fastcall set_FrozenColumns(short pRet/*[in]*/);
  HRESULT         __fastcall get_Bookmark(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Bookmark(void);
  HRESULT         __fastcall set_Bookmark(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_TabularFamily(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TabularFamily(void);
  HRESULT         __fastcall set_TabularFamily(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PaletteSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_PaletteSource(void);
  HRESULT         __fastcall set_PaletteSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PaintPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PaintPalette(void);
  HRESULT         __fastcall set_PaintPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_OnMenu(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMenu(void);
  HRESULT         __fastcall set_OnMenu(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OpenArgs(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OpenArgs(void);
  HRESULT         __fastcall set_OpenArgs(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_ConnectSynch(short* pRet/*[out,retval]*/);
  short           __fastcall get_ConnectSynch(void);
  HRESULT         __fastcall set_ConnectSynch(short pRet/*[in]*/);
  HRESULT         __fastcall get_OnCurrent(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnCurrent(void);
  HRESULT         __fastcall set_OnCurrent(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnInsert(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnInsert(void);
  HRESULT         __fastcall set_OnInsert(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeInsert(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeInsert(void);
  HRESULT         __fastcall set_BeforeInsert(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterInsert(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterInsert(void);
  HRESULT         __fastcall set_AfterInsert(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDirty(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDirty(void);
  HRESULT         __fastcall set_OnDirty(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDelete(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDelete(void);
  HRESULT         __fastcall set_OnDelete(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeDelConfirm(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeDelConfirm(void);
  HRESULT         __fastcall set_BeforeDelConfirm(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterDelConfirm(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterDelConfirm(void);
  HRESULT         __fastcall set_AfterDelConfirm(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnOpen(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnOpen(void);
  HRESULT         __fastcall set_OnOpen(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLoad(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLoad(void);
  HRESULT         __fastcall set_OnLoad(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnResize(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnResize(void);
  HRESULT         __fastcall set_OnResize(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnUnload(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnUnload(void);
  HRESULT         __fastcall set_OnUnload(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClose(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClose(void);
  HRESULT         __fastcall set_OnClose(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnActivate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnActivate(void);
  HRESULT         __fastcall set_OnActivate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDeactivate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDeactivate(void);
  HRESULT         __fastcall set_OnDeactivate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_KeyPreview(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_KeyPreview(void);
  HRESULT         __fastcall set_KeyPreview(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnError(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnError(void);
  HRESULT         __fastcall set_OnError(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnFilter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnFilter(void);
  HRESULT         __fastcall set_OnFilter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnApplyFilter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnApplyFilter(void);
  HRESULT         __fastcall set_OnApplyFilter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnTimer(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnTimer(void);
  HRESULT         __fastcall set_OnTimer(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_TimerInterval(long* pRet/*[out,retval]*/);
  long            __fastcall get_TimerInterval(void);
  HRESULT         __fastcall set_TimerInterval(long pRet/*[in]*/);
  HRESULT         __fastcall get_Dirty(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Dirty(void);
  HRESULT         __fastcall set_Dirty(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_WindowWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_WindowWidth(void);
  HRESULT         __fastcall set_WindowWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_WindowHeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_WindowHeight(void);
  HRESULT         __fastcall set_WindowHeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentView(short* pRet/*[out,retval]*/);
  short           __fastcall get_CurrentView(void);
  HRESULT         __fastcall set_CurrentView(short pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentSectionTop(short* pRet/*[out,retval]*/);
  short           __fastcall get_CurrentSectionTop(void);
  HRESULT         __fastcall set_CurrentSectionTop(short pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentSectionLeft(short* pRet/*[out,retval]*/);
  short           __fastcall get_CurrentSectionLeft(void);
  HRESULT         __fastcall set_CurrentSectionLeft(short pRet/*[in]*/);
  HRESULT         __fastcall get_SelLeft(long* pRet/*[out,retval]*/);
  long            __fastcall get_SelLeft(void);
  HRESULT         __fastcall set_SelLeft(long pRet/*[in]*/);
  HRESULT         __fastcall get_SelTop(long* pRet/*[out,retval]*/);
  long            __fastcall get_SelTop(void);
  HRESULT         __fastcall set_SelTop(long pRet/*[in]*/);
  HRESULT         __fastcall get_SelWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_SelWidth(void);
  HRESULT         __fastcall set_SelWidth(long pRet/*[in]*/);
  HRESULT         __fastcall get_SelHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_SelHeight(void);
  HRESULT         __fastcall set_SelHeight(long pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentRecord(long* pRet/*[out,retval]*/);
  long            __fastcall get_CurrentRecord(void);
  HRESULT         __fastcall set_CurrentRecord(long pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_InsideHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_InsideHeight(void);
  HRESULT         __fastcall set_InsideHeight(long pRet/*[in]*/);
  HRESULT         __fastcall get_InsideWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_InsideWidth(void);
  HRESULT         __fastcall set_InsideWidth(long pRet/*[in]*/);
  HRESULT         __fastcall get_PicturePalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PicturePalette(void);
  HRESULT         __fastcall set_PicturePalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_HasModule(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HasModule(void);
  HRESULT         __fastcall set_HasModule(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_acHiddenCurrentPage(long* pRet/*[out,retval]*/);
  long            __fastcall get_acHiddenCurrentPage(void);
  HRESULT         __fastcall set_acHiddenCurrentPage(long pRet/*[in]*/);
  HRESULT         __fastcall get_Orientation(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Orientation(void);
  HRESULT         __fastcall set_Orientation(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_AllowDesignChanges(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowDesignChanges(void);
  HRESULT         __fastcall set_AllowDesignChanges(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ServerFilter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ServerFilter(void);
  HRESULT         __fastcall set_ServerFilter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ServerFilterByForm(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ServerFilterByForm(void);
  HRESULT         __fastcall set_ServerFilterByForm(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MaxRecords(long* pRet/*[out,retval]*/);
  long            __fastcall get_MaxRecords(void);
  HRESULT         __fastcall set_MaxRecords(long pRet/*[in]*/);
  HRESULT         __fastcall get_UniqueTable(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_UniqueTable(void);
  HRESULT         __fastcall set_UniqueTable(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ResyncCommand(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ResyncCommand(void);
  HRESULT         __fastcall set_ResyncCommand(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_InputParameters(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_InputParameters(void);
  HRESULT         __fastcall set_InputParameters(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_MaxRecButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MaxRecButton(void);
  HRESULT         __fastcall set_MaxRecButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_NewRecord(short* pRet/*[out,retval]*/);
  short           __fastcall get_NewRecord(void);
  HRESULT         __fastcall Undo(void);
  HRESULT         __fastcall get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControlPtr __fastcall get_ActiveControl(void);
  HRESULT         __fastcall get_DefaultControl(long ControlType/*[in]*/, 
                                                Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall get_DefaultControl(long ControlType/*[in]*/);
  HRESULT         __fastcall get_Dynaset(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Dynaset(void);
  HRESULT         __fastcall get_RecordsetClone(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_RecordsetClone(void);
  HRESULT         __fastcall get_Recordset(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Recordset(void);
  HRESULT         __fastcall _set_Recordset(LPDISPATCH pRet/*[in]*/);
  HRESULT         __fastcall get_Section(VARIANT Index/*[in]*/, 
                                         Access_2k::AccessSection** pRet/*[out,retval]*/);
  Access_2k::AccessSection* __fastcall get_Section(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessFormPtr __fastcall get_Form(void);
  HRESULT         __fastcall get_Module(Access_2k::Module** pRet/*[out,retval]*/);
  Access_2k::ModulePtr __fastcall get_Module(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall get_ConnectControl(Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControlPtr __fastcall get_ConnectControl(void);
  HRESULT         __fastcall Recalc(void);
  HRESULT         __fastcall Requery(void);
  HRESULT         __fastcall Refresh(void);
  HRESULT         __fastcall Repaint(void);
  HRESULT         __fastcall GoToPage(long PageNumber/*[in]*/, long Right/*[in,def,opt]*/, 
                                      long Down/*[in,def,opt]*/);
  HRESULT         __fastcall SetFocus(void);
  HRESULT         __fastcall get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/);
  Access_2k::Controls_Ptr __fastcall get_Controls(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_SubdatasheetHeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_SubdatasheetHeight(void);
  HRESULT         __fastcall set_SubdatasheetHeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_SubdatasheetExpanded(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_SubdatasheetExpanded(void);
  HRESULT         __fastcall set_SubdatasheetExpanded(VARIANT_BOOL pRet/*[in]*/);

  __property   BSTR            FormName = {read = get_FormName, write = set_FormName};
  __property   BSTR            RecordSource = {read = get_RecordSource, write = set_RecordSource};
  __property   BSTR            Filter = {read = get_Filter, write = set_Filter};
  __property   VARIANT_BOOL    FilterOn = {read = get_FilterOn, write = set_FilterOn};
  __property   BSTR            OrderBy = {read = get_OrderBy, write = set_OrderBy};
  __property   VARIANT_BOOL    OrderByOn = {read = get_OrderByOn, write = set_OrderByOn};
  __property   VARIANT_BOOL    AllowFilters = {read = get_AllowFilters, write = set_AllowFilters};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   unsigned_char   DefaultView = {read = get_DefaultView, write = set_DefaultView};
  __property   unsigned_char   ViewsAllowed = {read = get_ViewsAllowed, write = set_ViewsAllowed};
  __property   VARIANT_BOOL    AllowEditing = {read = get_AllowEditing, write = set_AllowEditing};
  __property   short           DefaultEditing = {read = get_DefaultEditing, write = set_DefaultEditing};
  __property   VARIANT_BOOL    AllowEdits = {read = get_AllowEdits, write = set_AllowEdits};
  __property   VARIANT_BOOL    AllowDeletions = {read = get_AllowDeletions, write = set_AllowDeletions};
  __property   VARIANT_BOOL    AllowAdditions = {read = get_AllowAdditions, write = set_AllowAdditions};
  __property   VARIANT_BOOL    DataEntry = {read = get_DataEntry, write = set_DataEntry};
  __property   unsigned_char   AllowUpdating = {read = get_AllowUpdating, write = set_AllowUpdating};
  __property   unsigned_char   RecordsetType = {read = get_RecordsetType, write = set_RecordsetType};
  __property   unsigned_char   RecordLocks = {read = get_RecordLocks, write = set_RecordLocks};
  __property   unsigned_char   ScrollBars = {read = get_ScrollBars, write = set_ScrollBars};
  __property   VARIANT_BOOL    RecordSelectors = {read = get_RecordSelectors, write = set_RecordSelectors};
  __property   VARIANT_BOOL    NavigationButtons = {read = get_NavigationButtons, write = set_NavigationButtons};
  __property   VARIANT_BOOL    DividingLines = {read = get_DividingLines, write = set_DividingLines};
  __property   VARIANT_BOOL    AutoResize = {read = get_AutoResize, write = set_AutoResize};
  __property   VARIANT_BOOL    AutoCenter = {read = get_AutoCenter, write = set_AutoCenter};
  __property   VARIANT_BOOL    PopUp = {read = get_PopUp, write = set_PopUp};
  __property   VARIANT_BOOL    Modal = {read = get_Modal, write = set_Modal};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   VARIANT_BOOL    ControlBox = {read = get_ControlBox, write = set_ControlBox};
  __property   VARIANT_BOOL    MinButton = {read = get_MinButton, write = set_MinButton};
  __property   VARIANT_BOOL    MaxButton = {read = get_MaxButton, write = set_MaxButton};
  __property   unsigned_char   MinMaxButtons = {read = get_MinMaxButtons, write = set_MinMaxButtons};
  __property   VARIANT_BOOL    CloseButton = {read = get_CloseButton, write = set_CloseButton};
  __property   VARIANT_BOOL    WhatsThisButton = {read = get_WhatsThisButton, write = set_WhatsThisButton};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   unsigned_char   PictureSizeMode = {read = get_PictureSizeMode, write = set_PictureSizeMode};
  __property   unsigned_char   PictureAlignment = {read = get_PictureAlignment, write = set_PictureAlignment};
  __property   VARIANT_BOOL    PictureTiling = {read = get_PictureTiling, write = set_PictureTiling};
  __property   unsigned_char   Cycle = {read = get_Cycle, write = set_Cycle};
  __property   BSTR            MenuBar = {read = get_MenuBar, write = set_MenuBar};
  __property   BSTR            Toolbar = {read = get_Toolbar, write = set_Toolbar};
  __property   VARIANT_BOOL    ShortcutMenu = {read = get_ShortcutMenu, write = set_ShortcutMenu};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   short           GridX = {read = get_GridX, write = set_GridX};
  __property   short           GridY = {read = get_GridY, write = set_GridY};
  __property   VARIANT_BOOL    LayoutForPrint = {read = get_LayoutForPrint, write = set_LayoutForPrint};
  __property   VARIANT_BOOL    FastLaserPrinting = {read = get_FastLaserPrinting, write = set_FastLaserPrinting};
  __property   BSTR            HelpFile = {read = get_HelpFile, write = set_HelpFile};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           RowHeight = {read = get_RowHeight, write = set_RowHeight};
  __property   BSTR            DatasheetFontName = {read = get_DatasheetFontName, write = set_DatasheetFontName};
  __property   short           DatasheetFontHeight = {read = get_DatasheetFontHeight, write = set_DatasheetFontHeight};
  __property   short           DatasheetFontWeight = {read = get_DatasheetFontWeight, write = set_DatasheetFontWeight};
  __property   VARIANT_BOOL    DatasheetFontItalic = {read = get_DatasheetFontItalic, write = set_DatasheetFontItalic};
  __property   VARIANT_BOOL    DatasheetFontUnderline = {read = get_DatasheetFontUnderline, write = set_DatasheetFontUnderline};
  __property   unsigned_char   TabularCharSet = {read = get_TabularCharSet, write = set_TabularCharSet};
  __property   unsigned_char   DatasheetGridlinesBehavior = {read = get_DatasheetGridlinesBehavior, write = set_DatasheetGridlinesBehavior};
  __property   long            DatasheetGridlinesColor = {read = get_DatasheetGridlinesColor, write = set_DatasheetGridlinesColor};
  __property   unsigned_char   DatasheetCellsEffect = {read = get_DatasheetCellsEffect, write = set_DatasheetCellsEffect};
  __property   long            DatasheetForeColor = {read = get_DatasheetForeColor, write = set_DatasheetForeColor};
  __property   VARIANT_BOOL    ShowGrid = {read = get_ShowGrid, write = set_ShowGrid};
  __property   long            DatasheetBackColor = {read = get_DatasheetBackColor, write = set_DatasheetBackColor};
  __property   long            Hwnd = {read = get_Hwnd, write = set_Hwnd};
  __property   short           Count = {read = get_Count, write = set_Count};
  __property   long            Page = {read = get_Page, write = set_Page};
  __property   short           Pages = {read = get_Pages, write = set_Pages};
  __property   long            LogicalPageWidth = {read = get_LogicalPageWidth, write = set_LogicalPageWidth};
  __property   long            LogicalPageHeight = {read = get_LogicalPageHeight, write = set_LogicalPageHeight};
  __property   long            ZoomControl = {read = get_ZoomControl, write = set_ZoomControl};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    Painting = {read = get_Painting, write = set_Painting};
  __property   short           FrozenColumns = {read = get_FrozenColumns, write = set_FrozenColumns};
  __property   unsigned_char   TabularFamily = {read = get_TabularFamily, write = set_TabularFamily};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   BSTR            PaletteSource = {read = get_PaletteSource, write = set_PaletteSource};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            OnMenu = {read = get_OnMenu, write = set_OnMenu};
  __property   short           ConnectSynch = {read = get_ConnectSynch, write = set_ConnectSynch};
  __property   BSTR            OnCurrent = {read = get_OnCurrent, write = set_OnCurrent};
  __property   BSTR            OnInsert = {read = get_OnInsert, write = set_OnInsert};
  __property   BSTR            BeforeInsert = {read = get_BeforeInsert, write = set_BeforeInsert};
  __property   BSTR            AfterInsert = {read = get_AfterInsert, write = set_AfterInsert};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnDirty = {read = get_OnDirty, write = set_OnDirty};
  __property   BSTR            OnDelete = {read = get_OnDelete, write = set_OnDelete};
  __property   BSTR            BeforeDelConfirm = {read = get_BeforeDelConfirm, write = set_BeforeDelConfirm};
  __property   BSTR            AfterDelConfirm = {read = get_AfterDelConfirm, write = set_AfterDelConfirm};
  __property   BSTR            OnOpen = {read = get_OnOpen, write = set_OnOpen};
  __property   BSTR            OnLoad = {read = get_OnLoad, write = set_OnLoad};
  __property   BSTR            OnResize = {read = get_OnResize, write = set_OnResize};
  __property   BSTR            OnUnload = {read = get_OnUnload, write = set_OnUnload};
  __property   BSTR            OnClose = {read = get_OnClose, write = set_OnClose};
  __property   BSTR            OnActivate = {read = get_OnActivate, write = set_OnActivate};
  __property   BSTR            OnDeactivate = {read = get_OnDeactivate, write = set_OnDeactivate};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   VARIANT_BOOL    KeyPreview = {read = get_KeyPreview, write = set_KeyPreview};
  __property   BSTR            OnError = {read = get_OnError, write = set_OnError};
  __property   BSTR            OnFilter = {read = get_OnFilter, write = set_OnFilter};
  __property   BSTR            OnApplyFilter = {read = get_OnApplyFilter, write = set_OnApplyFilter};
  __property   BSTR            OnTimer = {read = get_OnTimer, write = set_OnTimer};
  __property   long            TimerInterval = {read = get_TimerInterval, write = set_TimerInterval};
  __property   VARIANT_BOOL    Dirty = {read = get_Dirty, write = set_Dirty};
  __property   short           WindowWidth = {read = get_WindowWidth, write = set_WindowWidth};
  __property   short           WindowHeight = {read = get_WindowHeight, write = set_WindowHeight};
  __property   short           CurrentView = {read = get_CurrentView, write = set_CurrentView};
  __property   short           CurrentSectionTop = {read = get_CurrentSectionTop, write = set_CurrentSectionTop};
  __property   short           CurrentSectionLeft = {read = get_CurrentSectionLeft, write = set_CurrentSectionLeft};
  __property   long            SelLeft = {read = get_SelLeft, write = set_SelLeft};
  __property   long            SelTop = {read = get_SelTop, write = set_SelTop};
  __property   long            SelWidth = {read = get_SelWidth, write = set_SelWidth};
  __property   long            SelHeight = {read = get_SelHeight, write = set_SelHeight};
  __property   long            CurrentRecord = {read = get_CurrentRecord, write = set_CurrentRecord};
  __property   long            InsideHeight = {read = get_InsideHeight, write = set_InsideHeight};
  __property   long            InsideWidth = {read = get_InsideWidth, write = set_InsideWidth};
  __property   VARIANT_BOOL    HasModule = {read = get_HasModule, write = set_HasModule};
  __property   long            acHiddenCurrentPage = {read = get_acHiddenCurrentPage, write = set_acHiddenCurrentPage};
  __property   unsigned_char   Orientation = {read = get_Orientation, write = set_Orientation};
  __property   VARIANT_BOOL    AllowDesignChanges = {read = get_AllowDesignChanges, write = set_AllowDesignChanges};
  __property   BSTR            ServerFilter = {read = get_ServerFilter, write = set_ServerFilter};
  __property   VARIANT_BOOL    ServerFilterByForm = {read = get_ServerFilterByForm, write = set_ServerFilterByForm};
  __property   long            MaxRecords = {read = get_MaxRecords, write = set_MaxRecords};
  __property   BSTR            UniqueTable = {read = get_UniqueTable, write = set_UniqueTable};
  __property   BSTR            ResyncCommand = {read = get_ResyncCommand, write = set_ResyncCommand};
  __property   BSTR            InputParameters = {read = get_InputParameters, write = set_InputParameters};
  __property   VARIANT_BOOL    MaxRecButton = {read = get_MaxRecButton, write = set_MaxRecButton};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   short           NewRecord = {read = get_NewRecord};
  __property   Access_2k::AccessControlPtr ActiveControl = {read = get_ActiveControl};
  __property   LPDISPATCH      Dynaset = {read = get_Dynaset};
  __property   LPDISPATCH      RecordsetClone = {read = get_RecordsetClone};
  __property   LPDISPATCH      Recordset = {read = get_Recordset, write = _set_Recordset};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::ModulePtr Module = {read = get_Module};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::AccessControlPtr ConnectControl = {read = get_ConnectControl};
  __property   Access_2k::Controls_Ptr Controls = {read = get_Controls};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   short           SubdatasheetHeight = {read = get_SubdatasheetHeight, write = set_SubdatasheetHeight};
  __property   VARIANT_BOOL    SubdatasheetExpanded = {read = get_SubdatasheetExpanded, write = set_SubdatasheetExpanded};
};
typedef TCOM_FormT<_Form> TCOM_Form;

// *********************************************************************//
// DispIntf:  _Form
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {E5135D80-8F8D-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template<class T>
class _FormDispT : public TAutoDriver<_Form>
{
public:
  _FormDispT(){}

  _FormDispT(_Form *pintf)
  {
    TAutoDriver<_Form>::Bind(pintf, false);
  }

  _FormDispT(_FormPtr pintf)
  {
    TAutoDriver<_Form>::Bind(pintf, true);
  }

  _FormDispT& operator=(_Form *pintf)
  {
    TAutoDriver<_Form>::Bind(pintf, false);
    return *this;
  }

  _FormDispT& operator=(_FormPtr pintf)
  {
    TAutoDriver<_Form>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessForm));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessForm);
  }

  HRESULT         __fastcall get_FormName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FormName(void);
  HRESULT         __fastcall set_FormName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RecordSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RecordSource(void);
  HRESULT         __fastcall set_RecordSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Filter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Filter(void);
  HRESULT         __fastcall set_Filter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FilterOn(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FilterOn(void);
  HRESULT         __fastcall set_FilterOn(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OrderBy(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OrderBy(void);
  HRESULT         __fastcall set_OrderBy(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OrderByOn(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_OrderByOn(void);
  HRESULT         __fastcall set_OrderByOn(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowFilters(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowFilters(void);
  HRESULT         __fastcall set_AllowFilters(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultView(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DefaultView(void);
  HRESULT         __fastcall set_DefaultView(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ViewsAllowed(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ViewsAllowed(void);
  HRESULT         __fastcall set_ViewsAllowed(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_AllowEditing(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowEditing(void);
  HRESULT         __fastcall set_AllowEditing(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DefaultEditing(short* pRet/*[out,retval]*/);
  short           __fastcall get_DefaultEditing(void);
  HRESULT         __fastcall set_DefaultEditing(short pRet/*[in]*/);
  HRESULT         __fastcall get_AllowEdits(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowEdits(void);
  HRESULT         __fastcall set_AllowEdits(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowDeletions(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowDeletions(void);
  HRESULT         __fastcall set_AllowDeletions(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowAdditions(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowAdditions(void);
  HRESULT         __fastcall set_AllowAdditions(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DataEntry(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DataEntry(void);
  HRESULT         __fastcall set_DataEntry(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AllowUpdating(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_AllowUpdating(void);
  HRESULT         __fastcall set_AllowUpdating(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_RecordsetType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_RecordsetType(void);
  HRESULT         __fastcall set_RecordsetType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_RecordLocks(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_RecordLocks(void);
  HRESULT         __fastcall set_RecordLocks(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ScrollBars(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_ScrollBars(void);
  HRESULT         __fastcall set_ScrollBars(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_RecordSelectors(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_RecordSelectors(void);
  HRESULT         __fastcall set_RecordSelectors(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_NavigationButtons(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_NavigationButtons(void);
  HRESULT         __fastcall set_NavigationButtons(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DividingLines(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DividingLines(void);
  HRESULT         __fastcall set_DividingLines(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoResize(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoResize(void);
  HRESULT         __fastcall set_AutoResize(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_AutoCenter(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AutoCenter(void);
  HRESULT         __fastcall set_AutoCenter(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_PopUp(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_PopUp(void);
  HRESULT         __fastcall set_PopUp(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Modal(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Modal(void);
  HRESULT         __fastcall set_Modal(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_BorderStyle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_BorderStyle(void);
  HRESULT         __fastcall set_BorderStyle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_ControlBox(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ControlBox(void);
  HRESULT         __fastcall set_ControlBox(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MinButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MinButton(void);
  HRESULT         __fastcall set_MinButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MaxButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MaxButton(void);
  HRESULT         __fastcall set_MaxButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MinMaxButtons(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_MinMaxButtons(void);
  HRESULT         __fastcall set_MinMaxButtons(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_CloseButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CloseButton(void);
  HRESULT         __fastcall set_CloseButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_WhatsThisButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_WhatsThisButton(void);
  HRESULT         __fastcall set_WhatsThisButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureSizeMode(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureSizeMode(void);
  HRESULT         __fastcall set_PictureSizeMode(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureAlignment(void);
  HRESULT         __fastcall set_PictureAlignment(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_PictureTiling(void);
  HRESULT         __fastcall set_PictureTiling(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Cycle(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Cycle(void);
  HRESULT         __fastcall set_Cycle(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_MenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_MenuBar(void);
  HRESULT         __fastcall set_MenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Toolbar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Toolbar(void);
  HRESULT         __fastcall set_Toolbar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenu(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ShortcutMenu(void);
  HRESULT         __fastcall set_ShortcutMenu(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_GridX(short* pRet/*[out,retval]*/);
  short           __fastcall get_GridX(void);
  HRESULT         __fastcall set_GridX(short pRet/*[in]*/);
  HRESULT         __fastcall get_GridY(short* pRet/*[out,retval]*/);
  short           __fastcall get_GridY(void);
  HRESULT         __fastcall set_GridY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LayoutForPrint(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_LayoutForPrint(void);
  HRESULT         __fastcall set_LayoutForPrint(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FastLaserPrinting(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FastLaserPrinting(void);
  HRESULT         __fastcall set_FastLaserPrinting(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_HelpFile(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HelpFile(void);
  HRESULT         __fastcall set_HelpFile(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_RowHeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_RowHeight(void);
  HRESULT         __fastcall set_RowHeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetFontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_DatasheetFontName(void);
  HRESULT         __fastcall set_DatasheetFontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetFontHeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_DatasheetFontHeight(void);
  HRESULT         __fastcall set_DatasheetFontHeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetFontWeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_DatasheetFontWeight(void);
  HRESULT         __fastcall set_DatasheetFontWeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetFontItalic(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DatasheetFontItalic(void);
  HRESULT         __fastcall set_DatasheetFontItalic(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetFontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DatasheetFontUnderline(void);
  HRESULT         __fastcall set_DatasheetFontUnderline(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_TabularCharSet(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TabularCharSet(void);
  HRESULT         __fastcall set_TabularCharSet(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetGridlinesBehavior(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DatasheetGridlinesBehavior(void);
  HRESULT         __fastcall set_DatasheetGridlinesBehavior(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetGridlinesColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_DatasheetGridlinesColor(void);
  HRESULT         __fastcall set_DatasheetGridlinesColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetCellsEffect(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DatasheetCellsEffect(void);
  HRESULT         __fastcall set_DatasheetCellsEffect(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_DatasheetForeColor(void);
  HRESULT         __fastcall set_DatasheetForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_ShowGrid(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ShowGrid(void);
  HRESULT         __fastcall set_ShowGrid(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_DatasheetBackColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_DatasheetBackColor(void);
  HRESULT         __fastcall set_DatasheetBackColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_Hwnd(long* pRet/*[out,retval]*/);
  long            __fastcall get_Hwnd(void);
  HRESULT         __fastcall set_Hwnd(long pRet/*[in]*/);
  HRESULT         __fastcall get_Count(short* pRet/*[out,retval]*/);
  short           __fastcall get_Count(void);
  HRESULT         __fastcall set_Count(short pRet/*[in]*/);
  HRESULT         __fastcall get_Page(long* pRet/*[out,retval]*/);
  long            __fastcall get_Page(void);
  HRESULT         __fastcall set_Page(long pRet/*[in]*/);
  HRESULT         __fastcall get_Pages(short* pRet/*[out,retval]*/);
  short           __fastcall get_Pages(void);
  HRESULT         __fastcall set_Pages(short pRet/*[in]*/);
  HRESULT         __fastcall get_LogicalPageWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_LogicalPageWidth(void);
  HRESULT         __fastcall set_LogicalPageWidth(long pRet/*[in]*/);
  HRESULT         __fastcall get_LogicalPageHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_LogicalPageHeight(void);
  HRESULT         __fastcall set_LogicalPageHeight(long pRet/*[in]*/);
  HRESULT         __fastcall get_ZoomControl(long* pRet/*[out,retval]*/);
  long            __fastcall get_ZoomControl(void);
  HRESULT         __fastcall set_ZoomControl(long pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Painting(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Painting(void);
  HRESULT         __fastcall set_Painting(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_PrtMip(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtMip(void);
  HRESULT         __fastcall set_PrtMip(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_PrtDevMode(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtDevMode(void);
  HRESULT         __fastcall set_PrtDevMode(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_PrtDevNames(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtDevNames(void);
  HRESULT         __fastcall set_PrtDevNames(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_FrozenColumns(short* pRet/*[out,retval]*/);
  short           __fastcall get_FrozenColumns(void);
  HRESULT         __fastcall set_FrozenColumns(short pRet/*[in]*/);
  HRESULT         __fastcall get_Bookmark(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Bookmark(void);
  HRESULT         __fastcall set_Bookmark(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_TabularFamily(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_TabularFamily(void);
  HRESULT         __fastcall set_TabularFamily(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PaletteSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_PaletteSource(void);
  HRESULT         __fastcall set_PaletteSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PaintPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PaintPalette(void);
  HRESULT         __fastcall set_PaintPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_OnMenu(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMenu(void);
  HRESULT         __fastcall set_OnMenu(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OpenArgs(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_OpenArgs(void);
  HRESULT         __fastcall set_OpenArgs(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_ConnectSynch(short* pRet/*[out,retval]*/);
  short           __fastcall get_ConnectSynch(void);
  HRESULT         __fastcall set_ConnectSynch(short pRet/*[in]*/);
  HRESULT         __fastcall get_OnCurrent(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnCurrent(void);
  HRESULT         __fastcall set_OnCurrent(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnInsert(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnInsert(void);
  HRESULT         __fastcall set_OnInsert(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeInsert(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeInsert(void);
  HRESULT         __fastcall set_BeforeInsert(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterInsert(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterInsert(void);
  HRESULT         __fastcall set_AfterInsert(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeUpdate(void);
  HRESULT         __fastcall set_BeforeUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterUpdate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterUpdate(void);
  HRESULT         __fastcall set_AfterUpdate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDirty(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDirty(void);
  HRESULT         __fastcall set_OnDirty(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDelete(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDelete(void);
  HRESULT         __fastcall set_OnDelete(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_BeforeDelConfirm(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_BeforeDelConfirm(void);
  HRESULT         __fastcall set_BeforeDelConfirm(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_AfterDelConfirm(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_AfterDelConfirm(void);
  HRESULT         __fastcall set_AfterDelConfirm(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnOpen(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnOpen(void);
  HRESULT         __fastcall set_OnOpen(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLoad(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLoad(void);
  HRESULT         __fastcall set_OnLoad(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnResize(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnResize(void);
  HRESULT         __fastcall set_OnResize(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnUnload(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnUnload(void);
  HRESULT         __fastcall set_OnUnload(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClose(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClose(void);
  HRESULT         __fastcall set_OnClose(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnActivate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnActivate(void);
  HRESULT         __fastcall set_OnActivate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDeactivate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDeactivate(void);
  HRESULT         __fastcall set_OnDeactivate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnGotFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnGotFocus(void);
  HRESULT         __fastcall set_OnGotFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnLostFocus(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnLostFocus(void);
  HRESULT         __fastcall set_OnLostFocus(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClick(void);
  HRESULT         __fastcall set_OnClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDblClick(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDblClick(void);
  HRESULT         __fastcall set_OnDblClick(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseDown(void);
  HRESULT         __fastcall set_OnMouseDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseMove(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseMove(void);
  HRESULT         __fastcall set_OnMouseMove(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnMouseUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMouseUp(void);
  HRESULT         __fastcall set_OnMouseUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyDown(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyDown(void);
  HRESULT         __fastcall set_OnKeyDown(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyUp(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyUp(void);
  HRESULT         __fastcall set_OnKeyUp(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnKeyPress(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnKeyPress(void);
  HRESULT         __fastcall set_OnKeyPress(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_KeyPreview(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_KeyPreview(void);
  HRESULT         __fastcall set_KeyPreview(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OnError(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnError(void);
  HRESULT         __fastcall set_OnError(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnFilter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnFilter(void);
  HRESULT         __fastcall set_OnFilter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnApplyFilter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnApplyFilter(void);
  HRESULT         __fastcall set_OnApplyFilter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnTimer(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnTimer(void);
  HRESULT         __fastcall set_OnTimer(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_TimerInterval(long* pRet/*[out,retval]*/);
  long            __fastcall get_TimerInterval(void);
  HRESULT         __fastcall set_TimerInterval(long pRet/*[in]*/);
  HRESULT         __fastcall get_Dirty(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Dirty(void);
  HRESULT         __fastcall set_Dirty(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_WindowWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_WindowWidth(void);
  HRESULT         __fastcall set_WindowWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_WindowHeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_WindowHeight(void);
  HRESULT         __fastcall set_WindowHeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentView(short* pRet/*[out,retval]*/);
  short           __fastcall get_CurrentView(void);
  HRESULT         __fastcall set_CurrentView(short pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentSectionTop(short* pRet/*[out,retval]*/);
  short           __fastcall get_CurrentSectionTop(void);
  HRESULT         __fastcall set_CurrentSectionTop(short pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentSectionLeft(short* pRet/*[out,retval]*/);
  short           __fastcall get_CurrentSectionLeft(void);
  HRESULT         __fastcall set_CurrentSectionLeft(short pRet/*[in]*/);
  HRESULT         __fastcall get_SelLeft(long* pRet/*[out,retval]*/);
  long            __fastcall get_SelLeft(void);
  HRESULT         __fastcall set_SelLeft(long pRet/*[in]*/);
  HRESULT         __fastcall get_SelTop(long* pRet/*[out,retval]*/);
  long            __fastcall get_SelTop(void);
  HRESULT         __fastcall set_SelTop(long pRet/*[in]*/);
  HRESULT         __fastcall get_SelWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_SelWidth(void);
  HRESULT         __fastcall set_SelWidth(long pRet/*[in]*/);
  HRESULT         __fastcall get_SelHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_SelHeight(void);
  HRESULT         __fastcall set_SelHeight(long pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentRecord(long* pRet/*[out,retval]*/);
  long            __fastcall get_CurrentRecord(void);
  HRESULT         __fastcall set_CurrentRecord(long pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_InsideHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_InsideHeight(void);
  HRESULT         __fastcall set_InsideHeight(long pRet/*[in]*/);
  HRESULT         __fastcall get_InsideWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_InsideWidth(void);
  HRESULT         __fastcall set_InsideWidth(long pRet/*[in]*/);
  HRESULT         __fastcall get_PicturePalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PicturePalette(void);
  HRESULT         __fastcall set_PicturePalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_HasModule(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HasModule(void);
  HRESULT         __fastcall set_HasModule(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_acHiddenCurrentPage(long* pRet/*[out,retval]*/);
  long            __fastcall get_acHiddenCurrentPage(void);
  HRESULT         __fastcall set_acHiddenCurrentPage(long pRet/*[in]*/);
  HRESULT         __fastcall get_Orientation(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Orientation(void);
  HRESULT         __fastcall set_Orientation(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_AllowDesignChanges(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AllowDesignChanges(void);
  HRESULT         __fastcall set_AllowDesignChanges(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ServerFilter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ServerFilter(void);
  HRESULT         __fastcall set_ServerFilter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ServerFilterByForm(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_ServerFilterByForm(void);
  HRESULT         __fastcall set_ServerFilterByForm(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MaxRecords(long* pRet/*[out,retval]*/);
  long            __fastcall get_MaxRecords(void);
  HRESULT         __fastcall set_MaxRecords(long pRet/*[in]*/);
  HRESULT         __fastcall get_UniqueTable(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_UniqueTable(void);
  HRESULT         __fastcall set_UniqueTable(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ResyncCommand(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ResyncCommand(void);
  HRESULT         __fastcall set_ResyncCommand(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_InputParameters(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_InputParameters(void);
  HRESULT         __fastcall set_InputParameters(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_MaxRecButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MaxRecButton(void);
  HRESULT         __fastcall set_MaxRecButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_NewRecord(short* pRet/*[out,retval]*/);
  short           __fastcall get_NewRecord(void);
  HRESULT         __fastcall Undo();
  HRESULT         __fastcall get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControlPtr __fastcall get_ActiveControl(void);
  HRESULT         __fastcall get_DefaultControl(long ControlType/*[in]*/, 
                                                Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall get_DefaultControl(long ControlType/*[in]*/);
  HRESULT         __fastcall get_Dynaset(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Dynaset(void);
  HRESULT         __fastcall get_RecordsetClone(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_RecordsetClone(void);
  HRESULT         __fastcall get_Recordset(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Recordset(void);
  HRESULT         __fastcall _set_Recordset(LPDISPATCH pRet/*[in]*/);
  HRESULT         __fastcall get_Section(VARIANT Index/*[in]*/, 
                                         Access_2k::AccessSection** pRet/*[out,retval]*/);
  Access_2k::AccessSection* __fastcall get_Section(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessFormPtr __fastcall get_Form(void);
  HRESULT         __fastcall get_Module(Access_2k::Module** pRet/*[out,retval]*/);
  Access_2k::ModulePtr __fastcall get_Module(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall get_ConnectControl(Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControlPtr __fastcall get_ConnectControl(void);
  HRESULT         __fastcall Recalc();
  HRESULT         __fastcall Requery();
  HRESULT         __fastcall Refresh();
  HRESULT         __fastcall Repaint();
  HRESULT         __fastcall GoToPage(long PageNumber/*[in]*/, long Right/*[in,def,opt]*/, 
                                      long Down/*[in,def,opt]*/);
  HRESULT         __fastcall SetFocus();
  HRESULT         __fastcall get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/);
  Access_2k::Controls_Ptr __fastcall get_Controls(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);
  HRESULT         __fastcall get_SubdatasheetHeight(short* pRet/*[out,retval]*/);
  short           __fastcall get_SubdatasheetHeight(void);
  HRESULT         __fastcall set_SubdatasheetHeight(short pRet/*[in]*/);
  HRESULT         __fastcall get_SubdatasheetExpanded(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_SubdatasheetExpanded(void);
  HRESULT         __fastcall set_SubdatasheetExpanded(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accParent(void);
  HRESULT         __fastcall get_accChildCount(long* pcountChildren/*[out,retval]*/);
  long            __fastcall get_accChildCount(void);
  HRESULT         __fastcall get_accChild(VARIANT varChild/*[in]*/, 
                                          LPDISPATCH* ppdispChild/*[out,retval]*/);
  LPDISPATCH      __fastcall get_accChild(VARIANT varChild/*[in]*/);
  HRESULT         __fastcall get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/);
  BSTR            __fastcall get_accName(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accValue(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszValue/*[out,retval]*/);
  BSTR            __fastcall get_accValue(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDescription/*[out,retval]*/);
  BSTR            __fastcall get_accDescription(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/, 
                                         VARIANT* pvarRole/*[out,retval]*/);
  VARIANT         __fastcall get_accRole(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/, 
                                          VARIANT* pvarState/*[out,retval]*/);
  VARIANT         __fastcall get_accState(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/);
  BSTR            __fastcall get_accHelp(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/, 
                                              long* pidTopic/*[out,retval]*/);
  long            __fastcall get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, 
                                              VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                     BSTR* pszKeyboardShortcut/*[out,retval]*/);
  BSTR            __fastcall get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_accFocus(VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall get_accFocus(void);
  HRESULT         __fastcall get_accSelection(VARIANT* pvarChildren/*[out,retval]*/);
  VARIANT         __fastcall get_accSelection(void);
  HRESULT         __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                  BSTR* pszDefaultAction/*[out,retval]*/);
  BSTR            __fastcall get_accDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accSelect(long flagsSelect/*[in]*/, 
                                       VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                         long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                         VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                         VARIANT* pvarEndUpAt/*[out,retval]*/);
  VARIANT         __fastcall accNavigate(long navDir/*[in]*/, 
                                         VARIANT varStart/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                        VARIANT* pvarChild/*[out,retval]*/);
  VARIANT         __fastcall accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/);
  HRESULT         __fastcall accDoDefaultAction(VARIANT varChild/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/);
  HRESULT         __fastcall set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/);

  __property   BSTR            FormName = {read = get_FormName, write = set_FormName};
  __property   BSTR            RecordSource = {read = get_RecordSource, write = set_RecordSource};
  __property   BSTR            Filter = {read = get_Filter, write = set_Filter};
  __property   VARIANT_BOOL    FilterOn = {read = get_FilterOn, write = set_FilterOn};
  __property   BSTR            OrderBy = {read = get_OrderBy, write = set_OrderBy};
  __property   VARIANT_BOOL    OrderByOn = {read = get_OrderByOn, write = set_OrderByOn};
  __property   VARIANT_BOOL    AllowFilters = {read = get_AllowFilters, write = set_AllowFilters};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   unsigned_char   DefaultView = {read = get_DefaultView, write = set_DefaultView};
  __property   unsigned_char   ViewsAllowed = {read = get_ViewsAllowed, write = set_ViewsAllowed};
  __property   VARIANT_BOOL    AllowEditing = {read = get_AllowEditing, write = set_AllowEditing};
  __property   short           DefaultEditing = {read = get_DefaultEditing, write = set_DefaultEditing};
  __property   VARIANT_BOOL    AllowEdits = {read = get_AllowEdits, write = set_AllowEdits};
  __property   VARIANT_BOOL    AllowDeletions = {read = get_AllowDeletions, write = set_AllowDeletions};
  __property   VARIANT_BOOL    AllowAdditions = {read = get_AllowAdditions, write = set_AllowAdditions};
  __property   VARIANT_BOOL    DataEntry = {read = get_DataEntry, write = set_DataEntry};
  __property   unsigned_char   AllowUpdating = {read = get_AllowUpdating, write = set_AllowUpdating};
  __property   unsigned_char   RecordsetType = {read = get_RecordsetType, write = set_RecordsetType};
  __property   unsigned_char   RecordLocks = {read = get_RecordLocks, write = set_RecordLocks};
  __property   unsigned_char   ScrollBars = {read = get_ScrollBars, write = set_ScrollBars};
  __property   VARIANT_BOOL    RecordSelectors = {read = get_RecordSelectors, write = set_RecordSelectors};
  __property   VARIANT_BOOL    NavigationButtons = {read = get_NavigationButtons, write = set_NavigationButtons};
  __property   VARIANT_BOOL    DividingLines = {read = get_DividingLines, write = set_DividingLines};
  __property   VARIANT_BOOL    AutoResize = {read = get_AutoResize, write = set_AutoResize};
  __property   VARIANT_BOOL    AutoCenter = {read = get_AutoCenter, write = set_AutoCenter};
  __property   VARIANT_BOOL    PopUp = {read = get_PopUp, write = set_PopUp};
  __property   VARIANT_BOOL    Modal = {read = get_Modal, write = set_Modal};
  __property   unsigned_char   BorderStyle = {read = get_BorderStyle, write = set_BorderStyle};
  __property   VARIANT_BOOL    ControlBox = {read = get_ControlBox, write = set_ControlBox};
  __property   VARIANT_BOOL    MinButton = {read = get_MinButton, write = set_MinButton};
  __property   VARIANT_BOOL    MaxButton = {read = get_MaxButton, write = set_MaxButton};
  __property   unsigned_char   MinMaxButtons = {read = get_MinMaxButtons, write = set_MinMaxButtons};
  __property   VARIANT_BOOL    CloseButton = {read = get_CloseButton, write = set_CloseButton};
  __property   VARIANT_BOOL    WhatsThisButton = {read = get_WhatsThisButton, write = set_WhatsThisButton};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   unsigned_char   PictureSizeMode = {read = get_PictureSizeMode, write = set_PictureSizeMode};
  __property   unsigned_char   PictureAlignment = {read = get_PictureAlignment, write = set_PictureAlignment};
  __property   VARIANT_BOOL    PictureTiling = {read = get_PictureTiling, write = set_PictureTiling};
  __property   unsigned_char   Cycle = {read = get_Cycle, write = set_Cycle};
  __property   BSTR            MenuBar = {read = get_MenuBar, write = set_MenuBar};
  __property   BSTR            Toolbar = {read = get_Toolbar, write = set_Toolbar};
  __property   VARIANT_BOOL    ShortcutMenu = {read = get_ShortcutMenu, write = set_ShortcutMenu};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   short           GridX = {read = get_GridX, write = set_GridX};
  __property   short           GridY = {read = get_GridY, write = set_GridY};
  __property   VARIANT_BOOL    LayoutForPrint = {read = get_LayoutForPrint, write = set_LayoutForPrint};
  __property   VARIANT_BOOL    FastLaserPrinting = {read = get_FastLaserPrinting, write = set_FastLaserPrinting};
  __property   BSTR            HelpFile = {read = get_HelpFile, write = set_HelpFile};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   short           RowHeight = {read = get_RowHeight, write = set_RowHeight};
  __property   BSTR            DatasheetFontName = {read = get_DatasheetFontName, write = set_DatasheetFontName};
  __property   short           DatasheetFontHeight = {read = get_DatasheetFontHeight, write = set_DatasheetFontHeight};
  __property   short           DatasheetFontWeight = {read = get_DatasheetFontWeight, write = set_DatasheetFontWeight};
  __property   VARIANT_BOOL    DatasheetFontItalic = {read = get_DatasheetFontItalic, write = set_DatasheetFontItalic};
  __property   VARIANT_BOOL    DatasheetFontUnderline = {read = get_DatasheetFontUnderline, write = set_DatasheetFontUnderline};
  __property   unsigned_char   TabularCharSet = {read = get_TabularCharSet, write = set_TabularCharSet};
  __property   unsigned_char   DatasheetGridlinesBehavior = {read = get_DatasheetGridlinesBehavior, write = set_DatasheetGridlinesBehavior};
  __property   long            DatasheetGridlinesColor = {read = get_DatasheetGridlinesColor, write = set_DatasheetGridlinesColor};
  __property   unsigned_char   DatasheetCellsEffect = {read = get_DatasheetCellsEffect, write = set_DatasheetCellsEffect};
  __property   long            DatasheetForeColor = {read = get_DatasheetForeColor, write = set_DatasheetForeColor};
  __property   VARIANT_BOOL    ShowGrid = {read = get_ShowGrid, write = set_ShowGrid};
  __property   long            DatasheetBackColor = {read = get_DatasheetBackColor, write = set_DatasheetBackColor};
  __property   long            Hwnd = {read = get_Hwnd, write = set_Hwnd};
  __property   short           Count = {read = get_Count, write = set_Count};
  __property   long            Page = {read = get_Page, write = set_Page};
  __property   short           Pages = {read = get_Pages, write = set_Pages};
  __property   long            LogicalPageWidth = {read = get_LogicalPageWidth, write = set_LogicalPageWidth};
  __property   long            LogicalPageHeight = {read = get_LogicalPageHeight, write = set_LogicalPageHeight};
  __property   long            ZoomControl = {read = get_ZoomControl, write = set_ZoomControl};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    Painting = {read = get_Painting, write = set_Painting};
  __property   short           FrozenColumns = {read = get_FrozenColumns, write = set_FrozenColumns};
  __property   unsigned_char   TabularFamily = {read = get_TabularFamily, write = set_TabularFamily};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   BSTR            PaletteSource = {read = get_PaletteSource, write = set_PaletteSource};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            OnMenu = {read = get_OnMenu, write = set_OnMenu};
  __property   short           ConnectSynch = {read = get_ConnectSynch, write = set_ConnectSynch};
  __property   BSTR            OnCurrent = {read = get_OnCurrent, write = set_OnCurrent};
  __property   BSTR            OnInsert = {read = get_OnInsert, write = set_OnInsert};
  __property   BSTR            BeforeInsert = {read = get_BeforeInsert, write = set_BeforeInsert};
  __property   BSTR            AfterInsert = {read = get_AfterInsert, write = set_AfterInsert};
  __property   BSTR            BeforeUpdate = {read = get_BeforeUpdate, write = set_BeforeUpdate};
  __property   BSTR            AfterUpdate = {read = get_AfterUpdate, write = set_AfterUpdate};
  __property   BSTR            OnDirty = {read = get_OnDirty, write = set_OnDirty};
  __property   BSTR            OnDelete = {read = get_OnDelete, write = set_OnDelete};
  __property   BSTR            BeforeDelConfirm = {read = get_BeforeDelConfirm, write = set_BeforeDelConfirm};
  __property   BSTR            AfterDelConfirm = {read = get_AfterDelConfirm, write = set_AfterDelConfirm};
  __property   BSTR            OnOpen = {read = get_OnOpen, write = set_OnOpen};
  __property   BSTR            OnLoad = {read = get_OnLoad, write = set_OnLoad};
  __property   BSTR            OnResize = {read = get_OnResize, write = set_OnResize};
  __property   BSTR            OnUnload = {read = get_OnUnload, write = set_OnUnload};
  __property   BSTR            OnClose = {read = get_OnClose, write = set_OnClose};
  __property   BSTR            OnActivate = {read = get_OnActivate, write = set_OnActivate};
  __property   BSTR            OnDeactivate = {read = get_OnDeactivate, write = set_OnDeactivate};
  __property   BSTR            OnGotFocus = {read = get_OnGotFocus, write = set_OnGotFocus};
  __property   BSTR            OnLostFocus = {read = get_OnLostFocus, write = set_OnLostFocus};
  __property   BSTR            OnClick = {read = get_OnClick, write = set_OnClick};
  __property   BSTR            OnDblClick = {read = get_OnDblClick, write = set_OnDblClick};
  __property   BSTR            OnMouseDown = {read = get_OnMouseDown, write = set_OnMouseDown};
  __property   BSTR            OnMouseMove = {read = get_OnMouseMove, write = set_OnMouseMove};
  __property   BSTR            OnMouseUp = {read = get_OnMouseUp, write = set_OnMouseUp};
  __property   BSTR            OnKeyDown = {read = get_OnKeyDown, write = set_OnKeyDown};
  __property   BSTR            OnKeyUp = {read = get_OnKeyUp, write = set_OnKeyUp};
  __property   BSTR            OnKeyPress = {read = get_OnKeyPress, write = set_OnKeyPress};
  __property   VARIANT_BOOL    KeyPreview = {read = get_KeyPreview, write = set_KeyPreview};
  __property   BSTR            OnError = {read = get_OnError, write = set_OnError};
  __property   BSTR            OnFilter = {read = get_OnFilter, write = set_OnFilter};
  __property   BSTR            OnApplyFilter = {read = get_OnApplyFilter, write = set_OnApplyFilter};
  __property   BSTR            OnTimer = {read = get_OnTimer, write = set_OnTimer};
  __property   long            TimerInterval = {read = get_TimerInterval, write = set_TimerInterval};
  __property   VARIANT_BOOL    Dirty = {read = get_Dirty, write = set_Dirty};
  __property   short           WindowWidth = {read = get_WindowWidth, write = set_WindowWidth};
  __property   short           WindowHeight = {read = get_WindowHeight, write = set_WindowHeight};
  __property   short           CurrentView = {read = get_CurrentView, write = set_CurrentView};
  __property   short           CurrentSectionTop = {read = get_CurrentSectionTop, write = set_CurrentSectionTop};
  __property   short           CurrentSectionLeft = {read = get_CurrentSectionLeft, write = set_CurrentSectionLeft};
  __property   long            SelLeft = {read = get_SelLeft, write = set_SelLeft};
  __property   long            SelTop = {read = get_SelTop, write = set_SelTop};
  __property   long            SelWidth = {read = get_SelWidth, write = set_SelWidth};
  __property   long            SelHeight = {read = get_SelHeight, write = set_SelHeight};
  __property   long            CurrentRecord = {read = get_CurrentRecord, write = set_CurrentRecord};
  __property   long            InsideHeight = {read = get_InsideHeight, write = set_InsideHeight};
  __property   long            InsideWidth = {read = get_InsideWidth, write = set_InsideWidth};
  __property   VARIANT_BOOL    HasModule = {read = get_HasModule, write = set_HasModule};
  __property   long            acHiddenCurrentPage = {read = get_acHiddenCurrentPage, write = set_acHiddenCurrentPage};
  __property   unsigned_char   Orientation = {read = get_Orientation, write = set_Orientation};
  __property   VARIANT_BOOL    AllowDesignChanges = {read = get_AllowDesignChanges, write = set_AllowDesignChanges};
  __property   BSTR            ServerFilter = {read = get_ServerFilter, write = set_ServerFilter};
  __property   VARIANT_BOOL    ServerFilterByForm = {read = get_ServerFilterByForm, write = set_ServerFilterByForm};
  __property   long            MaxRecords = {read = get_MaxRecords, write = set_MaxRecords};
  __property   BSTR            UniqueTable = {read = get_UniqueTable, write = set_UniqueTable};
  __property   BSTR            ResyncCommand = {read = get_ResyncCommand, write = set_ResyncCommand};
  __property   BSTR            InputParameters = {read = get_InputParameters, write = set_InputParameters};
  __property   VARIANT_BOOL    MaxRecButton = {read = get_MaxRecButton, write = set_MaxRecButton};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   short           NewRecord = {read = get_NewRecord};
  __property   Access_2k::AccessControlPtr ActiveControl = {read = get_ActiveControl};
  __property   LPDISPATCH      Dynaset = {read = get_Dynaset};
  __property   LPDISPATCH      RecordsetClone = {read = get_RecordsetClone};
  __property   LPDISPATCH      Recordset = {read = get_Recordset, write = _set_Recordset};
  __property   Access_2k::AccessFormPtr Form = {read = get_Form};
  __property   Access_2k::ModulePtr Module = {read = get_Module};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::AccessControlPtr ConnectControl = {read = get_ConnectControl};
  __property   Access_2k::Controls_Ptr Controls = {read = get_Controls};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
  __property   short           SubdatasheetHeight = {read = get_SubdatasheetHeight, write = set_SubdatasheetHeight};
  __property   VARIANT_BOOL    SubdatasheetExpanded = {read = get_SubdatasheetExpanded, write = set_SubdatasheetExpanded};

  __property   LPDISPATCH      accParent = {read = get_accParent};
  __property   long            accChildCount = {read = get_accChildCount};
};
typedef _FormDispT<_Form> _FormDisp;

typedef TComInterface<_FormEvents>  TCOM_FormEvents;

typedef TComInterface<Forms_>  TCOMForms_;

// *********************************************************************//
// DispIntf:  Forms
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {B1BB0E80-6128-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template<class T>
class Forms_DispT : public TAutoDriver<Forms_>
{
public:
  Forms_DispT(){}

  Forms_DispT(Forms_ *pintf)
  {
    TAutoDriver<Forms_>::Bind(pintf, false);
  }

  Forms_DispT(Forms_Ptr pintf)
  {
    TAutoDriver<Forms_>::Bind(pintf, true);
  }

  Forms_DispT& operator=(Forms_ *pintf)
  {
    TAutoDriver<Forms_>::Bind(pintf, false);
    return *this;
  }

  Forms_DispT& operator=(Forms_Ptr pintf)
  {
    TAutoDriver<Forms_>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Item(VARIANT Index/*[in]*/, 
                                      Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessForm* __fastcall get_Item(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef Forms_DispT<Forms_> Forms_Disp;

// *********************************************************************//
// SmartIntf: TCOM_Report
// Interface: _Report
// *********************************************************************//
template <class T /* _Report */ >
class TCOM_ReportT : public TComInterface<_Report>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_ReportT() {}
  TCOM_ReportT(_Report *intf, bool addRef = false) : TComInterface<_Report>(intf, addRef) {}
  TCOM_ReportT(const TCOM_ReportT& src) : TComInterface<_Report>(src) {}
  TCOM_ReportT& operator=(const TCOM_ReportT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_FormName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FormName(void);
  HRESULT         __fastcall set_FormName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RecordSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RecordSource(void);
  HRESULT         __fastcall set_RecordSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Filter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Filter(void);
  HRESULT         __fastcall set_Filter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FilterOn(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FilterOn(void);
  HRESULT         __fastcall set_FilterOn(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OrderBy(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OrderBy(void);
  HRESULT         __fastcall set_OrderBy(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OrderByOn(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_OrderByOn(void);
  HRESULT         __fastcall set_OrderByOn(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ServerFilter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ServerFilter(void);
  HRESULT         __fastcall set_ServerFilter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RecordLocks(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_RecordLocks(void);
  HRESULT         __fastcall set_RecordLocks(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PageHeader(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PageHeader(void);
  HRESULT         __fastcall set_PageHeader(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PageFooter(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PageFooter(void);
  HRESULT         __fastcall set_PageFooter(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_DateGrouping(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DateGrouping(void);
  HRESULT         __fastcall set_DateGrouping(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_GrpKeepTogether(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_GrpKeepTogether(void);
  HRESULT         __fastcall set_GrpKeepTogether(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_MinButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MinButton(void);
  HRESULT         __fastcall set_MinButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MaxButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MaxButton(void);
  HRESULT         __fastcall set_MaxButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureSizeMode(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureSizeMode(void);
  HRESULT         __fastcall set_PictureSizeMode(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureAlignment(void);
  HRESULT         __fastcall set_PictureAlignment(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_PictureTiling(void);
  HRESULT         __fastcall set_PictureTiling(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_PicturePages(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PicturePages(void);
  HRESULT         __fastcall set_PicturePages(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_MenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_MenuBar(void);
  HRESULT         __fastcall set_MenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Toolbar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Toolbar(void);
  HRESULT         __fastcall set_Toolbar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_GridX(short* pRet/*[out,retval]*/);
  short           __fastcall get_GridX(void);
  HRESULT         __fastcall set_GridX(short pRet/*[in]*/);
  HRESULT         __fastcall get_GridY(short* pRet/*[out,retval]*/);
  short           __fastcall get_GridY(void);
  HRESULT         __fastcall set_GridY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LayoutForPrint(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_LayoutForPrint(void);
  HRESULT         __fastcall set_LayoutForPrint(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FastLaserPrinting(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FastLaserPrinting(void);
  HRESULT         __fastcall set_FastLaserPrinting(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_HelpFile(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HelpFile(void);
  HRESULT         __fastcall set_HelpFile(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Hwnd(long* pRet/*[out,retval]*/);
  long            __fastcall get_Hwnd(void);
  HRESULT         __fastcall set_Hwnd(long pRet/*[in]*/);
  HRESULT         __fastcall get_Count(short* pRet/*[out,retval]*/);
  short           __fastcall get_Count(void);
  HRESULT         __fastcall set_Count(short pRet/*[in]*/);
  HRESULT         __fastcall get_Page(long* pRet/*[out,retval]*/);
  long            __fastcall get_Page(void);
  HRESULT         __fastcall set_Page(long pRet/*[in]*/);
  HRESULT         __fastcall get_Pages(short* pRet/*[out,retval]*/);
  short           __fastcall get_Pages(void);
  HRESULT         __fastcall set_Pages(short pRet/*[in]*/);
  HRESULT         __fastcall get_LogicalPageWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_LogicalPageWidth(void);
  HRESULT         __fastcall set_LogicalPageWidth(long pRet/*[in]*/);
  HRESULT         __fastcall get_LogicalPageHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_LogicalPageHeight(void);
  HRESULT         __fastcall set_LogicalPageHeight(long pRet/*[in]*/);
  HRESULT         __fastcall get_ZoomControl(long* pRet/*[out,retval]*/);
  long            __fastcall get_ZoomControl(void);
  HRESULT         __fastcall set_ZoomControl(long pRet/*[in]*/);
  HRESULT         __fastcall get_HasData(long* pRet/*[out,retval]*/);
  long            __fastcall get_HasData(void);
  HRESULT         __fastcall set_HasData(long pRet/*[in]*/);
  HRESULT         __fastcall get_Left(long* pRet/*[out,retval]*/);
  long            __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(long pRet/*[in]*/);
  HRESULT         __fastcall get_Top(long* pRet/*[out,retval]*/);
  long            __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(long pRet/*[in]*/);
  HRESULT         __fastcall get_Height(long* pRet/*[out,retval]*/);
  long            __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(long pRet/*[in]*/);
  HRESULT         __fastcall get_PrintSection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_PrintSection(void);
  HRESULT         __fastcall set_PrintSection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_NextRecord(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_NextRecord(void);
  HRESULT         __fastcall set_NextRecord(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MoveLayout(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MoveLayout(void);
  HRESULT         __fastcall set_MoveLayout(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FormatCount(short* pRet/*[out,retval]*/);
  short           __fastcall get_FormatCount(void);
  HRESULT         __fastcall set_FormatCount(short pRet/*[in]*/);
  HRESULT         __fastcall get_PrintCount(short* pRet/*[out,retval]*/);
  short           __fastcall get_PrintCount(void);
  HRESULT         __fastcall set_PrintCount(short pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Painting(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Painting(void);
  HRESULT         __fastcall set_Painting(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_PrtMip(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtMip(void);
  HRESULT         __fastcall set_PrtMip(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_PrtDevMode(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtDevMode(void);
  HRESULT         __fastcall set_PrtDevMode(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_PrtDevNames(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtDevNames(void);
  HRESULT         __fastcall set_PrtDevNames(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentX(float* pRet/*[out,retval]*/);
  float           __fastcall get_CurrentX(void);
  HRESULT         __fastcall set_CurrentX(float pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentY(float* pRet/*[out,retval]*/);
  float           __fastcall get_CurrentY(void);
  HRESULT         __fastcall set_CurrentY(float pRet/*[in]*/);
  HRESULT         __fastcall get_ScaleHeight(float* pRet/*[out,retval]*/);
  float           __fastcall get_ScaleHeight(void);
  HRESULT         __fastcall set_ScaleHeight(float pRet/*[in]*/);
  HRESULT         __fastcall get_ScaleLeft(float* pRet/*[out,retval]*/);
  float           __fastcall get_ScaleLeft(void);
  HRESULT         __fastcall set_ScaleLeft(float pRet/*[in]*/);
  HRESULT         __fastcall get_ScaleMode(short* pRet/*[out,retval]*/);
  short           __fastcall get_ScaleMode(void);
  HRESULT         __fastcall set_ScaleMode(short pRet/*[in]*/);
  HRESULT         __fastcall get_ScaleTop(float* pRet/*[out,retval]*/);
  float           __fastcall get_ScaleTop(void);
  HRESULT         __fastcall set_ScaleTop(float pRet/*[in]*/);
  HRESULT         __fastcall get_ScaleWidth(float* pRet/*[out,retval]*/);
  float           __fastcall get_ScaleWidth(void);
  HRESULT         __fastcall set_ScaleWidth(float pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(short pRet/*[in]*/);
  HRESULT         __fastcall get_DrawMode(short* pRet/*[out,retval]*/);
  short           __fastcall get_DrawMode(void);
  HRESULT         __fastcall set_DrawMode(short pRet/*[in]*/);
  HRESULT         __fastcall get_DrawStyle(short* pRet/*[out,retval]*/);
  short           __fastcall get_DrawStyle(void);
  HRESULT         __fastcall set_DrawStyle(short pRet/*[in]*/);
  HRESULT         __fastcall get_DrawWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_DrawWidth(void);
  HRESULT         __fastcall set_DrawWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_FillColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_FillColor(void);
  HRESULT         __fastcall set_FillColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FillStyle(short* pRet/*[out,retval]*/);
  short           __fastcall get_FillStyle(void);
  HRESULT         __fastcall set_FillStyle(short pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PaletteSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_PaletteSource(void);
  HRESULT         __fastcall set_PaletteSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PaintPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PaintPalette(void);
  HRESULT         __fastcall set_PaintPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_OnMenu(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMenu(void);
  HRESULT         __fastcall set_OnMenu(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnOpen(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnOpen(void);
  HRESULT         __fastcall set_OnOpen(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClose(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClose(void);
  HRESULT         __fastcall set_OnClose(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnActivate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnActivate(void);
  HRESULT         __fastcall set_OnActivate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDeactivate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDeactivate(void);
  HRESULT         __fastcall set_OnDeactivate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnNoData(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnNoData(void);
  HRESULT         __fastcall set_OnNoData(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnPage(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnPage(void);
  HRESULT         __fastcall set_OnPage(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnError(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnError(void);
  HRESULT         __fastcall set_OnError(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Dirty(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Dirty(void);
  HRESULT         __fastcall set_Dirty(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentRecord(long* pRet/*[out,retval]*/);
  long            __fastcall get_CurrentRecord(void);
  HRESULT         __fastcall set_CurrentRecord(long pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_PicturePalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PicturePalette(void);
  HRESULT         __fastcall set_PicturePalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_HasModule(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HasModule(void);
  HRESULT         __fastcall set_HasModule(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_acHiddenCurrentPage(long* pRet/*[out,retval]*/);
  long            __fastcall get_acHiddenCurrentPage(void);
  HRESULT         __fastcall set_acHiddenCurrentPage(long pRet/*[in]*/);
  HRESULT         __fastcall get_Orientation(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Orientation(void);
  HRESULT         __fastcall set_Orientation(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_InputParameters(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_InputParameters(void);
  HRESULT         __fastcall set_InputParameters(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControlPtr __fastcall get_ActiveControl(void);
  HRESULT         __fastcall get_DefaultControl(long ControlType/*[in]*/, 
                                                Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall get_DefaultControl(long ControlType/*[in]*/);
  HRESULT         __fastcall Circle(short flags/*[in]*/, float X/*[in]*/, float Y/*[in]*/, 
                                    float radius/*[in]*/, long color/*[in]*/, float start/*[in]*/, 
                                    float end/*[in]*/, float aspect/*[in]*/);
  HRESULT         __fastcall Line(short flags/*[in]*/, float x1/*[in]*/, float y1/*[in]*/, 
                                  float x2/*[in]*/, float y2/*[in]*/, long color/*[in]*/);
  HRESULT         __fastcall PSet(short flags/*[in]*/, float X/*[in]*/, float Y/*[in]*/, 
                                  long color/*[in]*/);
  HRESULT         __fastcall Scale(short flags/*[in]*/, float x1/*[in]*/, float y1/*[in]*/, 
                                   float x2/*[in]*/, float y2/*[in]*/);
  HRESULT         __fastcall TextWidth(BSTR Expr/*[in]*/, float* pRet/*[out,retval]*/);
  float           __fastcall TextWidth(BSTR Expr/*[in]*/);
  HRESULT         __fastcall TextHeight(BSTR Expr/*[in]*/, float* pRet/*[out,retval]*/);
  float           __fastcall TextHeight(BSTR Expr/*[in]*/);
  HRESULT         __fastcall Print(BSTR Expr/*[in]*/);
  HRESULT         __fastcall get_Section(VARIANT Index/*[in]*/, 
                                         Access_2k::AccessSection** pRet/*[out,retval]*/);
  Access_2k::AccessSection* __fastcall get_Section(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_GroupLevel(long Index/*[in]*/, 
                                            Access_2k::AccessGroupLevel** pRet/*[out,retval]*/);
  Access_2k::AccessGroupLevel* __fastcall get_GroupLevel(long Index/*[in]*/);
  HRESULT         __fastcall get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReportPtr __fastcall get_Report(void);
  HRESULT         __fastcall get_Module(Access_2k::Module** pRet/*[out,retval]*/);
  Access_2k::ModulePtr __fastcall get_Module(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/);
  Access_2k::Controls_Ptr __fastcall get_Controls(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   BSTR            FormName = {read = get_FormName, write = set_FormName};
  __property   BSTR            RecordSource = {read = get_RecordSource, write = set_RecordSource};
  __property   BSTR            Filter = {read = get_Filter, write = set_Filter};
  __property   VARIANT_BOOL    FilterOn = {read = get_FilterOn, write = set_FilterOn};
  __property   BSTR            OrderBy = {read = get_OrderBy, write = set_OrderBy};
  __property   VARIANT_BOOL    OrderByOn = {read = get_OrderByOn, write = set_OrderByOn};
  __property   BSTR            ServerFilter = {read = get_ServerFilter, write = set_ServerFilter};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   unsigned_char   RecordLocks = {read = get_RecordLocks, write = set_RecordLocks};
  __property   unsigned_char   PageHeader = {read = get_PageHeader, write = set_PageHeader};
  __property   unsigned_char   PageFooter = {read = get_PageFooter, write = set_PageFooter};
  __property   unsigned_char   DateGrouping = {read = get_DateGrouping, write = set_DateGrouping};
  __property   unsigned_char   GrpKeepTogether = {read = get_GrpKeepTogether, write = set_GrpKeepTogether};
  __property   VARIANT_BOOL    MinButton = {read = get_MinButton, write = set_MinButton};
  __property   VARIANT_BOOL    MaxButton = {read = get_MaxButton, write = set_MaxButton};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   unsigned_char   PictureSizeMode = {read = get_PictureSizeMode, write = set_PictureSizeMode};
  __property   unsigned_char   PictureAlignment = {read = get_PictureAlignment, write = set_PictureAlignment};
  __property   VARIANT_BOOL    PictureTiling = {read = get_PictureTiling, write = set_PictureTiling};
  __property   unsigned_char   PicturePages = {read = get_PicturePages, write = set_PicturePages};
  __property   BSTR            MenuBar = {read = get_MenuBar, write = set_MenuBar};
  __property   BSTR            Toolbar = {read = get_Toolbar, write = set_Toolbar};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   short           GridX = {read = get_GridX, write = set_GridX};
  __property   short           GridY = {read = get_GridY, write = set_GridY};
  __property   VARIANT_BOOL    LayoutForPrint = {read = get_LayoutForPrint, write = set_LayoutForPrint};
  __property   VARIANT_BOOL    FastLaserPrinting = {read = get_FastLaserPrinting, write = set_FastLaserPrinting};
  __property   BSTR            HelpFile = {read = get_HelpFile, write = set_HelpFile};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   long            Hwnd = {read = get_Hwnd, write = set_Hwnd};
  __property   short           Count = {read = get_Count, write = set_Count};
  __property   long            Page = {read = get_Page, write = set_Page};
  __property   short           Pages = {read = get_Pages, write = set_Pages};
  __property   long            LogicalPageWidth = {read = get_LogicalPageWidth, write = set_LogicalPageWidth};
  __property   long            LogicalPageHeight = {read = get_LogicalPageHeight, write = set_LogicalPageHeight};
  __property   long            ZoomControl = {read = get_ZoomControl, write = set_ZoomControl};
  __property   long            HasData = {read = get_HasData, write = set_HasData};
  __property   long            Left = {read = get_Left, write = set_Left};
  __property   long            Top = {read = get_Top, write = set_Top};
  __property   long            Height = {read = get_Height, write = set_Height};
  __property   VARIANT_BOOL    PrintSection = {read = get_PrintSection, write = set_PrintSection};
  __property   VARIANT_BOOL    NextRecord = {read = get_NextRecord, write = set_NextRecord};
  __property   VARIANT_BOOL    MoveLayout = {read = get_MoveLayout, write = set_MoveLayout};
  __property   short           FormatCount = {read = get_FormatCount, write = set_FormatCount};
  __property   short           PrintCount = {read = get_PrintCount, write = set_PrintCount};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    Painting = {read = get_Painting, write = set_Painting};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   float           CurrentX = {read = get_CurrentX, write = set_CurrentX};
  __property   float           CurrentY = {read = get_CurrentY, write = set_CurrentY};
  __property   float           ScaleHeight = {read = get_ScaleHeight, write = set_ScaleHeight};
  __property   float           ScaleLeft = {read = get_ScaleLeft, write = set_ScaleLeft};
  __property   short           ScaleMode = {read = get_ScaleMode, write = set_ScaleMode};
  __property   float           ScaleTop = {read = get_ScaleTop, write = set_ScaleTop};
  __property   float           ScaleWidth = {read = get_ScaleWidth, write = set_ScaleWidth};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   short           FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   short           DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   short           DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   long            FillColor = {read = get_FillColor, write = set_FillColor};
  __property   short           FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   BSTR            PaletteSource = {read = get_PaletteSource, write = set_PaletteSource};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            OnMenu = {read = get_OnMenu, write = set_OnMenu};
  __property   BSTR            OnOpen = {read = get_OnOpen, write = set_OnOpen};
  __property   BSTR            OnClose = {read = get_OnClose, write = set_OnClose};
  __property   BSTR            OnActivate = {read = get_OnActivate, write = set_OnActivate};
  __property   BSTR            OnDeactivate = {read = get_OnDeactivate, write = set_OnDeactivate};
  __property   BSTR            OnNoData = {read = get_OnNoData, write = set_OnNoData};
  __property   BSTR            OnPage = {read = get_OnPage, write = set_OnPage};
  __property   BSTR            OnError = {read = get_OnError, write = set_OnError};
  __property   VARIANT_BOOL    Dirty = {read = get_Dirty, write = set_Dirty};
  __property   long            CurrentRecord = {read = get_CurrentRecord, write = set_CurrentRecord};
  __property   VARIANT_BOOL    HasModule = {read = get_HasModule, write = set_HasModule};
  __property   long            acHiddenCurrentPage = {read = get_acHiddenCurrentPage, write = set_acHiddenCurrentPage};
  __property   unsigned_char   Orientation = {read = get_Orientation, write = set_Orientation};
  __property   BSTR            InputParameters = {read = get_InputParameters, write = set_InputParameters};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessControlPtr ActiveControl = {read = get_ActiveControl};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};
  __property   Access_2k::ModulePtr Module = {read = get_Module};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::Controls_Ptr Controls = {read = get_Controls};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef TCOM_ReportT<_Report> TCOM_Report;

// *********************************************************************//
// DispIntf:  _Report
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3E8B6B00-91FF-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template<class T>
class _ReportDispT : public TAutoDriver<_Report>
{
public:
  _ReportDispT(){}

  _ReportDispT(_Report *pintf)
  {
    TAutoDriver<_Report>::Bind(pintf, false);
  }

  _ReportDispT(_ReportPtr pintf)
  {
    TAutoDriver<_Report>::Bind(pintf, true);
  }

  _ReportDispT& operator=(_Report *pintf)
  {
    TAutoDriver<_Report>::Bind(pintf, false);
    return *this;
  }

  _ReportDispT& operator=(_ReportPtr pintf)
  {
    TAutoDriver<_Report>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessReport));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessReport);
  }

  HRESULT         __fastcall get_FormName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FormName(void);
  HRESULT         __fastcall set_FormName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RecordSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_RecordSource(void);
  HRESULT         __fastcall set_RecordSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Filter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Filter(void);
  HRESULT         __fastcall set_Filter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FilterOn(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FilterOn(void);
  HRESULT         __fastcall set_FilterOn(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_OrderBy(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OrderBy(void);
  HRESULT         __fastcall set_OrderBy(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OrderByOn(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_OrderByOn(void);
  HRESULT         __fastcall set_OrderByOn(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_ServerFilter(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ServerFilter(void);
  HRESULT         __fastcall set_ServerFilter(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Caption(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Caption(void);
  HRESULT         __fastcall set_Caption(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_RecordLocks(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_RecordLocks(void);
  HRESULT         __fastcall set_RecordLocks(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PageHeader(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PageHeader(void);
  HRESULT         __fastcall set_PageHeader(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PageFooter(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PageFooter(void);
  HRESULT         __fastcall set_PageFooter(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_DateGrouping(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_DateGrouping(void);
  HRESULT         __fastcall set_DateGrouping(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_GrpKeepTogether(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_GrpKeepTogether(void);
  HRESULT         __fastcall set_GrpKeepTogether(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_MinButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MinButton(void);
  HRESULT         __fastcall set_MinButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MaxButton(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MaxButton(void);
  HRESULT         __fastcall set_MaxButton(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Width(short* pRet/*[out,retval]*/);
  short           __fastcall get_Width(void);
  HRESULT         __fastcall set_Width(short pRet/*[in]*/);
  HRESULT         __fastcall get_Picture(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Picture(void);
  HRESULT         __fastcall set_Picture(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PictureType(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureType(void);
  HRESULT         __fastcall set_PictureType(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureSizeMode(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureSizeMode(void);
  HRESULT         __fastcall set_PictureSizeMode(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PictureAlignment(void);
  HRESULT         __fastcall set_PictureAlignment(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_PictureTiling(void);
  HRESULT         __fastcall set_PictureTiling(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_PicturePages(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_PicturePages(void);
  HRESULT         __fastcall set_PicturePages(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_MenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_MenuBar(void);
  HRESULT         __fastcall set_MenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Toolbar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Toolbar(void);
  HRESULT         __fastcall set_Toolbar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_GridX(short* pRet/*[out,retval]*/);
  short           __fastcall get_GridX(void);
  HRESULT         __fastcall set_GridX(short pRet/*[in]*/);
  HRESULT         __fastcall get_GridY(short* pRet/*[out,retval]*/);
  short           __fastcall get_GridY(void);
  HRESULT         __fastcall set_GridY(short pRet/*[in]*/);
  HRESULT         __fastcall get_LayoutForPrint(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_LayoutForPrint(void);
  HRESULT         __fastcall set_LayoutForPrint(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FastLaserPrinting(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_FastLaserPrinting(void);
  HRESULT         __fastcall set_FastLaserPrinting(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_HelpFile(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_HelpFile(void);
  HRESULT         __fastcall set_HelpFile(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_HelpContextId(long* pRet/*[out,retval]*/);
  long            __fastcall get_HelpContextId(void);
  HRESULT         __fastcall set_HelpContextId(long pRet/*[in]*/);
  HRESULT         __fastcall get_Hwnd(long* pRet/*[out,retval]*/);
  long            __fastcall get_Hwnd(void);
  HRESULT         __fastcall set_Hwnd(long pRet/*[in]*/);
  HRESULT         __fastcall get_Count(short* pRet/*[out,retval]*/);
  short           __fastcall get_Count(void);
  HRESULT         __fastcall set_Count(short pRet/*[in]*/);
  HRESULT         __fastcall get_Page(long* pRet/*[out,retval]*/);
  long            __fastcall get_Page(void);
  HRESULT         __fastcall set_Page(long pRet/*[in]*/);
  HRESULT         __fastcall get_Pages(short* pRet/*[out,retval]*/);
  short           __fastcall get_Pages(void);
  HRESULT         __fastcall set_Pages(short pRet/*[in]*/);
  HRESULT         __fastcall get_LogicalPageWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_LogicalPageWidth(void);
  HRESULT         __fastcall set_LogicalPageWidth(long pRet/*[in]*/);
  HRESULT         __fastcall get_LogicalPageHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_LogicalPageHeight(void);
  HRESULT         __fastcall set_LogicalPageHeight(long pRet/*[in]*/);
  HRESULT         __fastcall get_ZoomControl(long* pRet/*[out,retval]*/);
  long            __fastcall get_ZoomControl(void);
  HRESULT         __fastcall set_ZoomControl(long pRet/*[in]*/);
  HRESULT         __fastcall get_HasData(long* pRet/*[out,retval]*/);
  long            __fastcall get_HasData(void);
  HRESULT         __fastcall set_HasData(long pRet/*[in]*/);
  HRESULT         __fastcall get_Left(long* pRet/*[out,retval]*/);
  long            __fastcall get_Left(void);
  HRESULT         __fastcall set_Left(long pRet/*[in]*/);
  HRESULT         __fastcall get_Top(long* pRet/*[out,retval]*/);
  long            __fastcall get_Top(void);
  HRESULT         __fastcall set_Top(long pRet/*[in]*/);
  HRESULT         __fastcall get_Height(long* pRet/*[out,retval]*/);
  long            __fastcall get_Height(void);
  HRESULT         __fastcall set_Height(long pRet/*[in]*/);
  HRESULT         __fastcall get_PrintSection(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_PrintSection(void);
  HRESULT         __fastcall set_PrintSection(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_NextRecord(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_NextRecord(void);
  HRESULT         __fastcall set_NextRecord(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_MoveLayout(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_MoveLayout(void);
  HRESULT         __fastcall set_MoveLayout(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_FormatCount(short* pRet/*[out,retval]*/);
  short           __fastcall get_FormatCount(void);
  HRESULT         __fastcall set_FormatCount(short pRet/*[in]*/);
  HRESULT         __fastcall get_PrintCount(short* pRet/*[out,retval]*/);
  short           __fastcall get_PrintCount(void);
  HRESULT         __fastcall set_PrintCount(short pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Painting(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Painting(void);
  HRESULT         __fastcall set_Painting(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_PrtMip(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtMip(void);
  HRESULT         __fastcall set_PrtMip(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_PrtDevMode(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtDevMode(void);
  HRESULT         __fastcall set_PrtDevMode(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_PrtDevNames(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PrtDevNames(void);
  HRESULT         __fastcall set_PrtDevNames(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_ForeColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_ForeColor(void);
  HRESULT         __fastcall set_ForeColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentX(float* pRet/*[out,retval]*/);
  float           __fastcall get_CurrentX(void);
  HRESULT         __fastcall set_CurrentX(float pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentY(float* pRet/*[out,retval]*/);
  float           __fastcall get_CurrentY(void);
  HRESULT         __fastcall set_CurrentY(float pRet/*[in]*/);
  HRESULT         __fastcall get_ScaleHeight(float* pRet/*[out,retval]*/);
  float           __fastcall get_ScaleHeight(void);
  HRESULT         __fastcall set_ScaleHeight(float pRet/*[in]*/);
  HRESULT         __fastcall get_ScaleLeft(float* pRet/*[out,retval]*/);
  float           __fastcall get_ScaleLeft(void);
  HRESULT         __fastcall set_ScaleLeft(float pRet/*[in]*/);
  HRESULT         __fastcall get_ScaleMode(short* pRet/*[out,retval]*/);
  short           __fastcall get_ScaleMode(void);
  HRESULT         __fastcall set_ScaleMode(short pRet/*[in]*/);
  HRESULT         __fastcall get_ScaleTop(float* pRet/*[out,retval]*/);
  float           __fastcall get_ScaleTop(void);
  HRESULT         __fastcall set_ScaleTop(float pRet/*[in]*/);
  HRESULT         __fastcall get_ScaleWidth(float* pRet/*[out,retval]*/);
  float           __fastcall get_ScaleWidth(void);
  HRESULT         __fastcall set_ScaleWidth(float pRet/*[in]*/);
  HRESULT         __fastcall get_FontBold(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontBold(void);
  HRESULT         __fastcall set_FontBold(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontItalic(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontItalic(void);
  HRESULT         __fastcall set_FontItalic(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FontName(void);
  HRESULT         __fastcall set_FontName(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FontSize(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontSize(void);
  HRESULT         __fastcall set_FontSize(short pRet/*[in]*/);
  HRESULT         __fastcall get_FontUnderline(short* pRet/*[out,retval]*/);
  short           __fastcall get_FontUnderline(void);
  HRESULT         __fastcall set_FontUnderline(short pRet/*[in]*/);
  HRESULT         __fastcall get_DrawMode(short* pRet/*[out,retval]*/);
  short           __fastcall get_DrawMode(void);
  HRESULT         __fastcall set_DrawMode(short pRet/*[in]*/);
  HRESULT         __fastcall get_DrawStyle(short* pRet/*[out,retval]*/);
  short           __fastcall get_DrawStyle(void);
  HRESULT         __fastcall set_DrawStyle(short pRet/*[in]*/);
  HRESULT         __fastcall get_DrawWidth(short* pRet/*[out,retval]*/);
  short           __fastcall get_DrawWidth(void);
  HRESULT         __fastcall set_DrawWidth(short pRet/*[in]*/);
  HRESULT         __fastcall get_FillColor(long* pRet/*[out,retval]*/);
  long            __fastcall get_FillColor(void);
  HRESULT         __fastcall set_FillColor(long pRet/*[in]*/);
  HRESULT         __fastcall get_FillStyle(short* pRet/*[out,retval]*/);
  short           __fastcall get_FillStyle(void);
  HRESULT         __fastcall set_FillStyle(short pRet/*[in]*/);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall set__Name(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PaletteSource(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_PaletteSource(void);
  HRESULT         __fastcall set_PaletteSource(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_PaintPalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PaintPalette(void);
  HRESULT         __fastcall set_PaintPalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_OnMenu(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnMenu(void);
  HRESULT         __fastcall set_OnMenu(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnOpen(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnOpen(void);
  HRESULT         __fastcall set_OnOpen(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnClose(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnClose(void);
  HRESULT         __fastcall set_OnClose(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnActivate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnActivate(void);
  HRESULT         __fastcall set_OnActivate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnDeactivate(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnDeactivate(void);
  HRESULT         __fastcall set_OnDeactivate(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnNoData(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnNoData(void);
  HRESULT         __fastcall set_OnNoData(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnPage(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnPage(void);
  HRESULT         __fastcall set_OnPage(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_OnError(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_OnError(void);
  HRESULT         __fastcall set_OnError(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Dirty(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Dirty(void);
  HRESULT         __fastcall set_Dirty(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentRecord(long* pRet/*[out,retval]*/);
  long            __fastcall get_CurrentRecord(void);
  HRESULT         __fastcall set_CurrentRecord(long pRet/*[in]*/);
  HRESULT         __fastcall get_PictureData(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PictureData(void);
  HRESULT         __fastcall set_PictureData(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_PicturePalette(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_PicturePalette(void);
  HRESULT         __fastcall set_PicturePalette(VARIANT pRet/*[in]*/);
  HRESULT         __fastcall get_HasModule(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_HasModule(void);
  HRESULT         __fastcall set_HasModule(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_acHiddenCurrentPage(long* pRet/*[out,retval]*/);
  long            __fastcall get_acHiddenCurrentPage(void);
  HRESULT         __fastcall set_acHiddenCurrentPage(long pRet/*[in]*/);
  HRESULT         __fastcall get_Orientation(unsigned_char* pRet/*[out,retval]*/);
  unsigned_char   __fastcall get_Orientation(void);
  HRESULT         __fastcall set_Orientation(unsigned_char pRet/*[in]*/);
  HRESULT         __fastcall get_InputParameters(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_InputParameters(void);
  HRESULT         __fastcall set_InputParameters(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControlPtr __fastcall get_ActiveControl(void);
  HRESULT         __fastcall get_DefaultControl(long ControlType/*[in]*/, 
                                                Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall get_DefaultControl(long ControlType/*[in]*/);
  HRESULT         __fastcall Circle(short flags/*[in]*/, float X/*[in]*/, float Y/*[in]*/, 
                                    float radius/*[in]*/, long color/*[in]*/, float start/*[in]*/, 
                                    float end/*[in]*/, float aspect/*[in]*/);
  HRESULT         __fastcall Line(short flags/*[in]*/, float x1/*[in]*/, float y1/*[in]*/, 
                                  float x2/*[in]*/, float y2/*[in]*/, long color/*[in]*/);
  HRESULT         __fastcall PSet(short flags/*[in]*/, float X/*[in]*/, float Y/*[in]*/, 
                                  long color/*[in]*/);
  HRESULT         __fastcall Scale(short flags/*[in]*/, float x1/*[in]*/, float y1/*[in]*/, 
                                   float x2/*[in]*/, float y2/*[in]*/);
  HRESULT         __fastcall TextWidth(BSTR Expr/*[in]*/, float* pRet/*[out,retval]*/);
  float           __fastcall TextWidth(BSTR Expr/*[in]*/);
  HRESULT         __fastcall TextHeight(BSTR Expr/*[in]*/, float* pRet/*[out,retval]*/);
  float           __fastcall TextHeight(BSTR Expr/*[in]*/);
  HRESULT         __fastcall Print(BSTR Expr/*[in]*/);
  HRESULT         __fastcall get_Section(VARIANT Index/*[in]*/, 
                                         Access_2k::AccessSection** pRet/*[out,retval]*/);
  Access_2k::AccessSection* __fastcall get_Section(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_GroupLevel(long Index/*[in]*/, 
                                            Access_2k::AccessGroupLevel** pRet/*[out,retval]*/);
  Access_2k::AccessGroupLevel* __fastcall get_GroupLevel(long Index/*[in]*/);
  HRESULT         __fastcall get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReportPtr __fastcall get_Report(void);
  HRESULT         __fastcall get_Module(Access_2k::Module** pRet/*[out,retval]*/);
  Access_2k::ModulePtr __fastcall get_Module(void);
  HRESULT         __fastcall get_Properties(Access_2k::Properties** pRet/*[out,retval]*/);
  Access_2k::PropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/);
  Access_2k::Controls_Ptr __fastcall get_Controls(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);
  HRESULT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                       VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall _Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall set_Name(BSTR pbstrName/*[in]*/);

  __property   BSTR            FormName = {read = get_FormName, write = set_FormName};
  __property   BSTR            RecordSource = {read = get_RecordSource, write = set_RecordSource};
  __property   BSTR            Filter = {read = get_Filter, write = set_Filter};
  __property   VARIANT_BOOL    FilterOn = {read = get_FilterOn, write = set_FilterOn};
  __property   BSTR            OrderBy = {read = get_OrderBy, write = set_OrderBy};
  __property   VARIANT_BOOL    OrderByOn = {read = get_OrderByOn, write = set_OrderByOn};
  __property   BSTR            ServerFilter = {read = get_ServerFilter, write = set_ServerFilter};
  __property   BSTR            Caption = {read = get_Caption, write = set_Caption};
  __property   unsigned_char   RecordLocks = {read = get_RecordLocks, write = set_RecordLocks};
  __property   unsigned_char   PageHeader = {read = get_PageHeader, write = set_PageHeader};
  __property   unsigned_char   PageFooter = {read = get_PageFooter, write = set_PageFooter};
  __property   unsigned_char   DateGrouping = {read = get_DateGrouping, write = set_DateGrouping};
  __property   unsigned_char   GrpKeepTogether = {read = get_GrpKeepTogether, write = set_GrpKeepTogether};
  __property   VARIANT_BOOL    MinButton = {read = get_MinButton, write = set_MinButton};
  __property   VARIANT_BOOL    MaxButton = {read = get_MaxButton, write = set_MaxButton};
  __property   short           Width = {read = get_Width, write = set_Width};
  __property   BSTR            Picture = {read = get_Picture, write = set_Picture};
  __property   unsigned_char   PictureType = {read = get_PictureType, write = set_PictureType};
  __property   unsigned_char   PictureSizeMode = {read = get_PictureSizeMode, write = set_PictureSizeMode};
  __property   unsigned_char   PictureAlignment = {read = get_PictureAlignment, write = set_PictureAlignment};
  __property   VARIANT_BOOL    PictureTiling = {read = get_PictureTiling, write = set_PictureTiling};
  __property   unsigned_char   PicturePages = {read = get_PicturePages, write = set_PicturePages};
  __property   BSTR            MenuBar = {read = get_MenuBar, write = set_MenuBar};
  __property   BSTR            Toolbar = {read = get_Toolbar, write = set_Toolbar};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   short           GridX = {read = get_GridX, write = set_GridX};
  __property   short           GridY = {read = get_GridY, write = set_GridY};
  __property   VARIANT_BOOL    LayoutForPrint = {read = get_LayoutForPrint, write = set_LayoutForPrint};
  __property   VARIANT_BOOL    FastLaserPrinting = {read = get_FastLaserPrinting, write = set_FastLaserPrinting};
  __property   BSTR            HelpFile = {read = get_HelpFile, write = set_HelpFile};
  __property   long            HelpContextId = {read = get_HelpContextId, write = set_HelpContextId};
  __property   long            Hwnd = {read = get_Hwnd, write = set_Hwnd};
  __property   short           Count = {read = get_Count, write = set_Count};
  __property   long            Page = {read = get_Page, write = set_Page};
  __property   short           Pages = {read = get_Pages, write = set_Pages};
  __property   long            LogicalPageWidth = {read = get_LogicalPageWidth, write = set_LogicalPageWidth};
  __property   long            LogicalPageHeight = {read = get_LogicalPageHeight, write = set_LogicalPageHeight};
  __property   long            ZoomControl = {read = get_ZoomControl, write = set_ZoomControl};
  __property   long            HasData = {read = get_HasData, write = set_HasData};
  __property   long            Left = {read = get_Left, write = set_Left};
  __property   long            Top = {read = get_Top, write = set_Top};
  __property   long            Height = {read = get_Height, write = set_Height};
  __property   VARIANT_BOOL    PrintSection = {read = get_PrintSection, write = set_PrintSection};
  __property   VARIANT_BOOL    NextRecord = {read = get_NextRecord, write = set_NextRecord};
  __property   VARIANT_BOOL    MoveLayout = {read = get_MoveLayout, write = set_MoveLayout};
  __property   short           FormatCount = {read = get_FormatCount, write = set_FormatCount};
  __property   short           PrintCount = {read = get_PrintCount, write = set_PrintCount};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    Painting = {read = get_Painting, write = set_Painting};
  __property   long            ForeColor = {read = get_ForeColor, write = set_ForeColor};
  __property   float           CurrentX = {read = get_CurrentX, write = set_CurrentX};
  __property   float           CurrentY = {read = get_CurrentY, write = set_CurrentY};
  __property   float           ScaleHeight = {read = get_ScaleHeight, write = set_ScaleHeight};
  __property   float           ScaleLeft = {read = get_ScaleLeft, write = set_ScaleLeft};
  __property   short           ScaleMode = {read = get_ScaleMode, write = set_ScaleMode};
  __property   float           ScaleTop = {read = get_ScaleTop, write = set_ScaleTop};
  __property   float           ScaleWidth = {read = get_ScaleWidth, write = set_ScaleWidth};
  __property   short           FontBold = {read = get_FontBold, write = set_FontBold};
  __property   short           FontItalic = {read = get_FontItalic, write = set_FontItalic};
  __property   BSTR            FontName = {read = get_FontName, write = set_FontName};
  __property   short           FontSize = {read = get_FontSize, write = set_FontSize};
  __property   short           FontUnderline = {read = get_FontUnderline, write = set_FontUnderline};
  __property   short           DrawMode = {read = get_DrawMode, write = set_DrawMode};
  __property   short           DrawStyle = {read = get_DrawStyle, write = set_DrawStyle};
  __property   short           DrawWidth = {read = get_DrawWidth, write = set_DrawWidth};
  __property   long            FillColor = {read = get_FillColor, write = set_FillColor};
  __property   short           FillStyle = {read = get_FillStyle, write = set_FillStyle};
  __property   BSTR            _Name = {read = get__Name, write = set__Name};
  __property   BSTR            PaletteSource = {read = get_PaletteSource, write = set_PaletteSource};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   BSTR            OnMenu = {read = get_OnMenu, write = set_OnMenu};
  __property   BSTR            OnOpen = {read = get_OnOpen, write = set_OnOpen};
  __property   BSTR            OnClose = {read = get_OnClose, write = set_OnClose};
  __property   BSTR            OnActivate = {read = get_OnActivate, write = set_OnActivate};
  __property   BSTR            OnDeactivate = {read = get_OnDeactivate, write = set_OnDeactivate};
  __property   BSTR            OnNoData = {read = get_OnNoData, write = set_OnNoData};
  __property   BSTR            OnPage = {read = get_OnPage, write = set_OnPage};
  __property   BSTR            OnError = {read = get_OnError, write = set_OnError};
  __property   VARIANT_BOOL    Dirty = {read = get_Dirty, write = set_Dirty};
  __property   long            CurrentRecord = {read = get_CurrentRecord, write = set_CurrentRecord};
  __property   VARIANT_BOOL    HasModule = {read = get_HasModule, write = set_HasModule};
  __property   long            acHiddenCurrentPage = {read = get_acHiddenCurrentPage, write = set_acHiddenCurrentPage};
  __property   unsigned_char   Orientation = {read = get_Orientation, write = set_Orientation};
  __property   BSTR            InputParameters = {read = get_InputParameters, write = set_InputParameters};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessControlPtr ActiveControl = {read = get_ActiveControl};
  __property   Access_2k::AccessReportPtr Report = {read = get_Report};
  __property   Access_2k::ModulePtr Module = {read = get_Module};
  __property   Access_2k::PropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::Controls_Ptr Controls = {read = get_Controls};
  __property   BSTR            Name = {read = get_Name, write = set_Name};
};
typedef _ReportDispT<_Report> _ReportDisp;

typedef TComInterface<_ReportEvents>  TCOM_ReportEvents;

typedef TComInterface<Reports>  TCOMReports;

// *********************************************************************//
// DispIntf:  Reports
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {D1523700-6128-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template<class T>
class ReportsDispT : public TAutoDriver<Reports>
{
public:
  ReportsDispT(){}

  ReportsDispT(Reports *pintf)
  {
    TAutoDriver<Reports>::Bind(pintf, false);
  }

  ReportsDispT(ReportsPtr pintf)
  {
    TAutoDriver<Reports>::Bind(pintf, true);
  }

  ReportsDispT& operator=(Reports *pintf)
  {
    TAutoDriver<Reports>::Bind(pintf, false);
    return *this;
  }

  ReportsDispT& operator=(ReportsPtr pintf)
  {
    TAutoDriver<Reports>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Item(VARIANT Index/*[in]*/, 
                                      Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReport* __fastcall get_Item(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef ReportsDispT<Reports> ReportsDisp;

typedef TComInterface<Screen>  TCOMScreen;

// *********************************************************************//
// DispIntf:  Screen
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {DC6B66C0-6128-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template<class T>
class ScreenDispT : public TAutoDriver<Screen>
{
public:
  ScreenDispT(){}

  ScreenDispT(Screen *pintf)
  {
    TAutoDriver<Screen>::Bind(pintf, false);
  }

  ScreenDispT(ScreenPtr pintf)
  {
    TAutoDriver<Screen>::Bind(pintf, true);
  }

  ScreenDispT& operator=(Screen *pintf)
  {
    TAutoDriver<Screen>::Bind(pintf, false);
    return *this;
  }

  ScreenDispT& operator=(ScreenPtr pintf)
  {
    TAutoDriver<Screen>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_ActiveDatasheet(Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessFormPtr __fastcall get_ActiveDatasheet(void);
  HRESULT         __fastcall get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControlPtr __fastcall get_ActiveControl(void);
  HRESULT         __fastcall get_PreviousControl(Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControlPtr __fastcall get_PreviousControl(void);
  HRESULT         __fastcall get_ActiveForm(Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessFormPtr __fastcall get_ActiveForm(void);
  HRESULT         __fastcall get_ActiveReport(Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReportPtr __fastcall get_ActiveReport(void);
  HRESULT         __fastcall get_MousePointer(short* pRet/*[out,retval]*/);
  short           __fastcall get_MousePointer(void);
  HRESULT         __fastcall set_MousePointer(short pRet/*[in]*/);
  HRESULT         __fastcall get_ActiveDataAccessPage(Access_2k::DataAccessPage** pRet/*[out,retval]*/);
  Access_2k::DataAccessPagePtr __fastcall get_ActiveDataAccessPage(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AccessFormPtr ActiveDatasheet = {read = get_ActiveDatasheet};
  __property   Access_2k::AccessControlPtr ActiveControl = {read = get_ActiveControl};
  __property   Access_2k::AccessControlPtr PreviousControl = {read = get_PreviousControl};
  __property   Access_2k::AccessFormPtr ActiveForm = {read = get_ActiveForm};
  __property   Access_2k::AccessReportPtr ActiveReport = {read = get_ActiveReport};
  __property   short           MousePointer = {read = get_MousePointer, write = set_MousePointer};
  __property   Access_2k::DataAccessPagePtr ActiveDataAccessPage = {read = get_ActiveDataAccessPage};
};
typedef ScreenDispT<Screen> ScreenDisp;

// *********************************************************************//
// SmartIntf: TCOM_Application
// Interface: _Application
// *********************************************************************//
template <class T /* _Application */ >
class TCOM_ApplicationT : public TComInterface<_Application>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_ApplicationT() {}
  TCOM_ApplicationT(_Application *intf, bool addRef = false) : TComInterface<_Application>(intf, addRef) {}
  TCOM_ApplicationT(const TCOM_ApplicationT& src) : TComInterface<_Application>(src) {}
  TCOM_ApplicationT& operator=(const TCOM_ApplicationT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_CodeContextObject(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_CodeContextObject(void);
  HRESULT         __fastcall NewCurrentDatabase(BSTR filepath/*[in]*/);
  HRESULT         __fastcall OpenCurrentDatabase(BSTR filepath/*[in]*/, 
                                                 VARIANT_BOOL Exclusive/*[in,def,opt]*/);
  HRESULT         __fastcall get_MenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_MenuBar(void);
  HRESULT         __fastcall set_MenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentObjectType(long* pRet/*[out,retval]*/);
  long            __fastcall get_CurrentObjectType(void);
  HRESULT         __fastcall get_CurrentObjectName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_CurrentObjectName(void);
  HRESULT         __fastcall GetOption(BSTR OptionName/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall GetOption(BSTR OptionName/*[in]*/);
  HRESULT         __fastcall SetOption(BSTR OptionName/*[in]*/, VARIANT Setting/*[in]*/);
  HRESULT         __fastcall Echo(short EchoOn/*[in]*/, BSTR bstrStatusBarText/*[in,def,opt]*/);
  HRESULT         __fastcall CloseCurrentDatabase(void);
  HRESULT         __fastcall Quit(Access_2k::AcQuitOption Option/*[in,def,opt]*/);
  HRESULT         __fastcall get_Forms(Access_2k::Forms_** pRet/*[out,retval]*/);
  Access_2k::Forms_Ptr __fastcall get_Forms(void);
  HRESULT         __fastcall get_Reports(Access_2k::Reports** pRet/*[out,retval]*/);
  Access_2k::ReportsPtr __fastcall get_Reports(void);
  HRESULT         __fastcall get_Screen(Access_2k::Screen** pRet/*[out,retval]*/);
  Access_2k::ScreenPtr __fastcall get_Screen(void);
  HRESULT         __fastcall get_DoCmd(Access_2k::DoCmd** pRet/*[out,retval]*/);
  Access_2k::DoCmdPtr __fastcall get_DoCmd(void);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pfVisible/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pfVisible/*[in]*/);
  HRESULT         __fastcall get_UserControl(VARIANT_BOOL* pfUserCtrl/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_UserControl(void);
  HRESULT         __fastcall set_UserControl(VARIANT_BOOL pfUserCtrl/*[in]*/);
  HRESULT         __fastcall SysCmd(Access_2k::AcSysCmdAction Action/*[in]*/, 
                                    VARIANT Argument2/*[in,opt]*/, VARIANT Argument3/*[in,opt]*/, 
                                    VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall SysCmd(Access_2k::AcSysCmdAction Action/*[in]*/, 
                                    VARIANT Argument2/*[in,opt]*/= TNoParam(), 
                                    VARIANT Argument3/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CreateForm(VARIANT Database/*[in,opt]*/, 
                                        VARIANT FormTemplate/*[in,opt]*/, 
                                        Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessForm* __fastcall CreateForm(VARIANT Database/*[in,opt]*/= TNoParam(), 
                                               VARIANT FormTemplate/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CreateReport(VARIANT Database/*[in,opt]*/, 
                                          VARIANT ReportTemplate/*[in,opt]*/, 
                                          Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReport* __fastcall CreateReport(VARIANT Database/*[in,opt]*/= TNoParam(), 
                                                   VARIANT ReportTemplate/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CreateControl(BSTR FormName/*[in]*/, 
                                           Access_2k::AcControlType ControlType/*[in]*/, 
                                           Access_2k::AcSection Section/*[in,def,opt]*/, 
                                           VARIANT Parent/*[in,opt]*/, 
                                           VARIANT ColumnName/*[in,opt]*/, VARIANT Left/*[in,opt]*/, 
                                           VARIANT Top/*[in,opt]*/, VARIANT Width/*[in,opt]*/, 
                                           VARIANT Height/*[in,opt]*/, 
                                           Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall CreateControl(BSTR FormName/*[in]*/, 
                                                     Access_2k::AcControlType ControlType/*[in]*/, 
                                                     Access_2k::AcSection Section/*[in,def,opt]*/, 
                                                     VARIANT Parent/*[in,opt]*/= TNoParam(), 
                                                     VARIANT ColumnName/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Left/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Top/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Width/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Height/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CreateReportControl(BSTR ReportName/*[in]*/, 
                                                 Access_2k::AcControlType ControlType/*[in]*/, 
                                                 Access_2k::AcSection Section/*[in,def,opt]*/, 
                                                 VARIANT Parent/*[in,opt]*/, 
                                                 VARIANT ColumnName/*[in,opt]*/, 
                                                 VARIANT Left/*[in,opt]*/, VARIANT Top/*[in,opt]*/, 
                                                 VARIANT Width/*[in,opt]*/, 
                                                 VARIANT Height/*[in,opt]*/, 
                                                 Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall CreateReportControl(BSTR ReportName/*[in]*/, 
                                                           Access_2k::AcControlType ControlType/*[in]*/, 
                                                           Access_2k::AcSection Section/*[in,def,opt]*/, 
                                                           VARIANT Parent/*[in,opt]*/= TNoParam(), 
                                                           VARIANT ColumnName/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Left/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Top/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Width/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Height/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CreateControlEx(BSTR FormName/*[in]*/, 
                                             Access_2k::AcControlType ControlType/*[in]*/, 
                                             Access_2k::AcSection Section/*[in]*/, 
                                             BSTR Parent/*[in]*/, BSTR ControlSource/*[in]*/, 
                                             long Left/*[in]*/, long Top/*[in]*/, long Width/*[in]*/, 
                                             long Height/*[in]*/, 
                                             Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall CreateControlEx(BSTR FormName/*[in]*/, 
                                                       Access_2k::AcControlType ControlType/*[in]*/, 
                                                       Access_2k::AcSection Section/*[in]*/, 
                                                       BSTR Parent/*[in]*/, 
                                                       BSTR ControlSource/*[in]*/, long Left/*[in]*/, 
                                                       long Top/*[in]*/, long Width/*[in]*/, 
                                                       long Height/*[in]*/);
  HRESULT         __fastcall CreateReportControlEx(BSTR ReportName/*[in]*/, 
                                                   Access_2k::AcControlType ControlType/*[in]*/, 
                                                   Access_2k::AcSection Section/*[in]*/, 
                                                   BSTR Parent/*[in]*/, BSTR ControlName/*[in]*/, 
                                                   long Left/*[in]*/, long Top/*[in]*/, 
                                                   long Width/*[in]*/, long Height/*[in]*/, 
                                                   Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall CreateReportControlEx(BSTR ReportName/*[in]*/, 
                                                             Access_2k::AcControlType ControlType/*[in]*/, 
                                                             Access_2k::AcSection Section/*[in]*/, 
                                                             BSTR Parent/*[in]*/, 
                                                             BSTR ControlName/*[in]*/, 
                                                             long Left/*[in]*/, long Top/*[in]*/, 
                                                             long Width/*[in]*/, long Height/*[in]*/);
  HRESULT         __fastcall DeleteControl(BSTR FormName/*[in]*/, BSTR ControlName/*[in]*/);
  HRESULT         __fastcall DeleteReportControl(BSTR ReportName/*[in]*/, BSTR ControlName/*[in]*/);
  HRESULT         __fastcall CreateGroupLevel(BSTR ReportName/*[in]*/, BSTR Expression/*[in]*/, 
                                              short Header/*[in]*/, short Footer/*[in]*/, 
                                              long* pRet/*[out,retval]*/);
  long            __fastcall CreateGroupLevel(BSTR ReportName/*[in]*/, BSTR Expression/*[in]*/, 
                                              short Header/*[in]*/, short Footer/*[in]*/);
  HRESULT         __fastcall DMin(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DMin(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DMax(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DMax(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DSum(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DSum(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DAvg(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DAvg(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DLookup(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                     VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DLookup(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                     VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DLast(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                   VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DLast(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                   VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DVar(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DVar(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DVarP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                   VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DVarP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                   VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DStDev(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DStDev(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DStDevP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                     VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DStDevP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                     VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DFirst(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DFirst(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DCount(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DCount(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall Eval(BSTR StringExpr/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall Eval(BSTR StringExpr/*[in]*/);
  HRESULT         __fastcall CurrentUser(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall CurrentUser(void);
  HRESULT         __fastcall DDEInitiate(BSTR Application/*[in]*/, BSTR Topic/*[in]*/, 
                                         VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DDEInitiate(BSTR Application/*[in]*/, BSTR Topic/*[in]*/);
  HRESULT         __fastcall DDEExecute(VARIANT ChanNum/*[in]*/, BSTR Command/*[in]*/);
  HRESULT         __fastcall DDEPoke(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/, BSTR Data/*[in]*/);
  HRESULT         __fastcall DDERequest(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/, 
                                        BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall DDERequest(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/);
  HRESULT         __fastcall DDETerminate(VARIANT ChanNum/*[in]*/);
  HRESULT         __fastcall DDETerminateAll(void);
  HRESULT         __fastcall get_DBEngine(Dao_2k::DBEngine** pRet/*[out,retval]*/);
  Dao_2k::DBEnginePtr __fastcall get_DBEngine(void);
  HRESULT         __fastcall CurrentDb(Dao_2k::Database** pRet/*[out,retval]*/);
  Dao_2k::Database* __fastcall CurrentDb(void);
  HRESULT         __fastcall CodeDb(Dao_2k::Database** pRet/*[out,retval]*/);
  Dao_2k::Database* __fastcall CodeDb(void);
  HRESULT         __fastcall BeginUndoable(long Hwnd/*[in]*/);
  HRESULT         __fastcall SetUndoRecording(short yesno/*[in]*/);
  HRESULT         __fastcall BuildCriteria(BSTR Field/*[in]*/, short FieldType/*[in]*/, 
                                           BSTR Expression/*[in]*/, BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall BuildCriteria(BSTR Field/*[in]*/, short FieldType/*[in]*/, 
                                           BSTR Expression/*[in]*/);
  HRESULT         __fastcall InsertText(BSTR Text/*[in]*/, BSTR ModuleName/*[in]*/);
  HRESULT         __fastcall ReloadAddIns(void);
  HRESULT         __fastcall DefaultWorkspaceClone(Dao_2k::Workspace** pRet/*[out,retval]*/);
  Dao_2k::Workspace* __fastcall DefaultWorkspaceClone(void);
  HRESULT         __fastcall RefreshTitleBar(void);
  HRESULT         __fastcall AddAutoCorrect(BSTR ChangeFrom/*[in]*/, BSTR ChangeTo/*[in]*/);
  HRESULT         __fastcall DelAutoCorrect(BSTR ChangeFrom/*[in]*/);
  HRESULT         __fastcall hWndAccessApp(int* phWndAccessAppWnd/*[out,retval]*/);
  int             __fastcall hWndAccessApp(void);
  HRESULT         __fastcall Run(BSTR Procedure/*[in]*/, VARIANT* Arg1/*[in,out,opt]*/, 
                                 VARIANT* Arg2/*[in,out,opt]*/, VARIANT* Arg3/*[in,out,opt]*/, 
                                 VARIANT* Arg4/*[in,out,opt]*/, VARIANT* Arg5/*[in,out,opt]*/, 
                                 VARIANT* Arg6/*[in,out,opt]*/, VARIANT* Arg7/*[in,out,opt]*/, 
                                 VARIANT* Arg8/*[in,out,opt]*/, VARIANT* Arg9/*[in,out,opt]*/, 
                                 VARIANT* Arg10/*[in,out,opt]*/, VARIANT* Arg11/*[in,out,opt]*/, 
                                 VARIANT* Arg12/*[in,out,opt]*/, VARIANT* Arg13/*[in,out,opt]*/, 
                                 VARIANT* Arg14/*[in,out,opt]*/, VARIANT* Arg15/*[in,out,opt]*/, 
                                 VARIANT* Arg16/*[in,out,opt]*/, VARIANT* Arg17/*[in,out,opt]*/, 
                                 VARIANT* Arg18/*[in,out,opt]*/, VARIANT* Arg19/*[in,out,opt]*/, 
                                 VARIANT* Arg20/*[in,out,opt]*/, VARIANT* Arg21/*[in,out,opt]*/, 
                                 VARIANT* Arg22/*[in,out,opt]*/, VARIANT* Arg23/*[in,out,opt]*/, 
                                 VARIANT* Arg24/*[in,out,opt]*/, VARIANT* Arg25/*[in,out,opt]*/, 
                                 VARIANT* Arg26/*[in,out,opt]*/, VARIANT* Arg27/*[in,out,opt]*/, 
                                 VARIANT* Arg28/*[in,out,opt]*/, VARIANT* Arg29/*[in,out,opt]*/, 
                                 VARIANT* Arg30/*[in,out,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall Run(BSTR Procedure/*[in]*/, VARIANT* Arg1/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg2/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg3/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg4/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg5/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg6/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg7/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg8/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg9/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg10/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg11/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg12/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg13/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg14/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg15/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg16/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg17/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg18/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg19/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg20/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg21/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg22/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg23/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg24/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg25/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg26/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg27/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg28/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg29/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg30/*[in,out,opt]*/= TNoParam());
  HRESULT         __fastcall Nz(VARIANT Value/*[in]*/, VARIANT ValueIfNull/*[in,opt]*/, 
                                VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall Nz(VARIANT Value/*[in]*/, VARIANT ValueIfNull/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall LoadPicture(BSTR FileName/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall LoadPicture(BSTR FileName/*[in]*/);
  HRESULT         __fastcall ReplaceModule(long objtyp/*[in]*/, BSTR ModuleName/*[in]*/, 
                                           BSTR FileName/*[in]*/, long token/*[in]*/);
  HRESULT         __fastcall AccessError(VARIANT ErrorNumber/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall AccessError(VARIANT ErrorNumber/*[in]*/);
  HRESULT         __fastcall BuilderString(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall BuilderString(void);
  HRESULT         __fastcall StringFromGUID(VARIANT Guid/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall StringFromGUID(VARIANT Guid/*[in]*/);
  HRESULT         __fastcall GUIDFromString(VARIANT String/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall GUIDFromString(VARIANT String/*[in]*/);
  HRESULT         __fastcall AppLoadString(long id/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall AppLoadString(long id/*[in]*/);
  HRESULT         __fastcall get_CommandBars(Office_2k::CommandBars** pRet/*[out,retval]*/);
  Office_2k::CommandBarsPtr __fastcall get_CommandBars(void);
  HRESULT         __fastcall get_Assistant(Office_2k::Assistant** pRet/*[out,retval]*/);
  Office_2k::AssistantPtr __fastcall get_Assistant(void);
  HRESULT         __fastcall FollowHyperlink(BSTR Address/*[in]*/, BSTR SubAddress/*[in,def,opt]*/, 
                                             VARIANT_BOOL NewWindow/*[in,def,opt]*/, 
                                             VARIANT_BOOL AddHistory/*[in,def,opt]*/, 
                                             VARIANT ExtraInfo/*[in,opt]*/, 
                                             Office_2k::MsoExtraInfoMethod Method/*[in,def,opt]*/, 
                                             BSTR HeaderInfo/*[in,def,opt]*/);
  HRESULT         __fastcall SaveAsText(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                        BSTR ObjectName/*[in]*/, BSTR FileName/*[in]*/);
  HRESULT         __fastcall LoadFromText(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                          BSTR ObjectName/*[in]*/, BSTR FileName/*[in]*/);
  HRESULT         __fastcall AddToFavorites(void);
  HRESULT         __fastcall RefreshDatabaseWindow(void);
  HRESULT         __fastcall get_References(Access_2k::AccessReferences** pRet/*[out,retval]*/);
  Access_2k::AccessReferencesPtr __fastcall get_References(void);
  HRESULT         __fastcall get_Modules(Access_2k::Modules** pRet/*[out,retval]*/);
  Access_2k::ModulesPtr __fastcall get_Modules(void);
  HRESULT         __fastcall get_FileSearch(Office_2k::FileSearch** pRet/*[out,retval]*/);
  Office_2k::FileSearchPtr __fastcall get_FileSearch(void);
  HRESULT         __fastcall get_IsCompiled(VARIANT_BOOL* pfCompiled/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsCompiled(void);
  HRESULT         __fastcall RunCommand(Access_2k::AcCommand Command/*[in]*/);
  HRESULT         __fastcall HyperlinkPart(VARIANT Hyperlink/*[in]*/, 
                                           Access_2k::AcHyperlinkPart Part/*[in,def,opt]*/, 
                                           BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall HyperlinkPart(VARIANT Hyperlink/*[in]*/, 
                                           Access_2k::AcHyperlinkPart Part/*[in,def,opt]*/);
  HRESULT         __fastcall GetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                                BSTR ObjectName/*[in]*/, 
                                                VARIANT_BOOL* pfHidden/*[out,retval]*/);
  VARIANT_BOOL    __fastcall GetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                                BSTR ObjectName/*[in]*/);
  HRESULT         __fastcall SetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                                BSTR ObjectName/*[in]*/, 
                                                VARIANT_BOOL fHidden/*[in]*/);
  HRESULT         __fastcall get_VBE(Vbide_2k::VBE** ppVBE/*[out,retval]*/);
  Vbide_2k::VBEPtr __fastcall get_VBE(void);
  HRESULT         __fastcall get_DataAccessPages(Access_2k::DataAccessPages** pRet/*[out,retval]*/);
  Access_2k::DataAccessPagesPtr __fastcall get_DataAccessPages(void);
  HRESULT         __fastcall CreateDataAccessPage(VARIANT FileName/*[in,opt]*/, 
                                                  VARIANT_BOOL CreateNewFile/*[in,def,opt]*/, 
                                                  Access_2k::DataAccessPage** pRet/*[out,retval]*/);
  Access_2k::DataAccessPage* __fastcall CreateDataAccessPage(VARIANT FileName/*[in,opt]*/, 
                                                             VARIANT_BOOL CreateNewFile/*[in,def,opt]*/);
  HRESULT         __fastcall get_ADOConnectString(BSTR* pbstrADOConnectString/*[out,retval]*/);
  BSTR            __fastcall get_ADOConnectString(void);
  HRESULT         __fastcall get_CurrentProject(Access_2k::CurrentProject** pRet/*[out,retval]*/);
  Access_2k::CurrentProjectPtr __fastcall get_CurrentProject(void);
  HRESULT         __fastcall get_CurrentData(Access_2k::CurrentData** pRet/*[out,retval]*/);
  Access_2k::CurrentDataPtr __fastcall get_CurrentData(void);
  HRESULT         __fastcall get_CodeProject(Access_2k::CodeProject** pRet/*[out,retval]*/);
  Access_2k::CodeProjectPtr __fastcall get_CodeProject(void);
  HRESULT         __fastcall get_CodeData(Access_2k::CodeData** pRet/*[out,retval]*/);
  Access_2k::CodeDataPtr __fastcall get_CodeData(void);
  HRESULT         __fastcall NewAccessProject(BSTR filepath/*[in]*/, 
                                              VARIANT Connect/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall OpenAccessProject(BSTR filepath/*[in]*/, 
                                               VARIANT_BOOL Exclusive/*[in,def,opt]*/);
  HRESULT         __fastcall CreateAccessProject(BSTR filepath/*[in]*/, 
                                                 VARIANT Connect/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_WizHook(Access_2k::WizHook** pRet/*[out,retval]*/);
  Access_2k::WizHookPtr __fastcall get_WizHook(void);
  HRESULT         __fastcall get_ProductCode(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ProductCode(void);
  HRESULT         __fastcall get_COMAddIns(Office_2k::COMAddIns** pRet/*[out,retval]*/);
  Office_2k::COMAddInsPtr __fastcall get_COMAddIns(void);
  HRESULT         __fastcall get_Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall get_DefaultWebOptions(Access_2k::DefaultWebOptions** ppDWO/*[out,retval]*/);
  Access_2k::DefaultWebOptionsPtr __fastcall get_DefaultWebOptions(void);
  HRESULT         __fastcall get_LanguageSettings(Office_2k::LanguageSettings** ppRet/*[out,retval]*/);
  Office_2k::LanguageSettingsPtr __fastcall get_LanguageSettings(void);
  HRESULT         __fastcall get_AnswerWizard(Office_2k::AnswerWizard** pRet/*[out,retval]*/);
  Office_2k::AnswerWizardPtr __fastcall get_AnswerWizard(void);
  HRESULT         __fastcall get_FeatureInstall(Office_2k::MsoFeatureInstall* FeatureInstall/*[out,retval]*/);
  Office_2k::MsoFeatureInstall __fastcall get_FeatureInstall(void);
  HRESULT         __fastcall set_FeatureInstall(Office_2k::MsoFeatureInstall FeatureInstall/*[in]*/);
  HRESULT         __fastcall EuroConvert(double Number/*[in]*/, BSTR SourceCurrency/*[in]*/, 
                                         BSTR TargetCurrency/*[in]*/, 
                                         VARIANT FullPrecision/*[in,opt]*/, 
                                         VARIANT TriangulationPrecision/*[in,opt]*/, 
                                         double* pRet/*[out,retval]*/);
  double          __fastcall EuroConvert(double Number/*[in]*/, BSTR SourceCurrency/*[in]*/, 
                                         BSTR TargetCurrency/*[in]*/, 
                                         VARIANT FullPrecision/*[in,opt]*/= TNoParam(), 
                                         VARIANT TriangulationPrecision/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_VGXFrameInterval(VARIANT* pnmsec/*[out,retval]*/);
  VARIANT         __fastcall get_VGXFrameInterval(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      CodeContextObject = {read = get_CodeContextObject};
  __property   BSTR            MenuBar = {read = get_MenuBar, write = set_MenuBar};
  __property   long            CurrentObjectType = {read = get_CurrentObjectType};
  __property   BSTR            CurrentObjectName = {read = get_CurrentObjectName};
  __property   Access_2k::Forms_Ptr Forms = {read = get_Forms};
  __property   Access_2k::ReportsPtr Reports = {read = get_Reports};
  __property   Access_2k::ScreenPtr Screen = {read = get_Screen};
  __property   Access_2k::DoCmdPtr DoCmd = {read = get_DoCmd};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    UserControl = {read = get_UserControl, write = set_UserControl};
  __property   Dao_2k::DBEnginePtr DBEngine = {read = get_DBEngine};
  __property   Office_2k::CommandBarsPtr CommandBars = {read = get_CommandBars};
  __property   Office_2k::AssistantPtr Assistant = {read = get_Assistant};
  __property   Access_2k::AccessReferencesPtr References = {read = get_References};
  __property   Access_2k::ModulesPtr Modules = {read = get_Modules};
  __property   Office_2k::FileSearchPtr FileSearch = {read = get_FileSearch};
  __property   VARIANT_BOOL    IsCompiled = {read = get_IsCompiled};
  __property   Vbide_2k::VBEPtr VBE = {read = get_VBE};
  __property   Access_2k::DataAccessPagesPtr DataAccessPages = {read = get_DataAccessPages};
  __property   BSTR            ADOConnectString = {read = get_ADOConnectString};
  __property   Access_2k::CurrentProjectPtr CurrentProject = {read = get_CurrentProject};
  __property   Access_2k::CurrentDataPtr CurrentData = {read = get_CurrentData};
  __property   Access_2k::CodeProjectPtr CodeProject = {read = get_CodeProject};
  __property   Access_2k::CodeDataPtr CodeData = {read = get_CodeData};
  __property   Access_2k::WizHookPtr WizHook = {read = get_WizHook};
  __property   BSTR            ProductCode = {read = get_ProductCode};
  __property   Office_2k::COMAddInsPtr COMAddIns = {read = get_COMAddIns};
  __property   BSTR            Name = {read = get_Name};
  __property   Access_2k::DefaultWebOptionsPtr DefaultWebOptions = {read = get_DefaultWebOptions};
  __property   Office_2k::LanguageSettingsPtr LanguageSettings = {read = get_LanguageSettings};
  __property   Office_2k::AnswerWizardPtr AnswerWizard = {read = get_AnswerWizard};
  __property   Office_2k::MsoFeatureInstall FeatureInstall = {read = get_FeatureInstall, write = set_FeatureInstall};
};
typedef TCOM_ApplicationT<_Application> TCOM_Application;

// *********************************************************************//
// DispIntf:  _Application
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {68CCE6C0-6129-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template<class T>
class _ApplicationDispT : public TAutoDriver<_Application>
{
public:
  _ApplicationDispT(){}

  _ApplicationDispT(_Application *pintf)
  {
    TAutoDriver<_Application>::Bind(pintf, false);
  }

  _ApplicationDispT(_ApplicationPtr pintf)
  {
    TAutoDriver<_Application>::Bind(pintf, true);
  }

  _ApplicationDispT& operator=(_Application *pintf)
  {
    TAutoDriver<_Application>::Bind(pintf, false);
    return *this;
  }

  _ApplicationDispT& operator=(_ApplicationPtr pintf)
  {
    TAutoDriver<_Application>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessApplication));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessApplication);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_CodeContextObject(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_CodeContextObject(void);
  HRESULT         __fastcall NewCurrentDatabase(BSTR filepath/*[in]*/);
  HRESULT         __fastcall OpenCurrentDatabase(BSTR filepath/*[in]*/, 
                                                 VARIANT_BOOL Exclusive/*[in,def,opt]*/);
  HRESULT         __fastcall get_MenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_MenuBar(void);
  HRESULT         __fastcall set_MenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_CurrentObjectType(long* pRet/*[out,retval]*/);
  long            __fastcall get_CurrentObjectType(void);
  HRESULT         __fastcall get_CurrentObjectName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_CurrentObjectName(void);
  HRESULT         __fastcall GetOption(BSTR OptionName/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall GetOption(BSTR OptionName/*[in]*/);
  HRESULT         __fastcall SetOption(BSTR OptionName/*[in]*/, VARIANT Setting/*[in]*/);
  HRESULT         __fastcall Echo(short EchoOn/*[in]*/, BSTR bstrStatusBarText/*[in,def,opt]*/);
  HRESULT         __fastcall CloseCurrentDatabase();
  HRESULT         __fastcall Quit(Access_2k::AcQuitOption Option/*[in,def,opt]*/);
  HRESULT         __fastcall get_Forms(Access_2k::Forms_** pRet/*[out,retval]*/);
  Access_2k::Forms_Ptr __fastcall get_Forms(void);
  HRESULT         __fastcall get_Reports(Access_2k::Reports** pRet/*[out,retval]*/);
  Access_2k::ReportsPtr __fastcall get_Reports(void);
  HRESULT         __fastcall get_Screen(Access_2k::Screen** pRet/*[out,retval]*/);
  Access_2k::ScreenPtr __fastcall get_Screen(void);
  HRESULT         __fastcall get_DoCmd(Access_2k::DoCmd** pRet/*[out,retval]*/);
  Access_2k::DoCmdPtr __fastcall get_DoCmd(void);
  HRESULT         __fastcall get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ShortcutMenuBar(void);
  HRESULT         __fastcall set_ShortcutMenuBar(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pfVisible/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pfVisible/*[in]*/);
  HRESULT         __fastcall get_UserControl(VARIANT_BOOL* pfUserCtrl/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_UserControl(void);
  HRESULT         __fastcall set_UserControl(VARIANT_BOOL pfUserCtrl/*[in]*/);
  HRESULT         __fastcall SysCmd(Access_2k::AcSysCmdAction Action/*[in]*/, 
                                    VARIANT Argument2/*[in,opt]*/, VARIANT Argument3/*[in,opt]*/, 
                                    VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall SysCmd(Access_2k::AcSysCmdAction Action/*[in]*/, 
                                    VARIANT Argument2/*[in,opt]*/= TNoParam(), 
                                    VARIANT Argument3/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CreateForm(VARIANT Database/*[in,opt]*/, 
                                        VARIANT FormTemplate/*[in,opt]*/, 
                                        Access_2k::AccessForm** pRet/*[out,retval]*/);
  Access_2k::AccessForm* __fastcall CreateForm(VARIANT Database/*[in,opt]*/= TNoParam(), 
                                               VARIANT FormTemplate/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CreateReport(VARIANT Database/*[in,opt]*/, 
                                          VARIANT ReportTemplate/*[in,opt]*/, 
                                          Access_2k::AccessReport** pRet/*[out,retval]*/);
  Access_2k::AccessReport* __fastcall CreateReport(VARIANT Database/*[in,opt]*/= TNoParam(), 
                                                   VARIANT ReportTemplate/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CreateControl(BSTR FormName/*[in]*/, 
                                           Access_2k::AcControlType ControlType/*[in]*/, 
                                           Access_2k::AcSection Section/*[in,def,opt]*/, 
                                           VARIANT Parent/*[in,opt]*/, 
                                           VARIANT ColumnName/*[in,opt]*/, VARIANT Left/*[in,opt]*/
                                           , VARIANT Top/*[in,opt]*/, VARIANT Width/*[in,opt]*/, 
                                           VARIANT Height/*[in,opt]*/, 
                                           Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall CreateControl(BSTR FormName/*[in]*/, 
                                                     Access_2k::AcControlType ControlType/*[in]*/, 
                                                     Access_2k::AcSection Section/*[in,def,opt]*/, 
                                                     VARIANT Parent/*[in,opt]*/= TNoParam(), 
                                                     VARIANT ColumnName/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Left/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Top/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Width/*[in,opt]*/= TNoParam(), 
                                                     VARIANT Height/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CreateReportControl(BSTR ReportName/*[in]*/, 
                                                 Access_2k::AcControlType ControlType/*[in]*/, 
                                                 Access_2k::AcSection Section/*[in,def,opt]*/, 
                                                 VARIANT Parent/*[in,opt]*/, 
                                                 VARIANT ColumnName/*[in,opt]*/, 
                                                 VARIANT Left/*[in,opt]*/, VARIANT Top/*[in,opt]*/, 
                                                 VARIANT Width/*[in,opt]*/, 
                                                 VARIANT Height/*[in,opt]*/, 
                                                 Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall CreateReportControl(BSTR ReportName/*[in]*/, 
                                                           Access_2k::AcControlType ControlType/*[in]*/, 
                                                           Access_2k::AcSection Section/*[in,def,opt]*/, 
                                                           VARIANT Parent/*[in,opt]*/= TNoParam(), 
                                                           VARIANT ColumnName/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Left/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Top/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Width/*[in,opt]*/= TNoParam(), 
                                                           VARIANT Height/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CreateControlEx(BSTR FormName/*[in]*/, 
                                             Access_2k::AcControlType ControlType/*[in]*/, 
                                             Access_2k::AcSection Section/*[in]*/, 
                                             BSTR Parent/*[in]*/, BSTR ControlSource/*[in]*/, 
                                             long Left/*[in]*/, long Top/*[in]*/, long Width/*[in]*/
                                             , long Height/*[in]*/, 
                                             Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall CreateControlEx(BSTR FormName/*[in]*/, 
                                                       Access_2k::AcControlType ControlType/*[in]*/, 
                                                       Access_2k::AcSection Section/*[in]*/, 
                                                       BSTR Parent/*[in]*/, 
                                                       BSTR ControlSource/*[in]*/, long Left/*[in]*/, 
                                                       long Top/*[in]*/, long Width/*[in]*/, 
                                                       long Height/*[in]*/);
  HRESULT         __fastcall CreateReportControlEx(BSTR ReportName/*[in]*/, 
                                                   Access_2k::AcControlType ControlType/*[in]*/, 
                                                   Access_2k::AcSection Section/*[in]*/, 
                                                   BSTR Parent/*[in]*/, BSTR ControlName/*[in]*/, 
                                                   long Left/*[in]*/, long Top/*[in]*/, 
                                                   long Width/*[in]*/, long Height/*[in]*/, 
                                                   Access_2k::AccessControl** pRet/*[out,retval]*/);
  Access_2k::AccessControl* __fastcall CreateReportControlEx(BSTR ReportName/*[in]*/, 
                                                             Access_2k::AcControlType ControlType/*[in]*/, 
                                                             Access_2k::AcSection Section/*[in]*/, 
                                                             BSTR Parent/*[in]*/, 
                                                             BSTR ControlName/*[in]*/, 
                                                             long Left/*[in]*/, long Top/*[in]*/, 
                                                             long Width/*[in]*/, long Height/*[in]*/);
  HRESULT         __fastcall DeleteControl(BSTR FormName/*[in]*/, BSTR ControlName/*[in]*/);
  HRESULT         __fastcall DeleteReportControl(BSTR ReportName/*[in]*/, BSTR ControlName/*[in]*/);
  HRESULT         __fastcall CreateGroupLevel(BSTR ReportName/*[in]*/, BSTR Expression/*[in]*/, 
                                              short Header/*[in]*/, short Footer/*[in]*/, 
                                              long* pRet/*[out,retval]*/);
  long            __fastcall CreateGroupLevel(BSTR ReportName/*[in]*/, BSTR Expression/*[in]*/, 
                                              short Header/*[in]*/, short Footer/*[in]*/);
  HRESULT         __fastcall DMin(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DMin(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DMax(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DMax(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DSum(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DSum(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DAvg(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DAvg(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DLookup(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                     VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DLookup(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                     VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DLast(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                   VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DLast(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                   VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DVar(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DVar(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                  VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DVarP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                   VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DVarP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                   VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DStDev(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DStDev(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DStDevP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                     VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DStDevP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                     VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DFirst(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DFirst(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall DCount(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DCount(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, 
                                    VARIANT Criteria/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall Eval(BSTR StringExpr/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall Eval(BSTR StringExpr/*[in]*/);
  HRESULT         __fastcall CurrentUser(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall CurrentUser(void);
  HRESULT         __fastcall DDEInitiate(BSTR Application/*[in]*/, BSTR Topic/*[in]*/, 
                                         VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall DDEInitiate(BSTR Application/*[in]*/, BSTR Topic/*[in]*/);
  HRESULT         __fastcall DDEExecute(VARIANT ChanNum/*[in]*/, BSTR Command/*[in]*/);
  HRESULT         __fastcall DDEPoke(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/, BSTR Data/*[in]*/);
  HRESULT         __fastcall DDERequest(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/, 
                                        BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall DDERequest(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/);
  HRESULT         __fastcall DDETerminate(VARIANT ChanNum/*[in]*/);
  HRESULT         __fastcall DDETerminateAll();
  HRESULT         __fastcall get_DBEngine(Dao_2k::DBEngine** pRet/*[out,retval]*/);
  Dao_2k::DBEnginePtr __fastcall get_DBEngine(void);
  HRESULT         __fastcall CurrentDb(Dao_2k::Database** pRet/*[out,retval]*/);
  Dao_2k::Database* __fastcall CurrentDb(void);
  HRESULT         __fastcall CodeDb(Dao_2k::Database** pRet/*[out,retval]*/);
  Dao_2k::Database* __fastcall CodeDb(void);
  HRESULT         __fastcall BeginUndoable(long Hwnd/*[in]*/);
  HRESULT         __fastcall SetUndoRecording(short yesno/*[in]*/);
  HRESULT         __fastcall BuildCriteria(BSTR Field/*[in]*/, short FieldType/*[in]*/, 
                                           BSTR Expression/*[in]*/, BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall BuildCriteria(BSTR Field/*[in]*/, short FieldType/*[in]*/, 
                                           BSTR Expression/*[in]*/);
  HRESULT         __fastcall InsertText(BSTR Text/*[in]*/, BSTR ModuleName/*[in]*/);
  HRESULT         __fastcall ReloadAddIns();
  HRESULT         __fastcall DefaultWorkspaceClone(Dao_2k::Workspace** pRet/*[out,retval]*/);
  Dao_2k::Workspace* __fastcall DefaultWorkspaceClone(void);
  HRESULT         __fastcall RefreshTitleBar();
  HRESULT         __fastcall AddAutoCorrect(BSTR ChangeFrom/*[in]*/, BSTR ChangeTo/*[in]*/);
  HRESULT         __fastcall DelAutoCorrect(BSTR ChangeFrom/*[in]*/);
  HRESULT         __fastcall hWndAccessApp(int* phWndAccessAppWnd/*[out,retval]*/);
  int             __fastcall hWndAccessApp(void);
  HRESULT         __fastcall Run(BSTR Procedure/*[in]*/, VARIANT* Arg1/*[in,out,opt]*/, 
                                 VARIANT* Arg2/*[in,out,opt]*/, VARIANT* Arg3/*[in,out,opt]*/, 
                                 VARIANT* Arg4/*[in,out,opt]*/, VARIANT* Arg5/*[in,out,opt]*/, 
                                 VARIANT* Arg6/*[in,out,opt]*/, VARIANT* Arg7/*[in,out,opt]*/, 
                                 VARIANT* Arg8/*[in,out,opt]*/, VARIANT* Arg9/*[in,out,opt]*/, 
                                 VARIANT* Arg10/*[in,out,opt]*/, VARIANT* Arg11/*[in,out,opt]*/, 
                                 VARIANT* Arg12/*[in,out,opt]*/, VARIANT* Arg13/*[in,out,opt]*/, 
                                 VARIANT* Arg14/*[in,out,opt]*/, VARIANT* Arg15/*[in,out,opt]*/, 
                                 VARIANT* Arg16/*[in,out,opt]*/, VARIANT* Arg17/*[in,out,opt]*/, 
                                 VARIANT* Arg18/*[in,out,opt]*/, VARIANT* Arg19/*[in,out,opt]*/, 
                                 VARIANT* Arg20/*[in,out,opt]*/, VARIANT* Arg21/*[in,out,opt]*/, 
                                 VARIANT* Arg22/*[in,out,opt]*/, VARIANT* Arg23/*[in,out,opt]*/, 
                                 VARIANT* Arg24/*[in,out,opt]*/, VARIANT* Arg25/*[in,out,opt]*/, 
                                 VARIANT* Arg26/*[in,out,opt]*/, VARIANT* Arg27/*[in,out,opt]*/, 
                                 VARIANT* Arg28/*[in,out,opt]*/, VARIANT* Arg29/*[in,out,opt]*/, 
                                 VARIANT* Arg30/*[in,out,opt]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall Run(BSTR Procedure/*[in]*/, VARIANT* Arg1/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg2/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg3/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg4/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg5/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg6/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg7/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg8/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg9/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg10/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg11/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg12/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg13/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg14/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg15/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg16/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg17/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg18/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg19/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg20/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg21/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg22/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg23/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg24/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg25/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg26/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg27/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg28/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg29/*[in,out,opt]*/= TNoParam(), 
                                 VARIANT* Arg30/*[in,out,opt]*/= TNoParam());
  HRESULT         __fastcall Nz(VARIANT Value/*[in]*/, VARIANT ValueIfNull/*[in,opt]*/, 
                                VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall Nz(VARIANT Value/*[in]*/, VARIANT ValueIfNull/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall LoadPicture(BSTR FileName/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall LoadPicture(BSTR FileName/*[in]*/);
  HRESULT         __fastcall ReplaceModule(long objtyp/*[in]*/, BSTR ModuleName/*[in]*/, 
                                           BSTR FileName/*[in]*/, long token/*[in]*/);
  HRESULT         __fastcall AccessError(VARIANT ErrorNumber/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall AccessError(VARIANT ErrorNumber/*[in]*/);
  HRESULT         __fastcall BuilderString(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall BuilderString(void);
  HRESULT         __fastcall StringFromGUID(VARIANT Guid/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall StringFromGUID(VARIANT Guid/*[in]*/);
  HRESULT         __fastcall GUIDFromString(VARIANT String/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall GUIDFromString(VARIANT String/*[in]*/);
  HRESULT         __fastcall AppLoadString(long id/*[in]*/, VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall AppLoadString(long id/*[in]*/);
  HRESULT         __fastcall get_CommandBars(Office_2k::CommandBars** pRet/*[out,retval]*/);
  Office_2k::CommandBarsPtr __fastcall get_CommandBars(void);
  HRESULT         __fastcall get_Assistant(Office_2k::Assistant** pRet/*[out,retval]*/);
  Office_2k::AssistantPtr __fastcall get_Assistant(void);
  HRESULT         __fastcall FollowHyperlink(BSTR Address/*[in]*/, BSTR SubAddress/*[in,def,opt]*/, 
                                             VARIANT_BOOL NewWindow/*[in,def,opt]*/, 
                                             VARIANT_BOOL AddHistory/*[in,def,opt]*/, 
                                             VARIANT ExtraInfo/*[in,opt]*/, 
                                             Office_2k::MsoExtraInfoMethod Method/*[in,def,opt]*/, 
                                             BSTR HeaderInfo/*[in,def,opt]*/);
  HRESULT         __fastcall SaveAsText(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                        BSTR ObjectName/*[in]*/, BSTR FileName/*[in]*/);
  HRESULT         __fastcall LoadFromText(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                          BSTR ObjectName/*[in]*/, BSTR FileName/*[in]*/);
  HRESULT         __fastcall AddToFavorites();
  HRESULT         __fastcall RefreshDatabaseWindow();
  HRESULT         __fastcall get_References(Access_2k::AccessReferences** pRet/*[out,retval]*/);
  Access_2k::AccessReferencesPtr __fastcall get_References(void);
  HRESULT         __fastcall get_Modules(Access_2k::Modules** pRet/*[out,retval]*/);
  Access_2k::ModulesPtr __fastcall get_Modules(void);
  HRESULT         __fastcall get_FileSearch(Office_2k::FileSearch** pRet/*[out,retval]*/);
  Office_2k::FileSearchPtr __fastcall get_FileSearch(void);
  HRESULT         __fastcall get_IsCompiled(VARIANT_BOOL* pfCompiled/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsCompiled(void);
  HRESULT         __fastcall RunCommand(Access_2k::AcCommand Command/*[in]*/);
  HRESULT         __fastcall HyperlinkPart(VARIANT Hyperlink/*[in]*/, 
                                           Access_2k::AcHyperlinkPart Part/*[in,def,opt]*/, 
                                           BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall HyperlinkPart(VARIANT Hyperlink/*[in]*/, 
                                           Access_2k::AcHyperlinkPart Part/*[in,def,opt]*/);
  HRESULT         __fastcall GetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                                BSTR ObjectName/*[in]*/, 
                                                VARIANT_BOOL* pfHidden/*[out,retval]*/);
  VARIANT_BOOL    __fastcall GetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                                BSTR ObjectName/*[in]*/);
  HRESULT         __fastcall SetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                                BSTR ObjectName/*[in]*/, 
                                                VARIANT_BOOL fHidden/*[in]*/);
  HRESULT         __fastcall get_VBE(Vbide_2k::VBE** ppVBE/*[out,retval]*/);
  Vbide_2k::VBEPtr __fastcall get_VBE(void);
  HRESULT         __fastcall get_DataAccessPages(Access_2k::DataAccessPages** pRet/*[out,retval]*/);
  Access_2k::DataAccessPagesPtr __fastcall get_DataAccessPages(void);
  HRESULT         __fastcall CreateDataAccessPage(VARIANT FileName/*[in,opt]*/, 
                                                  VARIANT_BOOL CreateNewFile/*[in,def,opt]*/, 
                                                  Access_2k::DataAccessPage** pRet/*[out,retval]*/);
  Access_2k::DataAccessPage* __fastcall CreateDataAccessPage(VARIANT FileName/*[in,opt]*/, 
                                                             VARIANT_BOOL CreateNewFile/*[in,def,opt]*/);
  HRESULT         __fastcall get_ADOConnectString(BSTR* pbstrADOConnectString/*[out,retval]*/);
  BSTR            __fastcall get_ADOConnectString(void);
  HRESULT         __fastcall get_CurrentProject(Access_2k::CurrentProject** pRet/*[out,retval]*/);
  Access_2k::CurrentProjectPtr __fastcall get_CurrentProject(void);
  HRESULT         __fastcall get_CurrentData(Access_2k::CurrentData** pRet/*[out,retval]*/);
  Access_2k::CurrentDataPtr __fastcall get_CurrentData(void);
  HRESULT         __fastcall get_CodeProject(Access_2k::CodeProject** pRet/*[out,retval]*/);
  Access_2k::CodeProjectPtr __fastcall get_CodeProject(void);
  HRESULT         __fastcall get_CodeData(Access_2k::CodeData** pRet/*[out,retval]*/);
  Access_2k::CodeDataPtr __fastcall get_CodeData(void);
  HRESULT         __fastcall NewAccessProject(BSTR filepath/*[in]*/, 
                                              VARIANT Connect/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall OpenAccessProject(BSTR filepath/*[in]*/, 
                                               VARIANT_BOOL Exclusive/*[in,def,opt]*/);
  HRESULT         __fastcall CreateAccessProject(BSTR filepath/*[in]*/, 
                                                 VARIANT Connect/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_WizHook(Access_2k::WizHook** pRet/*[out,retval]*/);
  Access_2k::WizHookPtr __fastcall get_WizHook(void);
  HRESULT         __fastcall get_ProductCode(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ProductCode(void);
  HRESULT         __fastcall get_COMAddIns(Office_2k::COMAddIns** pRet/*[out,retval]*/);
  Office_2k::COMAddInsPtr __fastcall get_COMAddIns(void);
  HRESULT         __fastcall get_Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall get_DefaultWebOptions(Access_2k::DefaultWebOptions** ppDWO/*[out,retval]*/);
  Access_2k::DefaultWebOptionsPtr __fastcall get_DefaultWebOptions(void);
  HRESULT         __fastcall get_LanguageSettings(Office_2k::LanguageSettings** ppRet/*[out,retval]*/);
  Office_2k::LanguageSettingsPtr __fastcall get_LanguageSettings(void);
  HRESULT         __fastcall get_AnswerWizard(Office_2k::AnswerWizard** pRet/*[out,retval]*/);
  Office_2k::AnswerWizardPtr __fastcall get_AnswerWizard(void);
  HRESULT         __fastcall get_FeatureInstall(Office_2k::MsoFeatureInstall* FeatureInstall/*[out,retval]*/);
  Office_2k::MsoFeatureInstall __fastcall get_FeatureInstall(void);
  HRESULT         __fastcall set_FeatureInstall(Office_2k::MsoFeatureInstall FeatureInstall/*[in]*/);
  HRESULT         __fastcall EuroConvert(double Number/*[in]*/, BSTR SourceCurrency/*[in]*/, 
                                         BSTR TargetCurrency/*[in]*/, 
                                         VARIANT FullPrecision/*[in,opt]*/, 
                                         VARIANT TriangulationPrecision/*[in,opt]*/, 
                                         double* pRet/*[out,retval]*/);
  double          __fastcall EuroConvert(double Number/*[in]*/, BSTR SourceCurrency/*[in]*/, 
                                         BSTR TargetCurrency/*[in]*/, 
                                         VARIANT FullPrecision/*[in,opt]*/= TNoParam(), 
                                         VARIANT TriangulationPrecision/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall get_VGXFrameInterval(VARIANT* pnmsec/*[out,retval]*/);
  VARIANT         __fastcall get_VGXFrameInterval(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      CodeContextObject = {read = get_CodeContextObject};
  __property   BSTR            MenuBar = {read = get_MenuBar, write = set_MenuBar};
  __property   long            CurrentObjectType = {read = get_CurrentObjectType};
  __property   BSTR            CurrentObjectName = {read = get_CurrentObjectName};
  __property   Access_2k::Forms_Ptr Forms = {read = get_Forms};
  __property   Access_2k::ReportsPtr Reports = {read = get_Reports};
  __property   Access_2k::ScreenPtr Screen = {read = get_Screen};
  __property   Access_2k::DoCmdPtr DoCmd = {read = get_DoCmd};
  __property   BSTR            ShortcutMenuBar = {read = get_ShortcutMenuBar, write = set_ShortcutMenuBar};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   VARIANT_BOOL    UserControl = {read = get_UserControl, write = set_UserControl};
  __property   Dao_2k::DBEnginePtr DBEngine = {read = get_DBEngine};
  __property   Office_2k::CommandBarsPtr CommandBars = {read = get_CommandBars};
  __property   Office_2k::AssistantPtr Assistant = {read = get_Assistant};
  __property   Access_2k::AccessReferencesPtr References = {read = get_References};
  __property   Access_2k::ModulesPtr Modules = {read = get_Modules};
  __property   Office_2k::FileSearchPtr FileSearch = {read = get_FileSearch};
  __property   VARIANT_BOOL    IsCompiled = {read = get_IsCompiled};
  __property   Vbide_2k::VBEPtr VBE = {read = get_VBE};
  __property   Access_2k::DataAccessPagesPtr DataAccessPages = {read = get_DataAccessPages};
  __property   BSTR            ADOConnectString = {read = get_ADOConnectString};
  __property   Access_2k::CurrentProjectPtr CurrentProject = {read = get_CurrentProject};
  __property   Access_2k::CurrentDataPtr CurrentData = {read = get_CurrentData};
  __property   Access_2k::CodeProjectPtr CodeProject = {read = get_CodeProject};
  __property   Access_2k::CodeDataPtr CodeData = {read = get_CodeData};
  __property   Access_2k::WizHookPtr WizHook = {read = get_WizHook};
  __property   BSTR            ProductCode = {read = get_ProductCode};
  __property   Office_2k::COMAddInsPtr COMAddIns = {read = get_COMAddIns};
  __property   BSTR            Name = {read = get_Name};
  __property   Access_2k::DefaultWebOptionsPtr DefaultWebOptions = {read = get_DefaultWebOptions};
  __property   Office_2k::LanguageSettingsPtr LanguageSettings = {read = get_LanguageSettings};
  __property   Office_2k::AnswerWizardPtr AnswerWizard = {read = get_AnswerWizard};
  __property   Office_2k::MsoFeatureInstall FeatureInstall = {read = get_FeatureInstall, write = set_FeatureInstall};
};
typedef _ApplicationDispT<_Application> _ApplicationDisp;

typedef TComInterface<Reference>  TCOMReference;

// *********************************************************************//
// DispIntf:  Reference
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {EB106212-9C89-11CF-A2B3-00A0C90542FF}
// *********************************************************************//
template<class T>
class ReferenceDispT : public TAutoDriver<Reference>
{
public:
  ReferenceDispT(){}

  ReferenceDispT(Reference *pintf)
  {
    TAutoDriver<Reference>::Bind(pintf, false);
  }

  ReferenceDispT(ReferencePtr pintf)
  {
    TAutoDriver<Reference>::Bind(pintf, true);
  }

  ReferenceDispT& operator=(Reference *pintf)
  {
    TAutoDriver<Reference>::Bind(pintf, false);
    return *this;
  }

  ReferenceDispT& operator=(ReferencePtr pintf)
  {
    TAutoDriver<Reference>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Collection(Access_2k::AccessReferences** retval/*[out,retval]*/);
  Access_2k::AccessReferencesPtr __fastcall get_Collection(void);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall get_Guid(BSTR* pbstrGuid/*[out,retval]*/);
  BSTR            __fastcall get_Guid(void);
  HRESULT         __fastcall get_Major(long* pMajor/*[out,retval]*/);
  long            __fastcall get_Major(void);
  HRESULT         __fastcall get_Minor(long* pMinor/*[out,retval]*/);
  long            __fastcall get_Minor(void);
  HRESULT         __fastcall get_FullPath(BSTR* pbstrFullPath/*[out,retval]*/);
  BSTR            __fastcall get_FullPath(void);
  HRESULT         __fastcall get_BuiltIn(VARIANT_BOOL* pfBuiltIn/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_BuiltIn(void);
  HRESULT         __fastcall get_IsBroken(VARIANT_BOOL* pfIsBroken/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsBroken(void);
  HRESULT         __fastcall get_Kind(Vbide_2k::vbext_RefKind* pKind/*[out,retval]*/);
  Vbide_2k::vbext_RefKind __fastcall get_Kind(void);

  __property   Access_2k::AccessReferencesPtr Collection = {read = get_Collection};
  __property   BSTR            Name = {read = get_Name};
  __property   BSTR            Guid = {read = get_Guid};
  __property   long            Major = {read = get_Major};
  __property   long            Minor = {read = get_Minor};
  __property   BSTR            FullPath = {read = get_FullPath};
  __property   VARIANT_BOOL    BuiltIn = {read = get_BuiltIn};
  __property   VARIANT_BOOL    IsBroken = {read = get_IsBroken};
  __property   Vbide_2k::vbext_RefKind Kind = {read = get_Kind};
};
typedef ReferenceDispT<Reference> ReferenceDisp;

// *********************************************************************//
// SmartIntf: TCOM_References
// Interface: _References
// *********************************************************************//
template <class T /* _References */ >
class TCOM_ReferencesT : public TComInterface<_References>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_ReferencesT() {}
  TCOM_ReferencesT(_References *intf, bool addRef = false) : TComInterface<_References>(intf, addRef) {}
  TCOM_ReferencesT(const TCOM_ReferencesT& src) : TComInterface<_References>(src) {}
  TCOM_ReferencesT& operator=(const TCOM_ReferencesT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Parent(LPDISPATCH* retval/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Item(VARIANT var/*[in]*/, 
                                  Access_2k::Reference** Reference/*[out,retval]*/);
  Access_2k::Reference* __fastcall Item(VARIANT var/*[in]*/);
  HRESULT         __fastcall get_Count(long* Count/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* ppenum/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);
  HRESULT         __fastcall AddFromGuid(BSTR Guid/*[in]*/, long Major/*[in]*/, long Minor/*[in]*/, 
                                         Access_2k::Reference** Reference/*[out,retval]*/);
  Access_2k::Reference* __fastcall AddFromGuid(BSTR Guid/*[in]*/, long Major/*[in]*/, 
                                               long Minor/*[in]*/);
  HRESULT         __fastcall AddFromFile(BSTR FileName/*[in]*/, 
                                         Access_2k::Reference** Reference/*[out,retval]*/);
  Access_2k::Reference* __fastcall AddFromFile(BSTR FileName/*[in]*/);
  HRESULT         __fastcall Remove(Access_2k::Reference* Reference/*[in]*/);

  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef TCOM_ReferencesT<_References> TCOM_References;

// *********************************************************************//
// DispIntf:  _References
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {EB106213-9C89-11CF-A2B3-00A0C90542FF}
// *********************************************************************//
template<class T>
class _ReferencesDispT : public TAutoDriver<_References>
{
public:
  _ReferencesDispT(){}

  _ReferencesDispT(_References *pintf)
  {
    TAutoDriver<_References>::Bind(pintf, false);
  }

  _ReferencesDispT(_ReferencesPtr pintf)
  {
    TAutoDriver<_References>::Bind(pintf, true);
  }

  _ReferencesDispT& operator=(_References *pintf)
  {
    TAutoDriver<_References>::Bind(pintf, false);
    return *this;
  }

  _ReferencesDispT& operator=(_ReferencesPtr pintf)
  {
    TAutoDriver<_References>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessReferences));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessReferences);
  }

  HRESULT         __fastcall get_Parent(LPDISPATCH* retval/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall Item(VARIANT var/*[in]*/, 
                                  Access_2k::Reference** Reference/*[out,retval]*/);
  Access_2k::Reference* __fastcall Item(VARIANT var/*[in]*/);
  HRESULT         __fastcall get_Count(long* Count/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* ppenum/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);
  HRESULT         __fastcall AddFromGuid(BSTR Guid/*[in]*/, long Major/*[in]*/, long Minor/*[in]*/, 
                                         Access_2k::Reference** Reference/*[out,retval]*/);
  Access_2k::Reference* __fastcall AddFromGuid(BSTR Guid/*[in]*/, long Major/*[in]*/, 
                                               long Minor/*[in]*/);
  HRESULT         __fastcall AddFromFile(BSTR FileName/*[in]*/, 
                                         Access_2k::Reference** Reference/*[out,retval]*/);
  Access_2k::Reference* __fastcall AddFromFile(BSTR FileName/*[in]*/);
  HRESULT         __fastcall Remove(Access_2k::Reference* Reference/*[in]*/);

  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef _ReferencesDispT<_References> _ReferencesDisp;

// *********************************************************************//
// DispIntf:  _References_Events
// Flags:     (4240) Hidden NonExtensible Dispatchable
// GUID:      {F163F201-ADA2-11CF-89A9-00A0C9054129}
// *********************************************************************//
template <class T>
class _References_EventsDispT : public TAutoDriver<_References_Events>
{
public:
  _References_EventsDispT(){}

  void Attach(LPUNKNOWN punk)
  { m_Dispatch = static_cast<T*>(punk); }

  void            __fastcall ItemAdded(Access_2k::Reference* Reference);
  void            __fastcall ItemRemoved(Access_2k::Reference* Reference);

};
typedef _References_EventsDispT<_References_Events> _References_EventsDisp;

// *********************************************************************//
// SmartIntf: TCOM_Dummy
// Interface: _Dummy
// *********************************************************************//
template <class T /* _Dummy */ >
class TCOM_DummyT : public TComInterface<_Dummy>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_DummyT() {}
  TCOM_DummyT(_Dummy *intf, bool addRef = false) : TComInterface<_Dummy>(intf, addRef) {}
  TCOM_DummyT(const TCOM_DummyT& src) : TComInterface<_Dummy>(src) {}
  TCOM_DummyT& operator=(const TCOM_DummyT& src) { Bind(src, true); return *this;}


};
typedef TCOM_DummyT<_Dummy> TCOM_Dummy;

// *********************************************************************//
// DispIntf:  _Dummy
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {8B06E320-B23C-11CF-89A8-00A0C9054129}
// *********************************************************************//
template<class T>
class _DummyDispT : public TAutoDriver<_Dummy>
{
public:
  _DummyDispT(){}

  _DummyDispT(_Dummy *pintf)
  {
    TAutoDriver<_Dummy>::Bind(pintf, false);
  }

  _DummyDispT(_DummyPtr pintf)
  {
    TAutoDriver<_Dummy>::Bind(pintf, true);
  }

  _DummyDispT& operator=(_Dummy *pintf)
  {
    TAutoDriver<_Dummy>::Bind(pintf, false);
    return *this;
  }

  _DummyDispT& operator=(_DummyPtr pintf)
  {
    TAutoDriver<_Dummy>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_Class));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_Class);
  }


};
typedef _DummyDispT<_Dummy> _DummyDisp;

// *********************************************************************//
// SmartIntf: TCOM_DataAccessPage
// Interface: _DataAccessPage
// *********************************************************************//
template <class T /* _DataAccessPage */ >
class TCOM_DataAccessPageT : public TComInterface<_DataAccessPage>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_DataAccessPageT() {}
  TCOM_DataAccessPageT(_DataAccessPage *intf, bool addRef = false) : TComInterface<_DataAccessPage>(intf, addRef) {}
  TCOM_DataAccessPageT(const TCOM_DataAccessPageT& src) : TComInterface<_DataAccessPage>(src) {}
  TCOM_DataAccessPageT& operator=(const TCOM_DataAccessPageT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_WindowWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_WindowWidth(void);
  HRESULT         __fastcall get_WindowHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_WindowHeight(void);
  HRESULT         __fastcall get_CurrentView(short* pRet/*[out,retval]*/);
  short           __fastcall get_CurrentView(void);
  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Document(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Document(void);
  HRESULT         __fastcall ApplyTheme(BSTR ThemeName/*[in]*/);
  HRESULT         __fastcall get_WebOptions(Access_2k::AccessWebOptions** ppWO/*[out,retval]*/);
  Access_2k::AccessWebOptionsPtr __fastcall get_WebOptions(void);
  HRESULT         __fastcall get_ConnectionString(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ConnectionString(void);
  HRESULT         __fastcall set_ConnectionString(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FieldListConnection(LPDISPATCH* ppRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_FieldListConnection(void);

  __property   BSTR            _Name = {read = get__Name};
  __property   BSTR            Name = {read = get_Name};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            WindowWidth = {read = get_WindowWidth};
  __property   long            WindowHeight = {read = get_WindowHeight};
  __property   short           CurrentView = {read = get_CurrentView};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Document = {read = get_Document};
  __property   Access_2k::AccessWebOptionsPtr WebOptions = {read = get_WebOptions};
  __property   BSTR            ConnectionString = {read = get_ConnectionString, write = set_ConnectionString};
  __property   LPDISPATCH      FieldListConnection = {read = get_FieldListConnection};
};
typedef TCOM_DataAccessPageT<_DataAccessPage> TCOM_DataAccessPage;

// *********************************************************************//
// DispIntf:  _DataAccessPage
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {493D8A72-1DB1-11D1-98A2-006008197D41}
// *********************************************************************//
template<class T>
class _DataAccessPageDispT : public TAutoDriver<_DataAccessPage>
{
public:
  _DataAccessPageDispT(){}

  _DataAccessPageDispT(_DataAccessPage *pintf)
  {
    TAutoDriver<_DataAccessPage>::Bind(pintf, false);
  }

  _DataAccessPageDispT(_DataAccessPagePtr pintf)
  {
    TAutoDriver<_DataAccessPage>::Bind(pintf, true);
  }

  _DataAccessPageDispT& operator=(_DataAccessPage *pintf)
  {
    TAutoDriver<_DataAccessPage>::Bind(pintf, false);
    return *this;
  }

  _DataAccessPageDispT& operator=(_DataAccessPagePtr pintf)
  {
    TAutoDriver<_DataAccessPage>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_DataAccessPage));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_DataAccessPage);
  }

  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_Visible(void);
  HRESULT         __fastcall set_Visible(VARIANT_BOOL pRet/*[in]*/);
  HRESULT         __fastcall get_Tag(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Tag(void);
  HRESULT         __fastcall set_Tag(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_WindowWidth(long* pRet/*[out,retval]*/);
  long            __fastcall get_WindowWidth(void);
  HRESULT         __fastcall get_WindowHeight(long* pRet/*[out,retval]*/);
  long            __fastcall get_WindowHeight(void);
  HRESULT         __fastcall get_CurrentView(short* pRet/*[out,retval]*/);
  short           __fastcall get_CurrentView(void);
  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Document(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Document(void);
  HRESULT         __fastcall ApplyTheme(BSTR ThemeName/*[in]*/);
  HRESULT         __fastcall get_WebOptions(Access_2k::AccessWebOptions** ppWO/*[out,retval]*/);
  Access_2k::AccessWebOptionsPtr __fastcall get_WebOptions(void);
  HRESULT         __fastcall get_ConnectionString(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_ConnectionString(void);
  HRESULT         __fastcall set_ConnectionString(BSTR pRet/*[in]*/);
  HRESULT         __fastcall get_FieldListConnection(LPDISPATCH* ppRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_FieldListConnection(void);

  __property   BSTR            _Name = {read = get__Name};
  __property   BSTR            Name = {read = get_Name};
  __property   VARIANT_BOOL    Visible = {read = get_Visible, write = set_Visible};
  __property   BSTR            Tag = {read = get_Tag, write = set_Tag};
  __property   long            WindowWidth = {read = get_WindowWidth};
  __property   long            WindowHeight = {read = get_WindowHeight};
  __property   short           CurrentView = {read = get_CurrentView};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   LPDISPATCH      Document = {read = get_Document};
  __property   Access_2k::AccessWebOptionsPtr WebOptions = {read = get_WebOptions};
  __property   BSTR            ConnectionString = {read = get_ConnectionString, write = set_ConnectionString};
  __property   LPDISPATCH      FieldListConnection = {read = get_FieldListConnection};
};
typedef _DataAccessPageDispT<_DataAccessPage> _DataAccessPageDisp;

typedef TComInterface<DataAccessPages>  TCOMDataAccessPages;

// *********************************************************************//
// DispIntf:  DataAccessPages
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {493D8A71-1DB1-11D1-98A2-006008197D41}
// *********************************************************************//
template<class T>
class DataAccessPagesDispT : public TAutoDriver<DataAccessPages>
{
public:
  DataAccessPagesDispT(){}

  DataAccessPagesDispT(DataAccessPages *pintf)
  {
    TAutoDriver<DataAccessPages>::Bind(pintf, false);
  }

  DataAccessPagesDispT(DataAccessPagesPtr pintf)
  {
    TAutoDriver<DataAccessPages>::Bind(pintf, true);
  }

  DataAccessPagesDispT& operator=(DataAccessPages *pintf)
  {
    TAutoDriver<DataAccessPages>::Bind(pintf, false);
    return *this;
  }

  DataAccessPagesDispT& operator=(DataAccessPagesPtr pintf)
  {
    TAutoDriver<DataAccessPages>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Item(VARIANT var/*[in]*/, 
                                      Access_2k::DataAccessPage** pRet/*[out,retval]*/);
  Access_2k::DataAccessPage* __fastcall get_Item(VARIANT var/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef DataAccessPagesDispT<DataAccessPages> DataAccessPagesDisp;

// *********************************************************************//
// SmartIntf: TCOMAllObjects
// Interface: AllObjects
// *********************************************************************//
template <class T /* AllObjects */ >
class TCOMAllObjectsT : public TComInterface<AllObjects>, public TComInterfaceBase<IUnknown>
{
public:
  TCOMAllObjectsT() {}
  TCOMAllObjectsT(AllObjects *intf, bool addRef = false) : TComInterface<AllObjects>(intf, addRef) {}
  TCOMAllObjectsT(const TCOMAllObjectsT& src) : TComInterface<AllObjects>(src) {}
  TCOMAllObjectsT& operator=(const TCOMAllObjectsT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Item(VARIANT var/*[in]*/, 
                                      Access_2k::AccessObject** pRet/*[out,retval]*/);
  Access_2k::AccessObject* __fastcall get_Item(VARIANT var/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef TCOMAllObjectsT<AllObjects> TCOMAllObjects;

// *********************************************************************//
// DispIntf:  AllObjects
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {DDBD4001-44D5-11D1-98C0-006008197D41}
// *********************************************************************//
template<class T>
class AllObjectsDispT : public TAutoDriver<AllObjects>
{
public:
  AllObjectsDispT(){}

  AllObjectsDispT(AllObjects *pintf)
  {
    TAutoDriver<AllObjects>::Bind(pintf, false);
  }

  AllObjectsDispT(AllObjectsPtr pintf)
  {
    TAutoDriver<AllObjects>::Bind(pintf, true);
  }

  AllObjectsDispT& operator=(AllObjects *pintf)
  {
    TAutoDriver<AllObjects>::Bind(pintf, false);
    return *this;
  }

  AllObjectsDispT& operator=(AllObjectsPtr pintf)
  {
    TAutoDriver<AllObjects>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AllForms));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AllForms);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Item(VARIANT var/*[in]*/, 
                                      Access_2k::AccessObject** pRet/*[out,retval]*/);
  Access_2k::AccessObject* __fastcall get_Item(VARIANT var/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef AllObjectsDispT<AllObjects> AllObjectsDisp;

typedef TComInterface<AccessObjectProperty>  TCOMAccessObjectProperty;

// *********************************************************************//
// DispIntf:  AccessObjectProperty
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {1FE3E471-A7D0-11D1-9944-006008197D41}
// *********************************************************************//
template<class T>
class AccessObjectPropertyDispT : public TAutoDriver<AccessObjectProperty>
{
public:
  AccessObjectPropertyDispT(){}

  AccessObjectPropertyDispT(AccessObjectProperty *pintf)
  {
    TAutoDriver<AccessObjectProperty>::Bind(pintf, false);
  }

  AccessObjectPropertyDispT(AccessObjectPropertyPtr pintf)
  {
    TAutoDriver<AccessObjectProperty>::Bind(pintf, true);
  }

  AccessObjectPropertyDispT& operator=(AccessObjectProperty *pintf)
  {
    TAutoDriver<AccessObjectProperty>::Bind(pintf, false);
    return *this;
  }

  AccessObjectPropertyDispT& operator=(AccessObjectPropertyPtr pintf)
  {
    TAutoDriver<AccessObjectProperty>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get__Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get__Value(void);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall get_Value(VARIANT* pRet/*[out,retval]*/);
  VARIANT         __fastcall get_Value(void);
  HRESULT         __fastcall set_Value(VARIANT pRet/*[in]*/);

  __property   BSTR            Name = {read = get_Name};
};
typedef AccessObjectPropertyDispT<AccessObjectProperty> AccessObjectPropertyDisp;

typedef TComInterface<AccessObjectProperties>  TCOMAccessObjectProperties;

// *********************************************************************//
// DispIntf:  AccessObjectProperties
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {0921F331-A7C9-11D1-9944-006008197D41}
// *********************************************************************//
template<class T>
class AccessObjectPropertiesDispT : public TAutoDriver<AccessObjectProperties>
{
public:
  AccessObjectPropertiesDispT(){}

  AccessObjectPropertiesDispT(AccessObjectProperties *pintf)
  {
    TAutoDriver<AccessObjectProperties>::Bind(pintf, false);
  }

  AccessObjectPropertiesDispT(AccessObjectPropertiesPtr pintf)
  {
    TAutoDriver<AccessObjectProperties>::Bind(pintf, true);
  }

  AccessObjectPropertiesDispT& operator=(AccessObjectProperties *pintf)
  {
    TAutoDriver<AccessObjectProperties>::Bind(pintf, false);
    return *this;
  }

  AccessObjectPropertiesDispT& operator=(AccessObjectPropertiesPtr pintf)
  {
    TAutoDriver<AccessObjectProperties>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_Item(VARIANT Index/*[in]*/, 
                                      Access_2k::AccessObjectProperty** pRet/*[out,retval]*/);
  Access_2k::AccessObjectProperty* __fastcall get_Item(VARIANT Index/*[in]*/);
  HRESULT         __fastcall get_Count(long* pRet/*[out,retval]*/);
  long            __fastcall get_Count(void);
  HRESULT         __fastcall _NewEnum(LPUNKNOWN* pRet/*[out,retval]*/);
  LPUNKNOWN       __fastcall _NewEnum(void);
  HRESULT         __fastcall Add(BSTR PropertyName/*[in]*/, VARIANT Value/*[in]*/);
  HRESULT         __fastcall Remove(VARIANT Item/*[in]*/);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   long            Count = {read = get_Count};
};
typedef AccessObjectPropertiesDispT<AccessObjectProperties> AccessObjectPropertiesDisp;

// *********************************************************************//
// SmartIntf: TCOM_CurrentProject
// Interface: _CurrentProject
// *********************************************************************//
template <class T /* _CurrentProject */ >
class TCOM_CurrentProjectT : public TComInterface<_CurrentProject>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_CurrentProjectT() {}
  TCOM_CurrentProjectT(_CurrentProject *intf, bool addRef = false) : TComInterface<_CurrentProject>(intf, addRef) {}
  TCOM_CurrentProjectT(const TCOM_CurrentProjectT& src) : TComInterface<_CurrentProject>(src) {}
  TCOM_CurrentProjectT& operator=(const TCOM_CurrentProjectT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_AllForms(Access_2k::AllForms** pRet/*[out,retval]*/);
  Access_2k::AllFormsPtr __fastcall get_AllForms(void);
  HRESULT         __fastcall get_AllReports(Access_2k::AllReports** pRet/*[out,retval]*/);
  Access_2k::AllReportsPtr __fastcall get_AllReports(void);
  HRESULT         __fastcall get_AllMacros(Access_2k::AllMacros** pRet/*[out,retval]*/);
  Access_2k::AllMacrosPtr __fastcall get_AllMacros(void);
  HRESULT         __fastcall get_AllModules(Access_2k::AllModules** pRet/*[out,retval]*/);
  Access_2k::AllModulesPtr __fastcall get_AllModules(void);
  HRESULT         __fastcall get_AllDataAccessPages(Access_2k::AllDataAccessPages** pRet/*[out,retval]*/);
  Access_2k::AllDataAccessPagesPtr __fastcall get_AllDataAccessPages(void);
  HRESULT         __fastcall get_ProjectType(Access_2k::AcProjectType* pacProjType/*[out,retval]*/);
  Access_2k::AcProjectType __fastcall get_ProjectType(void);
  HRESULT         __fastcall get_BaseConnectionString(BSTR* pbstrADOConnectString/*[out,retval]*/);
  BSTR            __fastcall get_BaseConnectionString(void);
  HRESULT         __fastcall get_IsConnected(VARIANT_BOOL* pfConnected/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsConnected(void);
  HRESULT         __fastcall OpenConnection(VARIANT BaseConnectionString/*[in,opt]*/= TNoParam(), 
                                            VARIANT UserID/*[in,opt]*/= TNoParam(), 
                                            VARIANT Password/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CloseConnection(void);
  HRESULT         __fastcall get_Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall get_Path(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Path(void);
  HRESULT         __fastcall get_FullName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FullName(void);
  HRESULT         __fastcall get_Connection(Adodb_2k::Connection** pRet/*[out,retval]*/);
  Adodb_2k::ConnectionPtr __fastcall get_Connection(void);
  HRESULT         __fastcall get_Properties(Access_2k::AccessObjectProperties** pRet/*[out,retval]*/);
  Access_2k::AccessObjectPropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);

  __property   Access_2k::AllFormsPtr AllForms = {read = get_AllForms};
  __property   Access_2k::AllReportsPtr AllReports = {read = get_AllReports};
  __property   Access_2k::AllMacrosPtr AllMacros = {read = get_AllMacros};
  __property   Access_2k::AllModulesPtr AllModules = {read = get_AllModules};
  __property   Access_2k::AllDataAccessPagesPtr AllDataAccessPages = {read = get_AllDataAccessPages};
  __property   Access_2k::AcProjectType ProjectType = {read = get_ProjectType};
  __property   BSTR            BaseConnectionString = {read = get_BaseConnectionString};
  __property   VARIANT_BOOL    IsConnected = {read = get_IsConnected};
  __property   BSTR            Name = {read = get_Name};
  __property   BSTR            Path = {read = get_Path};
  __property   BSTR            FullName = {read = get_FullName};
  __property   Adodb_2k::ConnectionPtr Connection = {read = get_Connection};
  __property   Access_2k::AccessObjectPropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
};
typedef TCOM_CurrentProjectT<_CurrentProject> TCOM_CurrentProject;

// *********************************************************************//
// DispIntf:  _CurrentProject
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {9212BA71-3E79-11D1-98BD-006008197D41}
// *********************************************************************//
template<class T>
class _CurrentProjectDispT : public TAutoDriver<_CurrentProject>
{
public:
  _CurrentProjectDispT(){}

  _CurrentProjectDispT(_CurrentProject *pintf)
  {
    TAutoDriver<_CurrentProject>::Bind(pintf, false);
  }

  _CurrentProjectDispT(_CurrentProjectPtr pintf)
  {
    TAutoDriver<_CurrentProject>::Bind(pintf, true);
  }

  _CurrentProjectDispT& operator=(_CurrentProject *pintf)
  {
    TAutoDriver<_CurrentProject>::Bind(pintf, false);
    return *this;
  }

  _CurrentProjectDispT& operator=(_CurrentProjectPtr pintf)
  {
    TAutoDriver<_CurrentProject>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_CurrentProject));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_CurrentProject);
  }

  HRESULT         __fastcall get_AllForms(Access_2k::AllForms** pRet/*[out,retval]*/);
  Access_2k::AllFormsPtr __fastcall get_AllForms(void);
  HRESULT         __fastcall get_AllReports(Access_2k::AllReports** pRet/*[out,retval]*/);
  Access_2k::AllReportsPtr __fastcall get_AllReports(void);
  HRESULT         __fastcall get_AllMacros(Access_2k::AllMacros** pRet/*[out,retval]*/);
  Access_2k::AllMacrosPtr __fastcall get_AllMacros(void);
  HRESULT         __fastcall get_AllModules(Access_2k::AllModules** pRet/*[out,retval]*/);
  Access_2k::AllModulesPtr __fastcall get_AllModules(void);
  HRESULT         __fastcall get_AllDataAccessPages(Access_2k::AllDataAccessPages** pRet/*[out,retval]*/);
  Access_2k::AllDataAccessPagesPtr __fastcall get_AllDataAccessPages(void);
  HRESULT         __fastcall get_ProjectType(Access_2k::AcProjectType* pacProjType/*[out,retval]*/);
  Access_2k::AcProjectType __fastcall get_ProjectType(void);
  HRESULT         __fastcall get_BaseConnectionString(BSTR* pbstrADOConnectString/*[out,retval]*/);
  BSTR            __fastcall get_BaseConnectionString(void);
  HRESULT         __fastcall get_IsConnected(VARIANT_BOOL* pfConnected/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsConnected(void);
  HRESULT         __fastcall OpenConnection(VARIANT BaseConnectionString/*[in,opt]*/= TNoParam(), 
                                            VARIANT UserID/*[in,opt]*/= TNoParam(), 
                                            VARIANT Password/*[in,opt]*/= TNoParam());
  HRESULT         __fastcall CloseConnection();
  HRESULT         __fastcall get_Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall get_Path(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_Path(void);
  HRESULT         __fastcall get_FullName(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get_FullName(void);
  HRESULT         __fastcall get_Connection(Adodb_2k::Connection** pRet/*[out,retval]*/);
  Adodb_2k::ConnectionPtr __fastcall get_Connection(void);
  HRESULT         __fastcall get_Properties(Access_2k::AccessObjectProperties** pRet/*[out,retval]*/);
  Access_2k::AccessObjectPropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);

  __property   Access_2k::AllFormsPtr AllForms = {read = get_AllForms};
  __property   Access_2k::AllReportsPtr AllReports = {read = get_AllReports};
  __property   Access_2k::AllMacrosPtr AllMacros = {read = get_AllMacros};
  __property   Access_2k::AllModulesPtr AllModules = {read = get_AllModules};
  __property   Access_2k::AllDataAccessPagesPtr AllDataAccessPages = {read = get_AllDataAccessPages};
  __property   Access_2k::AcProjectType ProjectType = {read = get_ProjectType};
  __property   BSTR            BaseConnectionString = {read = get_BaseConnectionString};
  __property   VARIANT_BOOL    IsConnected = {read = get_IsConnected};
  __property   BSTR            Name = {read = get_Name};
  __property   BSTR            Path = {read = get_Path};
  __property   BSTR            FullName = {read = get_FullName};
  __property   Adodb_2k::ConnectionPtr Connection = {read = get_Connection};
  __property   Access_2k::AccessObjectPropertiesPtr Properties = {read = get_Properties};
  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
};
typedef _CurrentProjectDispT<_CurrentProject> _CurrentProjectDisp;

// *********************************************************************//
// SmartIntf: TCOM_CurrentData
// Interface: _CurrentData
// *********************************************************************//
template <class T /* _CurrentData */ >
class TCOM_CurrentDataT : public TComInterface<_CurrentData>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_CurrentDataT() {}
  TCOM_CurrentDataT(_CurrentData *intf, bool addRef = false) : TComInterface<_CurrentData>(intf, addRef) {}
  TCOM_CurrentDataT(const TCOM_CurrentDataT& src) : TComInterface<_CurrentData>(src) {}
  TCOM_CurrentDataT& operator=(const TCOM_CurrentDataT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_AllTables(Access_2k::AllTables** pRet/*[out,retval]*/);
  Access_2k::AllTablesPtr __fastcall get_AllTables(void);
  HRESULT         __fastcall get_AllQueries(Access_2k::AllQueries** pRet/*[out,retval]*/);
  Access_2k::AllQueriesPtr __fastcall get_AllQueries(void);
  HRESULT         __fastcall get_AllViews(Access_2k::AllViews** pRet/*[out,retval]*/);
  Access_2k::AllViewsPtr __fastcall get_AllViews(void);
  HRESULT         __fastcall get_AllStoredProcedures(Access_2k::AllStoredProcedures** pRet/*[out,retval]*/);
  Access_2k::AllStoredProceduresPtr __fastcall get_AllStoredProcedures(void);
  HRESULT         __fastcall get_AllDatabaseDiagrams(Access_2k::AllDatabaseDiagrams** pRet/*[out,retval]*/);
  Access_2k::AllDatabaseDiagramsPtr __fastcall get_AllDatabaseDiagrams(void);

  __property   Access_2k::AllTablesPtr AllTables = {read = get_AllTables};
  __property   Access_2k::AllQueriesPtr AllQueries = {read = get_AllQueries};
  __property   Access_2k::AllViewsPtr AllViews = {read = get_AllViews};
  __property   Access_2k::AllStoredProceduresPtr AllStoredProcedures = {read = get_AllStoredProcedures};
  __property   Access_2k::AllDatabaseDiagramsPtr AllDatabaseDiagrams = {read = get_AllDatabaseDiagrams};
};
typedef TCOM_CurrentDataT<_CurrentData> TCOM_CurrentData;

// *********************************************************************//
// DispIntf:  _CurrentData
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {9212BA73-3E79-11D1-98BD-006008197D41}
// *********************************************************************//
template<class T>
class _CurrentDataDispT : public TAutoDriver<_CurrentData>
{
public:
  _CurrentDataDispT(){}

  _CurrentDataDispT(_CurrentData *pintf)
  {
    TAutoDriver<_CurrentData>::Bind(pintf, false);
  }

  _CurrentDataDispT(_CurrentDataPtr pintf)
  {
    TAutoDriver<_CurrentData>::Bind(pintf, true);
  }

  _CurrentDataDispT& operator=(_CurrentData *pintf)
  {
    TAutoDriver<_CurrentData>::Bind(pintf, false);
    return *this;
  }

  _CurrentDataDispT& operator=(_CurrentDataPtr pintf)
  {
    TAutoDriver<_CurrentData>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_CurrentData));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_CurrentData);
  }

  HRESULT         __fastcall get_AllTables(Access_2k::AllTables** pRet/*[out,retval]*/);
  Access_2k::AllTablesPtr __fastcall get_AllTables(void);
  HRESULT         __fastcall get_AllQueries(Access_2k::AllQueries** pRet/*[out,retval]*/);
  Access_2k::AllQueriesPtr __fastcall get_AllQueries(void);
  HRESULT         __fastcall get_AllViews(Access_2k::AllViews** pRet/*[out,retval]*/);
  Access_2k::AllViewsPtr __fastcall get_AllViews(void);
  HRESULT         __fastcall get_AllStoredProcedures(Access_2k::AllStoredProcedures** pRet/*[out,retval]*/);
  Access_2k::AllStoredProceduresPtr __fastcall get_AllStoredProcedures(void);
  HRESULT         __fastcall get_AllDatabaseDiagrams(Access_2k::AllDatabaseDiagrams** pRet/*[out,retval]*/);
  Access_2k::AllDatabaseDiagramsPtr __fastcall get_AllDatabaseDiagrams(void);

  __property   Access_2k::AllTablesPtr AllTables = {read = get_AllTables};
  __property   Access_2k::AllQueriesPtr AllQueries = {read = get_AllQueries};
  __property   Access_2k::AllViewsPtr AllViews = {read = get_AllViews};
  __property   Access_2k::AllStoredProceduresPtr AllStoredProcedures = {read = get_AllStoredProcedures};
  __property   Access_2k::AllDatabaseDiagramsPtr AllDatabaseDiagrams = {read = get_AllDatabaseDiagrams};
};
typedef _CurrentDataDispT<_CurrentData> _CurrentDataDisp;

typedef TComInterface<AccessObject>  TCOMAccessObject;

// *********************************************************************//
// DispIntf:  AccessObject
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {ABE316B1-3FF6-11D1-98BD-006008197D41}
// *********************************************************************//
template<class T>
class AccessObjectDispT : public TAutoDriver<AccessObject>
{
public:
  AccessObjectDispT(){}

  AccessObjectDispT(AccessObject *pintf)
  {
    TAutoDriver<AccessObject>::Bind(pintf, false);
  }

  AccessObjectDispT(AccessObjectPtr pintf)
  {
    TAutoDriver<AccessObject>::Bind(pintf, true);
  }

  AccessObjectDispT& operator=(AccessObject *pintf)
  {
    TAutoDriver<AccessObject>::Bind(pintf, false);
    return *this;
  }

  AccessObjectDispT& operator=(AccessObjectPtr pintf)
  {
    TAutoDriver<AccessObject>::Bind(pintf, true);
    return *this;
  }

  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get__Name(BSTR* pRet/*[out,retval]*/);
  BSTR            __fastcall get__Name(void);
  HRESULT         __fastcall get_Name(BSTR* pbstrName/*[out,retval]*/);
  BSTR            __fastcall get_Name(void);
  HRESULT         __fastcall get_Type(long* pRet/*[out,retval]*/);
  long            __fastcall get_Type(void);
  HRESULT         __fastcall get_Attributes(long* pRet/*[out,retval]*/);
  long            __fastcall get_Attributes(void);
  HRESULT         __fastcall get_Properties(Access_2k::AccessObjectProperties** pRet/*[out,retval]*/);
  Access_2k::AccessObjectPropertiesPtr __fastcall get_Properties(void);
  HRESULT         __fastcall get_IsLoaded(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsLoaded(void);
  HRESULT         __fastcall get_FullName(BSTR* pbstrFullName/*[out,retval]*/);
  BSTR            __fastcall get_FullName(void);

  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   BSTR            _Name = {read = get__Name};
  __property   BSTR            Name = {read = get_Name};
  __property   long            Type = {read = get_Type};
  __property   long            Attributes = {read = get_Attributes};
  __property   Access_2k::AccessObjectPropertiesPtr Properties = {read = get_Properties};
  __property   VARIANT_BOOL    IsLoaded = {read = get_IsLoaded};
  __property   BSTR            FullName = {read = get_FullName};
};
typedef AccessObjectDispT<AccessObject> AccessObjectDisp;

// *********************************************************************//
// SmartIntf: TCOM_WizHook
// Interface: _WizHook
// *********************************************************************//
template <class T /* _WizHook */ >
class TCOM_WizHookT : public TComInterface<_WizHook>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_WizHookT() {}
  TCOM_WizHookT(_WizHook *intf, bool addRef = false) : TComInterface<_WizHook>(intf, addRef) {}
  TCOM_WizHookT(const TCOM_WizHookT& src) : TComInterface<_WizHook>(src) {}
  TCOM_WizHookT& operator=(const TCOM_WizHookT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall set_Key(int Param1/*[in]*/);
  HRESULT         __fastcall NameFromActid(int Actid/*[in]*/, BSTR* Name/*[out,retval]*/);
  BSTR            __fastcall NameFromActid(int Actid/*[in]*/);
  HRESULT         __fastcall ArgsOfActid(int Actid/*[in]*/, int* CArgs/*[out,retval]*/);
  int             __fastcall ArgsOfActid(int Actid/*[in]*/);
  HRESULT         __fastcall OpenScript(BSTR Script/*[in]*/, BSTR Label/*[in]*/, 
                                        long OpenMode/*[in]*/, int* Extra/*[in,out]*/, 
                                        long* Version/*[in,out]*/, long* HScr/*[out,retval]*/);
  long            __fastcall OpenScript(BSTR Script/*[in]*/, BSTR Label/*[in]*/, 
                                        long OpenMode/*[in]*/, int* Extra/*[in,out]*/, 
                                        long* Version/*[in,out]*/);
  HRESULT         __fastcall GetScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                             BSTR* Value/*[in,out]*/, 
                                             VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall GetScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                             BSTR* Value/*[in,out]*/);
  HRESULT         __fastcall SaveScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                              BSTR Value/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall SaveScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                              BSTR Value/*[in]*/);
  HRESULT         __fastcall GlobalProcExists(BSTR Name/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall GlobalProcExists(BSTR Name/*[in]*/);
  HRESULT         __fastcall TableFieldHasUniqueIndex(BSTR Table/*[in]*/, BSTR Columns/*[in]*/, 
                                                      VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall TableFieldHasUniqueIndex(BSTR Table/*[in]*/, BSTR Columns/*[in]*/);
  HRESULT         __fastcall BracketString(BSTR* String/*[in,out]*/, long flags/*[in]*/, 
                                           VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall BracketString(BSTR* String/*[in,out]*/, long flags/*[in]*/);
  HRESULT         __fastcall WizHelp(BSTR HelpFile/*[in]*/, long wCmd/*[in]*/, 
                                     long ContextID/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall WizHelp(BSTR HelpFile/*[in]*/, long wCmd/*[in]*/, 
                                     long ContextID/*[in]*/);
  HRESULT         __fastcall OpenPictureFile(BSTR* File/*[in,out]*/, 
                                             VARIANT_BOOL* Cancelled/*[in,out]*/, 
                                             VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall OpenPictureFile(BSTR* File/*[in,out]*/, 
                                             VARIANT_BOOL* Cancelled/*[in,out]*/);
  HRESULT         __fastcall EnglishPictToLocal(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                                VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall EnglishPictToLocal(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/);
  HRESULT         __fastcall TranslateExpression(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                                 long ParseFlags/*[in]*/, 
                                                 long TranslateFlags/*[in]*/, 
                                                 VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall TranslateExpression(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                                 long ParseFlags/*[in]*/, 
                                                 long TranslateFlags/*[in]*/);
  HRESULT         __fastcall FileExists(BSTR File/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall FileExists(BSTR File/*[in]*/);
  HRESULT         __fastcall FullPath(BSTR RelativePath/*[in]*/, BSTR* FullPath/*[in,out]*/, 
                                      short* pRet/*[out,retval]*/);
  short           __fastcall FullPath(BSTR RelativePath/*[in]*/, BSTR* FullPath/*[in,out]*/);
  HRESULT         __fastcall SplitPath(BSTR Path/*[in]*/, BSTR* Drive/*[in,out]*/, 
                                       BSTR* Dir/*[in,out]*/, BSTR* File/*[in,out]*/, 
                                       BSTR* Ext/*[in,out]*/);
  HRESULT         __fastcall TwipsFromFont(BSTR FontName/*[in]*/, long Size/*[in]*/, 
                                           long Weight/*[in]*/, VARIANT_BOOL Italic/*[in]*/, 
                                           VARIANT_BOOL Underline/*[in]*/, long Cch/*[in]*/, 
                                           BSTR Caption/*[in]*/, long MaxWidthCch/*[in]*/, 
                                           long* dx/*[in,out]*/, long* dy/*[in,out]*/, 
                                           VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall TwipsFromFont(BSTR FontName/*[in]*/, long Size/*[in]*/, 
                                           long Weight/*[in]*/, VARIANT_BOOL Italic/*[in]*/, 
                                           VARIANT_BOOL Underline/*[in]*/, long Cch/*[in]*/, 
                                           BSTR Caption/*[in]*/, long MaxWidthCch/*[in]*/, 
                                           long* dx/*[in,out]*/, long* dy/*[in,out]*/);
  HRESULT         __fastcall ObjTypOfRecordSource(BSTR RecordSource/*[in]*/, 
                                                  short* pobjtyp/*[out,retval]*/);
  short           __fastcall ObjTypOfRecordSource(BSTR RecordSource/*[in]*/);
  HRESULT         __fastcall IsValidIdent(BSTR Identifier/*[in]*/, 
                                          VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall IsValidIdent(BSTR Identifier/*[in]*/);
  HRESULT         __fastcall SortStringArray(LPSAFEARRAY* Array/*[in,out]*/);
  HRESULT         __fastcall AnalyzeTable(Dao_2k::Workspace* Workspace/*[in]*/, 
                                          Dao_2k::Database* Database/*[in]*/, BSTR Table/*[in]*/, 
                                          VARIANT_BOOL ReturnDebugInfo/*[in]*/, 
                                          BSTR* Results/*[in,out]*/, long* pRet/*[out,retval]*/);
  long            __fastcall AnalyzeTable(Dao_2k::Workspace* Workspace/*[in]*/, 
                                          Dao_2k::Database* Database/*[in]*/, BSTR Table/*[in]*/, 
                                          VARIANT_BOOL ReturnDebugInfo/*[in]*/, 
                                          BSTR* Results/*[in,out]*/);
  HRESULT         __fastcall AnalyzeQuery(Dao_2k::Workspace* Workspace/*[in]*/, 
                                          Dao_2k::Database* Database/*[in]*/, BSTR Query/*[in]*/, 
                                          BSTR* Results/*[in,out]*/, long* pRet/*[out,retval]*/);
  long            __fastcall AnalyzeQuery(Dao_2k::Workspace* Workspace/*[in]*/, 
                                          Dao_2k::Database* Database/*[in]*/, BSTR Query/*[in]*/, 
                                          BSTR* Results/*[in,out]*/);
  HRESULT         __fastcall GetFileName(long hwndOwner/*[in]*/, BSTR AppName/*[in]*/, 
                                         BSTR DlgTitle/*[in]*/, BSTR OpenTitle/*[in]*/, 
                                         BSTR* File/*[in,out]*/, BSTR InitialDir/*[in]*/, 
                                         BSTR Filter/*[in]*/, long FilterIndex/*[in]*/, 
                                         long View/*[in]*/, long flags/*[in]*/, 
                                         VARIANT_BOOL fOpen/*[in]*/, long* pRet/*[out,retval]*/);
  long            __fastcall GetFileName(long hwndOwner/*[in]*/, BSTR AppName/*[in]*/, 
                                         BSTR DlgTitle/*[in]*/, BSTR OpenTitle/*[in]*/, 
                                         BSTR* File/*[in,out]*/, BSTR InitialDir/*[in]*/, 
                                         BSTR Filter/*[in]*/, long FilterIndex/*[in]*/, 
                                         long View/*[in]*/, long flags/*[in]*/, 
                                         VARIANT_BOOL fOpen/*[in]*/);
  HRESULT         __fastcall CreateDataPageControl(BSTR DpName/*[in]*/, BSTR CtlName/*[in]*/, 
                                                   long Typ/*[in]*/, BSTR Section/*[in]*/, 
                                                   long SectionType/*[in]*/, BSTR AppletCode/*[in]*/, 
                                                   long X/*[in]*/, long Y/*[in]*/, long dx/*[in]*/, 
                                                   long dy/*[in]*/);
  HRESULT         __fastcall KnownWizLeaks(VARIANT_BOOL fStart/*[in]*/);
  HRESULT         __fastcall SetVbaPassword(BSTR bstrDbName/*[in]*/, BSTR bstrConnect/*[in]*/, 
                                            BSTR bstrPasswd/*[in]*/, 
                                            VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall SetVbaPassword(BSTR bstrDbName/*[in]*/, BSTR bstrConnect/*[in]*/, 
                                            BSTR bstrPasswd/*[in]*/);
  HRESULT         __fastcall LocalFont(BSTR* FontName/*[out,retval]*/);
  BSTR            __fastcall LocalFont(void);
  HRESULT         __fastcall SaveObject(BSTR bstrName/*[in]*/, short objtyp/*[in]*/);
  HRESULT         __fastcall CurrentLangID(long* pRet/*[out,retval]*/);
  long            __fastcall CurrentLangID(void);
  HRESULT         __fastcall KeyboardLangID(long* pRet/*[out,retval]*/);
  long            __fastcall KeyboardLangID(void);
  HRESULT         __fastcall AccessUserDataDir(BSTR* Path/*[out,retval]*/);
  BSTR            __fastcall AccessUserDataDir(void);
  HRESULT         __fastcall OfficeAddInDir(BSTR* Path/*[out,retval]*/);
  BSTR            __fastcall OfficeAddInDir(void);
  HRESULT         __fastcall EmbedFileOnDataPage(BSTR DpName/*[in]*/, BSTR FileToInsert/*[in]*/, 
                                                 BSTR* FileToUse/*[out,retval]*/);
  BSTR            __fastcall EmbedFileOnDataPage(BSTR DpName/*[in]*/, BSTR FileToInsert/*[in]*/);
  HRESULT         __fastcall get_DbcVbProject(Vbide_2k::_VBProject** VbProject/*[out,retval]*/);
  Vbide_2k::_VBProjectPtr __fastcall get_DbcVbProject(void);
  HRESULT         __fastcall ReportLeaksToFile(VARIANT_BOOL fRptToFile/*[in]*/, 
                                               BSTR bstrFileOut/*[in]*/);
  HRESULT         __fastcall get_IsMatchToDbcConnectString(BSTR bstrConnectionString/*[in]*/, 
                                                           VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsMatchToDbcConnectString(BSTR bstrConnectionString/*[in]*/);
  HRESULT         __fastcall LoadImexSpecSolution(BSTR bstrFilename/*[in]*/);
  HRESULT         __fastcall SetDpBlockKeyInput(VARIANT_BOOL fBlockKeys/*[in]*/);
  HRESULT         __fastcall FirstDbcDataObject(BSTR* Name/*[in,out]*/, 
                                                Access_2k::AcObjectType* ObjType/*[in,out]*/, 
                                                long* Attribs/*[in,out]*/, 
                                                VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall FirstDbcDataObject(BSTR* Name/*[in,out]*/, 
                                                Access_2k::AcObjectType* ObjType/*[in,out]*/, 
                                                long* Attribs/*[in,out]*/);
  HRESULT         __fastcall CloseCurrentDatabase(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall CloseCurrentDatabase(void);

  __property   int             Key = {write = set_Key};
  __property   Vbide_2k::_VBProjectPtr DbcVbProject = {read = get_DbcVbProject};
};
typedef TCOM_WizHookT<_WizHook> TCOM_WizHook;

// *********************************************************************//
// DispIntf:  _WizHook
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {CB9D3171-4728-11D1-8334-006008197CC8}
// *********************************************************************//
template<class T>
class _WizHookDispT : public TAutoDriver<_WizHook>
{
public:
  _WizHookDispT(){}

  _WizHookDispT(_WizHook *pintf)
  {
    TAutoDriver<_WizHook>::Bind(pintf, false);
  }

  _WizHookDispT(_WizHookPtr pintf)
  {
    TAutoDriver<_WizHook>::Bind(pintf, true);
  }

  _WizHookDispT& operator=(_WizHook *pintf)
  {
    TAutoDriver<_WizHook>::Bind(pintf, false);
    return *this;
  }

  _WizHookDispT& operator=(_WizHookPtr pintf)
  {
    TAutoDriver<_WizHook>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_WizHook));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_WizHook);
  }

  HRESULT         __fastcall set_Key(int Param1/*[in]*/);
  HRESULT         __fastcall NameFromActid(int Actid/*[in]*/, BSTR* Name/*[out,retval]*/);
  BSTR            __fastcall NameFromActid(int Actid/*[in]*/);
  HRESULT         __fastcall ArgsOfActid(int Actid/*[in]*/, int* CArgs/*[out,retval]*/);
  int             __fastcall ArgsOfActid(int Actid/*[in]*/);
  HRESULT         __fastcall OpenScript(BSTR Script/*[in]*/, BSTR Label/*[in]*/, 
                                        long OpenMode/*[in]*/, int* Extra/*[in,out]*/, 
                                        long* Version/*[in,out]*/, long* HScr/*[out,retval]*/);
  long            __fastcall OpenScript(BSTR Script/*[in]*/, BSTR Label/*[in]*/, 
                                        long OpenMode/*[in]*/, int* Extra/*[in,out]*/, 
                                        long* Version/*[in,out]*/);
  HRESULT         __fastcall GetScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                             BSTR* Value/*[in,out]*/, 
                                             VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall GetScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                             BSTR* Value/*[in,out]*/);
  HRESULT         __fastcall SaveScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                              BSTR Value/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall SaveScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                              BSTR Value/*[in]*/);
  HRESULT         __fastcall GlobalProcExists(BSTR Name/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall GlobalProcExists(BSTR Name/*[in]*/);
  HRESULT         __fastcall TableFieldHasUniqueIndex(BSTR Table/*[in]*/, BSTR Columns/*[in]*/, 
                                                      VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall TableFieldHasUniqueIndex(BSTR Table/*[in]*/, BSTR Columns/*[in]*/);
  HRESULT         __fastcall BracketString(BSTR* String/*[in,out]*/, long flags/*[in]*/, 
                                           VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall BracketString(BSTR* String/*[in,out]*/, long flags/*[in]*/);
  HRESULT         __fastcall WizHelp(BSTR HelpFile/*[in]*/, long wCmd/*[in]*/, 
                                     long ContextID/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall WizHelp(BSTR HelpFile/*[in]*/, long wCmd/*[in]*/, 
                                     long ContextID/*[in]*/);
  HRESULT         __fastcall OpenPictureFile(BSTR* File/*[in,out]*/, 
                                             VARIANT_BOOL* Cancelled/*[in,out]*/, 
                                             VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall OpenPictureFile(BSTR* File/*[in,out]*/, 
                                             VARIANT_BOOL* Cancelled/*[in,out]*/);
  HRESULT         __fastcall EnglishPictToLocal(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                                VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall EnglishPictToLocal(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/);
  HRESULT         __fastcall TranslateExpression(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                                 long ParseFlags/*[in]*/, 
                                                 long TranslateFlags/*[in]*/, 
                                                 VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall TranslateExpression(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                                 long ParseFlags/*[in]*/, 
                                                 long TranslateFlags/*[in]*/);
  HRESULT         __fastcall FileExists(BSTR File/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall FileExists(BSTR File/*[in]*/);
  HRESULT         __fastcall FullPath(BSTR RelativePath/*[in]*/, BSTR* FullPath/*[in,out]*/, 
                                      short* pRet/*[out,retval]*/);
  short           __fastcall FullPath(BSTR RelativePath/*[in]*/, BSTR* FullPath/*[in,out]*/);
  HRESULT         __fastcall SplitPath(BSTR Path/*[in]*/, BSTR* Drive/*[in,out]*/, 
                                       BSTR* Dir/*[in,out]*/, BSTR* File/*[in,out]*/, 
                                       BSTR* Ext/*[in,out]*/);
  HRESULT         __fastcall TwipsFromFont(BSTR FontName/*[in]*/, long Size/*[in]*/, 
                                           long Weight/*[in]*/, VARIANT_BOOL Italic/*[in]*/, 
                                           VARIANT_BOOL Underline/*[in]*/, long Cch/*[in]*/, 
                                           BSTR Caption/*[in]*/, long MaxWidthCch/*[in]*/, 
                                           long* dx/*[in,out]*/, long* dy/*[in,out]*/, 
                                           VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall TwipsFromFont(BSTR FontName/*[in]*/, long Size/*[in]*/, 
                                           long Weight/*[in]*/, VARIANT_BOOL Italic/*[in]*/, 
                                           VARIANT_BOOL Underline/*[in]*/, long Cch/*[in]*/, 
                                           BSTR Caption/*[in]*/, long MaxWidthCch/*[in]*/, 
                                           long* dx/*[in,out]*/, long* dy/*[in,out]*/);
  HRESULT         __fastcall ObjTypOfRecordSource(BSTR RecordSource/*[in]*/, 
                                                  short* pobjtyp/*[out,retval]*/);
  short           __fastcall ObjTypOfRecordSource(BSTR RecordSource/*[in]*/);
  HRESULT         __fastcall IsValidIdent(BSTR Identifier/*[in]*/, 
                                          VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall IsValidIdent(BSTR Identifier/*[in]*/);
  HRESULT         __fastcall SortStringArray(LPSAFEARRAY* Array/*[in,out]*/);
  HRESULT         __fastcall AnalyzeTable(Dao_2k::Workspace* Workspace/*[in]*/, 
                                          Dao_2k::Database* Database/*[in]*/, BSTR Table/*[in]*/, 
                                          VARIANT_BOOL ReturnDebugInfo/*[in]*/, 
                                          BSTR* Results/*[in,out]*/, long* pRet/*[out,retval]*/);
  long            __fastcall AnalyzeTable(Dao_2k::Workspace* Workspace/*[in]*/, 
                                          Dao_2k::Database* Database/*[in]*/, BSTR Table/*[in]*/, 
                                          VARIANT_BOOL ReturnDebugInfo/*[in]*/, 
                                          BSTR* Results/*[in,out]*/);
  HRESULT         __fastcall AnalyzeQuery(Dao_2k::Workspace* Workspace/*[in]*/, 
                                          Dao_2k::Database* Database/*[in]*/, BSTR Query/*[in]*/, 
                                          BSTR* Results/*[in,out]*/, long* pRet/*[out,retval]*/);
  long            __fastcall AnalyzeQuery(Dao_2k::Workspace* Workspace/*[in]*/, 
                                          Dao_2k::Database* Database/*[in]*/, BSTR Query/*[in]*/, 
                                          BSTR* Results/*[in,out]*/);
  HRESULT         __fastcall GetFileName(long hwndOwner/*[in]*/, BSTR AppName/*[in]*/, 
                                         BSTR DlgTitle/*[in]*/, BSTR OpenTitle/*[in]*/, 
                                         BSTR* File/*[in,out]*/, BSTR InitialDir/*[in]*/, 
                                         BSTR Filter/*[in]*/, long FilterIndex/*[in]*/, 
                                         long View/*[in]*/, long flags/*[in]*/, 
                                         VARIANT_BOOL fOpen/*[in]*/, long* pRet/*[out,retval]*/);
  long            __fastcall GetFileName(long hwndOwner/*[in]*/, BSTR AppName/*[in]*/, 
                                         BSTR DlgTitle/*[in]*/, BSTR OpenTitle/*[in]*/, 
                                         BSTR* File/*[in,out]*/, BSTR InitialDir/*[in]*/, 
                                         BSTR Filter/*[in]*/, long FilterIndex/*[in]*/, 
                                         long View/*[in]*/, long flags/*[in]*/, 
                                         VARIANT_BOOL fOpen/*[in]*/);
  HRESULT         __fastcall CreateDataPageControl(BSTR DpName/*[in]*/, BSTR CtlName/*[in]*/, 
                                                   long Typ/*[in]*/, BSTR Section/*[in]*/, 
                                                   long SectionType/*[in]*/, BSTR AppletCode/*[in]*/
                                                   , long X/*[in]*/, long Y/*[in]*/, long dx/*[in]*/
                                                   , long dy/*[in]*/);
  HRESULT         __fastcall KnownWizLeaks(VARIANT_BOOL fStart/*[in]*/);
  HRESULT         __fastcall SetVbaPassword(BSTR bstrDbName/*[in]*/, BSTR bstrConnect/*[in]*/, 
                                            BSTR bstrPasswd/*[in]*/, 
                                            VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall SetVbaPassword(BSTR bstrDbName/*[in]*/, BSTR bstrConnect/*[in]*/, 
                                            BSTR bstrPasswd/*[in]*/);
  HRESULT         __fastcall LocalFont(BSTR* FontName/*[out,retval]*/);
  BSTR            __fastcall LocalFont(void);
  HRESULT         __fastcall SaveObject(BSTR bstrName/*[in]*/, short objtyp/*[in]*/);
  HRESULT         __fastcall CurrentLangID(long* pRet/*[out,retval]*/);
  long            __fastcall CurrentLangID(void);
  HRESULT         __fastcall KeyboardLangID(long* pRet/*[out,retval]*/);
  long            __fastcall KeyboardLangID(void);
  HRESULT         __fastcall AccessUserDataDir(BSTR* Path/*[out,retval]*/);
  BSTR            __fastcall AccessUserDataDir(void);
  HRESULT         __fastcall OfficeAddInDir(BSTR* Path/*[out,retval]*/);
  BSTR            __fastcall OfficeAddInDir(void);
  HRESULT         __fastcall EmbedFileOnDataPage(BSTR DpName/*[in]*/, BSTR FileToInsert/*[in]*/, 
                                                 BSTR* FileToUse/*[out,retval]*/);
  BSTR            __fastcall EmbedFileOnDataPage(BSTR DpName/*[in]*/, BSTR FileToInsert/*[in]*/);
  HRESULT         __fastcall get_DbcVbProject(Vbide_2k::_VBProject** VbProject/*[out,retval]*/);
  Vbide_2k::_VBProjectPtr __fastcall get_DbcVbProject(void);
  HRESULT         __fastcall ReportLeaksToFile(VARIANT_BOOL fRptToFile/*[in]*/, 
                                               BSTR bstrFileOut/*[in]*/);
  HRESULT         __fastcall get_IsMatchToDbcConnectString(BSTR bstrConnectionString/*[in]*/, 
                                                           VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_IsMatchToDbcConnectString(BSTR bstrConnectionString/*[in]*/);
  HRESULT         __fastcall LoadImexSpecSolution(BSTR bstrFilename/*[in]*/);
  HRESULT         __fastcall SetDpBlockKeyInput(VARIANT_BOOL fBlockKeys/*[in]*/);
  HRESULT         __fastcall FirstDbcDataObject(BSTR* Name/*[in,out]*/, 
                                                Access_2k::AcObjectType* ObjType/*[in,out]*/, 
                                                long* Attribs/*[in,out]*/, 
                                                VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall FirstDbcDataObject(BSTR* Name/*[in,out]*/, 
                                                Access_2k::AcObjectType* ObjType/*[in,out]*/, 
                                                long* Attribs/*[in,out]*/);
  HRESULT         __fastcall CloseCurrentDatabase(VARIANT_BOOL* pRet/*[out,retval]*/);
  VARIANT_BOOL    __fastcall CloseCurrentDatabase(void);

  __property   int             Key = {write = set_Key};
  __property   Vbide_2k::_VBProjectPtr DbcVbProject = {read = get_DbcVbProject};
};
typedef _WizHookDispT<_WizHook> _WizHookDisp;

// *********************************************************************//
// SmartIntf: TCOM_DefaultWebOptions
// Interface: _DefaultWebOptions
// *********************************************************************//
template <class T /* _DefaultWebOptions */ >
class TCOM_DefaultWebOptionsT : public TComInterface<_DefaultWebOptions>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_DefaultWebOptionsT() {}
  TCOM_DefaultWebOptionsT(_DefaultWebOptions *intf, bool addRef = false) : TComInterface<_DefaultWebOptions>(intf, addRef) {}
  TCOM_DefaultWebOptionsT(const TCOM_DefaultWebOptionsT& src) : TComInterface<_DefaultWebOptions>(src) {}
  TCOM_DefaultWebOptionsT& operator=(const TCOM_DefaultWebOptionsT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_HyperlinkColor(Access_2k::AcColorIndex* pl/*[out,retval]*/);
  Access_2k::AcColorIndex __fastcall get_HyperlinkColor(void);
  HRESULT         __fastcall set_HyperlinkColor(Access_2k::AcColorIndex pl/*[in]*/);
  HRESULT         __fastcall get_FollowedHyperlinkColor(Access_2k::AcColorIndex* pl/*[out,retval]*/);
  Access_2k::AcColorIndex __fastcall get_FollowedHyperlinkColor(void);
  HRESULT         __fastcall set_FollowedHyperlinkColor(Access_2k::AcColorIndex pl/*[in]*/);
  HRESULT         __fastcall get_UnderlineHyperlinks(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_UnderlineHyperlinks(void);
  HRESULT         __fastcall set_UnderlineHyperlinks(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_OrganizeInFolder(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_OrganizeInFolder(void);
  HRESULT         __fastcall set_OrganizeInFolder(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_UseLongFileNames(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_UseLongFileNames(void);
  HRESULT         __fastcall set_UseLongFileNames(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_CheckIfOfficeIsHTMLEditor(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CheckIfOfficeIsHTMLEditor(void);
  HRESULT         __fastcall set_CheckIfOfficeIsHTMLEditor(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_DownloadComponents(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DownloadComponents(void);
  HRESULT         __fastcall set_DownloadComponents(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_LocationOfComponents(BSTR* pstr/*[out,retval]*/);
  BSTR            __fastcall get_LocationOfComponents(void);
  HRESULT         __fastcall set_LocationOfComponents(BSTR pstr/*[in]*/);
  HRESULT         __fastcall get_Encoding(Office_2k::MsoEncoding* penc/*[out,retval]*/);
  Office_2k::MsoEncoding __fastcall get_Encoding(void);
  HRESULT         __fastcall set_Encoding(Office_2k::MsoEncoding penc/*[in]*/);
  HRESULT         __fastcall get_AlwaysSaveInDefaultEncoding(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AlwaysSaveInDefaultEncoding(void);
  HRESULT         __fastcall set_AlwaysSaveInDefaultEncoding(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_FolderSuffix(BSTR* pbstr/*[out,retval]*/);
  BSTR            __fastcall get_FolderSuffix(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AcColorIndex HyperlinkColor = {read = get_HyperlinkColor, write = set_HyperlinkColor};
  __property   Access_2k::AcColorIndex FollowedHyperlinkColor = {read = get_FollowedHyperlinkColor, write = set_FollowedHyperlinkColor};
  __property   VARIANT_BOOL    UnderlineHyperlinks = {read = get_UnderlineHyperlinks, write = set_UnderlineHyperlinks};
  __property   VARIANT_BOOL    OrganizeInFolder = {read = get_OrganizeInFolder, write = set_OrganizeInFolder};
  __property   VARIANT_BOOL    UseLongFileNames = {read = get_UseLongFileNames, write = set_UseLongFileNames};
  __property   VARIANT_BOOL    CheckIfOfficeIsHTMLEditor = {read = get_CheckIfOfficeIsHTMLEditor, write = set_CheckIfOfficeIsHTMLEditor};
  __property   VARIANT_BOOL    DownloadComponents = {read = get_DownloadComponents, write = set_DownloadComponents};
  __property   BSTR            LocationOfComponents = {read = get_LocationOfComponents, write = set_LocationOfComponents};
  __property   Office_2k::MsoEncoding Encoding = {read = get_Encoding, write = set_Encoding};
  __property   VARIANT_BOOL    AlwaysSaveInDefaultEncoding = {read = get_AlwaysSaveInDefaultEncoding, write = set_AlwaysSaveInDefaultEncoding};
  __property   BSTR            FolderSuffix = {read = get_FolderSuffix};
};
typedef TCOM_DefaultWebOptionsT<_DefaultWebOptions> TCOM_DefaultWebOptions;

// *********************************************************************//
// DispIntf:  _DefaultWebOptions
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {416ED4F0-AB31-11D1-BF72-0060083E43CF}
// *********************************************************************//
template<class T>
class _DefaultWebOptionsDispT : public TAutoDriver<_DefaultWebOptions>
{
public:
  _DefaultWebOptionsDispT(){}

  _DefaultWebOptionsDispT(_DefaultWebOptions *pintf)
  {
    TAutoDriver<_DefaultWebOptions>::Bind(pintf, false);
  }

  _DefaultWebOptionsDispT(_DefaultWebOptionsPtr pintf)
  {
    TAutoDriver<_DefaultWebOptions>::Bind(pintf, true);
  }

  _DefaultWebOptionsDispT& operator=(_DefaultWebOptions *pintf)
  {
    TAutoDriver<_DefaultWebOptions>::Bind(pintf, false);
    return *this;
  }

  _DefaultWebOptionsDispT& operator=(_DefaultWebOptionsPtr pintf)
  {
    TAutoDriver<_DefaultWebOptions>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_DefaultWebOptions));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_DefaultWebOptions);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_HyperlinkColor(Access_2k::AcColorIndex* pl/*[out,retval]*/);
  Access_2k::AcColorIndex __fastcall get_HyperlinkColor(void);
  HRESULT         __fastcall set_HyperlinkColor(Access_2k::AcColorIndex pl/*[in]*/);
  HRESULT         __fastcall get_FollowedHyperlinkColor(Access_2k::AcColorIndex* pl/*[out,retval]*/);
  Access_2k::AcColorIndex __fastcall get_FollowedHyperlinkColor(void);
  HRESULT         __fastcall set_FollowedHyperlinkColor(Access_2k::AcColorIndex pl/*[in]*/);
  HRESULT         __fastcall get_UnderlineHyperlinks(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_UnderlineHyperlinks(void);
  HRESULT         __fastcall set_UnderlineHyperlinks(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_OrganizeInFolder(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_OrganizeInFolder(void);
  HRESULT         __fastcall set_OrganizeInFolder(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_UseLongFileNames(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_UseLongFileNames(void);
  HRESULT         __fastcall set_UseLongFileNames(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_CheckIfOfficeIsHTMLEditor(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_CheckIfOfficeIsHTMLEditor(void);
  HRESULT         __fastcall set_CheckIfOfficeIsHTMLEditor(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_DownloadComponents(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DownloadComponents(void);
  HRESULT         __fastcall set_DownloadComponents(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_LocationOfComponents(BSTR* pstr/*[out,retval]*/);
  BSTR            __fastcall get_LocationOfComponents(void);
  HRESULT         __fastcall set_LocationOfComponents(BSTR pstr/*[in]*/);
  HRESULT         __fastcall get_Encoding(Office_2k::MsoEncoding* penc/*[out,retval]*/);
  Office_2k::MsoEncoding __fastcall get_Encoding(void);
  HRESULT         __fastcall set_Encoding(Office_2k::MsoEncoding penc/*[in]*/);
  HRESULT         __fastcall get_AlwaysSaveInDefaultEncoding(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_AlwaysSaveInDefaultEncoding(void);
  HRESULT         __fastcall set_AlwaysSaveInDefaultEncoding(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_FolderSuffix(BSTR* pbstr/*[out,retval]*/);
  BSTR            __fastcall get_FolderSuffix(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   Access_2k::AcColorIndex HyperlinkColor = {read = get_HyperlinkColor, write = set_HyperlinkColor};
  __property   Access_2k::AcColorIndex FollowedHyperlinkColor = {read = get_FollowedHyperlinkColor, write = set_FollowedHyperlinkColor};
  __property   VARIANT_BOOL    UnderlineHyperlinks = {read = get_UnderlineHyperlinks, write = set_UnderlineHyperlinks};
  __property   VARIANT_BOOL    OrganizeInFolder = {read = get_OrganizeInFolder, write = set_OrganizeInFolder};
  __property   VARIANT_BOOL    UseLongFileNames = {read = get_UseLongFileNames, write = set_UseLongFileNames};
  __property   VARIANT_BOOL    CheckIfOfficeIsHTMLEditor = {read = get_CheckIfOfficeIsHTMLEditor, write = set_CheckIfOfficeIsHTMLEditor};
  __property   VARIANT_BOOL    DownloadComponents = {read = get_DownloadComponents, write = set_DownloadComponents};
  __property   BSTR            LocationOfComponents = {read = get_LocationOfComponents, write = set_LocationOfComponents};
  __property   Office_2k::MsoEncoding Encoding = {read = get_Encoding, write = set_Encoding};
  __property   VARIANT_BOOL    AlwaysSaveInDefaultEncoding = {read = get_AlwaysSaveInDefaultEncoding, write = set_AlwaysSaveInDefaultEncoding};
  __property   BSTR            FolderSuffix = {read = get_FolderSuffix};
};
typedef _DefaultWebOptionsDispT<_DefaultWebOptions> _DefaultWebOptionsDisp;

// *********************************************************************//
// SmartIntf: TCOM_WebOptions
// Interface: _WebOptions
// *********************************************************************//
template <class T /* _WebOptions */ >
class TCOM_WebOptionsT : public TComInterface<_WebOptions>, public TComInterfaceBase<IUnknown>
{
public:
  TCOM_WebOptionsT() {}
  TCOM_WebOptionsT(_WebOptions *intf, bool addRef = false) : TComInterface<_WebOptions>(intf, addRef) {}
  TCOM_WebOptionsT(const TCOM_WebOptionsT& src) : TComInterface<_WebOptions>(src) {}
  TCOM_WebOptionsT& operator=(const TCOM_WebOptionsT& src) { Bind(src, true); return *this;}

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OrganizeInFolder(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_OrganizeInFolder(void);
  HRESULT         __fastcall set_OrganizeInFolder(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_UseLongFileNames(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_UseLongFileNames(void);
  HRESULT         __fastcall set_UseLongFileNames(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_DownloadComponents(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DownloadComponents(void);
  HRESULT         __fastcall set_DownloadComponents(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_LocationOfComponents(BSTR* pstr/*[out,retval]*/);
  BSTR            __fastcall get_LocationOfComponents(void);
  HRESULT         __fastcall set_LocationOfComponents(BSTR pstr/*[in]*/);
  HRESULT         __fastcall get_Encoding(Office_2k::MsoEncoding* penc/*[out,retval]*/);
  Office_2k::MsoEncoding __fastcall get_Encoding(void);
  HRESULT         __fastcall set_Encoding(Office_2k::MsoEncoding penc/*[in]*/);
  HRESULT         __fastcall get_FolderSuffix(BSTR* pbstr/*[out,retval]*/);
  BSTR            __fastcall get_FolderSuffix(void);
  HRESULT         __fastcall UseDefaultFolderSuffix(void);

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   VARIANT_BOOL    OrganizeInFolder = {read = get_OrganizeInFolder, write = set_OrganizeInFolder};
  __property   VARIANT_BOOL    UseLongFileNames = {read = get_UseLongFileNames, write = set_UseLongFileNames};
  __property   VARIANT_BOOL    DownloadComponents = {read = get_DownloadComponents, write = set_DownloadComponents};
  __property   BSTR            LocationOfComponents = {read = get_LocationOfComponents, write = set_LocationOfComponents};
  __property   Office_2k::MsoEncoding Encoding = {read = get_Encoding, write = set_Encoding};
  __property   BSTR            FolderSuffix = {read = get_FolderSuffix};
};
typedef TCOM_WebOptionsT<_WebOptions> TCOM_WebOptions;

// *********************************************************************//
// DispIntf:  _WebOptions
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {416ED4F6-AB31-11D1-BF72-0060083E43CF}
// *********************************************************************//
template<class T>
class _WebOptionsDispT : public TAutoDriver<_WebOptions>
{
public:
  _WebOptionsDispT(){}

  _WebOptionsDispT(_WebOptions *pintf)
  {
    TAutoDriver<_WebOptions>::Bind(pintf, false);
  }

  _WebOptionsDispT(_WebOptionsPtr pintf)
  {
    TAutoDriver<_WebOptions>::Bind(pintf, true);
  }

  _WebOptionsDispT& operator=(_WebOptions *pintf)
  {
    TAutoDriver<_WebOptions>::Bind(pintf, false);
    return *this;
  }

  _WebOptionsDispT& operator=(_WebOptionsPtr pintf)
  {
    TAutoDriver<_WebOptions>::Bind(pintf, true);
    return *this;
  }

  HRESULT BindDefault()
  {
    return OLECHECK(Bind(CLSID_AccessWebOptions));
  }

  HRESULT BindRunning()
  {
    return BindToActive(CLSID_AccessWebOptions);
  }

  HRESULT         __fastcall get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/);
  Access_2k::AccessApplicationPtr __fastcall get_Application(void);
  HRESULT         __fastcall get_Parent(LPDISPATCH* pRet/*[out,retval]*/);
  LPDISPATCH      __fastcall get_Parent(void);
  HRESULT         __fastcall get_OrganizeInFolder(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_OrganizeInFolder(void);
  HRESULT         __fastcall set_OrganizeInFolder(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_UseLongFileNames(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_UseLongFileNames(void);
  HRESULT         __fastcall set_UseLongFileNames(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_DownloadComponents(VARIANT_BOOL* pf/*[out,retval]*/);
  VARIANT_BOOL    __fastcall get_DownloadComponents(void);
  HRESULT         __fastcall set_DownloadComponents(VARIANT_BOOL pf/*[in]*/);
  HRESULT         __fastcall get_LocationOfComponents(BSTR* pstr/*[out,retval]*/);
  BSTR            __fastcall get_LocationOfComponents(void);
  HRESULT         __fastcall set_LocationOfComponents(BSTR pstr/*[in]*/);
  HRESULT         __fastcall get_Encoding(Office_2k::MsoEncoding* penc/*[out,retval]*/);
  Office_2k::MsoEncoding __fastcall get_Encoding(void);
  HRESULT         __fastcall set_Encoding(Office_2k::MsoEncoding penc/*[in]*/);
  HRESULT         __fastcall get_FolderSuffix(BSTR* pbstr/*[out,retval]*/);
  BSTR            __fastcall get_FolderSuffix(void);
  HRESULT         __fastcall UseDefaultFolderSuffix();

  __property   Access_2k::AccessApplicationPtr Application = {read = get_Application};
  __property   LPDISPATCH      Parent = {read = get_Parent};
  __property   VARIANT_BOOL    OrganizeInFolder = {read = get_OrganizeInFolder, write = set_OrganizeInFolder};
  __property   VARIANT_BOOL    UseLongFileNames = {read = get_UseLongFileNames, write = set_UseLongFileNames};
  __property   VARIANT_BOOL    DownloadComponents = {read = get_DownloadComponents, write = set_DownloadComponents};
  __property   BSTR            LocationOfComponents = {read = get_LocationOfComponents, write = set_LocationOfComponents};
  __property   Office_2k::MsoEncoding Encoding = {read = get_Encoding, write = set_Encoding};
  __property   BSTR            FolderSuffix = {read = get_FolderSuffix};
};
typedef _WebOptionsDispT<_WebOptions> _WebOptionsDisp;

typedef TComInterface<_DummyEvents>  TCOM_DummyEvents;

// *********************************************************************//
// DispIntf:  DoCmd
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {C547E760-9658-101B-81EE-00AA004750E2}
// *********************************************************************//
template <class T> HRESULT __fastcall
DoCmdDispT<T>::AddMenu(VARIANT MenuName/*[in]*/, VARIANT MenuMacroName/*[in]*/, 
                       VARIANT StatusBarText/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddMenu"), DISPID(1001));
  TAutoArgs<3> _args;
  _args[1] = MenuName /*[VT_VARIANT:0]*/;
  _args[2] = MenuMacroName /*[VT_VARIANT:0]*/;
  _args[3] = StatusBarText /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::ApplyFilter(VARIANT FilterName/*[in,opt]*/, VARIANT WhereCondition/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("ApplyFilter"), DISPID(1002));
  TAutoArgs<2> _args;
  _args[1] = FilterName /*[VT_VARIANT:0]*/;
  _args[2] = WhereCondition /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::Beep()
{
  _TDispID _dispid(*this, OLETEXT("Beep"), DISPID(1003));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::CancelEvent()
{
  _TDispID _dispid(*this, OLETEXT("CancelEvent"), DISPID(1004));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::Close(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                     VARIANT ObjectName/*[in,opt]*/, Access_2k::AcCloseSave Save/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("Close"), DISPID(1005));
  TAutoArgs<3> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_VARIANT:0]*/;
  _args[3] = (int)Save /*[VT_USERDEFINED:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::CopyObject(VARIANT DestinationDatabase/*[in,opt]*/, VARIANT NewName/*[in,opt]*/, 
                          Access_2k::AcObjectType SourceObjectType/*[in,def,opt]*/, 
                          VARIANT SourceObjectName/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("CopyObject"), DISPID(1006));
  TAutoArgs<4> _args;
  _args[1] = DestinationDatabase /*[VT_VARIANT:0]*/;
  _args[2] = NewName /*[VT_VARIANT:0]*/;
  _args[3] = (int)SourceObjectType /*[VT_USERDEFINED:0]*/;
  _args[4] = SourceObjectName /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::DoMenuItem(VARIANT MenuBar/*[in]*/, VARIANT MenuName/*[in]*/, VARIANT Command/*[in]*/
                          , VARIANT Subcommand/*[in,opt]*/, VARIANT Version/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("DoMenuItem"), DISPID(1007));
  TAutoArgs<5> _args;
  _args[1] = MenuBar /*[VT_VARIANT:0]*/;
  _args[2] = MenuName /*[VT_VARIANT:0]*/;
  _args[3] = Command /*[VT_VARIANT:0]*/;
  _args[4] = Subcommand /*[VT_VARIANT:0]*/;
  _args[5] = Version /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::Echo(VARIANT EchoOn/*[in]*/, VARIANT StatusBarText/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("Echo"), DISPID(1008));
  TAutoArgs<2> _args;
  _args[1] = EchoOn /*[VT_VARIANT:0]*/;
  _args[2] = StatusBarText /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::FindNext()
{
  _TDispID _dispid(*this, OLETEXT("FindNext"), DISPID(1009));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::FindRecord(VARIANT FindWhat/*[in]*/, Access_2k::AcFindMatch Match/*[in,def,opt]*/, 
                          VARIANT MatchCase/*[in,opt]*/, 
                          Access_2k::AcSearchDirection Search/*[in,def,opt]*/, 
                          VARIANT SearchAsFormatted/*[in,opt]*/, 
                          Access_2k::AcFindField OnlyCurrentField/*[in,def,opt]*/, 
                          VARIANT FindFirst/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("FindRecord"), DISPID(1010));
  TAutoArgs<7> _args;
  _args[1] = FindWhat /*[VT_VARIANT:0]*/;
  _args[2] = (int)Match /*[VT_USERDEFINED:0]*/;
  _args[3] = MatchCase /*[VT_VARIANT:0]*/;
  _args[4] = (int)Search /*[VT_USERDEFINED:0]*/;
  _args[5] = SearchAsFormatted /*[VT_VARIANT:0]*/;
  _args[6] = (int)OnlyCurrentField /*[VT_USERDEFINED:0]*/;
  _args[7] = FindFirst /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::GoToControl(VARIANT ControlName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("GoToControl"), DISPID(1011));
  TAutoArgs<1> _args;
  _args[1] = ControlName /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::GoToPage(VARIANT PageNumber/*[in]*/, VARIANT Right/*[in,opt]*/, 
                        VARIANT Down/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("GoToPage"), DISPID(1012));
  TAutoArgs<3> _args;
  _args[1] = PageNumber /*[VT_VARIANT:0]*/;
  _args[2] = Right /*[VT_VARIANT:0]*/;
  _args[3] = Down /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::GoToRecord(Access_2k::AcDataObjectType ObjectType/*[in,def,opt]*/, 
                          VARIANT ObjectName/*[in,opt]*/, Access_2k::AcRecord Record/*[in,def,opt]*/
                          , VARIANT Offset/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("GoToRecord"), DISPID(1013));
  TAutoArgs<4> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_VARIANT:0]*/;
  _args[3] = (int)Record /*[VT_USERDEFINED:0]*/;
  _args[4] = Offset /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::Hourglass(VARIANT HourglassOn/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hourglass"), DISPID(1014));
  TAutoArgs<1> _args;
  _args[1] = HourglassOn /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::Maximize()
{
  _TDispID _dispid(*this, OLETEXT("Maximize"), DISPID(1015));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::Minimize()
{
  _TDispID _dispid(*this, OLETEXT("Minimize"), DISPID(1016));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::MoveSize(VARIANT Right/*[in,opt]*/, VARIANT Down/*[in,opt]*/, 
                        VARIANT Width/*[in,opt]*/, VARIANT Height/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("MoveSize"), DISPID(1017));
  TAutoArgs<4> _args;
  _args[1] = Right /*[VT_VARIANT:0]*/;
  _args[2] = Down /*[VT_VARIANT:0]*/;
  _args[3] = Width /*[VT_VARIANT:0]*/;
  _args[4] = Height /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::OpenForm(VARIANT FormName/*[in]*/, Access_2k::AcFormView View/*[in,def,opt]*/, 
                        VARIANT FilterName/*[in,opt]*/, VARIANT WhereCondition/*[in,opt]*/, 
                        Access_2k::AcFormOpenDataMode DataMode/*[in,def,opt]*/, 
                        Access_2k::AcWindowMode WindowMode/*[in,def,opt]*/, 
                        VARIANT OpenArgs/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenForm"), DISPID(1019));
  TAutoArgs<7> _args;
  _args[1] = FormName /*[VT_VARIANT:0]*/;
  _args[2] = (int)View /*[VT_USERDEFINED:0]*/;
  _args[3] = FilterName /*[VT_VARIANT:0]*/;
  _args[4] = WhereCondition /*[VT_VARIANT:0]*/;
  _args[5] = (int)DataMode /*[VT_USERDEFINED:0]*/;
  _args[6] = (int)WindowMode /*[VT_USERDEFINED:0]*/;
  _args[7] = OpenArgs /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::OpenQuery(VARIANT QueryName/*[in]*/, Access_2k::AcView View/*[in,def,opt]*/, 
                         Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenQuery"), DISPID(1020));
  TAutoArgs<3> _args;
  _args[1] = QueryName /*[VT_VARIANT:0]*/;
  _args[2] = (int)View /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)DataMode /*[VT_USERDEFINED:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::OpenTable(VARIANT TableName/*[in]*/, Access_2k::AcView View/*[in,def,opt]*/, 
                         Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenTable"), DISPID(1021));
  TAutoArgs<3> _args;
  _args[1] = TableName /*[VT_VARIANT:0]*/;
  _args[2] = (int)View /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)DataMode /*[VT_USERDEFINED:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::PrintOut(Access_2k::AcPrintRange PrintRange/*[in,def,opt]*/, 
                        VARIANT PageFrom/*[in,opt]*/, VARIANT PageTo/*[in,opt]*/, 
                        Access_2k::AcPrintQuality PrintQuality/*[in,def,opt]*/, 
                        VARIANT Copies/*[in,opt]*/, VARIANT CollateCopies/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrintOut"), DISPID(1022));
  TAutoArgs<6> _args;
  _args[1] = (int)PrintRange /*[VT_USERDEFINED:0]*/;
  _args[2] = PageFrom /*[VT_VARIANT:0]*/;
  _args[3] = PageTo /*[VT_VARIANT:0]*/;
  _args[4] = (int)PrintQuality /*[VT_USERDEFINED:0]*/;
  _args[5] = Copies /*[VT_VARIANT:0]*/;
  _args[6] = CollateCopies /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::Quit(Access_2k::AcQuitOption Options/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("Quit"), DISPID(1023));
  TAutoArgs<1> _args;
  _args[1] = (int)Options /*[VT_USERDEFINED:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::Requery(VARIANT ControlName/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(1024));
  TAutoArgs<1> _args;
  _args[1] = ControlName /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::RepaintObject(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                             VARIANT ObjectName/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("RepaintObject"), DISPID(1025));
  TAutoArgs<2> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::Rename(VARIANT NewName/*[in]*/, Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                      VARIANT OldName/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("Rename"), DISPID(1026));
  TAutoArgs<3> _args;
  _args[1] = NewName /*[VT_VARIANT:0]*/;
  _args[2] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[3] = OldName /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::Restore()
{
  _TDispID _dispid(*this, OLETEXT("Restore"), DISPID(1027));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::RunMacro(VARIANT MacroName/*[in]*/, VARIANT RepeatCount/*[in,opt]*/, 
                        VARIANT RepeatExpression/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("RunMacro"), DISPID(1030));
  TAutoArgs<3> _args;
  _args[1] = MacroName /*[VT_VARIANT:0]*/;
  _args[2] = RepeatCount /*[VT_VARIANT:0]*/;
  _args[3] = RepeatExpression /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::RunSQL(VARIANT SQLStatement/*[in]*/, VARIANT UseTransaction/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("RunSQL"), DISPID(1031));
  TAutoArgs<2> _args;
  _args[1] = SQLStatement /*[VT_VARIANT:0]*/;
  _args[2] = UseTransaction /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::SelectObject(Access_2k::AcObjectType ObjectType/*[in]*/, 
                            VARIANT ObjectName/*[in,opt]*/, VARIANT InDatabaseWindow/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelectObject"), DISPID(1032));
  TAutoArgs<3> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_VARIANT:0]*/;
  _args[3] = InDatabaseWindow /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::SetWarnings(VARIANT WarningsOn/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SetWarnings"), DISPID(1035));
  TAutoArgs<1> _args;
  _args[1] = WarningsOn /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::ShowAllRecords()
{
  _TDispID _dispid(*this, OLETEXT("ShowAllRecords"), DISPID(1036));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::OpenReport(VARIANT ReportName/*[in]*/, Access_2k::AcView View/*[in,def,opt]*/, 
                          VARIANT FilterName/*[in,opt]*/, VARIANT WhereCondition/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenReport"), DISPID(1039));
  TAutoArgs<4> _args;
  _args[1] = ReportName /*[VT_VARIANT:0]*/;
  _args[2] = (int)View /*[VT_USERDEFINED:0]*/;
  _args[3] = FilterName /*[VT_VARIANT:0]*/;
  _args[4] = WhereCondition /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::TransferDatabase(Access_2k::AcDataTransferType TransferType/*[in,def,opt]*/, 
                                VARIANT DatabaseType/*[in,opt]*/, VARIANT DatabaseName/*[in,opt]*/, 
                                Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                                VARIANT Source/*[in,opt]*/, VARIANT Destination/*[in,opt]*/, 
                                VARIANT StructureOnly/*[in,opt]*/, VARIANT StoreLogin/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("TransferDatabase"), DISPID(1040));
  TAutoArgs<8> _args;
  _args[1] = (int)TransferType /*[VT_USERDEFINED:0]*/;
  _args[2] = DatabaseType /*[VT_VARIANT:0]*/;
  _args[3] = DatabaseName /*[VT_VARIANT:0]*/;
  _args[4] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[5] = Source /*[VT_VARIANT:0]*/;
  _args[6] = Destination /*[VT_VARIANT:0]*/;
  _args[7] = StructureOnly /*[VT_VARIANT:0]*/;
  _args[8] = StoreLogin /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::TransferSpreadsheet(Access_2k::AcDataTransferType TransferType/*[in,def,opt]*/, 
                                   Access_2k::AcSpreadSheetType SpreadsheetType/*[in,def,opt]*/, 
                                   VARIANT TableName/*[in,opt]*/, VARIANT FileName/*[in,opt]*/, 
                                   VARIANT HasFieldNames/*[in,opt]*/, VARIANT Range/*[in,opt]*/, 
                                   VARIANT UseOA/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("TransferSpreadsheet"), DISPID(1041));
  TAutoArgs<7> _args;
  _args[1] = (int)TransferType /*[VT_USERDEFINED:0]*/;
  _args[2] = (int)SpreadsheetType /*[VT_USERDEFINED:0]*/;
  _args[3] = TableName /*[VT_VARIANT:0]*/;
  _args[4] = FileName /*[VT_VARIANT:0]*/;
  _args[5] = HasFieldNames /*[VT_VARIANT:0]*/;
  _args[6] = Range /*[VT_VARIANT:0]*/;
  _args[7] = UseOA /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::TransferText(Access_2k::AcTextTransferType TransferType/*[in,def,opt]*/, 
                            VARIANT SpecificationName/*[in,opt]*/, VARIANT TableName/*[in,opt]*/, 
                            VARIANT FileName/*[in,opt]*/, VARIANT HasFieldNames/*[in,opt]*/, 
                            VARIANT HTMLTableName/*[in,opt]*/, VARIANT CodePage/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("TransferText"), DISPID(1042));
  TAutoArgs<7> _args;
  _args[1] = (int)TransferType /*[VT_USERDEFINED:0]*/;
  _args[2] = SpecificationName /*[VT_VARIANT:0]*/;
  _args[3] = TableName /*[VT_VARIANT:0]*/;
  _args[4] = FileName /*[VT_VARIANT:0]*/;
  _args[5] = HasFieldNames /*[VT_VARIANT:0]*/;
  _args[6] = HTMLTableName /*[VT_VARIANT:0]*/;
  _args[7] = CodePage /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::OutputTo(Access_2k::AcOutputObjectType ObjectType/*[in]*/, 
                        VARIANT ObjectName/*[in,opt]*/, VARIANT OutputFormat/*[in,opt]*/, 
                        VARIANT OutputFile/*[in,opt]*/, VARIANT AutoStart/*[in,opt]*/, 
                        VARIANT TemplateFile/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OutputTo"), DISPID(1341));
  TAutoArgs<6> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_VARIANT:0]*/;
  _args[3] = OutputFormat /*[VT_VARIANT:0]*/;
  _args[4] = OutputFile /*[VT_VARIANT:0]*/;
  _args[5] = AutoStart /*[VT_VARIANT:0]*/;
  _args[6] = TemplateFile /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::DeleteObject(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                            VARIANT ObjectName/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("DeleteObject"), DISPID(1372));
  TAutoArgs<2> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::OpenModule(VARIANT ModuleName/*[in,opt]*/, VARIANT ProcedureName/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenModule"), DISPID(1374));
  TAutoArgs<2> _args;
  _args[1] = ModuleName /*[VT_VARIANT:0]*/;
  _args[2] = ProcedureName /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::SendObject(Access_2k::AcSendObjectType ObjectType/*[in,def,opt]*/, 
                          VARIANT ObjectName/*[in,opt]*/, VARIANT OutputFormat/*[in,opt]*/, 
                          VARIANT To/*[in,opt]*/, VARIANT Cc/*[in,opt]*/, VARIANT Bcc/*[in,opt]*/, 
                          VARIANT Subject/*[in,opt]*/, VARIANT MessageText/*[in,opt]*/, 
                          VARIANT EditMessage/*[in,opt]*/, VARIANT TemplateFile/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("SendObject"), DISPID(1377));
  TAutoArgs<10> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_VARIANT:0]*/;
  _args[3] = OutputFormat /*[VT_VARIANT:0]*/;
  _args[4] = To /*[VT_VARIANT:0]*/;
  _args[5] = Cc /*[VT_VARIANT:0]*/;
  _args[6] = Bcc /*[VT_VARIANT:0]*/;
  _args[7] = Subject /*[VT_VARIANT:0]*/;
  _args[8] = MessageText /*[VT_VARIANT:0]*/;
  _args[9] = EditMessage /*[VT_VARIANT:0]*/;
  _args[10] = TemplateFile /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::ShowToolbar(VARIANT ToolbarName/*[in]*/, 
                           Access_2k::AcShowToolbar Show/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShowToolbar"), DISPID(1394));
  TAutoArgs<2> _args;
  _args[1] = ToolbarName /*[VT_VARIANT:0]*/;
  _args[2] = (int)Show /*[VT_USERDEFINED:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::Save(Access_2k::AcObjectType ObjectType/*[in,def,opt]*/, 
                    VARIANT ObjectName/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("Save"), DISPID(1453));
  TAutoArgs<2> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::SetMenuItem(VARIANT MenuIndex/*[in]*/, VARIANT CommandIndex/*[in,opt]*/, 
                           VARIANT SubcommandIndex/*[in,opt]*/, VARIANT Flag/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("SetMenuItem"), DISPID(1454));
  TAutoArgs<4> _args;
  _args[1] = MenuIndex /*[VT_VARIANT:0]*/;
  _args[2] = CommandIndex /*[VT_VARIANT:0]*/;
  _args[3] = SubcommandIndex /*[VT_VARIANT:0]*/;
  _args[4] = Flag /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::RunCommand(Access_2k::AcCommand Command/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RunCommand"), DISPID(1602));
  TAutoArgs<1> _args;
  _args[1] = (int)Command /*[VT_USERDEFINED:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::OpenDataAccessPage(VARIANT DataAccessPageName/*[in]*/, 
                                  Access_2k::AcDataAccessPageView View/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenDataAccessPage"), DISPID(1771));
  TAutoArgs<2> _args;
  _args[1] = DataAccessPageName /*[VT_VARIANT:0]*/;
  _args[2] = (int)View /*[VT_USERDEFINED:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::OpenView(VARIANT ViewName/*[in]*/, Access_2k::AcView View/*[in,def,opt]*/, 
                        Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenView"), DISPID(1793));
  TAutoArgs<3> _args;
  _args[1] = ViewName /*[VT_VARIANT:0]*/;
  _args[2] = (int)View /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)DataMode /*[VT_USERDEFINED:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::OpenDiagram(VARIANT DiagramName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenDiagram"), DISPID(1794));
  TAutoArgs<1> _args;
  _args[1] = DiagramName /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
DoCmdDispT<T>::OpenStoredProcedure(VARIANT ProcedureName/*[in]*/, 
                                   Access_2k::AcView View/*[in,def,opt]*/, 
                                   Access_2k::AcOpenDataMode DataMode/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenStoredProcedure"), DISPID(1795));
  TAutoArgs<3> _args;
  _args[1] = ProcedureName /*[VT_VARIANT:0]*/;
  _args[2] = (int)View /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)DataMode /*[VT_USERDEFINED:0]*/;
  return OleFunction(_dispid, _args);
}

// *********************************************************************//
// DispIntf:  _RecordsetEvents
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {45165490-EF32-11D0-86FB-006097C9818C}
// *********************************************************************//
template <class T> HRESULT __fastcall
_RecordsetEventsDispT<T>::WillChangeField(long cFields/*[in]*/, VARIANT Fields/*[in]*/, 
                                          Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                          LPUNKNOWN pRecordset/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("WillChangeField"), DISPID(9));
  TAutoArgs<4> _args;
  _args[1] = cFields /*[VT_I4:0]*/;
  _args[2] = Fields /*[VT_VARIANT:0]*/;
  _args[3] = (int*)adStatus /*[VT_USERDEFINED:1]*/;
  _args[4] = pRecordset /*[VT_UNKNOWN:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RecordsetEventsDispT<T>::FieldChangeComplete(long cFields/*[in]*/, VARIANT Fields/*[in]*/, 
                                              LPUNKNOWN pError/*[in]*/, 
                                              Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                              LPUNKNOWN pRecordset/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FieldChangeComplete"), DISPID(10));
  TAutoArgs<5> _args;
  _args[1] = cFields /*[VT_I4:0]*/;
  _args[2] = Fields /*[VT_VARIANT:0]*/;
  _args[3] = pError /*[VT_UNKNOWN:0]*/;
  _args[4] = (int*)adStatus /*[VT_USERDEFINED:1]*/;
  _args[5] = pRecordset /*[VT_UNKNOWN:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RecordsetEventsDispT<T>::WillChangeRecord(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                           long cRecords/*[in]*/, 
                                           Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                           LPUNKNOWN pRecordset/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("WillChangeRecord"), DISPID(11));
  TAutoArgs<4> _args;
  _args[1] = (int)adReason /*[VT_USERDEFINED:0]*/;
  _args[2] = cRecords /*[VT_I4:0]*/;
  _args[3] = (int*)adStatus /*[VT_USERDEFINED:1]*/;
  _args[4] = pRecordset /*[VT_UNKNOWN:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RecordsetEventsDispT<T>::RecordChangeComplete(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                               long cRecords/*[in]*/, LPUNKNOWN pError/*[in]*/, 
                                               Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                               LPUNKNOWN pRecordset/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordChangeComplete"), DISPID(12));
  TAutoArgs<5> _args;
  _args[1] = (int)adReason /*[VT_USERDEFINED:0]*/;
  _args[2] = cRecords /*[VT_I4:0]*/;
  _args[3] = pError /*[VT_UNKNOWN:0]*/;
  _args[4] = (int*)adStatus /*[VT_USERDEFINED:1]*/;
  _args[5] = pRecordset /*[VT_UNKNOWN:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RecordsetEventsDispT<T>::WillChangeRecordset(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                              Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                              LPUNKNOWN pRecordset/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("WillChangeRecordset"), DISPID(13));
  TAutoArgs<3> _args;
  _args[1] = (int)adReason /*[VT_USERDEFINED:0]*/;
  _args[2] = (int*)adStatus /*[VT_USERDEFINED:1]*/;
  _args[3] = pRecordset /*[VT_UNKNOWN:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RecordsetEventsDispT<T>::RecordsetChangeComplete(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                                  LPUNKNOWN pError/*[in]*/, 
                                                  Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                                  LPUNKNOWN pRecordset/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordsetChangeComplete"), DISPID(14));
  TAutoArgs<4> _args;
  _args[1] = (int)adReason /*[VT_USERDEFINED:0]*/;
  _args[2] = pError /*[VT_UNKNOWN:0]*/;
  _args[3] = (int*)adStatus /*[VT_USERDEFINED:1]*/;
  _args[4] = pRecordset /*[VT_UNKNOWN:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RecordsetEventsDispT<T>::WillMove(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                   Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                   LPUNKNOWN pRecordset/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("WillMove"), DISPID(15));
  TAutoArgs<3> _args;
  _args[1] = (int)adReason /*[VT_USERDEFINED:0]*/;
  _args[2] = (int*)adStatus /*[VT_USERDEFINED:1]*/;
  _args[3] = pRecordset /*[VT_UNKNOWN:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RecordsetEventsDispT<T>::MoveComplete(Adodb_2k::EventReasonEnum adReason/*[in]*/, 
                                       LPUNKNOWN pError/*[in]*/, 
                                       Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                       LPUNKNOWN pRecordset/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MoveComplete"), DISPID(16));
  TAutoArgs<4> _args;
  _args[1] = (int)adReason /*[VT_USERDEFINED:0]*/;
  _args[2] = pError /*[VT_UNKNOWN:0]*/;
  _args[3] = (int*)adStatus /*[VT_USERDEFINED:1]*/;
  _args[4] = pRecordset /*[VT_UNKNOWN:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RecordsetEventsDispT<T>::EndOfRecordset(short* fMoreData/*[in,out]*/, 
                                         Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                         LPUNKNOWN pRecordset/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EndOfRecordset"), DISPID(17));
  TAutoArgs<3> _args;
  _args[1] = fMoreData /*[VT_I2:1]*/;
  _args[2] = (int*)adStatus /*[VT_USERDEFINED:1]*/;
  _args[3] = pRecordset /*[VT_UNKNOWN:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RecordsetEventsDispT<T>::FetchProgress(long Progress/*[in]*/, long MaxProgress/*[in]*/, 
                                        Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                        LPUNKNOWN pRecordset/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FetchProgress"), DISPID(18));
  TAutoArgs<4> _args;
  _args[1] = Progress /*[VT_I4:0]*/;
  _args[2] = MaxProgress /*[VT_I4:0]*/;
  _args[3] = (int*)adStatus /*[VT_USERDEFINED:1]*/;
  _args[4] = pRecordset /*[VT_UNKNOWN:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RecordsetEventsDispT<T>::FetchComplete(LPUNKNOWN pError/*[in]*/, 
                                        Adodb_2k::EventStatusEnum* adStatus/*[in,out]*/, 
                                        LPUNKNOWN pRecordset/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FetchComplete"), DISPID(19));
  TAutoArgs<3> _args;
  _args[1] = pError /*[VT_UNKNOWN:0]*/;
  _args[2] = (int*)adStatus /*[VT_USERDEFINED:1]*/;
  _args[3] = pRecordset /*[VT_UNKNOWN:0]*/;
  return OleFunction(_dispid, _args);
}

// *********************************************************************//
// DispIntf:  _AccessProperty
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDD00-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_AccessPropertyDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_AccessPropertyDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_AccessPropertyDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_AccessPropertyDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_AccessPropertyDispT<T>::get_Category(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Category"), DISPID(2096));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_AccessPropertyDispT<T>::get_Category(void)
{
  short pRet;
  this->get_Category((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_AccessPropertyDispT<T>::get_Value(VARIANT* pval/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pval /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_AccessPropertyDispT<T>::get_Value(void)
{
  VARIANT pval;
  this->get_Value((VARIANT*)&pval);
  return pval;
}

template <class T> HRESULT __fastcall
_AccessPropertyDispT<T>::set_Value(VARIANT pval/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pval /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_AccessPropertyDispT<T>::get_Name(BSTR* pbstr/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(DISPID_UNKNOWN/*[1610809346]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstr /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_AccessPropertyDispT<T>::get_Name(void)
{
  BSTR pbstr;
  this->get_Name((BSTR*)&pbstr);
  return pbstr;
}

template <class T> HRESULT __fastcall
_AccessPropertyDispT<T>::set_Name(BSTR pbstr/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(1610809346));
  TAutoArgs<1> _args;
  _args[1] = pbstr /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_AccessPropertyDispT<T>::get_Type(short* ptype/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Type"), DISPID(DISPID_UNKNOWN/*[1610809348]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ptype /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_AccessPropertyDispT<T>::get_Type(void)
{
  short ptype;
  this->get_Type((short*)&ptype);
  return ptype;
}

template <class T> HRESULT __fastcall
_AccessPropertyDispT<T>::set_Type(short ptype/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Type"), DISPID(1610809348));
  TAutoArgs<1> _args;
  _args[1] = ptype /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_AccessPropertyDispT<T>::get_Inherited(VARIANT_BOOL* pb/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Inherited"), DISPID(DISPID_UNKNOWN/*[1610809350]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pb /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_AccessPropertyDispT<T>::get_Inherited(void)
{
  VARIANT_BOOL pb;
  this->get_Inherited((VARIANT_BOOL*)&pb);
  return pb;
}

template <class T> HRESULT __fastcall
_AccessPropertyDispT<T>::get_Properties(Dao_2k::Properties** ppprops/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Dao_2k::Properties**)ppprops /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Dao_2k::PropertiesPtr __fastcall
_AccessPropertyDispT<T>::get_Properties(void)
{
  Dao_2k::PropertiesPtr ppprops;
  this->get_Properties(&ppprops);
  return ppprops;
}

// *********************************************************************//
// DispIntf:  Properties
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDD02-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
PropertiesDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
PropertiesDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
PropertiesDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
PropertiesDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
PropertiesDispT<T>::get_Item(VARIANT Index/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
PropertiesDispT<T>::get_Item(VARIANT Index/*[in]*/)
{
  LPDISPATCH pRet;
  this->get_Item(Index, (LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
PropertiesDispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
PropertiesDispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
PropertiesDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
PropertiesDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

// *********************************************************************//
// SmartIntf: TCOM_FormatCondition
// Interface: _FormatCondition
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::get_ForeColor(long* plResult/*[out,retval]*/)
{
  return (*this)->get_ForeColor(plResult);
}

template <class T> long __fastcall
TCOM_FormatConditionT<T>::get_ForeColor(void)
{
  long plResult;
  OLECHECK(this->get_ForeColor((long*)&plResult));
  return plResult;
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::set_ForeColor(long plResult/*[in]*/)
{
  return (*this)->set_ForeColor(plResult);
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::get_BackColor(long* plResult/*[out,retval]*/)
{
  return (*this)->get_BackColor(plResult);
}

template <class T> long __fastcall
TCOM_FormatConditionT<T>::get_BackColor(void)
{
  long plResult;
  OLECHECK(this->get_BackColor((long*)&plResult));
  return plResult;
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::set_BackColor(long plResult/*[in]*/)
{
  return (*this)->set_BackColor(plResult);
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::get_FontBold(VARIANT_BOOL* pfResult/*[out,retval]*/)
{
  return (*this)->get_FontBold(pfResult);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormatConditionT<T>::get_FontBold(void)
{
  VARIANT_BOOL pfResult;
  OLECHECK(this->get_FontBold((VARIANT_BOOL*)&pfResult));
  return pfResult;
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::set_FontBold(VARIANT_BOOL pfResult/*[in]*/)
{
  return (*this)->set_FontBold(pfResult);
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::get_FontItalic(VARIANT_BOOL* pfResult/*[out,retval]*/)
{
  return (*this)->get_FontItalic(pfResult);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormatConditionT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pfResult;
  OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pfResult));
  return pfResult;
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::set_FontItalic(VARIANT_BOOL pfResult/*[in]*/)
{
  return (*this)->set_FontItalic(pfResult);
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::get_FontUnderline(VARIANT_BOOL* pfResult/*[out,retval]*/)
{
  return (*this)->get_FontUnderline(pfResult);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormatConditionT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pfResult;
  OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pfResult));
  return pfResult;
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::set_FontUnderline(VARIANT_BOOL pfResult/*[in]*/)
{
  return (*this)->set_FontUnderline(pfResult);
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::get_Enabled(VARIANT_BOOL* pfResult/*[out,retval]*/)
{
  return (*this)->get_Enabled(pfResult);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormatConditionT<T>::get_Enabled(void)
{
  VARIANT_BOOL pfResult;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pfResult));
  return pfResult;
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::set_Enabled(VARIANT_BOOL pfResult/*[in]*/)
{
  return (*this)->set_Enabled(pfResult);
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::get_Type(Access_2k::AcFormatConditionType* pacfctResult/*[out,retval]*/)
{
  return (*this)->get_Type(pacfctResult);
}

template <class T> Access_2k::AcFormatConditionType __fastcall
TCOM_FormatConditionT<T>::get_Type(void)
{
  Access_2k::AcFormatConditionType pacfctResult;
  OLECHECK(this->get_Type((Access_2k::AcFormatConditionType*)&pacfctResult));
  return pacfctResult;
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::get_Operator(Access_2k::AcFormatConditionOperator* pacfcoResult/*[out,retval]*/)
{
  return (*this)->get_Operator(pacfcoResult);
}

template <class T> Access_2k::AcFormatConditionOperator __fastcall
TCOM_FormatConditionT<T>::get_Operator(void)
{
  Access_2k::AcFormatConditionOperator pacfcoResult;
  OLECHECK(this->get_Operator((Access_2k::AcFormatConditionOperator*)&pacfcoResult));
  return pacfcoResult;
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::get_Expression1(BSTR* pbstrResult/*[out,retval]*/)
{
  return (*this)->get_Expression1(pbstrResult);
}

template <class T> BSTR __fastcall
TCOM_FormatConditionT<T>::get_Expression1(void)
{
  BSTR pbstrResult = 0;
  OLECHECK(this->get_Expression1((BSTR*)&pbstrResult));
  return pbstrResult;
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::get_Expression2(BSTR* pbstrResult/*[out,retval]*/)
{
  return (*this)->get_Expression2(pbstrResult);
}

template <class T> BSTR __fastcall
TCOM_FormatConditionT<T>::get_Expression2(void)
{
  BSTR pbstrResult = 0;
  OLECHECK(this->get_Expression2((BSTR*)&pbstrResult));
  return pbstrResult;
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::Modify(Access_2k::AcFormatConditionType Type/*[in]*/, 
                                 Access_2k::AcFormatConditionOperator Operator/*[in,def,opt]*/, 
                                 VARIANT Expression1/*[in,opt]*/, VARIANT Expression2/*[in,opt]*/)
{
  return (*this)->Modify(Type, Operator, Expression1, Expression2);
}

template <class T> HRESULT __fastcall
TCOM_FormatConditionT<T>::Delete(void)
{
  return (*this)->Delete();
}

// *********************************************************************//
// DispIntf:  _FormatCondition
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {E27A992C-A330-11D0-81DD-00C04FC2F51B}
// *********************************************************************//
template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::get_ForeColor(long* plResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(-513));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(plResult /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormatConditionDispT<T>::get_ForeColor(void)
{
  long plResult;
  this->get_ForeColor((long*)&plResult);
  return plResult;
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::set_ForeColor(long plResult/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(-513));
  TAutoArgs<1> _args;
  _args[1] = plResult /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::get_BackColor(long* plResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(-501));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(plResult /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormatConditionDispT<T>::get_BackColor(void)
{
  long plResult;
  this->get_BackColor((long*)&plResult);
  return plResult;
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::set_BackColor(long plResult/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(-501));
  TAutoArgs<1> _args;
  _args[1] = plResult /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::get_FontBold(VARIANT_BOOL* pfResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(2127));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pfResult /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormatConditionDispT<T>::get_FontBold(void)
{
  VARIANT_BOOL pfResult;
  this->get_FontBold((VARIANT_BOOL*)&pfResult);
  return pfResult;
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::set_FontBold(VARIANT_BOOL pfResult/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(2127));
  TAutoArgs<1> _args;
  _args[1] = pfResult /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::get_FontItalic(VARIANT_BOOL* pfResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(2128));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pfResult /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormatConditionDispT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pfResult;
  this->get_FontItalic((VARIANT_BOOL*)&pfResult);
  return pfResult;
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::set_FontItalic(VARIANT_BOOL pfResult/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(2128));
  TAutoArgs<1> _args;
  _args[1] = pfResult /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::get_FontUnderline(VARIANT_BOOL* pfResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(2131));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pfResult /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormatConditionDispT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pfResult;
  this->get_FontUnderline((VARIANT_BOOL*)&pfResult);
  return pfResult;
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::set_FontUnderline(VARIANT_BOOL pfResult/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(2131));
  TAutoArgs<1> _args;
  _args[1] = pfResult /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::get_Enabled(VARIANT_BOOL* pfResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(-514));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pfResult /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormatConditionDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pfResult;
  this->get_Enabled((VARIANT_BOOL*)&pfResult);
  return pfResult;
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::set_Enabled(VARIANT_BOOL pfResult/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(-514));
  TAutoArgs<1> _args;
  _args[1] = pfResult /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::get_Type(Access_2k::AcFormatConditionType* pacfctResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Type"), DISPID(2095));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pacfctResult /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcFormatConditionType __fastcall
_FormatConditionDispT<T>::get_Type(void)
{
  Access_2k::AcFormatConditionType pacfctResult;
  this->get_Type((Access_2k::AcFormatConditionType*)&pacfctResult);
  return pacfctResult;
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::get_Operator(Access_2k::AcFormatConditionOperator* pacfcoResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Operator"), DISPID(2199));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pacfcoResult /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcFormatConditionOperator __fastcall
_FormatConditionDispT<T>::get_Operator(void)
{
  Access_2k::AcFormatConditionOperator pacfcoResult;
  this->get_Operator((Access_2k::AcFormatConditionOperator*)&pacfcoResult);
  return pacfcoResult;
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::get_Expression1(BSTR* pbstrResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Expression1"), DISPID(2200));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrResult /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormatConditionDispT<T>::get_Expression1(void)
{
  BSTR pbstrResult;
  this->get_Expression1((BSTR*)&pbstrResult);
  return pbstrResult;
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::get_Expression2(BSTR* pbstrResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Expression2"), DISPID(2201));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrResult /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormatConditionDispT<T>::get_Expression2(void)
{
  BSTR pbstrResult;
  this->get_Expression2((BSTR*)&pbstrResult);
  return pbstrResult;
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::Modify(Access_2k::AcFormatConditionType Type/*[in]*/, 
                                 Access_2k::AcFormatConditionOperator Operator/*[in,def,opt]*/, 
                                 VARIANT Expression1/*[in,opt]*/, VARIANT Expression2/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("Modify"), DISPID(2202));
  TAutoArgs<4> _args;
  _args[1] = (int)Type /*[VT_USERDEFINED:0]*/;
  _args[2] = (int)Operator /*[VT_USERDEFINED:0]*/;
  _args[3] = Expression1 /*[VT_VARIANT:0]*/;
  _args[4] = Expression2 /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormatConditionDispT<T>::Delete()
{
  _TDispID _dispid(*this, OLETEXT("Delete"), DISPID(2063));
  return OleFunction(_dispid);
}

// *********************************************************************//
// DispIntf:  FormatConditions
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {E27A992E-A330-11D0-81DD-00C04FC2F51B}
// *********************************************************************//
template <class T> HRESULT __fastcall
FormatConditionsDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
FormatConditionsDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
FormatConditionsDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
FormatConditionsDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
FormatConditionsDispT<T>::get_Item(VARIANT Index/*[in]*/, 
                                   Access_2k::_FormatCondition** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::_FormatCondition**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::_FormatCondition* __fastcall
FormatConditionsDispT<T>::get_Item(VARIANT Index/*[in]*/)
{
  Access_2k::_FormatCondition* pRet;
  this->get_Item(Index, (Access_2k::_FormatCondition**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
FormatConditionsDispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
FormatConditionsDispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
FormatConditionsDispT<T>::Add(Access_2k::AcFormatConditionType Type/*[in]*/, 
                              Access_2k::AcFormatConditionOperator Operator/*[in,def,opt]*/, 
                              VARIANT Expression1/*[in,opt]*/, VARIANT Expression2/*[in,opt]*/, 
                              Access_2k::_FormatCondition** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Add"), DISPID(2191));
  TAutoArgs<4> _args;
  _args[1] = (int)Type /*[VT_USERDEFINED:0]*/;
  _args[2] = (int)Operator /*[VT_USERDEFINED:0]*/;
  _args[3] = Expression1 /*[VT_VARIANT:0]*/;
  _args[4] = Expression2 /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::_FormatCondition**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::_FormatCondition* __fastcall
FormatConditionsDispT<T>::Add(Access_2k::AcFormatConditionType Type/*[in]*/, 
                              Access_2k::AcFormatConditionOperator Operator/*[in,def,opt]*/, 
                              VARIANT Expression1/*[in,opt]*/, VARIANT Expression2/*[in,opt]*/)
{
  Access_2k::_FormatCondition* pRet;
  this->Add(Type, Operator, Expression1, Expression2, (Access_2k::_FormatCondition**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
FormatConditionsDispT<T>::Delete()
{
  _TDispID _dispid(*this, OLETEXT("Delete"), DISPID(2063));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
FormatConditionsDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
FormatConditionsDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

// *********************************************************************//
// DispIntf:  _ItemsSelected
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {31B09710-EADC-11CD-B9F7-00AA004753B5}
// *********************************************************************//
template <class T> HRESULT __fastcall
_ItemsSelectedDispT<T>::get_Item(VARIANT Index/*[in]*/, long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ItemsSelectedDispT<T>::get_Item(VARIANT Index/*[in]*/)
{
  long pRet;
  this->get_Item(Index, (long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ItemsSelectedDispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ItemsSelectedDispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ItemsSelectedDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
_ItemsSelectedDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

// *********************************************************************//
// DispIntf:  Children
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E977-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
ChildrenDispT<T>::get_Item(VARIANT Index/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
ChildrenDispT<T>::get_Item(VARIANT Index/*[in]*/)
{
  LPDISPATCH pRet;
  this->get_Item(Index, (LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ChildrenDispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
ChildrenDispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ChildrenDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
ChildrenDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

// *********************************************************************//
// SmartIntf: TCOM_AccessField
// Interface: _AccessField
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_AccessFieldT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_AccessFieldT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_AccessFieldT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

// *********************************************************************//
// DispIntf:  _AccessField
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {B1C1EAC1-486F-11CE-A65D-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_AccessFieldDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_AccessFieldDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_AccessFieldDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_Hyperlink
// Interface: _Hyperlink
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::get_SubAddress(BSTR* pbstrResult/*[out,retval]*/)
{
  return (*this)->get_SubAddress(pbstrResult);
}

template <class T> BSTR __fastcall
TCOM_HyperlinkT<T>::get_SubAddress(void)
{
  BSTR pbstrResult = 0;
  OLECHECK(this->get_SubAddress((BSTR*)&pbstrResult));
  return pbstrResult;
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::set_SubAddress(VARIANT pbstrResult/*[in]*/)
{
  return (*this)->set_SubAddress(pbstrResult);
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::get_Address(BSTR* pbstrResult/*[out,retval]*/)
{
  return (*this)->get_Address(pbstrResult);
}

template <class T> BSTR __fastcall
TCOM_HyperlinkT<T>::get_Address(void)
{
  BSTR pbstrResult = 0;
  OLECHECK(this->get_Address((BSTR*)&pbstrResult));
  return pbstrResult;
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::set_Address(VARIANT pbstrResult/*[in]*/)
{
  return (*this)->set_Address(pbstrResult);
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::AddToFavorites(void)
{
  return (*this)->AddToFavorites();
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::Follow(VARIANT_BOOL NewWindow/*[in,def,opt]*/, 
                           VARIANT_BOOL AddHistory/*[in,def,opt]*/, VARIANT ExtraInfo/*[in,opt]*/, 
                           Office_2k::MsoExtraInfoMethod Method/*[in,def,opt]*/, 
                           BSTR HeaderInfo/*[in,def,opt]*/)
{
  return (*this)->Follow(NewWindow, AddHistory, ExtraInfo, Method, HeaderInfo);
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::get_EmailSubject(BSTR* pbstrResult/*[out,retval]*/)
{
  return (*this)->get_EmailSubject(pbstrResult);
}

template <class T> BSTR __fastcall
TCOM_HyperlinkT<T>::get_EmailSubject(void)
{
  BSTR pbstrResult = 0;
  OLECHECK(this->get_EmailSubject((BSTR*)&pbstrResult));
  return pbstrResult;
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::set_EmailSubject(VARIANT pbstrResult/*[in]*/)
{
  return (*this)->set_EmailSubject(pbstrResult);
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::get_ScreenTip(BSTR* pbstrResult/*[out,retval]*/)
{
  return (*this)->get_ScreenTip(pbstrResult);
}

template <class T> BSTR __fastcall
TCOM_HyperlinkT<T>::get_ScreenTip(void)
{
  BSTR pbstrResult = 0;
  OLECHECK(this->get_ScreenTip((BSTR*)&pbstrResult));
  return pbstrResult;
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::set_ScreenTip(VARIANT pbstrResult/*[in]*/)
{
  return (*this)->set_ScreenTip(pbstrResult);
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::get_TextToDisplay(BSTR* pbstrResult/*[out,retval]*/)
{
  return (*this)->get_TextToDisplay(pbstrResult);
}

template <class T> BSTR __fastcall
TCOM_HyperlinkT<T>::get_TextToDisplay(void)
{
  BSTR pbstrResult = 0;
  OLECHECK(this->get_TextToDisplay((BSTR*)&pbstrResult));
  return pbstrResult;
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::set_TextToDisplay(VARIANT pbstrResult/*[in]*/)
{
  return (*this)->set_TextToDisplay(pbstrResult);
}

template <class T> HRESULT __fastcall
TCOM_HyperlinkT<T>::CreateNewDocument(BSTR FileName/*[in]*/, VARIANT_BOOL EditNow/*[in]*/, 
                                      VARIANT_BOOL Overwrite/*[in]*/)
{
  return (*this)->CreateNewDocument(FileName, EditNow, Overwrite);
}

// *********************************************************************//
// DispIntf:  _Hyperlink
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {50D56611-60AC-11CF-82C9-00AA004B9FE6}
// *********************************************************************//
template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::get_SubAddress(BSTR* pbstrResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SubAddress"), DISPID(2182));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrResult /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_HyperlinkDispT<T>::get_SubAddress(void)
{
  BSTR pbstrResult;
  this->get_SubAddress((BSTR*)&pbstrResult);
  return pbstrResult;
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::set_SubAddress(VARIANT pbstrResult/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SubAddress"), DISPID(2182));
  TAutoArgs<1> _args;
  _args[1] = pbstrResult /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::get_Address(BSTR* pbstrResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Address"), DISPID(2183));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrResult /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_HyperlinkDispT<T>::get_Address(void)
{
  BSTR pbstrResult;
  this->get_Address((BSTR*)&pbstrResult);
  return pbstrResult;
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::set_Address(VARIANT pbstrResult/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Address"), DISPID(2183));
  TAutoArgs<1> _args;
  _args[1] = pbstrResult /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::AddToFavorites()
{
  _TDispID _dispid(*this, OLETEXT("AddToFavorites"), DISPID(2184));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::Follow(VARIANT_BOOL NewWindow/*[in,def,opt]*/, 
                           VARIANT_BOOL AddHistory/*[in,def,opt]*/, VARIANT ExtraInfo/*[in,opt]*/, 
                           Office_2k::MsoExtraInfoMethod Method/*[in,def,opt]*/, 
                           BSTR HeaderInfo/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("Follow"), DISPID(2185));
  TAutoArgs<5> _args;
  _args[1] = NewWindow /*[VT_BOOL:0]*/;
  _args[2] = AddHistory /*[VT_BOOL:0]*/;
  _args[3] = ExtraInfo /*[VT_VARIANT:0]*/;
  _args[4] = (int)Method /*[VT_USERDEFINED:0]*/;
  _args[5] = HeaderInfo /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::get_EmailSubject(BSTR* pbstrResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EmailSubject"), DISPID(2209));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrResult /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_HyperlinkDispT<T>::get_EmailSubject(void)
{
  BSTR pbstrResult;
  this->get_EmailSubject((BSTR*)&pbstrResult);
  return pbstrResult;
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::set_EmailSubject(VARIANT pbstrResult/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EmailSubject"), DISPID(2209));
  TAutoArgs<1> _args;
  _args[1] = pbstrResult /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::get_ScreenTip(BSTR* pbstrResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScreenTip"), DISPID(2211));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrResult /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_HyperlinkDispT<T>::get_ScreenTip(void)
{
  BSTR pbstrResult;
  this->get_ScreenTip((BSTR*)&pbstrResult);
  return pbstrResult;
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::set_ScreenTip(VARIANT pbstrResult/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScreenTip"), DISPID(2211));
  TAutoArgs<1> _args;
  _args[1] = pbstrResult /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::get_TextToDisplay(BSTR* pbstrResult/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextToDisplay"), DISPID(2231));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrResult /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_HyperlinkDispT<T>::get_TextToDisplay(void)
{
  BSTR pbstrResult;
  this->get_TextToDisplay((BSTR*)&pbstrResult);
  return pbstrResult;
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::set_TextToDisplay(VARIANT pbstrResult/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextToDisplay"), DISPID(2231));
  TAutoArgs<1> _args;
  _args[1] = pbstrResult /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_HyperlinkDispT<T>::CreateNewDocument(BSTR FileName/*[in]*/, VARIANT_BOOL EditNow/*[in]*/, 
                                      VARIANT_BOOL Overwrite/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateNewDocument"), DISPID(2232));
  TAutoArgs<3> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  _args[2] = EditNow /*[VT_BOOL:0]*/;
  _args[3] = Overwrite /*[VT_BOOL:0]*/;
  return OleFunction(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_Page
// Interface: _Page
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_PageT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_PageT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_PageT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                         VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_PageT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_PageT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_PageT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Caption(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_Caption(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Caption((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  return (*this)->set_Caption(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Picture(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_Picture(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Picture((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  return (*this)->set_Picture(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_PageT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PictureType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_PageIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_PageIndex(pRet);
}

template <class T> short __fastcall
TCOM_PageT<T>::get_PageIndex(void)
{
  short pRet;
  OLECHECK(this->get_PageIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_PageIndex(short pRet/*[in]*/)
{
  return (*this)->set_PageIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PageT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PageT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_PageT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_PageT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_PageT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_PageT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_PageT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_PageT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PageT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PageT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureData(pRet);
}

template <class T> VARIANT __fastcall
TCOM_PageT<T>::get_PictureData(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PictureData((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PictureData(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_PageT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_PageT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _Page
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E974-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_PageDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_PageDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_PageDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_PageDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                         VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PageDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_PageDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_PageDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_Caption(void)
{
  BSTR pRet;
  this->get_Caption((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_Picture(void)
{
  BSTR pRet;
  this->get_Picture((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_PageDispT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  this->get_PictureType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_PageIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PageIndex"), DISPID(352));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PageDispT<T>::get_PageIndex(void)
{
  short pRet;
  this->get_PageIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_PageIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PageIndex"), DISPID(352));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PageDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PageDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PageDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PageDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PageDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PageDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_PageDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PageDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PageDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PageDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PageDispT<T>::get_PictureData(void)
{
  VARIANT pRet;
  this->get_PictureData((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_PageDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_PageDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accChild(VARIANT varChild/*[in]*/, LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_PageDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PageDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PageDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_PageDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                       BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PageDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PageDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                    BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, long* pcxWidth/*[out]*/, 
                           long* pcyHeight/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                           VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PageDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PageDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_PageDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// DispIntf:  Pages
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E978-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
PagesDispT<T>::get_Item(VARIANT Index/*[in]*/, Access_2k::AccessPage** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessPage**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessPage* __fastcall
PagesDispT<T>::get_Item(VARIANT Index/*[in]*/)
{
  Access_2k::AccessPage* pRet;
  this->get_Item(Index, (Access_2k::AccessPage**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
PagesDispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
PagesDispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
PagesDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
PagesDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
PagesDispT<T>::Add(VARIANT Before/*[in,opt]*/, Access_2k::AccessPage** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Add"), DISPID(2191));
  TAutoArgs<1> _args;
  _args[1] = Before /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessPage**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::AccessPage* __fastcall
PagesDispT<T>::Add(VARIANT Before/*[in,opt]*/)
{
  Access_2k::AccessPage* pRet;
  this->Add(Before, (Access_2k::AccessPage**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
PagesDispT<T>::Remove(VARIANT Item/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("Remove"), DISPID(2192));
  TAutoArgs<1> _args;
  _args[1] = Item /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_Control
// Interface: _Control
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_ControlT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ControlT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::Undo(void)
{
  return (*this)->Undo();
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::Dropdown(void)
{
  return (*this)->Dropdown();
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Column(Index, Row, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ControlT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->get_Column(Index/*[in]*/, Row/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_Selected(long lRow/*[in]*/, long* pRet/*[out,retval]*/)
{
  return (*this)->get_Selected(lRow, pRet);
}

template <class T> long __fastcall
TCOM_ControlT<T>::get_Selected(long lRow/*[in]*/)
{
  long pRet;
  OLECHECK(this->get_Selected(lRow/*[in]*/, (long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::set_Selected(long lRow/*[in]*/, long pRet/*[in]*/)
{
  return (*this)->set_Selected(lRow, pRet);
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ControlT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  return (*this)->get_Form(pRet);
}

template <class T> Access_2k::AccessFormPtr __fastcall
TCOM_ControlT<T>::get_Form(void)
{
  Access_2k::AccessFormPtr pRet;
  OLECHECK(this->get_Form((Access_2k::AccessFormPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  return (*this)->get_Report(pRet);
}

template <class T> Access_2k::AccessReportPtr __fastcall
TCOM_ControlT<T>::get_Report(void)
{
  Access_2k::AccessReportPtr pRet;
  OLECHECK(this->get_Report((Access_2k::AccessReportPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_ItemData(Index, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ControlT<T>::get_ItemData(long Index/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->get_ItemData(Index/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_Object(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Object(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ControlT<T>::get_Object(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Object((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectVerbs(Index, pRet);
}

template <class T> BSTR __fastcall
TCOM_ControlT<T>::get_ObjectVerbs(long Index/*[in]*/)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ObjectVerbs(Index/*[in]*/, (BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_ControlT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_ItemsSelected(Access_2k::_ItemsSelected** pRet/*[out,retval]*/)
{
  return (*this)->get_ItemsSelected(pRet);
}

template <class T> Access_2k::_ItemsSelectedPtr __fastcall
TCOM_ControlT<T>::get_ItemsSelected(void)
{
  Access_2k::_ItemsSelectedPtr pRet;
  OLECHECK(this->get_ItemsSelected((Access_2k::_ItemsSelectedPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ControlT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_Pages(Access_2k::Pages** pRet/*[out,retval]*/)
{
  return (*this)->get_Pages(pRet);
}

template <class T> Access_2k::PagesPtr __fastcall
TCOM_ControlT<T>::get_Pages(void)
{
  Access_2k::PagesPtr pRet;
  OLECHECK(this->get_Pages((Access_2k::PagesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_ControlT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ControlT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  return (*this)->get_Hyperlink(ppRet);
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
TCOM_ControlT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  OLECHECK(this->get_Hyperlink((Access_2k::_HyperlinkPtr*)&ppRet));
  return ppRet;
}

// *********************************************************************//
// DispIntf:  _Control
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {26B96540-8F8E-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_ControlDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_ControlDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ControlDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::Undo()
{
  _TDispID _dispid(*this, OLETEXT("Undo"), DISPID(2144));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::Dropdown()
{
  _TDispID _dispid(*this, OLETEXT("Dropdown"), DISPID(2143));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Column"), DISPID(2101));
  TAutoArgs<2> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = Row /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ControlDispT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/)
{
  VARIANT pRet;
  this->get_Column(Index, Row, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_Selected(long lRow/*[in]*/, long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Selected"), DISPID(2113));
  TAutoArgs<1> _args;
  _args[1] = lRow /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ControlDispT<T>::get_Selected(long lRow/*[in]*/)
{
  long pRet;
  this->get_Selected(lRow, (long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::set_Selected(long lRow/*[in]*/, long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Selected"), DISPID(2113));
  TAutoArgs<2> _args;
  _args[1] = lRow /*[VT_I4:0]*/;
  _args[2] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ControlDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Form"), DISPID(2089));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessForm**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessFormPtr __fastcall
_ControlDispT<T>::get_Form(void)
{
  Access_2k::AccessFormPtr pRet;
  this->get_Form(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Report"), DISPID(2097));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessReport**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessReportPtr __fastcall
_ControlDispT<T>::get_Report(void)
{
  Access_2k::AccessReportPtr pRet;
  this->get_Report(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ItemData"), DISPID(2103));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ControlDispT<T>::get_ItemData(long Index/*[in]*/)
{
  VARIANT pRet;
  this->get_ItemData(Index, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_Object(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Object"), DISPID(2104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ControlDispT<T>::get_Object(void)
{
  LPDISPATCH pRet;
  this->get_Object((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectVerbs"), DISPID(2105));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ControlDispT<T>::get_ObjectVerbs(long Index/*[in]*/)
{
  BSTR pRet;
  this->get_ObjectVerbs(Index, (BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_ControlDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_ItemsSelected(Access_2k::_ItemsSelected** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ItemsSelected"), DISPID(2137));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::_ItemsSelected**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::_ItemsSelectedPtr __fastcall
_ControlDispT<T>::get_ItemsSelected(void)
{
  Access_2k::_ItemsSelectedPtr pRet;
  this->get_ItemsSelected(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ControlDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_Pages(Access_2k::Pages** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Pages"), DISPID(2180));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Pages**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PagesPtr __fastcall
_ControlDispT<T>::get_Pages(void)
{
  Access_2k::PagesPtr pRet;
  this->get_Pages(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_ControlDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ControlDispT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hyperlink"), DISPID(2181));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::_Hyperlink**)ppRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
_ControlDispT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  this->get_Hyperlink(&ppRet);
  return ppRet;
}

// *********************************************************************//
// DispIntf:  Controls
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {5970C574-EB8C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
Controls_DispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
Controls_DispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
Controls_DispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
Controls_DispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
Controls_DispT<T>::get_Item(VARIANT Index/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
Controls_DispT<T>::get_Item(VARIANT Index/*[in]*/)
{
  LPDISPATCH pRet;
  this->get_Item(Index, (LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
Controls_DispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
Controls_DispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
Controls_DispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
Controls_DispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

// *********************************************************************//
// SmartIntf: TCOM_Label
// Interface: _Label
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_LabelT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_LabelT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_LabelT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                          VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_LabelT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  return (*this)->get_Hyperlink(ppRet);
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
TCOM_LabelT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  OLECHECK(this->get_Hyperlink((Access_2k::_HyperlinkPtr*)&ppRet));
  return ppRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Caption(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_Caption(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Caption((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  return (*this)->set_Caption(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_HyperlinkAddress(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_HyperlinkAddress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_HyperlinkAddress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_HyperlinkAddress(BSTR pRet/*[in]*/)
{
  return (*this)->set_HyperlinkAddress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_HyperlinkSubAddress(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_HyperlinkSubAddress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_HyperlinkSubAddress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_HyperlinkSubAddress(BSTR pRet/*[in]*/)
{
  return (*this)->set_HyperlinkSubAddress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_LabelT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Vertical(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Vertical(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_LabelT<T>::get_Vertical(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Vertical((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_Vertical(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Vertical(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BackStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BackStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BackColor(pRet);
}

template <class T> long __fastcall
TCOM_LabelT<T>::get_BackColor(void)
{
  long pRet;
  OLECHECK(this->get_BackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_BackColor(long pRet/*[in]*/)
{
  return (*this)->set_BackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_LabelT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ForeColor(pRet);
}

template <class T> long __fastcall
TCOM_LabelT<T>::get_ForeColor(void)
{
  long pRet;
  OLECHECK(this->get_ForeColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_ForeColor(long pRet/*[in]*/)
{
  return (*this)->set_ForeColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FontName(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_FontName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FontName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  return (*this)->set_FontName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontSize(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_FontSize(void)
{
  short pRet;
  OLECHECK(this->get_FontSize((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_FontSize(short pRet/*[in]*/)
{
  return (*this)->set_FontSize(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontWeight(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_FontWeight(void)
{
  short pRet;
  OLECHECK(this->get_FontWeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_FontWeight(short pRet/*[in]*/)
{
  return (*this)->set_FontWeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontItalic(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_LabelT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontItalic(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontUnderline(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_LabelT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontUnderline(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TextFontCharSet(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TextFontCharSet(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_TextAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TextAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_TextAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TextAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_TextAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TextAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontBold(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_FontBold(void)
{
  short pRet;
  OLECHECK(this->get_FontBold((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_FontBold(short pRet/*[in]*/)
{
  return (*this)->set_FontBold(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_LabelT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_LabelT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_LabelT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ReadingOrder(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ReadingOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_NumeralShapes(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LabelT<T>::get_NumeralShapes(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_NumeralShapes((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_NumeralShapes(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_NumeralShapes(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_LabelT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_LeftMargin(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LeftMargin(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_LeftMargin(void)
{
  short pRet;
  OLECHECK(this->get_LeftMargin((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_LeftMargin(short pRet/*[in]*/)
{
  return (*this)->set_LeftMargin(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_TopMargin(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TopMargin(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_TopMargin(void)
{
  short pRet;
  OLECHECK(this->get_TopMargin((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_TopMargin(short pRet/*[in]*/)
{
  return (*this)->set_TopMargin(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_LineSpacing(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LineSpacing(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_LineSpacing(void)
{
  short pRet;
  OLECHECK(this->get_LineSpacing((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_LineSpacing(short pRet/*[in]*/)
{
  return (*this)->set_LineSpacing(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_RightMargin(short* pRet/*[out,retval]*/)
{
  return (*this)->get_RightMargin(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_RightMargin(void)
{
  short pRet;
  OLECHECK(this->get_RightMargin((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_RightMargin(short pRet/*[in]*/)
{
  return (*this)->set_RightMargin(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::get_BottomMargin(short* pRet/*[out,retval]*/)
{
  return (*this)->get_BottomMargin(pRet);
}

template <class T> short __fastcall
TCOM_LabelT<T>::get_BottomMargin(void)
{
  short pRet;
  OLECHECK(this->get_BottomMargin((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LabelT<T>::set_BottomMargin(short pRet/*[in]*/)
{
  return (*this)->set_BottomMargin(pRet);
}

// *********************************************************************//
// DispIntf:  _Label
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E948-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_LabelDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_LabelDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_LabelDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                          VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_LabelDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hyperlink"), DISPID(2181));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::_Hyperlink**)ppRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
_LabelDispT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  this->get_Hyperlink(&ppRet);
  return ppRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_Caption(void)
{
  BSTR pRet;
  this->get_Caption((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkAddress"), DISPID(343));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_HyperlinkAddress(void)
{
  BSTR pRet;
  this->get_HyperlinkAddress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_HyperlinkAddress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkAddress"), DISPID(343));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkSubAddress"), DISPID(347));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_HyperlinkSubAddress(void)
{
  BSTR pRet;
  this->get_HyperlinkSubAddress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_HyperlinkSubAddress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkSubAddress"), DISPID(347));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_LabelDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Vertical(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Vertical"), DISPID(355));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_LabelDispT<T>::get_Vertical(void)
{
  VARIANT_BOOL pRet;
  this->get_Vertical((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_Vertical(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Vertical"), DISPID(355));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  this->get_BackStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_LabelDispT<T>::get_BackColor(void)
{
  long pRet;
  this->get_BackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_BackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_LabelDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_LabelDispT<T>::get_ForeColor(void)
{
  long pRet;
  this->get_ForeColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_ForeColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_FontName(void)
{
  BSTR pRet;
  this->get_FontName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_FontSize(void)
{
  short pRet;
  this->get_FontSize((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_FontSize(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_FontWeight(void)
{
  short pRet;
  this->get_FontWeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_FontWeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_LabelDispT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  this->get_FontItalic((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_LabelDispT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  this->get_FontUnderline((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  this->get_TextFontCharSet((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_TextAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlign"), DISPID(136));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_TextAlign(void)
{
  unsigned_char pRet;
  this->get_TextAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_TextAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlign"), DISPID(136));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_FontBold(void)
{
  short pRet;
  this->get_FontBold((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_FontBold(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_LabelDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_LabelDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_LabelDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  this->get_ReadingOrder((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("NumeralShapes"), DISPID(372));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LabelDispT<T>::get_NumeralShapes(void)
{
  unsigned_char pRet;
  this->get_NumeralShapes((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_NumeralShapes(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("NumeralShapes"), DISPID(372));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_LeftMargin(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LeftMargin"), DISPID(384));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_LeftMargin(void)
{
  short pRet;
  this->get_LeftMargin((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_LeftMargin(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LeftMargin"), DISPID(384));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_TopMargin(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TopMargin"), DISPID(385));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_TopMargin(void)
{
  short pRet;
  this->get_TopMargin((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_TopMargin(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TopMargin"), DISPID(385));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_LineSpacing(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LineSpacing"), DISPID(386));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_LineSpacing(void)
{
  short pRet;
  this->get_LineSpacing((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_LineSpacing(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LineSpacing"), DISPID(386));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_RightMargin(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RightMargin"), DISPID(388));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_RightMargin(void)
{
  short pRet;
  this->get_RightMargin((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_RightMargin(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RightMargin"), DISPID(388));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_BottomMargin(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BottomMargin"), DISPID(389));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LabelDispT<T>::get_BottomMargin(void)
{
  short pRet;
  this->get_BottomMargin((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_BottomMargin(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BottomMargin"), DISPID(389));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_LabelDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_LabelDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accChild(VARIANT varChild/*[in]*/, LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_LabelDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                   BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_LabelDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_LabelDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                 long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_LabelDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                        BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_LabelDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_LabelDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                     BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LabelDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, long* pcxWidth/*[out]*/, 
                            long* pcyHeight/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                            VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_LabelDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_LabelDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LabelDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_Rectangle
// Interface: _Rectangle
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_RectangleT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_RectangleT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_RectangleT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                              VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_RectangleT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_RectangleT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_RectangleT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_RectangleT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_RectangleT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_RectangleT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_RectangleT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_RectangleT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_RectangleT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_RectangleT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BackStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_RectangleT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BackStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BackColor(pRet);
}

template <class T> long __fastcall
TCOM_RectangleT<T>::get_BackColor(void)
{
  long pRet;
  OLECHECK(this->get_BackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_BackColor(long pRet/*[in]*/)
{
  return (*this)->set_BackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_RectangleT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_RectangleT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_RectangleT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_RectangleT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_RectangleT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_RectangleT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_RectangleT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_RectangleT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_RectangleT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_RectangleT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_RectangleT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_RectangleT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_RectangleT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_RectangleT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_RectangleT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_RectangleT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_RectangleT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_RectangleT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _Rectangle
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E94A-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_RectangleDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_RectangleDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_RectangleDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                              VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_RectangleDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_RectangleDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_RectangleDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_RectangleDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_RectangleDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_RectangleDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_RectangleDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_RectangleDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_RectangleDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_RectangleDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_RectangleDispT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  this->get_BackStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_RectangleDispT<T>::get_BackColor(void)
{
  long pRet;
  this->get_BackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_BackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_RectangleDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_RectangleDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_RectangleDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_RectangleDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_RectangleDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_RectangleDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_RectangleDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_RectangleDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_RectangleDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_RectangleDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_RectangleDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_RectangleDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_RectangleDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_RectangleDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_RectangleDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_RectangleDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_RectangleDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_RectangleDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_Line
// Interface: _Line
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_LineT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_LineT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_LineT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                         VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_LineT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_LineT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_LineT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LineT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_LineSlant(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_LineSlant(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_LineT<T>::get_LineSlant(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_LineSlant((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_LineSlant(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_LineSlant(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_LineT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LineT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_LineT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_LineT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_LineT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_LineT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LineT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LineT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LineT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_LineT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LineT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_LineT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_LineT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_LineT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_LineT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_LineT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_LineT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_LineT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_LineT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _Line
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E94C-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_LineDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_LineDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_LineDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_LineDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                         VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_LineDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LineDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LineDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LineDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_LineSlant(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LineSlant"), DISPID(55));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_LineDispT<T>::get_LineSlant(void)
{
  VARIANT_BOOL pRet;
  this->get_LineSlant((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_LineSlant(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LineSlant"), DISPID(55));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_LineDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LineDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LineDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LineDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LineDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LineDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LineDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LineDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LineDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_LineDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LineDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_LineDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_LineDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LineDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LineDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_LineDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_LineDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_LineDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_LineDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_LineDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_Image
// Interface: _Image
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_ImageT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ImageT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ImageT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_ImageT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_ImageT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                          VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ImageT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  return (*this)->get_Hyperlink(ppRet);
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
TCOM_ImageT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  OLECHECK(this->get_Hyperlink((Access_2k::_HyperlinkPtr*)&ppRet));
  return ppRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ImageT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Picture(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_Picture(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Picture((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  return (*this)->set_Picture(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ImageT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PictureType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureData(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ImageT<T>::get_PictureData(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PictureData((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PictureData(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_SizeMode(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SizeMode(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ImageT<T>::get_SizeMode(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SizeMode((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_SizeMode(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SizeMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureAlignment(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ImageT<T>::get_PictureAlignment(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PictureAlignment((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_PictureAlignment(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PictureAlignment(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureTiling(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ImageT<T>::get_PictureTiling(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_PictureTiling((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_PictureTiling(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_PictureTiling(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_HyperlinkAddress(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_HyperlinkAddress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_HyperlinkAddress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_HyperlinkAddress(BSTR pRet/*[in]*/)
{
  return (*this)->set_HyperlinkAddress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_HyperlinkSubAddress(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_HyperlinkSubAddress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_HyperlinkSubAddress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_HyperlinkSubAddress(BSTR pRet/*[in]*/)
{
  return (*this)->set_HyperlinkSubAddress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ImageT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ImageT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_ImageT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_ImageT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_ImageT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_ImageT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BackStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ImageT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BackStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BackColor(pRet);
}

template <class T> long __fastcall
TCOM_ImageT<T>::get_BackColor(void)
{
  long pRet;
  OLECHECK(this->get_BackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_BackColor(long pRet/*[in]*/)
{
  return (*this)->set_BackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ImageT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ImageT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ImageT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_ImageT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ImageT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ImageT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_ImageT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_ImageT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectPalette(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ImageT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  return (*this)->set_ObjectPalette(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ImageT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_ImageHeight(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ImageHeight(pRet);
}

template <class T> long __fastcall
TCOM_ImageT<T>::get_ImageHeight(void)
{
  long pRet;
  OLECHECK(this->get_ImageHeight((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_ImageHeight(long pRet/*[in]*/)
{
  return (*this)->set_ImageHeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_ImageWidth(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ImageWidth(pRet);
}

template <class T> long __fastcall
TCOM_ImageT<T>::get_ImageWidth(void)
{
  long pRet;
  OLECHECK(this->get_ImageWidth((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_ImageWidth(long pRet/*[in]*/)
{
  return (*this)->set_ImageWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ImageT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_ImageT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_ImageT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _Image
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E94E-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_ImageDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ImageDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ImageDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_ImageDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_ImageDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                          VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ImageDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hyperlink"), DISPID(2181));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::_Hyperlink**)ppRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
_ImageDispT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  this->get_Hyperlink(&ppRet);
  return ppRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ImageDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_Picture(void)
{
  BSTR pRet;
  this->get_Picture((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ImageDispT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  this->get_PictureType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ImageDispT<T>::get_PictureData(void)
{
  VARIANT pRet;
  this->get_PictureData((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_SizeMode(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SizeMode"), DISPID(89));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ImageDispT<T>::get_SizeMode(void)
{
  unsigned_char pRet;
  this->get_SizeMode((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_SizeMode(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SizeMode"), DISPID(89));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureAlignment"), DISPID(309));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ImageDispT<T>::get_PictureAlignment(void)
{
  unsigned_char pRet;
  this->get_PictureAlignment((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_PictureAlignment(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureAlignment"), DISPID(309));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureTiling"), DISPID(313));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ImageDispT<T>::get_PictureTiling(void)
{
  VARIANT_BOOL pRet;
  this->get_PictureTiling((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_PictureTiling(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureTiling"), DISPID(313));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkAddress"), DISPID(343));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_HyperlinkAddress(void)
{
  BSTR pRet;
  this->get_HyperlinkAddress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_HyperlinkAddress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkAddress"), DISPID(343));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkSubAddress"), DISPID(347));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_HyperlinkSubAddress(void)
{
  BSTR pRet;
  this->get_HyperlinkSubAddress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_HyperlinkSubAddress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkSubAddress"), DISPID(347));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ImageDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ImageDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ImageDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ImageDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ImageDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ImageDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ImageDispT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  this->get_BackStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ImageDispT<T>::get_BackColor(void)
{
  long pRet;
  this->get_BackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_BackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ImageDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ImageDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ImageDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ImageDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ImageDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ImageDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ImageDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ImageDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ImageDispT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  this->get_ObjectPalette((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ImageDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_ImageHeight(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ImageHeight"), DISPID(307));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ImageDispT<T>::get_ImageHeight(void)
{
  long pRet;
  this->get_ImageHeight((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_ImageHeight(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ImageHeight"), DISPID(307));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_ImageWidth(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ImageWidth"), DISPID(308));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ImageDispT<T>::get_ImageWidth(void)
{
  long pRet;
  this->get_ImageWidth((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_ImageWidth(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ImageWidth"), DISPID(308));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ImageDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ImageDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_ImageDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_CommandButton
// Interface: _CommandButton
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_CommandButtonT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_CommandButtonT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_CommandButtonT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_CommandButtonT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_CommandButtonT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                  VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_CommandButtonT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  return (*this)->get_Hyperlink(ppRet);
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
TCOM_CommandButtonT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  OLECHECK(this->get_Hyperlink((Access_2k::_HyperlinkPtr*)&ppRet));
  return ppRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CommandButtonT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Caption(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_Caption(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Caption((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  return (*this)->set_Caption(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Picture(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_Picture(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Picture((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  return (*this)->set_Picture(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CommandButtonT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PictureType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureData(pRet);
}

template <class T> VARIANT __fastcall
TCOM_CommandButtonT<T>::get_PictureData(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PictureData((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PictureData(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Transparent(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Transparent(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_Transparent(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Transparent((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Transparent(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Transparent(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Default(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Default(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_Default(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Default((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Default(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Default(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Cancel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Cancel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_Cancel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Cancel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Cancel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Cancel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_AutoRepeat(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoRepeat(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_AutoRepeat(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoRepeat((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_AutoRepeat(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoRepeat(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnPush(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnPush(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnPush(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnPush((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnPush(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnPush(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_HyperlinkAddress(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_HyperlinkAddress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_HyperlinkAddress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_HyperlinkAddress(BSTR pRet/*[in]*/)
{
  return (*this)->set_HyperlinkAddress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_HyperlinkSubAddress(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_HyperlinkSubAddress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_HyperlinkSubAddress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_HyperlinkSubAddress(BSTR pRet/*[in]*/)
{
  return (*this)->set_HyperlinkSubAddress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CommandButtonT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_CommandButtonT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_CommandButtonT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_CommandButtonT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_CommandButtonT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_CommandButtonT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ForeColor(pRet);
}

template <class T> long __fastcall
TCOM_CommandButtonT<T>::get_ForeColor(void)
{
  long pRet;
  OLECHECK(this->get_ForeColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_ForeColor(long pRet/*[in]*/)
{
  return (*this)->set_ForeColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FontName(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_FontName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FontName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  return (*this)->set_FontName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontSize(pRet);
}

template <class T> short __fastcall
TCOM_CommandButtonT<T>::get_FontSize(void)
{
  short pRet;
  OLECHECK(this->get_FontSize((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_FontSize(short pRet/*[in]*/)
{
  return (*this)->set_FontSize(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontWeight(pRet);
}

template <class T> short __fastcall
TCOM_CommandButtonT<T>::get_FontWeight(void)
{
  short pRet;
  OLECHECK(this->get_FontWeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_FontWeight(short pRet/*[in]*/)
{
  return (*this)->set_FontWeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontItalic(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontItalic(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontUnderline(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontUnderline(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TextFontCharSet(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CommandButtonT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TextFontCharSet(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontBold(pRet);
}

template <class T> short __fastcall
TCOM_CommandButtonT<T>::get_FontBold(void)
{
  short pRet;
  OLECHECK(this->get_FontBold((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_FontBold(short pRet/*[in]*/)
{
  return (*this)->set_FontBold(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_CommandButtonT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoLabel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoLabel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AddColon(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AddColon(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelX(pRet);
}

template <class T> short __fastcall
TCOM_CommandButtonT<T>::get_LabelX(void)
{
  short pRet;
  OLECHECK(this->get_LabelX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_LabelX(short pRet/*[in]*/)
{
  return (*this)->set_LabelX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelY(pRet);
}

template <class T> short __fastcall
TCOM_CommandButtonT<T>::get_LabelY(void)
{
  short pRet;
  OLECHECK(this->get_LabelY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_LabelY(short pRet/*[in]*/)
{
  return (*this)->set_LabelY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CommandButtonT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_LabelAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_CommandButtonT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectPalette(pRet);
}

template <class T> VARIANT __fastcall
TCOM_CommandButtonT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  return (*this)->set_ObjectPalette(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CommandButtonT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnKeyDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnKeyUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyPress(pRet);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_OnKeyPress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyPress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ReadingOrder(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CommandButtonT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ReadingOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_CommandButtonT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_CommandButtonT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _CommandButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E950-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_CommandButtonDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_CommandButtonDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CommandButtonDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_CommandButtonDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_CommandButtonDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                  VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CommandButtonDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hyperlink"), DISPID(2181));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::_Hyperlink**)ppRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
_CommandButtonDispT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  this->get_Hyperlink(&ppRet);
  return ppRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CommandButtonDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_Caption(void)
{
  BSTR pRet;
  this->get_Caption((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_Picture(void)
{
  BSTR pRet;
  this->get_Picture((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CommandButtonDispT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  this->get_PictureType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CommandButtonDispT<T>::get_PictureData(void)
{
  VARIANT pRet;
  this->get_PictureData((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Transparent(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Transparent"), DISPID(46));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_Transparent(void)
{
  VARIANT_BOOL pRet;
  this->get_Transparent((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Transparent(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Transparent"), DISPID(46));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Default(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Default"), DISPID(220));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_Default(void)
{
  VARIANT_BOOL pRet;
  this->get_Default((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Default(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Default"), DISPID(220));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Cancel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Cancel"), DISPID(221));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_Cancel(void)
{
  VARIANT_BOOL pRet;
  this->get_Cancel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Cancel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Cancel"), DISPID(221));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_AutoRepeat(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoRepeat"), DISPID(5));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_AutoRepeat(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoRepeat((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_AutoRepeat(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoRepeat"), DISPID(5));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnPush(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnPush"), DISPID(155));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnPush(void)
{
  BSTR pRet;
  this->get_OnPush((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnPush(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnPush"), DISPID(155));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_HyperlinkAddress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkAddress"), DISPID(343));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_HyperlinkAddress(void)
{
  BSTR pRet;
  this->get_HyperlinkAddress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_HyperlinkAddress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkAddress"), DISPID(343));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_HyperlinkSubAddress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkSubAddress"), DISPID(347));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_HyperlinkSubAddress(void)
{
  BSTR pRet;
  this->get_HyperlinkSubAddress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_HyperlinkSubAddress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkSubAddress"), DISPID(347));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CommandButtonDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CommandButtonDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CommandButtonDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CommandButtonDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CommandButtonDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CommandButtonDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CommandButtonDispT<T>::get_ForeColor(void)
{
  long pRet;
  this->get_ForeColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_ForeColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_FontName(void)
{
  BSTR pRet;
  this->get_FontName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CommandButtonDispT<T>::get_FontSize(void)
{
  short pRet;
  this->get_FontSize((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_FontSize(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CommandButtonDispT<T>::get_FontWeight(void)
{
  short pRet;
  this->get_FontWeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_FontWeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  this->get_FontItalic((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  this->get_FontUnderline((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CommandButtonDispT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  this->get_TextFontCharSet((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CommandButtonDispT<T>::get_FontBold(void)
{
  short pRet;
  this->get_FontBold((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_FontBold(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CommandButtonDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoLabel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  this->get_AddColon((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CommandButtonDispT<T>::get_LabelX(void)
{
  short pRet;
  this->get_LabelX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_LabelX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CommandButtonDispT<T>::get_LabelY(void)
{
  short pRet;
  this->get_LabelY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_LabelY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CommandButtonDispT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  this->get_LabelAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CommandButtonDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CommandButtonDispT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  this->get_ObjectPalette((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CommandButtonDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnKeyDown(void)
{
  BSTR pRet;
  this->get_OnKeyDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnKeyUp(void)
{
  BSTR pRet;
  this->get_OnKeyUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_OnKeyPress(void)
{
  BSTR pRet;
  this->get_OnKeyPress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CommandButtonDispT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  this->get_ReadingOrder((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_CommandButtonDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CommandButtonDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accChild(VARIANT varChild/*[in]*/, 
                                     LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_CommandButtonDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                           BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CommandButtonDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, 
                                     VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CommandButtonDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                         long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CommandButtonDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CommandButtonDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CommandButtonDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                             BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CommandButtonDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                    long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                    VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                    VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CommandButtonDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                   VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CommandButtonDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CommandButtonDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_OptionButton
// Interface: _OptionButton
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_OptionButtonT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_OptionButtonT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_OptionButtonT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_OptionButtonT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_OptionButtonT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                 VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_OptionButtonT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_OptionButtonT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionButtonT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OptionValue(long* pRet/*[out,retval]*/)
{
  return (*this)->get_OptionValue(pRet);
}

template <class T> long __fastcall
TCOM_OptionButtonT<T>::get_OptionValue(void)
{
  long pRet;
  OLECHECK(this->get_OptionValue((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OptionValue(long pRet/*[in]*/)
{
  return (*this)->set_OptionValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_ControlSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultValue(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_DefaultValue(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  return (*this)->set_DefaultValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationRule(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_ValidationRule(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationRule(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationText(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_ValidationText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionButtonT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionButtonT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionButtonT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionButtonT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TripleState(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionButtonT<T>::get_TripleState(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TripleState((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_TripleState(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TripleState(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionButtonT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_OptionButtonT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_HideDuplicates(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionButtonT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_HideDuplicates(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_OptionButtonT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_OptionButtonT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_OptionButtonT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_OptionButtonT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionButtonT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionButtonT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionButtonT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionButtonT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionButtonT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_OptionButtonT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_OptionButtonT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnWidth(pRet);
}

template <class T> short __fastcall
TCOM_OptionButtonT<T>::get_ColumnWidth(void)
{
  short pRet;
  OLECHECK(this->get_ColumnWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  return (*this)->set_ColumnWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnOrder(pRet);
}

template <class T> short __fastcall
TCOM_OptionButtonT<T>::get_ColumnOrder(void)
{
  short pRet;
  OLECHECK(this->get_ColumnOrder((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  return (*this)->set_ColumnOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHidden(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionButtonT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHidden(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoLabel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionButtonT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoLabel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AddColon(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionButtonT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AddColon(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelX(pRet);
}

template <class T> short __fastcall
TCOM_OptionButtonT<T>::get_LabelX(void)
{
  short pRet;
  OLECHECK(this->get_LabelX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_LabelX(short pRet/*[in]*/)
{
  return (*this)->set_LabelX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelY(pRet);
}

template <class T> short __fastcall
TCOM_OptionButtonT<T>::get_LabelY(void)
{
  short pRet;
  OLECHECK(this->get_LabelY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_LabelY(short pRet/*[in]*/)
{
  return (*this)->set_LabelY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionButtonT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_LabelAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_OptionButtonT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionButtonT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionButtonT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_BeforeUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_AfterUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnKeyDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnKeyUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyPress(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_OnKeyPress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyPress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ReadingOrder(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionButtonT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ReadingOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_OptionButtonT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_OptionButtonT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _OptionButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E952-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_OptionButtonDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_OptionButtonDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionButtonDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_OptionButtonDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_OptionButtonDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                 VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionButtonDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionButtonDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionButtonDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OptionValue(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OptionValue"), DISPID(58));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_OptionButtonDispT<T>::get_OptionValue(void)
{
  long pRet;
  this->get_OptionValue((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OptionValue(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OptionValue"), DISPID(58));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_ControlSource(void)
{
  BSTR pRet;
  this->get_ControlSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_DefaultValue(void)
{
  BSTR pRet;
  this->get_DefaultValue((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_ValidationRule(void)
{
  BSTR pRet;
  this->get_ValidationRule((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_ValidationText(void)
{
  BSTR pRet;
  this->get_ValidationText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionButtonDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionButtonDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionButtonDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionButtonDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TripleState"), DISPID(294));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionButtonDispT<T>::get_TripleState(void)
{
  VARIANT_BOOL pRet;
  this->get_TripleState((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_TripleState(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TripleState"), DISPID(294));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionButtonDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionButtonDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionButtonDispT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  this->get_HideDuplicates((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionButtonDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionButtonDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionButtonDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionButtonDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionButtonDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionButtonDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionButtonDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionButtonDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionButtonDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_OptionButtonDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_OptionButtonDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionButtonDispT<T>::get_ColumnWidth(void)
{
  short pRet;
  this->get_ColumnWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionButtonDispT<T>::get_ColumnOrder(void)
{
  short pRet;
  this->get_ColumnOrder((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionButtonDispT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHidden((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionButtonDispT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoLabel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionButtonDispT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  this->get_AddColon((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionButtonDispT<T>::get_LabelX(void)
{
  short pRet;
  this->get_LabelX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_LabelX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionButtonDispT<T>::get_LabelY(void)
{
  short pRet;
  this->get_LabelY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_LabelY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionButtonDispT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  this->get_LabelAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionButtonDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionButtonDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionButtonDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_BeforeUpdate(void)
{
  BSTR pRet;
  this->get_BeforeUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_AfterUpdate(void)
{
  BSTR pRet;
  this->get_AfterUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnKeyDown(void)
{
  BSTR pRet;
  this->get_OnKeyDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnKeyUp(void)
{
  BSTR pRet;
  this->get_OnKeyUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_OnKeyPress(void)
{
  BSTR pRet;
  this->get_OnKeyPress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionButtonDispT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  this->get_ReadingOrder((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_OptionButtonDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_OptionButtonDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accChild(VARIANT varChild/*[in]*/, 
                                    LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_OptionButtonDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionButtonDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionButtonDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                        long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_OptionButtonDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                               BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionButtonDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionButtonDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                            BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionButtonDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                   long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                   VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                   VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionButtonDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                  VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionButtonDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionButtonDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_Checkbox
// Interface: _Checkbox
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_CheckboxT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_CheckboxT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::Undo(void)
{
  return (*this)->Undo();
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_CheckboxT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_CheckboxT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_CheckboxT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_CheckboxT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_CheckboxT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CheckboxT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OptionValue(long* pRet/*[out,retval]*/)
{
  return (*this)->get_OptionValue(pRet);
}

template <class T> long __fastcall
TCOM_CheckboxT<T>::get_OptionValue(void)
{
  long pRet;
  OLECHECK(this->get_OptionValue((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OptionValue(long pRet/*[in]*/)
{
  return (*this)->set_OptionValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_ControlSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultValue(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_DefaultValue(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  return (*this)->set_DefaultValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationRule(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_ValidationRule(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationRule(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationText(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_ValidationText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CheckboxT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CheckboxT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CheckboxT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CheckboxT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TripleState(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CheckboxT<T>::get_TripleState(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TripleState((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_TripleState(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TripleState(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CheckboxT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_CheckboxT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_HideDuplicates(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CheckboxT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_HideDuplicates(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_CheckboxT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_CheckboxT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_CheckboxT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_CheckboxT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CheckboxT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CheckboxT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CheckboxT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CheckboxT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CheckboxT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_CheckboxT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_CheckboxT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnWidth(pRet);
}

template <class T> short __fastcall
TCOM_CheckboxT<T>::get_ColumnWidth(void)
{
  short pRet;
  OLECHECK(this->get_ColumnWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  return (*this)->set_ColumnWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnOrder(pRet);
}

template <class T> short __fastcall
TCOM_CheckboxT<T>::get_ColumnOrder(void)
{
  short pRet;
  OLECHECK(this->get_ColumnOrder((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  return (*this)->set_ColumnOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHidden(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CheckboxT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHidden(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoLabel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CheckboxT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoLabel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AddColon(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CheckboxT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AddColon(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelX(pRet);
}

template <class T> short __fastcall
TCOM_CheckboxT<T>::get_LabelX(void)
{
  short pRet;
  OLECHECK(this->get_LabelX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_LabelX(short pRet/*[in]*/)
{
  return (*this)->set_LabelX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelY(pRet);
}

template <class T> short __fastcall
TCOM_CheckboxT<T>::get_LabelY(void)
{
  short pRet;
  OLECHECK(this->get_LabelY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_LabelY(short pRet/*[in]*/)
{
  return (*this)->set_LabelY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CheckboxT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_LabelAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_CheckboxT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CheckboxT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CheckboxT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_BeforeUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_AfterUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnKeyDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnKeyUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyPress(pRet);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_OnKeyPress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyPress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ReadingOrder(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CheckboxT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ReadingOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_CheckboxT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_CheckboxT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _Checkbox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E954-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_CheckboxDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_CheckboxDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::Undo()
{
  _TDispID _dispid(*this, OLETEXT("Undo"), DISPID(2144));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CheckboxDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_CheckboxDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_CheckboxDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CheckboxDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CheckboxDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CheckboxDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OptionValue(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OptionValue"), DISPID(58));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CheckboxDispT<T>::get_OptionValue(void)
{
  long pRet;
  this->get_OptionValue((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OptionValue(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OptionValue"), DISPID(58));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_ControlSource(void)
{
  BSTR pRet;
  this->get_ControlSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_DefaultValue(void)
{
  BSTR pRet;
  this->get_DefaultValue((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_ValidationRule(void)
{
  BSTR pRet;
  this->get_ValidationRule((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_ValidationText(void)
{
  BSTR pRet;
  this->get_ValidationText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CheckboxDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CheckboxDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CheckboxDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CheckboxDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TripleState"), DISPID(294));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CheckboxDispT<T>::get_TripleState(void)
{
  VARIANT_BOOL pRet;
  this->get_TripleState((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_TripleState(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TripleState"), DISPID(294));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CheckboxDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CheckboxDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CheckboxDispT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  this->get_HideDuplicates((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CheckboxDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CheckboxDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CheckboxDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CheckboxDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CheckboxDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CheckboxDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CheckboxDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CheckboxDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CheckboxDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CheckboxDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CheckboxDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CheckboxDispT<T>::get_ColumnWidth(void)
{
  short pRet;
  this->get_ColumnWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CheckboxDispT<T>::get_ColumnOrder(void)
{
  short pRet;
  this->get_ColumnOrder((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CheckboxDispT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHidden((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CheckboxDispT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoLabel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CheckboxDispT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  this->get_AddColon((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CheckboxDispT<T>::get_LabelX(void)
{
  short pRet;
  this->get_LabelX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_LabelX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CheckboxDispT<T>::get_LabelY(void)
{
  short pRet;
  this->get_LabelY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_LabelY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CheckboxDispT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  this->get_LabelAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CheckboxDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CheckboxDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CheckboxDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_BeforeUpdate(void)
{
  BSTR pRet;
  this->get_BeforeUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_AfterUpdate(void)
{
  BSTR pRet;
  this->get_AfterUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnKeyDown(void)
{
  BSTR pRet;
  this->get_OnKeyDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnKeyUp(void)
{
  BSTR pRet;
  this->get_OnKeyUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_OnKeyPress(void)
{
  BSTR pRet;
  this->get_OnKeyPress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CheckboxDispT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  this->get_ReadingOrder((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_CheckboxDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CheckboxDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accChild(VARIANT varChild/*[in]*/, LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_CheckboxDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                      BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CheckboxDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CheckboxDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                    long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CheckboxDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                           BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CheckboxDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CheckboxDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                        BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CheckboxDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, long* pcxWidth/*[out]*/
                               , long* pcyHeight/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                               VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CheckboxDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                              VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CheckboxDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CheckboxDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_OptionGroup
// Interface: _OptionGroup
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_OptionGroupT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_OptionGroupT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::Undo(void)
{
  return (*this)->Undo();
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_OptionGroupT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_OptionGroupT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_OptionGroupT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_OptionGroupT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_OptionGroupT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionGroupT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_ControlSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultValue(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_DefaultValue(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  return (*this)->set_DefaultValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationRule(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_ValidationRule(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationRule(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationText(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_ValidationText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionGroupT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionGroupT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionGroupT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionGroupT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionGroupT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_OptionGroupT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_HideDuplicates(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionGroupT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_HideDuplicates(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_OptionGroupT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_OptionGroupT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_OptionGroupT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_OptionGroupT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BackStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionGroupT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BackStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BackColor(pRet);
}

template <class T> long __fastcall
TCOM_OptionGroupT<T>::get_BackColor(void)
{
  long pRet;
  OLECHECK(this->get_BackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_BackColor(long pRet/*[in]*/)
{
  return (*this)->set_BackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionGroupT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionGroupT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionGroupT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_OptionGroupT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionGroupT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionGroupT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_OptionGroupT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnWidth(pRet);
}

template <class T> short __fastcall
TCOM_OptionGroupT<T>::get_ColumnWidth(void)
{
  short pRet;
  OLECHECK(this->get_ColumnWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  return (*this)->set_ColumnWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnOrder(pRet);
}

template <class T> short __fastcall
TCOM_OptionGroupT<T>::get_ColumnOrder(void)
{
  short pRet;
  OLECHECK(this->get_ColumnOrder((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  return (*this)->set_ColumnOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHidden(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionGroupT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHidden(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoLabel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionGroupT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoLabel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AddColon(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionGroupT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AddColon(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelX(pRet);
}

template <class T> short __fastcall
TCOM_OptionGroupT<T>::get_LabelX(void)
{
  short pRet;
  OLECHECK(this->get_LabelX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_LabelX(short pRet/*[in]*/)
{
  return (*this)->set_LabelX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelY(pRet);
}

template <class T> short __fastcall
TCOM_OptionGroupT<T>::get_LabelY(void)
{
  short pRet;
  OLECHECK(this->get_LabelY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_LabelY(short pRet/*[in]*/)
{
  return (*this)->set_LabelY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_OptionGroupT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_LabelAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_OptionGroupT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionGroupT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_OptionGroupT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_BeforeUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_AfterUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_OptionGroupT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_OptionGroupT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _OptionGroup
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E956-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_OptionGroupDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_OptionGroupDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::Undo()
{
  _TDispID _dispid(*this, OLETEXT("Undo"), DISPID(2144));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionGroupDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_OptionGroupDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_OptionGroupDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionGroupDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionGroupDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionGroupDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_ControlSource(void)
{
  BSTR pRet;
  this->get_ControlSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_DefaultValue(void)
{
  BSTR pRet;
  this->get_DefaultValue((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_ValidationRule(void)
{
  BSTR pRet;
  this->get_ValidationRule((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_ValidationText(void)
{
  BSTR pRet;
  this->get_ValidationText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionGroupDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionGroupDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionGroupDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionGroupDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionGroupDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionGroupDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionGroupDispT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  this->get_HideDuplicates((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionGroupDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionGroupDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionGroupDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionGroupDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionGroupDispT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  this->get_BackStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_OptionGroupDispT<T>::get_BackColor(void)
{
  long pRet;
  this->get_BackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_BackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionGroupDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionGroupDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionGroupDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_OptionGroupDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionGroupDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionGroupDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_OptionGroupDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionGroupDispT<T>::get_ColumnWidth(void)
{
  short pRet;
  this->get_ColumnWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionGroupDispT<T>::get_ColumnOrder(void)
{
  short pRet;
  this->get_ColumnOrder((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionGroupDispT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHidden((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionGroupDispT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoLabel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionGroupDispT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  this->get_AddColon((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionGroupDispT<T>::get_LabelX(void)
{
  short pRet;
  this->get_LabelX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_LabelX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionGroupDispT<T>::get_LabelY(void)
{
  short pRet;
  this->get_LabelY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_LabelY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_OptionGroupDispT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  this->get_LabelAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_OptionGroupDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionGroupDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_OptionGroupDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_BeforeUpdate(void)
{
  BSTR pRet;
  this->get_BeforeUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_AfterUpdate(void)
{
  BSTR pRet;
  this->get_AfterUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_OptionGroupDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_OptionGroupDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accChild(VARIANT varChild/*[in]*/, LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_OptionGroupDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                         BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionGroupDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionGroupDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                       long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_OptionGroupDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                              BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionGroupDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionGroupDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                           BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_OptionGroupDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                  long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                  VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                  VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionGroupDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                 VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_OptionGroupDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_OptionGroupDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_BoundObjectFrame
// Interface: _BoundObjectFrame
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_BoundObjectFrameT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_BoundObjectFrameT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_BoundObjectFrameT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Object(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Object(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_BoundObjectFrameT<T>::get_Object(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Object((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectVerbs(Index, pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_ObjectVerbs(long Index/*[in]*/)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ObjectVerbs(Index/*[in]*/, (BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_BoundObjectFrameT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_BoundObjectFrameT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                     VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_BoundObjectFrameT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_BoundObjectFrameT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_ControlSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_SizeMode(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SizeMode(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_SizeMode(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SizeMode((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_SizeMode(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SizeMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Class(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Class(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_Class(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Class((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Class(BSTR pRet/*[in]*/)
{
  return (*this)->set_Class(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_SourceDoc(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_SourceDoc(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_SourceDoc(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_SourceDoc((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_SourceDoc(BSTR pRet/*[in]*/)
{
  return (*this)->set_SourceDoc(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_SourceItem(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_SourceItem(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_SourceItem(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_SourceItem((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_SourceItem(BSTR pRet/*[in]*/)
{
  return (*this)->set_SourceItem(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_AutoActivate(short* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoActivate(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_AutoActivate(void)
{
  short pRet;
  OLECHECK(this->get_AutoActivate((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_AutoActivate(short pRet/*[in]*/)
{
  return (*this)->set_AutoActivate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_DisplayType(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayType(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_BoundObjectFrameT<T>::get_DisplayType(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_DisplayType((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_DisplayType(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_DisplayType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_UpdateOptions(short* pRet/*[out,retval]*/)
{
  return (*this)->get_UpdateOptions(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_UpdateOptions(void)
{
  short pRet;
  OLECHECK(this->get_UpdateOptions((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_UpdateOptions(short pRet/*[in]*/)
{
  return (*this)->set_UpdateOptions(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Verb(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Verb(pRet);
}

template <class T> long __fastcall
TCOM_BoundObjectFrameT<T>::get_Verb(void)
{
  long pRet;
  OLECHECK(this->get_Verb((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Verb(long pRet/*[in]*/)
{
  return (*this)->set_Verb(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OLETypeAllowed(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OLETypeAllowed(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_OLETypeAllowed(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OLETypeAllowed((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OLETypeAllowed(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OLETypeAllowed(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_BoundObjectFrameT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_BoundObjectFrameT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_BoundObjectFrameT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_BoundObjectFrameT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BackStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BackStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BackColor(pRet);
}

template <class T> long __fastcall
TCOM_BoundObjectFrameT<T>::get_BackColor(void)
{
  long pRet;
  OLECHECK(this->get_BackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_BackColor(long pRet/*[in]*/)
{
  return (*this)->set_BackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_BoundObjectFrameT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_BoundObjectFrameT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnWidth(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_ColumnWidth(void)
{
  short pRet;
  OLECHECK(this->get_ColumnWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  return (*this)->set_ColumnWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnOrder(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_ColumnOrder(void)
{
  short pRet;
  OLECHECK(this->get_ColumnOrder((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  return (*this)->set_ColumnOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHidden(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_BoundObjectFrameT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHidden(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoLabel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_BoundObjectFrameT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoLabel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AddColon(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_BoundObjectFrameT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AddColon(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelX(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_LabelX(void)
{
  short pRet;
  OLECHECK(this->get_LabelX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_LabelX(short pRet/*[in]*/)
{
  return (*this)->set_LabelX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelY(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_LabelY(void)
{
  short pRet;
  OLECHECK(this->get_LabelY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_LabelY(short pRet/*[in]*/)
{
  return (*this)->set_LabelY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_LabelAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectPalette(pRet);
}

template <class T> VARIANT __fastcall
TCOM_BoundObjectFrameT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  return (*this)->set_ObjectPalette(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_LpOleObject(long* pRet/*[out,retval]*/)
{
  return (*this)->get_LpOleObject(pRet);
}

template <class T> long __fastcall
TCOM_BoundObjectFrameT<T>::get_LpOleObject(void)
{
  long pRet;
  OLECHECK(this->get_LpOleObject((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_LpOleObject(long pRet/*[in]*/)
{
  return (*this)->set_LpOleObject(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_ObjectVerbsCount(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectVerbsCount(pRet);
}

template <class T> long __fastcall
TCOM_BoundObjectFrameT<T>::get_ObjectVerbsCount(void)
{
  long pRet;
  OLECHECK(this->get_ObjectVerbsCount((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_ObjectVerbsCount(long pRet/*[in]*/)
{
  return (*this)->set_ObjectVerbsCount(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Action(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Action(pRet);
}

template <class T> short __fastcall
TCOM_BoundObjectFrameT<T>::get_Action(void)
{
  short pRet;
  OLECHECK(this->get_Action((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Action(short pRet/*[in]*/)
{
  return (*this)->set_Action(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Scaling(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_Scaling(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_Scaling(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_Scaling((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Scaling(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_Scaling(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OLEType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OLEType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_BoundObjectFrameT<T>::get_OLEType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OLEType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OLEType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OLEType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_BoundObjectFrameT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_BoundObjectFrameT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_BeforeUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_AfterUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnUpdated(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnUpdated(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnUpdated(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnUpdated((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnUpdated(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnUpdated(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnKeyDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnKeyUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyPress(pRet);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_OnKeyPress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyPress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_BoundObjectFrameT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_BoundObjectFrameT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _BoundObjectFrame
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E958-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_BoundObjectFrameDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_BoundObjectFrameDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_BoundObjectFrameDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Object(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Object"), DISPID(2104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_BoundObjectFrameDispT<T>::get_Object(void)
{
  LPDISPATCH pRet;
  this->get_Object((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectVerbs"), DISPID(2105));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_ObjectVerbs(long Index/*[in]*/)
{
  BSTR pRet;
  this->get_ObjectVerbs(Index, (BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_BoundObjectFrameDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_BoundObjectFrameDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                     VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_BoundObjectFrameDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_BoundObjectFrameDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_ControlSource(void)
{
  BSTR pRet;
  this->get_ControlSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_SizeMode(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SizeMode"), DISPID(89));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_SizeMode(void)
{
  unsigned_char pRet;
  this->get_SizeMode((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_SizeMode(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SizeMode"), DISPID(89));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Class(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Class"), DISPID(274));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_Class(void)
{
  BSTR pRet;
  this->get_Class((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Class(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Class"), DISPID(274));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_SourceDoc(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceDoc"), DISPID(133));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_SourceDoc(void)
{
  BSTR pRet;
  this->get_SourceDoc((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_SourceDoc(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceDoc"), DISPID(133));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_SourceItem(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceItem"), DISPID(48));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_SourceItem(void)
{
  BSTR pRet;
  this->get_SourceItem((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_SourceItem(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceItem"), DISPID(48));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_AutoActivate(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoActivate"), DISPID(101));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_AutoActivate(void)
{
  short pRet;
  this->get_AutoActivate((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_AutoActivate(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoActivate"), DISPID(101));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_DisplayType(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayType"), DISPID(272));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_BoundObjectFrameDispT<T>::get_DisplayType(void)
{
  VARIANT_BOOL pRet;
  this->get_DisplayType((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_DisplayType(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayType"), DISPID(272));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_UpdateOptions(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("UpdateOptions"), DISPID(103));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_UpdateOptions(void)
{
  short pRet;
  this->get_UpdateOptions((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_UpdateOptions(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("UpdateOptions"), DISPID(103));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Verb(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Verb"), DISPID(102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_BoundObjectFrameDispT<T>::get_Verb(void)
{
  long pRet;
  this->get_Verb((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Verb(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Verb"), DISPID(102));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OLETypeAllowed(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLETypeAllowed"), DISPID(275));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_OLETypeAllowed(void)
{
  unsigned_char pRet;
  this->get_OLETypeAllowed((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OLETypeAllowed(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLETypeAllowed"), DISPID(275));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_BoundObjectFrameDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_BoundObjectFrameDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_BoundObjectFrameDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_BoundObjectFrameDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  this->get_BackStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_BoundObjectFrameDispT<T>::get_BackColor(void)
{
  long pRet;
  this->get_BackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_BackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_BoundObjectFrameDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_BoundObjectFrameDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_ColumnWidth(void)
{
  short pRet;
  this->get_ColumnWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_ColumnOrder(void)
{
  short pRet;
  this->get_ColumnOrder((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_BoundObjectFrameDispT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHidden((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_BoundObjectFrameDispT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoLabel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_BoundObjectFrameDispT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  this->get_AddColon((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_LabelX(void)
{
  short pRet;
  this->get_LabelX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_LabelX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_LabelY(void)
{
  short pRet;
  this->get_LabelY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_LabelY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  this->get_LabelAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_BoundObjectFrameDispT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  this->get_ObjectPalette((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_LpOleObject(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LpOleObject"), DISPID(172));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_BoundObjectFrameDispT<T>::get_LpOleObject(void)
{
  long pRet;
  this->get_LpOleObject((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_LpOleObject(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LpOleObject"), DISPID(172));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_ObjectVerbsCount(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectVerbsCount"), DISPID(173));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_BoundObjectFrameDispT<T>::get_ObjectVerbsCount(void)
{
  long pRet;
  this->get_ObjectVerbsCount((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_ObjectVerbsCount(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectVerbsCount"), DISPID(173));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Action(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Action"), DISPID(273));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_BoundObjectFrameDispT<T>::get_Action(void)
{
  short pRet;
  this->get_Action((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Action(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Action"), DISPID(273));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Scaling(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Scaling"), DISPID(88));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_Scaling(void)
{
  unsigned_char pRet;
  this->get_Scaling((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Scaling(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Scaling"), DISPID(88));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OLEType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLEType"), DISPID(276));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_BoundObjectFrameDispT<T>::get_OLEType(void)
{
  unsigned_char pRet;
  this->get_OLEType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OLEType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLEType"), DISPID(276));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_BoundObjectFrameDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_BoundObjectFrameDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_BeforeUpdate(void)
{
  BSTR pRet;
  this->get_BeforeUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_AfterUpdate(void)
{
  BSTR pRet;
  this->get_AfterUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnUpdated(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnUpdated"), DISPID(118));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnUpdated(void)
{
  BSTR pRet;
  this->get_OnUpdated((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnUpdated(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnUpdated"), DISPID(118));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnKeyDown(void)
{
  BSTR pRet;
  this->get_OnKeyDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnKeyUp(void)
{
  BSTR pRet;
  this->get_OnKeyUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_OnKeyPress(void)
{
  BSTR pRet;
  this->get_OnKeyPress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_BoundObjectFrameDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_BoundObjectFrameDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accChild(VARIANT varChild/*[in]*/, 
                                        LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_BoundObjectFrameDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                              BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, 
                                       VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_BoundObjectFrameDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, 
                                        VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_BoundObjectFrameDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/
                                            , long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_BoundObjectFrameDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                   BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_BoundObjectFrameDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_BoundObjectFrameDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_BoundObjectFrameDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                       long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                       VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                       VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_BoundObjectFrameDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                      VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_BoundObjectFrameDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_BoundObjectFrameDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_Textbox
// Interface: _Textbox
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_TextboxT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_TextboxT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::Undo(void)
{
  return (*this)->Undo();
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_TextboxT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_TextboxT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_TextboxT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_TextboxT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  return (*this)->get_Hyperlink(ppRet);
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
TCOM_TextboxT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  OLECHECK(this->get_Hyperlink((Access_2k::_HyperlinkPtr*)&ppRet));
  return ppRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_FormatConditions(Access_2k::FormatConditions** ppRet/*[out,retval]*/)
{
  return (*this)->get_FormatConditions(ppRet);
}

template <class T> Access_2k::FormatConditionsPtr __fastcall
TCOM_TextboxT<T>::get_FormatConditions(void)
{
  Access_2k::FormatConditionsPtr ppRet;
  OLECHECK(this->get_FormatConditions((Access_2k::FormatConditionsPtr*)&ppRet));
  return ppRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_TextboxT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_ControlSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Format(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Format(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_Format(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Format((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Format(BSTR pRet/*[in]*/)
{
  return (*this)->set_Format(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_DecimalPlaces(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DecimalPlaces(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_DecimalPlaces(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DecimalPlaces((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_DecimalPlaces(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DecimalPlaces(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_InputMask(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_InputMask(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_InputMask(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_InputMask((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_InputMask(BSTR pRet/*[in]*/)
{
  return (*this)->set_InputMask(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultValue(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_DefaultValue(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  return (*this)->set_DefaultValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IMEHold(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_IMEHold(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IMEHold((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_IMEHold(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IMEHold(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_FuriganaControl(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FuriganaControl(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_FuriganaControl(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FuriganaControl((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_FuriganaControl(BSTR pRet/*[in]*/)
{
  return (*this)->set_FuriganaControl(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_PostalAddress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_PostalAddress(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_PostalAddress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_PostalAddress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_PostalAddress(BSTR pRet/*[in]*/)
{
  return (*this)->set_PostalAddress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationRule(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_ValidationRule(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationRule(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationText(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_ValidationText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_EnterKeyBehavior(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_EnterKeyBehavior(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_EnterKeyBehavior(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_EnterKeyBehavior((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_EnterKeyBehavior(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_EnterKeyBehavior(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_AllowAutoCorrect(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AllowAutoCorrect(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_AllowAutoCorrect(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AllowAutoCorrect((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_AllowAutoCorrect(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AllowAutoCorrect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Vertical(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Vertical(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_Vertical(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Vertical((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Vertical(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Vertical(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_FELineBreak(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FELineBreak(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_FELineBreak(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FELineBreak((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_FELineBreak(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FELineBreak(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_FilterLookup(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_FilterLookup(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_FilterLookup(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_FilterLookup((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_FilterLookup(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_FilterLookup(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_AutoTab(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoTab(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_AutoTab(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoTab((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_AutoTab(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoTab(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ScrollBars(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ScrollBars(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_ScrollBars(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ScrollBars((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ScrollBars(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ScrollBars(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_HideDuplicates(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_HideDuplicates(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_CanGrow(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_CanGrow(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_CanGrow((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_CanGrow(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_CanGrow(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_CanShrink(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_CanShrink(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_CanShrink((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_CanShrink(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_CanShrink(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_RunningSum(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_RunningSum(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_RunningSum(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_RunningSum((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_RunningSum(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_RunningSum(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BackStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BackStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BackColor(pRet);
}

template <class T> long __fastcall
TCOM_TextboxT<T>::get_BackColor(void)
{
  long pRet;
  OLECHECK(this->get_BackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_BackColor(long pRet/*[in]*/)
{
  return (*this)->set_BackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_TextboxT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ForeColor(pRet);
}

template <class T> long __fastcall
TCOM_TextboxT<T>::get_ForeColor(void)
{
  long pRet;
  OLECHECK(this->get_ForeColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ForeColor(long pRet/*[in]*/)
{
  return (*this)->set_ForeColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FontName(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_FontName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FontName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  return (*this)->set_FontName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontSize(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_FontSize(void)
{
  short pRet;
  OLECHECK(this->get_FontSize((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_FontSize(short pRet/*[in]*/)
{
  return (*this)->set_FontSize(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontWeight(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_FontWeight(void)
{
  short pRet;
  OLECHECK(this->get_FontWeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_FontWeight(short pRet/*[in]*/)
{
  return (*this)->set_FontWeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontItalic(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontItalic(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontUnderline(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontUnderline(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TextFontCharSet(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TextFontCharSet(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_TextAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TextAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_TextAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TextAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_TextAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TextAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontBold(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_FontBold(void)
{
  short pRet;
  OLECHECK(this->get_FontBold((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_FontBold(short pRet/*[in]*/)
{
  return (*this)->set_FontBold(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_TextboxT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnWidth(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_ColumnWidth(void)
{
  short pRet;
  OLECHECK(this->get_ColumnWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  return (*this)->set_ColumnWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnOrder(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_ColumnOrder(void)
{
  short pRet;
  OLECHECK(this->get_ColumnOrder((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  return (*this)->set_ColumnOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHidden(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHidden(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoLabel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoLabel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AddColon(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AddColon(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelX(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_LabelX(void)
{
  short pRet;
  OLECHECK(this->get_LabelX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_LabelX(short pRet/*[in]*/)
{
  return (*this)->set_LabelX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelY(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_LabelY(void)
{
  short pRet;
  OLECHECK(this->get_LabelY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_LabelY(short pRet/*[in]*/)
{
  return (*this)->set_LabelY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_LabelAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Text(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Text(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_Text(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Text((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Text(BSTR pRet/*[in]*/)
{
  return (*this)->set_Text(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_SelText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_SelText(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_SelText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_SelText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_SelText(BSTR pRet/*[in]*/)
{
  return (*this)->set_SelText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_SelStart(short* pRet/*[out,retval]*/)
{
  return (*this)->get_SelStart(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_SelStart(void)
{
  short pRet;
  OLECHECK(this->get_SelStart((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_SelStart(short pRet/*[in]*/)
{
  return (*this)->set_SelStart(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_SelLength(short* pRet/*[out,retval]*/)
{
  return (*this)->get_SelLength(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_SelLength(void)
{
  short pRet;
  OLECHECK(this->get_SelLength((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_SelLength(short pRet/*[in]*/)
{
  return (*this)->set_SelLength(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_TextAlignGeneral(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TextAlignGeneral(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_TextAlignGeneral(void)
{
  short pRet;
  OLECHECK(this->get_TextAlignGeneral((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_TextAlignGeneral(short pRet/*[in]*/)
{
  return (*this)->set_TextAlignGeneral(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Coltyp(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Coltyp(pRet);
}

template <class T> long __fastcall
TCOM_TextboxT<T>::get_Coltyp(void)
{
  long pRet;
  OLECHECK(this->get_Coltyp((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Coltyp(long pRet/*[in]*/)
{
  return (*this)->set_Coltyp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_FormatPictureText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FormatPictureText(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_FormatPictureText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FormatPictureText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_FormatPictureText(BSTR pRet/*[in]*/)
{
  return (*this)->set_FormatPictureText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_BeforeUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_AfterUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnChange(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnChange(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnChange(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnChange((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnChange(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnChange(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnKeyDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnKeyUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyPress(pRet);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_OnKeyPress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyPress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ReadingOrder(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ReadingOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_KeyboardLanguage(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_KeyboardLanguage(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_KeyboardLanguage(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_KeyboardLanguage((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_KeyboardLanguage(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_KeyboardLanguage(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_AllowedText(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_AllowedText(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_AllowedText(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_AllowedText((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_AllowedText(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_AllowedText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ScrollBarAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_ScrollBarAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ScrollBarAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_ScrollBarAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ScrollBarAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_NumeralShapes(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TextboxT<T>::get_NumeralShapes(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_NumeralShapes((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_NumeralShapes(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_NumeralShapes(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/)
{
  return (*this)->get_IMEMode(pRet);
}

template <class T> Access_2k::AcImeMode __fastcall
TCOM_TextboxT<T>::get_IMEMode(void)
{
  Access_2k::AcImeMode pRet;
  OLECHECK(this->get_IMEMode((Access_2k::AcImeMode*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/)
{
  return (*this)->set_IMEMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_TextboxT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/)
{
  return (*this)->get_IMESentenceMode(pRet);
}

template <class T> Access_2k::AcImeSentenceMode __fastcall
TCOM_TextboxT<T>::get_IMESentenceMode(void)
{
  Access_2k::AcImeSentenceMode pRet;
  OLECHECK(this->get_IMESentenceMode((Access_2k::AcImeSentenceMode*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/)
{
  return (*this)->set_IMESentenceMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_LeftMargin(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LeftMargin(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_LeftMargin(void)
{
  short pRet;
  OLECHECK(this->get_LeftMargin((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_LeftMargin(short pRet/*[in]*/)
{
  return (*this)->set_LeftMargin(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_TopMargin(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TopMargin(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_TopMargin(void)
{
  short pRet;
  OLECHECK(this->get_TopMargin((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_TopMargin(short pRet/*[in]*/)
{
  return (*this)->set_TopMargin(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_LineSpacing(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LineSpacing(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_LineSpacing(void)
{
  short pRet;
  OLECHECK(this->get_LineSpacing((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_LineSpacing(short pRet/*[in]*/)
{
  return (*this)->set_LineSpacing(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_RightMargin(short* pRet/*[out,retval]*/)
{
  return (*this)->get_RightMargin(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_RightMargin(void)
{
  short pRet;
  OLECHECK(this->get_RightMargin((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_RightMargin(short pRet/*[in]*/)
{
  return (*this)->set_RightMargin(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_BottomMargin(short* pRet/*[out,retval]*/)
{
  return (*this)->get_BottomMargin(pRet);
}

template <class T> short __fastcall
TCOM_TextboxT<T>::get_BottomMargin(void)
{
  short pRet;
  OLECHECK(this->get_BottomMargin((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_BottomMargin(short pRet/*[in]*/)
{
  return (*this)->set_BottomMargin(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::get_IsHyperlink(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsHyperlink(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TextboxT<T>::get_IsHyperlink(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsHyperlink((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TextboxT<T>::set_IsHyperlink(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsHyperlink(pRet);
}

// *********************************************************************//
// DispIntf:  _Textbox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E946-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_TextboxDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_TextboxDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::Undo()
{
  _TDispID _dispid(*this, OLETEXT("Undo"), DISPID(2144));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TextboxDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_TextboxDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_TextboxDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TextboxDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hyperlink"), DISPID(2181));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::_Hyperlink**)ppRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
_TextboxDispT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  this->get_Hyperlink(&ppRet);
  return ppRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_FormatConditions(Access_2k::FormatConditions** ppRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormatConditions"), DISPID(2203));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::FormatConditions**)ppRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::FormatConditionsPtr __fastcall
_TextboxDispT<T>::get_FormatConditions(void)
{
  Access_2k::FormatConditionsPtr ppRet;
  this->get_FormatConditions(&ppRet);
  return ppRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TextboxDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_ControlSource(void)
{
  BSTR pRet;
  this->get_ControlSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Format(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Format"), DISPID(38));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_Format(void)
{
  BSTR pRet;
  this->get_Format((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Format(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Format"), DISPID(38));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_DecimalPlaces(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DecimalPlaces"), DISPID(71));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_DecimalPlaces(void)
{
  unsigned_char pRet;
  this->get_DecimalPlaces((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_DecimalPlaces(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DecimalPlaces"), DISPID(71));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_InputMask(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InputMask"), DISPID(72));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_InputMask(void)
{
  BSTR pRet;
  this->get_InputMask((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_InputMask(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InputMask"), DISPID(72));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_DefaultValue(void)
{
  BSTR pRet;
  this->get_DefaultValue((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEHold"), DISPID(357));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_IMEHold(void)
{
  VARIANT_BOOL pRet;
  this->get_IMEHold((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_IMEHold(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEHold"), DISPID(357));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_FuriganaControl(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FuriganaControl"), DISPID(359));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_FuriganaControl(void)
{
  BSTR pRet;
  this->get_FuriganaControl((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_FuriganaControl(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FuriganaControl"), DISPID(359));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_PostalAddress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PostalAddress"), DISPID(360));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_PostalAddress(void)
{
  BSTR pRet;
  this->get_PostalAddress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_PostalAddress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PostalAddress"), DISPID(360));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_ValidationRule(void)
{
  BSTR pRet;
  this->get_ValidationRule((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_ValidationText(void)
{
  BSTR pRet;
  this->get_ValidationText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_EnterKeyBehavior(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EnterKeyBehavior"), DISPID(74));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_EnterKeyBehavior(void)
{
  VARIANT_BOOL pRet;
  this->get_EnterKeyBehavior((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_EnterKeyBehavior(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EnterKeyBehavior"), DISPID(74));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_AllowAutoCorrect(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowAutoCorrect"), DISPID(340));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_AllowAutoCorrect(void)
{
  VARIANT_BOOL pRet;
  this->get_AllowAutoCorrect((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_AllowAutoCorrect(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowAutoCorrect"), DISPID(340));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Vertical(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Vertical"), DISPID(355));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_Vertical(void)
{
  VARIANT_BOOL pRet;
  this->get_Vertical((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Vertical(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Vertical"), DISPID(355));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_FELineBreak(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FELineBreak"), DISPID(358));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_FELineBreak(void)
{
  VARIANT_BOOL pRet;
  this->get_FELineBreak((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_FELineBreak(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FELineBreak"), DISPID(358));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_FilterLookup(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FilterLookup"), DISPID(305));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_FilterLookup(void)
{
  unsigned_char pRet;
  this->get_FilterLookup((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_FilterLookup(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FilterLookup"), DISPID(305));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_AutoTab(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoTab"), DISPID(73));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_AutoTab(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoTab((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_AutoTab(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoTab"), DISPID(73));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ScrollBars(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScrollBars"), DISPID(152));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_ScrollBars(void)
{
  unsigned_char pRet;
  this->get_ScrollBars((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ScrollBars(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScrollBars"), DISPID(152));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  this->get_HideDuplicates((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanGrow"), DISPID(14));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_CanGrow(void)
{
  VARIANT_BOOL pRet;
  this->get_CanGrow((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_CanGrow(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanGrow"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanShrink"), DISPID(16));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_CanShrink(void)
{
  VARIANT_BOOL pRet;
  this->get_CanShrink((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_CanShrink(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanShrink"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_RunningSum(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RunningSum"), DISPID(130));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_RunningSum(void)
{
  unsigned_char pRet;
  this->get_RunningSum((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_RunningSum(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RunningSum"), DISPID(130));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  this->get_BackStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_TextboxDispT<T>::get_BackColor(void)
{
  long pRet;
  this->get_BackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_BackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_TextboxDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_TextboxDispT<T>::get_ForeColor(void)
{
  long pRet;
  this->get_ForeColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ForeColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_FontName(void)
{
  BSTR pRet;
  this->get_FontName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_FontSize(void)
{
  short pRet;
  this->get_FontSize((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_FontSize(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_FontWeight(void)
{
  short pRet;
  this->get_FontWeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_FontWeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  this->get_FontItalic((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  this->get_FontUnderline((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  this->get_TextFontCharSet((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_TextAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlign"), DISPID(136));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_TextAlign(void)
{
  unsigned_char pRet;
  this->get_TextAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_TextAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlign"), DISPID(136));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_FontBold(void)
{
  short pRet;
  this->get_FontBold((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_FontBold(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_TextboxDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_ColumnWidth(void)
{
  short pRet;
  this->get_ColumnWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_ColumnOrder(void)
{
  short pRet;
  this->get_ColumnOrder((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHidden((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoLabel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  this->get_AddColon((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_LabelX(void)
{
  short pRet;
  this->get_LabelX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_LabelX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_LabelY(void)
{
  short pRet;
  this->get_LabelY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_LabelY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  this->get_LabelAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Text(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Text"), DISPID(267));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_Text(void)
{
  BSTR pRet;
  this->get_Text((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Text(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Text"), DISPID(267));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_SelText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelText"), DISPID(271));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_SelText(void)
{
  BSTR pRet;
  this->get_SelText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_SelText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelText"), DISPID(271));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_SelStart(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelStart"), DISPID(270));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_SelStart(void)
{
  short pRet;
  this->get_SelStart((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_SelStart(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelStart"), DISPID(270));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_SelLength(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelLength"), DISPID(269));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_SelLength(void)
{
  short pRet;
  this->get_SelLength((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_SelLength(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelLength"), DISPID(269));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_TextAlignGeneral(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlignGeneral"), DISPID(137));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_TextAlignGeneral(void)
{
  short pRet;
  this->get_TextAlignGeneral((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_TextAlignGeneral(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlignGeneral"), DISPID(137));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Coltyp(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Coltyp"), DISPID(139));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_TextboxDispT<T>::get_Coltyp(void)
{
  long pRet;
  this->get_Coltyp((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Coltyp(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Coltyp"), DISPID(139));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_FormatPictureText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormatPictureText"), DISPID(138));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_FormatPictureText(void)
{
  BSTR pRet;
  this->get_FormatPictureText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_FormatPictureText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormatPictureText"), DISPID(138));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_BeforeUpdate(void)
{
  BSTR pRet;
  this->get_BeforeUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_AfterUpdate(void)
{
  BSTR pRet;
  this->get_AfterUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnChange(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnChange"), DISPID(114));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnChange(void)
{
  BSTR pRet;
  this->get_OnChange((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnChange(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnChange"), DISPID(114));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnKeyDown(void)
{
  BSTR pRet;
  this->get_OnKeyDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnKeyUp(void)
{
  BSTR pRet;
  this->get_OnKeyUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_OnKeyPress(void)
{
  BSTR pRet;
  this->get_OnKeyPress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  this->get_ReadingOrder((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_KeyboardLanguage(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("KeyboardLanguage"), DISPID(368));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_KeyboardLanguage(void)
{
  unsigned_char pRet;
  this->get_KeyboardLanguage((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_KeyboardLanguage(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("KeyboardLanguage"), DISPID(368));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_AllowedText(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowedText"), DISPID(369));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_AllowedText(void)
{
  unsigned_char pRet;
  this->get_AllowedText((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_AllowedText(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowedText"), DISPID(369));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScrollBarAlign"), DISPID(371));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_ScrollBarAlign(void)
{
  unsigned_char pRet;
  this->get_ScrollBarAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_ScrollBarAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScrollBarAlign"), DISPID(371));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("NumeralShapes"), DISPID(372));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TextboxDispT<T>::get_NumeralShapes(void)
{
  unsigned_char pRet;
  this->get_NumeralShapes((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_NumeralShapes(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("NumeralShapes"), DISPID(372));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEMode"), DISPID(356));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pRet /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcImeMode __fastcall
_TextboxDispT<T>::get_IMEMode(void)
{
  Access_2k::AcImeMode pRet;
  this->get_IMEMode((Access_2k::AcImeMode*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEMode"), DISPID(356));
  TAutoArgs<1> _args;
  _args[1] = (int)pRet /*[VT_USERDEFINED:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMESentenceMode"), DISPID(379));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pRet /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcImeSentenceMode __fastcall
_TextboxDispT<T>::get_IMESentenceMode(void)
{
  Access_2k::AcImeSentenceMode pRet;
  this->get_IMESentenceMode((Access_2k::AcImeSentenceMode*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMESentenceMode"), DISPID(379));
  TAutoArgs<1> _args;
  _args[1] = (int)pRet /*[VT_USERDEFINED:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_LeftMargin(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LeftMargin"), DISPID(384));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_LeftMargin(void)
{
  short pRet;
  this->get_LeftMargin((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_LeftMargin(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LeftMargin"), DISPID(384));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_TopMargin(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TopMargin"), DISPID(385));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_TopMargin(void)
{
  short pRet;
  this->get_TopMargin((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_TopMargin(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TopMargin"), DISPID(385));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_LineSpacing(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LineSpacing"), DISPID(386));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_LineSpacing(void)
{
  short pRet;
  this->get_LineSpacing((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_LineSpacing(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LineSpacing"), DISPID(386));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_RightMargin(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RightMargin"), DISPID(388));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_RightMargin(void)
{
  short pRet;
  this->get_RightMargin((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_RightMargin(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RightMargin"), DISPID(388));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_BottomMargin(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BottomMargin"), DISPID(389));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TextboxDispT<T>::get_BottomMargin(void)
{
  short pRet;
  this->get_BottomMargin((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_BottomMargin(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BottomMargin"), DISPID(389));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_IsHyperlink(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsHyperlink"), DISPID(396));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TextboxDispT<T>::get_IsHyperlink(void)
{
  VARIANT_BOOL pRet;
  this->get_IsHyperlink((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_IsHyperlink(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsHyperlink"), DISPID(396));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_TextboxDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_TextboxDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accChild(VARIANT varChild/*[in]*/, LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_TextboxDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                     BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TextboxDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TextboxDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                   long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_TextboxDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TextboxDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TextboxDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                       BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TextboxDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, long* pcxWidth/*[out]*/, 
                              long* pcyHeight/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                              VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TextboxDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                             VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TextboxDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TextboxDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_ListBox
// Interface: _ListBox
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_ListBoxT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ListBoxT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::Undo(void)
{
  return (*this)->Undo();
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Column(Index, Row, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ListBoxT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->get_Column(Index/*[in]*/, Row/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Selected(long lRow/*[in]*/, long* pRet/*[out,retval]*/)
{
  return (*this)->get_Selected(lRow, pRet);
}

template <class T> long __fastcall
TCOM_ListBoxT<T>::get_Selected(long lRow/*[in]*/)
{
  long pRet;
  OLECHECK(this->get_Selected(lRow/*[in]*/, (long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Selected(long lRow/*[in]*/, long pRet/*[in]*/)
{
  return (*this)->set_Selected(lRow, pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ListBoxT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_ItemData(Index, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ListBoxT<T>::get_ItemData(long Index/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->get_ItemData(Index/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_ListBoxT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_ListBoxT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ItemsSelected(Access_2k::_ItemsSelected** pRet/*[out,retval]*/)
{
  return (*this)->get_ItemsSelected(pRet);
}

template <class T> Access_2k::_ItemsSelectedPtr __fastcall
TCOM_ListBoxT<T>::get_ItemsSelected(void)
{
  Access_2k::_ItemsSelectedPtr pRet;
  OLECHECK(this->get_ItemsSelected((Access_2k::_ItemsSelectedPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ListBoxT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  return (*this)->get_Hyperlink(ppRet);
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
TCOM_ListBoxT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  OLECHECK(this->get_Hyperlink((Access_2k::_HyperlinkPtr*)&ppRet));
  return ppRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ListBoxT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_ControlSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_RowSourceType(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_RowSourceType(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_RowSourceType(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_RowSourceType((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_RowSourceType(BSTR pRet/*[in]*/)
{
  return (*this)->set_RowSourceType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_RowSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_RowSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_RowSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_RowSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_RowSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_RowSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ColumnCount(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnCount(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_ColumnCount(void)
{
  short pRet;
  OLECHECK(this->get_ColumnCount((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ColumnCount(short pRet/*[in]*/)
{
  return (*this)->set_ColumnCount(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHeads(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_ColumnHeads(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHeads((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHeads(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ColumnWidths(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnWidths(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_ColumnWidths(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ColumnWidths((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ColumnWidths(BSTR pRet/*[in]*/)
{
  return (*this)->set_ColumnWidths(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_BoundColumn(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BoundColumn(pRet);
}

template <class T> long __fastcall
TCOM_ListBoxT<T>::get_BoundColumn(void)
{
  long pRet;
  OLECHECK(this->get_BoundColumn((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_BoundColumn(long pRet/*[in]*/)
{
  return (*this)->set_BoundColumn(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultValue(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_DefaultValue(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  return (*this)->set_DefaultValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IMEHold(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_IMEHold(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IMEHold((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_IMEHold(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IMEHold(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationRule(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_ValidationRule(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationRule(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_ValidationText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_MultiSelect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_MultiSelect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_MultiSelect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_MultiSelect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_MultiSelect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_MultiSelect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_HideDuplicates(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_HideDuplicates(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BackColor(pRet);
}

template <class T> long __fastcall
TCOM_ListBoxT<T>::get_BackColor(void)
{
  long pRet;
  OLECHECK(this->get_BackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_BackColor(long pRet/*[in]*/)
{
  return (*this)->set_BackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_ListBoxT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ForeColor(pRet);
}

template <class T> long __fastcall
TCOM_ListBoxT<T>::get_ForeColor(void)
{
  long pRet;
  OLECHECK(this->get_ForeColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ForeColor(long pRet/*[in]*/)
{
  return (*this)->set_ForeColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FontName(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_FontName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FontName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  return (*this)->set_FontName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontSize(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_FontSize(void)
{
  short pRet;
  OLECHECK(this->get_FontSize((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_FontSize(short pRet/*[in]*/)
{
  return (*this)->set_FontSize(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontWeight(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_FontWeight(void)
{
  short pRet;
  OLECHECK(this->get_FontWeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_FontWeight(short pRet/*[in]*/)
{
  return (*this)->set_FontWeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontItalic(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontItalic(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontUnderline(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontUnderline(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TextFontCharSet(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TextFontCharSet(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontBold(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_FontBold(void)
{
  short pRet;
  OLECHECK(this->get_FontBold((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_FontBold(short pRet/*[in]*/)
{
  return (*this)->set_FontBold(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_ListBoxT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnWidth(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_ColumnWidth(void)
{
  short pRet;
  OLECHECK(this->get_ColumnWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  return (*this)->set_ColumnWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnOrder(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_ColumnOrder(void)
{
  short pRet;
  OLECHECK(this->get_ColumnOrder((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  return (*this)->set_ColumnOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHidden(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHidden(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoLabel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoLabel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AddColon(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AddColon(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelX(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_LabelX(void)
{
  short pRet;
  OLECHECK(this->get_LabelX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_LabelX(short pRet/*[in]*/)
{
  return (*this)->set_LabelX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelY(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_LabelY(void)
{
  short pRet;
  OLECHECK(this->get_LabelY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_LabelY(short pRet/*[in]*/)
{
  return (*this)->set_LabelY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_LabelAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_ListBoxT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ListCount(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ListCount(pRet);
}

template <class T> long __fastcall
TCOM_ListBoxT<T>::get_ListCount(void)
{
  long pRet;
  OLECHECK(this->get_ListCount((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ListCount(long pRet/*[in]*/)
{
  return (*this)->set_ListCount(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ListIndex(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ListIndex(pRet);
}

template <class T> long __fastcall
TCOM_ListBoxT<T>::get_ListIndex(void)
{
  long pRet;
  OLECHECK(this->get_ListIndex((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ListIndex(long pRet/*[in]*/)
{
  return (*this)->set_ListIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ListBoxT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_BeforeUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_AfterUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnKeyDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnKeyUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyPress(pRet);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_OnKeyPress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyPress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ReadingOrder(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ReadingOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ScrollBarAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_ScrollBarAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ScrollBarAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_ScrollBarAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ScrollBarAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_TextAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TextAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_TextAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TextAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_TextAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TextAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_NumeralShapes(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ListBoxT<T>::get_NumeralShapes(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_NumeralShapes((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_NumeralShapes(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_NumeralShapes(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/)
{
  return (*this)->get_IMEMode(pRet);
}

template <class T> Access_2k::AcImeMode __fastcall
TCOM_ListBoxT<T>::get_IMEMode(void)
{
  Access_2k::AcImeMode pRet;
  OLECHECK(this->get_IMEMode((Access_2k::AcImeMode*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/)
{
  return (*this)->set_IMEMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_ListBoxT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/)
{
  return (*this)->get_IMESentenceMode(pRet);
}

template <class T> Access_2k::AcImeSentenceMode __fastcall
TCOM_ListBoxT<T>::get_IMESentenceMode(void)
{
  Access_2k::AcImeSentenceMode pRet;
  OLECHECK(this->get_IMESentenceMode((Access_2k::AcImeSentenceMode*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ListBoxT<T>::set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/)
{
  return (*this)->set_IMESentenceMode(pRet);
}

// *********************************************************************//
// DispIntf:  _ListBox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E95A-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_ListBoxDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ListBoxDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::Undo()
{
  _TDispID _dispid(*this, OLETEXT("Undo"), DISPID(2144));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Column"), DISPID(2101));
  TAutoArgs<2> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = Row /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ListBoxDispT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/)
{
  VARIANT pRet;
  this->get_Column(Index, Row, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Selected(long lRow/*[in]*/, long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Selected"), DISPID(2113));
  TAutoArgs<1> _args;
  _args[1] = lRow /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ListBoxDispT<T>::get_Selected(long lRow/*[in]*/)
{
  long pRet;
  this->get_Selected(lRow, (long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Selected(long lRow/*[in]*/, long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Selected"), DISPID(2113));
  TAutoArgs<2> _args;
  _args[1] = lRow /*[VT_I4:0]*/;
  _args[2] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ListBoxDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ItemData"), DISPID(2103));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ListBoxDispT<T>::get_ItemData(long Index/*[in]*/)
{
  VARIANT pRet;
  this->get_ItemData(Index, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_ListBoxDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_ListBoxDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ItemsSelected(Access_2k::_ItemsSelected** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ItemsSelected"), DISPID(2137));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::_ItemsSelected**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::_ItemsSelectedPtr __fastcall
_ListBoxDispT<T>::get_ItemsSelected(void)
{
  Access_2k::_ItemsSelectedPtr pRet;
  this->get_ItemsSelected(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ListBoxDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hyperlink"), DISPID(2181));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::_Hyperlink**)ppRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
_ListBoxDispT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  this->get_Hyperlink(&ppRet);
  return ppRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ListBoxDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_ControlSource(void)
{
  BSTR pRet;
  this->get_ControlSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_RowSourceType(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSourceType"), DISPID(93));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_RowSourceType(void)
{
  BSTR pRet;
  this->get_RowSourceType((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_RowSourceType(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSourceType"), DISPID(93));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_RowSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSource"), DISPID(91));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_RowSource(void)
{
  BSTR pRet;
  this->get_RowSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_RowSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSource"), DISPID(91));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ColumnCount(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnCount"), DISPID(70));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_ColumnCount(void)
{
  short pRet;
  this->get_ColumnCount((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ColumnCount(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnCount"), DISPID(70));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHeads"), DISPID(131));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_ColumnHeads(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHeads((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHeads"), DISPID(131));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ColumnWidths(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidths"), DISPID(18));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_ColumnWidths(void)
{
  BSTR pRet;
  this->get_ColumnWidths((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ColumnWidths(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidths"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_BoundColumn(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BoundColumn"), DISPID(13));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ListBoxDispT<T>::get_BoundColumn(void)
{
  long pRet;
  this->get_BoundColumn((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_BoundColumn(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BoundColumn"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_DefaultValue(void)
{
  BSTR pRet;
  this->get_DefaultValue((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEHold"), DISPID(357));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_IMEHold(void)
{
  VARIANT_BOOL pRet;
  this->get_IMEHold((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_IMEHold(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEHold"), DISPID(357));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_ValidationRule(void)
{
  BSTR pRet;
  this->get_ValidationRule((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_ValidationText(void)
{
  BSTR pRet;
  this->get_ValidationText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_MultiSelect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MultiSelect"), DISPID(293));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_MultiSelect(void)
{
  unsigned_char pRet;
  this->get_MultiSelect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_MultiSelect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MultiSelect"), DISPID(293));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  this->get_HideDuplicates((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ListBoxDispT<T>::get_BackColor(void)
{
  long pRet;
  this->get_BackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_BackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ListBoxDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ListBoxDispT<T>::get_ForeColor(void)
{
  long pRet;
  this->get_ForeColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ForeColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_FontName(void)
{
  BSTR pRet;
  this->get_FontName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_FontSize(void)
{
  short pRet;
  this->get_FontSize((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_FontSize(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_FontWeight(void)
{
  short pRet;
  this->get_FontWeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_FontWeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  this->get_FontItalic((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  this->get_FontUnderline((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  this->get_TextFontCharSet((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_FontBold(void)
{
  short pRet;
  this->get_FontBold((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_FontBold(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ListBoxDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_ColumnWidth(void)
{
  short pRet;
  this->get_ColumnWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_ColumnOrder(void)
{
  short pRet;
  this->get_ColumnOrder((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHidden((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoLabel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  this->get_AddColon((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_LabelX(void)
{
  short pRet;
  this->get_LabelX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_LabelX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_LabelY(void)
{
  short pRet;
  this->get_LabelY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_LabelY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  this->get_LabelAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ListBoxDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ListCount(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListCount"), DISPID(238));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ListBoxDispT<T>::get_ListCount(void)
{
  long pRet;
  this->get_ListCount((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ListCount(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListCount"), DISPID(238));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ListIndex(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListIndex"), DISPID(239));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ListBoxDispT<T>::get_ListIndex(void)
{
  long pRet;
  this->get_ListIndex((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ListIndex(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListIndex"), DISPID(239));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ListBoxDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_BeforeUpdate(void)
{
  BSTR pRet;
  this->get_BeforeUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_AfterUpdate(void)
{
  BSTR pRet;
  this->get_AfterUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnKeyDown(void)
{
  BSTR pRet;
  this->get_OnKeyDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnKeyUp(void)
{
  BSTR pRet;
  this->get_OnKeyUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_OnKeyPress(void)
{
  BSTR pRet;
  this->get_OnKeyPress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  this->get_ReadingOrder((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScrollBarAlign"), DISPID(371));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_ScrollBarAlign(void)
{
  unsigned_char pRet;
  this->get_ScrollBarAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_ScrollBarAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScrollBarAlign"), DISPID(371));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_TextAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlign"), DISPID(136));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_TextAlign(void)
{
  unsigned_char pRet;
  this->get_TextAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_TextAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlign"), DISPID(136));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("NumeralShapes"), DISPID(372));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ListBoxDispT<T>::get_NumeralShapes(void)
{
  unsigned_char pRet;
  this->get_NumeralShapes((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_NumeralShapes(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("NumeralShapes"), DISPID(372));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEMode"), DISPID(356));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pRet /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcImeMode __fastcall
_ListBoxDispT<T>::get_IMEMode(void)
{
  Access_2k::AcImeMode pRet;
  this->get_IMEMode((Access_2k::AcImeMode*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEMode"), DISPID(356));
  TAutoArgs<1> _args;
  _args[1] = (int)pRet /*[VT_USERDEFINED:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMESentenceMode"), DISPID(379));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pRet /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcImeSentenceMode __fastcall
_ListBoxDispT<T>::get_IMESentenceMode(void)
{
  Access_2k::AcImeSentenceMode pRet;
  this->get_IMESentenceMode((Access_2k::AcImeSentenceMode*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMESentenceMode"), DISPID(379));
  TAutoArgs<1> _args;
  _args[1] = (int)pRet /*[VT_USERDEFINED:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ListBoxDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ListBoxDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accChild(VARIANT varChild/*[in]*/, LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ListBoxDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                     BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ListBoxDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ListBoxDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                   long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ListBoxDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ListBoxDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ListBoxDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                       BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ListBoxDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, long* pcxWidth/*[out]*/, 
                              long* pcyHeight/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                              VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ListBoxDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                             VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ListBoxDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ListBoxDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_Combobox
// Interface: _Combobox
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_ComboboxT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ComboboxT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::Undo(void)
{
  return (*this)->Undo();
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::Dropdown(void)
{
  return (*this)->Dropdown();
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                              VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Column(Index, Row, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ComboboxT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->get_Column(Index/*[in]*/, Row/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ComboboxT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_ItemData(Index, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ComboboxT<T>::get_ItemData(long Index/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->get_ItemData(Index/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_ComboboxT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_ComboboxT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ComboboxT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  return (*this)->get_Hyperlink(ppRet);
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
TCOM_ComboboxT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  OLECHECK(this->get_Hyperlink((Access_2k::_HyperlinkPtr*)&ppRet));
  return ppRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_FormatConditions(Access_2k::FormatConditions** ppRet/*[out,retval]*/)
{
  return (*this)->get_FormatConditions(ppRet);
}

template <class T> Access_2k::FormatConditionsPtr __fastcall
TCOM_ComboboxT<T>::get_FormatConditions(void)
{
  Access_2k::FormatConditionsPtr ppRet;
  OLECHECK(this->get_FormatConditions((Access_2k::FormatConditionsPtr*)&ppRet));
  return ppRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ComboboxT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_ControlSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Format(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Format(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_Format(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Format((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Format(BSTR pRet/*[in]*/)
{
  return (*this)->set_Format(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_DecimalPlaces(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DecimalPlaces(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_DecimalPlaces(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DecimalPlaces((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_DecimalPlaces(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DecimalPlaces(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_InputMask(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_InputMask(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_InputMask(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_InputMask((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_InputMask(BSTR pRet/*[in]*/)
{
  return (*this)->set_InputMask(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_RowSourceType(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_RowSourceType(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_RowSourceType(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_RowSourceType((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_RowSourceType(BSTR pRet/*[in]*/)
{
  return (*this)->set_RowSourceType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_RowSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_RowSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_RowSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_RowSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_RowSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_RowSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ColumnCount(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnCount(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_ColumnCount(void)
{
  short pRet;
  OLECHECK(this->get_ColumnCount((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ColumnCount(short pRet/*[in]*/)
{
  return (*this)->set_ColumnCount(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHeads(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_ColumnHeads(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHeads((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHeads(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ColumnWidths(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnWidths(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_ColumnWidths(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ColumnWidths((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ColumnWidths(BSTR pRet/*[in]*/)
{
  return (*this)->set_ColumnWidths(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_BoundColumn(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BoundColumn(pRet);
}

template <class T> long __fastcall
TCOM_ComboboxT<T>::get_BoundColumn(void)
{
  long pRet;
  OLECHECK(this->get_BoundColumn((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_BoundColumn(long pRet/*[in]*/)
{
  return (*this)->set_BoundColumn(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ListRows(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ListRows(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_ListRows(void)
{
  short pRet;
  OLECHECK(this->get_ListRows((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ListRows(short pRet/*[in]*/)
{
  return (*this)->set_ListRows(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ListWidth(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ListWidth(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_ListWidth(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ListWidth((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ListWidth(BSTR pRet/*[in]*/)
{
  return (*this)->set_ListWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_LimitToList(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_LimitToList(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_LimitToList(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_LimitToList((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_LimitToList(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_LimitToList(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_AutoExpand(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoExpand(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_AutoExpand(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoExpand((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_AutoExpand(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoExpand(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultValue(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_DefaultValue(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  return (*this)->set_DefaultValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IMEHold(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_IMEHold(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IMEHold((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_IMEHold(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IMEHold(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationRule(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_ValidationRule(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationRule(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_ValidationText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_AllowAutoCorrect(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AllowAutoCorrect(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_AllowAutoCorrect(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AllowAutoCorrect((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_AllowAutoCorrect(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AllowAutoCorrect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_HideDuplicates(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_HideDuplicates(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BackStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BackStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BackColor(pRet);
}

template <class T> long __fastcall
TCOM_ComboboxT<T>::get_BackColor(void)
{
  long pRet;
  OLECHECK(this->get_BackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_BackColor(long pRet/*[in]*/)
{
  return (*this)->set_BackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_ComboboxT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ForeColor(pRet);
}

template <class T> long __fastcall
TCOM_ComboboxT<T>::get_ForeColor(void)
{
  long pRet;
  OLECHECK(this->get_ForeColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ForeColor(long pRet/*[in]*/)
{
  return (*this)->set_ForeColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FontName(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_FontName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FontName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  return (*this)->set_FontName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontSize(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_FontSize(void)
{
  short pRet;
  OLECHECK(this->get_FontSize((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_FontSize(short pRet/*[in]*/)
{
  return (*this)->set_FontSize(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontWeight(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_FontWeight(void)
{
  short pRet;
  OLECHECK(this->get_FontWeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_FontWeight(short pRet/*[in]*/)
{
  return (*this)->set_FontWeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontItalic(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontItalic(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontUnderline(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontUnderline(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TextFontCharSet(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TextFontCharSet(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_TextAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TextAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_TextAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TextAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_TextAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TextAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontBold(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_FontBold(void)
{
  short pRet;
  OLECHECK(this->get_FontBold((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_FontBold(short pRet/*[in]*/)
{
  return (*this)->set_FontBold(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_ComboboxT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnWidth(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_ColumnWidth(void)
{
  short pRet;
  OLECHECK(this->get_ColumnWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  return (*this)->set_ColumnWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnOrder(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_ColumnOrder(void)
{
  short pRet;
  OLECHECK(this->get_ColumnOrder((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  return (*this)->set_ColumnOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHidden(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHidden(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoLabel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoLabel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AddColon(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AddColon(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelX(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_LabelX(void)
{
  short pRet;
  OLECHECK(this->get_LabelX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_LabelX(short pRet/*[in]*/)
{
  return (*this)->set_LabelX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelY(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_LabelY(void)
{
  short pRet;
  OLECHECK(this->get_LabelY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_LabelY(short pRet/*[in]*/)
{
  return (*this)->set_LabelY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_LabelAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Text(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Text(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_Text(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Text((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Text(BSTR pRet/*[in]*/)
{
  return (*this)->set_Text(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_SelText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_SelText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_SelText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_SelText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_SelText(BSTR pRet/*[in]*/)
{
  return (*this)->set_SelText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_SelStart(short* pRet/*[out,retval]*/)
{
  return (*this)->get_SelStart(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_SelStart(void)
{
  short pRet;
  OLECHECK(this->get_SelStart((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_SelStart(short pRet/*[in]*/)
{
  return (*this)->set_SelStart(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_SelLength(short* pRet/*[out,retval]*/)
{
  return (*this)->get_SelLength(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_SelLength(void)
{
  short pRet;
  OLECHECK(this->get_SelLength((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_SelLength(short pRet/*[in]*/)
{
  return (*this)->set_SelLength(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_TextAlignGeneral(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TextAlignGeneral(pRet);
}

template <class T> short __fastcall
TCOM_ComboboxT<T>::get_TextAlignGeneral(void)
{
  short pRet;
  OLECHECK(this->get_TextAlignGeneral((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_TextAlignGeneral(short pRet/*[in]*/)
{
  return (*this)->set_TextAlignGeneral(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_FormatPictureText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FormatPictureText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_FormatPictureText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FormatPictureText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_FormatPictureText(BSTR pRet/*[in]*/)
{
  return (*this)->set_FormatPictureText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Coltyp(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Coltyp(pRet);
}

template <class T> long __fastcall
TCOM_ComboboxT<T>::get_Coltyp(void)
{
  long pRet;
  OLECHECK(this->get_Coltyp((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Coltyp(long pRet/*[in]*/)
{
  return (*this)->set_Coltyp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ListCount(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ListCount(pRet);
}

template <class T> long __fastcall
TCOM_ComboboxT<T>::get_ListCount(void)
{
  long pRet;
  OLECHECK(this->get_ListCount((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ListCount(long pRet/*[in]*/)
{
  return (*this)->set_ListCount(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ListIndex(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ListIndex(pRet);
}

template <class T> long __fastcall
TCOM_ComboboxT<T>::get_ListIndex(void)
{
  long pRet;
  OLECHECK(this->get_ListIndex((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ListIndex(long pRet/*[in]*/)
{
  return (*this)->set_ListIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_BeforeUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_AfterUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnChange(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnChange(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnChange(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnChange((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnChange(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnChange(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnNotInList(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnNotInList(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnNotInList(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnNotInList((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnNotInList(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnNotInList(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnKeyDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnKeyUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyPress(pRet);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_OnKeyPress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyPress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ReadingOrder(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ReadingOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_KeyboardLanguage(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_KeyboardLanguage(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_KeyboardLanguage(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_KeyboardLanguage((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_KeyboardLanguage(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_KeyboardLanguage(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_AllowedText(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_AllowedText(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_AllowedText(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_AllowedText((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_AllowedText(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_AllowedText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ScrollBarAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_ScrollBarAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ScrollBarAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_ScrollBarAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ScrollBarAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_NumeralShapes(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ComboboxT<T>::get_NumeralShapes(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_NumeralShapes((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_NumeralShapes(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_NumeralShapes(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/)
{
  return (*this)->get_IMEMode(pRet);
}

template <class T> Access_2k::AcImeMode __fastcall
TCOM_ComboboxT<T>::get_IMEMode(void)
{
  Access_2k::AcImeMode pRet;
  OLECHECK(this->get_IMEMode((Access_2k::AcImeMode*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/)
{
  return (*this)->set_IMEMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_ComboboxT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/)
{
  return (*this)->get_IMESentenceMode(pRet);
}

template <class T> Access_2k::AcImeSentenceMode __fastcall
TCOM_ComboboxT<T>::get_IMESentenceMode(void)
{
  Access_2k::AcImeSentenceMode pRet;
  OLECHECK(this->get_IMESentenceMode((Access_2k::AcImeSentenceMode*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/)
{
  return (*this)->set_IMESentenceMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::get_IsHyperlink(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsHyperlink(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ComboboxT<T>::get_IsHyperlink(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsHyperlink((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ComboboxT<T>::set_IsHyperlink(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsHyperlink(pRet);
}

// *********************************************************************//
// DispIntf:  _Combobox
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E95C-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_ComboboxDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ComboboxDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::Undo()
{
  _TDispID _dispid(*this, OLETEXT("Undo"), DISPID(2144));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::Dropdown()
{
  _TDispID _dispid(*this, OLETEXT("Dropdown"), DISPID(2143));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/, 
                              VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Column"), DISPID(2101));
  TAutoArgs<2> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  _args[2] = Row /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ComboboxDispT<T>::get_Column(long Index/*[in]*/, VARIANT Row/*[in,opt]*/)
{
  VARIANT pRet;
  this->get_Column(Index, Row, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ComboboxDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ItemData(long Index/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ItemData"), DISPID(2103));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ComboboxDispT<T>::get_ItemData(long Index/*[in]*/)
{
  VARIANT pRet;
  this->get_ItemData(Index, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_ComboboxDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_ComboboxDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ComboboxDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Hyperlink(Access_2k::_Hyperlink** ppRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hyperlink"), DISPID(2181));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::_Hyperlink**)ppRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::_HyperlinkPtr __fastcall
_ComboboxDispT<T>::get_Hyperlink(void)
{
  Access_2k::_HyperlinkPtr ppRet;
  this->get_Hyperlink(&ppRet);
  return ppRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_FormatConditions(Access_2k::FormatConditions** ppRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormatConditions"), DISPID(2203));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::FormatConditions**)ppRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::FormatConditionsPtr __fastcall
_ComboboxDispT<T>::get_FormatConditions(void)
{
  Access_2k::FormatConditionsPtr ppRet;
  this->get_FormatConditions(&ppRet);
  return ppRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ComboboxDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_ControlSource(void)
{
  BSTR pRet;
  this->get_ControlSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Format(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Format"), DISPID(38));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_Format(void)
{
  BSTR pRet;
  this->get_Format((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Format(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Format"), DISPID(38));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_DecimalPlaces(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DecimalPlaces"), DISPID(71));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_DecimalPlaces(void)
{
  unsigned_char pRet;
  this->get_DecimalPlaces((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_DecimalPlaces(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DecimalPlaces"), DISPID(71));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_InputMask(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InputMask"), DISPID(72));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_InputMask(void)
{
  BSTR pRet;
  this->get_InputMask((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_InputMask(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InputMask"), DISPID(72));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_RowSourceType(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSourceType"), DISPID(93));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_RowSourceType(void)
{
  BSTR pRet;
  this->get_RowSourceType((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_RowSourceType(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSourceType"), DISPID(93));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_RowSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSource"), DISPID(91));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_RowSource(void)
{
  BSTR pRet;
  this->get_RowSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_RowSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSource"), DISPID(91));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ColumnCount(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnCount"), DISPID(70));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_ColumnCount(void)
{
  short pRet;
  this->get_ColumnCount((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ColumnCount(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnCount"), DISPID(70));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHeads"), DISPID(131));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_ColumnHeads(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHeads((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHeads"), DISPID(131));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ColumnWidths(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidths"), DISPID(18));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_ColumnWidths(void)
{
  BSTR pRet;
  this->get_ColumnWidths((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ColumnWidths(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidths"), DISPID(18));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_BoundColumn(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BoundColumn"), DISPID(13));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ComboboxDispT<T>::get_BoundColumn(void)
{
  long pRet;
  this->get_BoundColumn((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_BoundColumn(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BoundColumn"), DISPID(13));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ListRows(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListRows"), DISPID(153));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_ListRows(void)
{
  short pRet;
  this->get_ListRows((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ListRows(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListRows"), DISPID(153));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ListWidth(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListWidth"), DISPID(154));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_ListWidth(void)
{
  BSTR pRet;
  this->get_ListWidth((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ListWidth(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListWidth"), DISPID(154));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_LimitToList(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LimitToList"), DISPID(67));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_LimitToList(void)
{
  VARIANT_BOOL pRet;
  this->get_LimitToList((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_LimitToList(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LimitToList"), DISPID(67));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_AutoExpand(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoExpand"), DISPID(68));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_AutoExpand(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoExpand((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_AutoExpand(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoExpand"), DISPID(68));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_DefaultValue(void)
{
  BSTR pRet;
  this->get_DefaultValue((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_IMEHold(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEHold"), DISPID(357));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_IMEHold(void)
{
  VARIANT_BOOL pRet;
  this->get_IMEHold((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_IMEHold(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEHold"), DISPID(357));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_ValidationRule(void)
{
  BSTR pRet;
  this->get_ValidationRule((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_ValidationText(void)
{
  BSTR pRet;
  this->get_ValidationText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_AllowAutoCorrect(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowAutoCorrect"), DISPID(340));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_AllowAutoCorrect(void)
{
  VARIANT_BOOL pRet;
  this->get_AllowAutoCorrect((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_AllowAutoCorrect(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowAutoCorrect"), DISPID(340));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  this->get_HideDuplicates((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  this->get_BackStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ComboboxDispT<T>::get_BackColor(void)
{
  long pRet;
  this->get_BackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_BackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ComboboxDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ComboboxDispT<T>::get_ForeColor(void)
{
  long pRet;
  this->get_ForeColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ForeColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_FontName(void)
{
  BSTR pRet;
  this->get_FontName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_FontSize(void)
{
  short pRet;
  this->get_FontSize((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_FontSize(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_FontWeight(void)
{
  short pRet;
  this->get_FontWeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_FontWeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  this->get_FontItalic((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  this->get_FontUnderline((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  this->get_TextFontCharSet((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_TextAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlign"), DISPID(136));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_TextAlign(void)
{
  unsigned_char pRet;
  this->get_TextAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_TextAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlign"), DISPID(136));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_FontBold(void)
{
  short pRet;
  this->get_FontBold((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_FontBold(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ComboboxDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_ColumnWidth(void)
{
  short pRet;
  this->get_ColumnWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_ColumnOrder(void)
{
  short pRet;
  this->get_ColumnOrder((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHidden((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoLabel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  this->get_AddColon((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_LabelX(void)
{
  short pRet;
  this->get_LabelX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_LabelX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_LabelY(void)
{
  short pRet;
  this->get_LabelY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_LabelY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  this->get_LabelAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Text(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Text"), DISPID(267));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_Text(void)
{
  BSTR pRet;
  this->get_Text((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Text(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Text"), DISPID(267));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_SelText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelText"), DISPID(271));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_SelText(void)
{
  BSTR pRet;
  this->get_SelText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_SelText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelText"), DISPID(271));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_SelStart(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelStart"), DISPID(270));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_SelStart(void)
{
  short pRet;
  this->get_SelStart((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_SelStart(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelStart"), DISPID(270));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_SelLength(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelLength"), DISPID(269));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_SelLength(void)
{
  short pRet;
  this->get_SelLength((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_SelLength(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelLength"), DISPID(269));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_TextAlignGeneral(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlignGeneral"), DISPID(137));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ComboboxDispT<T>::get_TextAlignGeneral(void)
{
  short pRet;
  this->get_TextAlignGeneral((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_TextAlignGeneral(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextAlignGeneral"), DISPID(137));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_FormatPictureText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormatPictureText"), DISPID(138));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_FormatPictureText(void)
{
  BSTR pRet;
  this->get_FormatPictureText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_FormatPictureText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormatPictureText"), DISPID(138));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Coltyp(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Coltyp"), DISPID(139));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ComboboxDispT<T>::get_Coltyp(void)
{
  long pRet;
  this->get_Coltyp((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Coltyp(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Coltyp"), DISPID(139));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ListCount(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListCount"), DISPID(238));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ComboboxDispT<T>::get_ListCount(void)
{
  long pRet;
  this->get_ListCount((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ListCount(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListCount"), DISPID(238));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ListIndex(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListIndex"), DISPID(239));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ComboboxDispT<T>::get_ListIndex(void)
{
  long pRet;
  this->get_ListIndex((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ListIndex(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ListIndex"), DISPID(239));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_BeforeUpdate(void)
{
  BSTR pRet;
  this->get_BeforeUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_AfterUpdate(void)
{
  BSTR pRet;
  this->get_AfterUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnChange(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnChange"), DISPID(114));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnChange(void)
{
  BSTR pRet;
  this->get_OnChange((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnChange(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnChange"), DISPID(114));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnNotInList(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnNotInList"), DISPID(120));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnNotInList(void)
{
  BSTR pRet;
  this->get_OnNotInList((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnNotInList(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnNotInList"), DISPID(120));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnKeyDown(void)
{
  BSTR pRet;
  this->get_OnKeyDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnKeyUp(void)
{
  BSTR pRet;
  this->get_OnKeyUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_OnKeyPress(void)
{
  BSTR pRet;
  this->get_OnKeyPress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  this->get_ReadingOrder((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_KeyboardLanguage(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("KeyboardLanguage"), DISPID(368));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_KeyboardLanguage(void)
{
  unsigned_char pRet;
  this->get_KeyboardLanguage((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_KeyboardLanguage(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("KeyboardLanguage"), DISPID(368));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_AllowedText(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowedText"), DISPID(369));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_AllowedText(void)
{
  unsigned_char pRet;
  this->get_AllowedText((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_AllowedText(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowedText"), DISPID(369));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_ScrollBarAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScrollBarAlign"), DISPID(371));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_ScrollBarAlign(void)
{
  unsigned_char pRet;
  this->get_ScrollBarAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_ScrollBarAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScrollBarAlign"), DISPID(371));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_NumeralShapes(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("NumeralShapes"), DISPID(372));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ComboboxDispT<T>::get_NumeralShapes(void)
{
  unsigned_char pRet;
  this->get_NumeralShapes((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_NumeralShapes(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("NumeralShapes"), DISPID(372));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_IMEMode(Access_2k::AcImeMode* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEMode"), DISPID(356));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pRet /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcImeMode __fastcall
_ComboboxDispT<T>::get_IMEMode(void)
{
  Access_2k::AcImeMode pRet;
  this->get_IMEMode((Access_2k::AcImeMode*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_IMEMode(Access_2k::AcImeMode pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMEMode"), DISPID(356));
  TAutoArgs<1> _args;
  _args[1] = (int)pRet /*[VT_USERDEFINED:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_IMESentenceMode(Access_2k::AcImeSentenceMode* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMESentenceMode"), DISPID(379));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pRet /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcImeSentenceMode __fastcall
_ComboboxDispT<T>::get_IMESentenceMode(void)
{
  Access_2k::AcImeSentenceMode pRet;
  this->get_IMESentenceMode((Access_2k::AcImeSentenceMode*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_IMESentenceMode(Access_2k::AcImeSentenceMode pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IMESentenceMode"), DISPID(379));
  TAutoArgs<1> _args;
  _args[1] = (int)pRet /*[VT_USERDEFINED:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_IsHyperlink(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsHyperlink"), DISPID(396));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ComboboxDispT<T>::get_IsHyperlink(void)
{
  VARIANT_BOOL pRet;
  this->get_IsHyperlink((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_IsHyperlink(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsHyperlink"), DISPID(396));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ComboboxDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ComboboxDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accChild(VARIANT varChild/*[in]*/, LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ComboboxDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                      BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ComboboxDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ComboboxDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                    long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ComboboxDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                           BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ComboboxDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ComboboxDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                        BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ComboboxDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, long* pcxWidth/*[out]*/
                               , long* pcyHeight/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                               VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ComboboxDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                              VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ComboboxDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ComboboxDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_ObjectFrame
// Interface: _ObjectFrame
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_ObjectFrameT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ObjectFrameT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ObjectFrameT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Object(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Object(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ObjectFrameT<T>::get_Object(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Object((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectVerbs(Index, pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_ObjectVerbs(long Index/*[in]*/)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ObjectVerbs(Index/*[in]*/, (BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_ObjectFrameT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_ObjectFrameT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ObjectFrameT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_SizeMode(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SizeMode(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_SizeMode(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SizeMode((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_SizeMode(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SizeMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OLEClass(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OLEClass(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_OLEClass(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OLEClass((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OLEClass(BSTR pRet/*[in]*/)
{
  return (*this)->set_OLEClass(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Item(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Item(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_Item(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Item((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Item(BSTR pRet/*[in]*/)
{
  return (*this)->set_Item(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_RowSourceType(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_RowSourceType(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_RowSourceType(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_RowSourceType((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_RowSourceType(BSTR pRet/*[in]*/)
{
  return (*this)->set_RowSourceType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_RowSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_RowSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_RowSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_RowSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_RowSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_RowSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_LinkChildFields(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_LinkChildFields(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_LinkChildFields(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_LinkChildFields((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_LinkChildFields(BSTR pRet/*[in]*/)
{
  return (*this)->set_LinkChildFields(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_LinkMasterFields(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_LinkMasterFields(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_LinkMasterFields(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_LinkMasterFields((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_LinkMasterFields(BSTR pRet/*[in]*/)
{
  return (*this)->set_LinkMasterFields(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_AutoActivate(short* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoActivate(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_AutoActivate(void)
{
  short pRet;
  OLECHECK(this->get_AutoActivate((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_AutoActivate(short pRet/*[in]*/)
{
  return (*this)->set_AutoActivate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_DisplayType(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayType(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ObjectFrameT<T>::get_DisplayType(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_DisplayType((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_DisplayType(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_DisplayType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_UpdateOptions(short* pRet/*[out,retval]*/)
{
  return (*this)->get_UpdateOptions(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_UpdateOptions(void)
{
  short pRet;
  OLECHECK(this->get_UpdateOptions((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_UpdateOptions(short pRet/*[in]*/)
{
  return (*this)->set_UpdateOptions(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Verb(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Verb(pRet);
}

template <class T> long __fastcall
TCOM_ObjectFrameT<T>::get_Verb(void)
{
  long pRet;
  OLECHECK(this->get_Verb((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Verb(long pRet/*[in]*/)
{
  return (*this)->set_Verb(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OLEType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OLEType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_OLEType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OLEType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OLEType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OLEType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OLETypeAllowed(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OLETypeAllowed(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_OLETypeAllowed(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OLETypeAllowed((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OLETypeAllowed(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OLETypeAllowed(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_SourceObject(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_SourceObject(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_SourceObject(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_SourceObject((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_SourceObject(BSTR pRet/*[in]*/)
{
  return (*this)->set_SourceObject(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Class(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Class(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_Class(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Class((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Class(BSTR pRet/*[in]*/)
{
  return (*this)->set_Class(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_SourceDoc(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_SourceDoc(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_SourceDoc(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_SourceDoc((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_SourceDoc(BSTR pRet/*[in]*/)
{
  return (*this)->set_SourceDoc(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_SourceItem(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_SourceItem(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_SourceItem(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_SourceItem((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_SourceItem(BSTR pRet/*[in]*/)
{
  return (*this)->set_SourceItem(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_ColumnCount(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnCount(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_ColumnCount(void)
{
  short pRet;
  OLECHECK(this->get_ColumnCount((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_ColumnCount(short pRet/*[in]*/)
{
  return (*this)->set_ColumnCount(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHeads(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ObjectFrameT<T>::get_ColumnHeads(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHeads((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHeads(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ObjectFrameT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OleData(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OleData(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ObjectFrameT<T>::get_OleData(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OleData((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OleData(VARIANT pRet/*[in]*/)
{
  return (*this)->set_OleData(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_UpdateMethod(short* pRet/*[out,retval]*/)
{
  return (*this)->get_UpdateMethod(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_UpdateMethod(void)
{
  short pRet;
  OLECHECK(this->get_UpdateMethod((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_UpdateMethod(short pRet/*[in]*/)
{
  return (*this)->set_UpdateMethod(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ObjectFrameT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ObjectFrameT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ObjectFrameT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BackStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BackStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BackColor(pRet);
}

template <class T> long __fastcall
TCOM_ObjectFrameT<T>::get_BackColor(void)
{
  long pRet;
  OLECHECK(this->get_BackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_BackColor(long pRet/*[in]*/)
{
  return (*this)->set_BackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_ObjectFrameT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_ObjectFrameT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Data(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Data(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_Data(void)
{
  short pRet;
  OLECHECK(this->get_Data((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Data(short pRet/*[in]*/)
{
  return (*this)->set_Data(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectPalette(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ObjectFrameT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  return (*this)->set_ObjectPalette(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_LpOleObject(long* pRet/*[out,retval]*/)
{
  return (*this)->get_LpOleObject(pRet);
}

template <class T> long __fastcall
TCOM_ObjectFrameT<T>::get_LpOleObject(void)
{
  long pRet;
  OLECHECK(this->get_LpOleObject((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_LpOleObject(long pRet/*[in]*/)
{
  return (*this)->set_LpOleObject(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_ObjectVerbsCount(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectVerbsCount(pRet);
}

template <class T> long __fastcall
TCOM_ObjectFrameT<T>::get_ObjectVerbsCount(void)
{
  long pRet;
  OLECHECK(this->get_ObjectVerbsCount((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_ObjectVerbsCount(long pRet/*[in]*/)
{
  return (*this)->set_ObjectVerbsCount(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Action(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Action(pRet);
}

template <class T> short __fastcall
TCOM_ObjectFrameT<T>::get_Action(void)
{
  short pRet;
  OLECHECK(this->get_Action((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Action(short pRet/*[in]*/)
{
  return (*this)->set_Action(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Scaling(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_Scaling(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ObjectFrameT<T>::get_Scaling(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_Scaling((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Scaling(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_Scaling(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ObjectFrameT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ObjectFrameT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OnUpdated(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnUpdated(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_OnUpdated(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnUpdated((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OnUpdated(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnUpdated(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_ObjectFrameT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_ObjectFrameT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _ObjectFrame
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E95E-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_ObjectFrameDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ObjectFrameDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ObjectFrameDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Object(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Object"), DISPID(2104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ObjectFrameDispT<T>::get_Object(void)
{
  LPDISPATCH pRet;
  this->get_Object((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectVerbs"), DISPID(2105));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_ObjectVerbs(long Index/*[in]*/)
{
  BSTR pRet;
  this->get_ObjectVerbs(Index, (BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_ObjectFrameDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_ObjectFrameDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ObjectFrameDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_SizeMode(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SizeMode"), DISPID(89));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_SizeMode(void)
{
  unsigned_char pRet;
  this->get_SizeMode((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_SizeMode(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SizeMode"), DISPID(89));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OLEClass(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLEClass"), DISPID(76));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_OLEClass(void)
{
  BSTR pRet;
  this->get_OLEClass((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OLEClass(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLEClass"), DISPID(76));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Item(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(47));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_Item(void)
{
  BSTR pRet;
  this->get_Item((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Item(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(47));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_RowSourceType(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSourceType"), DISPID(93));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_RowSourceType(void)
{
  BSTR pRet;
  this->get_RowSourceType((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_RowSourceType(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSourceType"), DISPID(93));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_RowSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSource"), DISPID(91));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_RowSource(void)
{
  BSTR pRet;
  this->get_RowSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_RowSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowSource"), DISPID(91));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_LinkChildFields(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LinkChildFields"), DISPID(49));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_LinkChildFields(void)
{
  BSTR pRet;
  this->get_LinkChildFields((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_LinkChildFields(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LinkChildFields"), DISPID(49));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_LinkMasterFields(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LinkMasterFields"), DISPID(50));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_LinkMasterFields(void)
{
  BSTR pRet;
  this->get_LinkMasterFields((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_LinkMasterFields(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LinkMasterFields"), DISPID(50));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_AutoActivate(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoActivate"), DISPID(101));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_AutoActivate(void)
{
  short pRet;
  this->get_AutoActivate((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_AutoActivate(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoActivate"), DISPID(101));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_DisplayType(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayType"), DISPID(272));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ObjectFrameDispT<T>::get_DisplayType(void)
{
  VARIANT_BOOL pRet;
  this->get_DisplayType((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_DisplayType(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayType"), DISPID(272));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_UpdateOptions(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("UpdateOptions"), DISPID(103));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_UpdateOptions(void)
{
  short pRet;
  this->get_UpdateOptions((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_UpdateOptions(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("UpdateOptions"), DISPID(103));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Verb(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Verb"), DISPID(102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ObjectFrameDispT<T>::get_Verb(void)
{
  long pRet;
  this->get_Verb((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Verb(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Verb"), DISPID(102));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OLEType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLEType"), DISPID(276));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_OLEType(void)
{
  unsigned_char pRet;
  this->get_OLEType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OLEType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLEType"), DISPID(276));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OLETypeAllowed(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLETypeAllowed"), DISPID(275));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_OLETypeAllowed(void)
{
  unsigned_char pRet;
  this->get_OLETypeAllowed((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OLETypeAllowed(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLETypeAllowed"), DISPID(275));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_SourceObject(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceObject"), DISPID(132));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_SourceObject(void)
{
  BSTR pRet;
  this->get_SourceObject((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_SourceObject(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceObject"), DISPID(132));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Class(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Class"), DISPID(274));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_Class(void)
{
  BSTR pRet;
  this->get_Class((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Class(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Class"), DISPID(274));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_SourceDoc(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceDoc"), DISPID(133));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_SourceDoc(void)
{
  BSTR pRet;
  this->get_SourceDoc((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_SourceDoc(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceDoc"), DISPID(133));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_SourceItem(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceItem"), DISPID(48));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_SourceItem(void)
{
  BSTR pRet;
  this->get_SourceItem((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_SourceItem(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceItem"), DISPID(48));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_ColumnCount(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnCount"), DISPID(70));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_ColumnCount(void)
{
  short pRet;
  this->get_ColumnCount((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_ColumnCount(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnCount"), DISPID(70));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_ColumnHeads(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHeads"), DISPID(131));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ObjectFrameDispT<T>::get_ColumnHeads(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHeads((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_ColumnHeads(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHeads"), DISPID(131));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ObjectFrameDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OleData(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OleData"), DISPID(171));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ObjectFrameDispT<T>::get_OleData(void)
{
  VARIANT pRet;
  this->get_OleData((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OleData(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OleData"), DISPID(171));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_UpdateMethod(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("UpdateMethod"), DISPID(142));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_UpdateMethod(void)
{
  short pRet;
  this->get_UpdateMethod((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_UpdateMethod(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("UpdateMethod"), DISPID(142));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ObjectFrameDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ObjectFrameDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ObjectFrameDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  this->get_BackStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ObjectFrameDispT<T>::get_BackColor(void)
{
  long pRet;
  this->get_BackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_BackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ObjectFrameDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ObjectFrameDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Data(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Data"), DISPID(242));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_Data(void)
{
  short pRet;
  this->get_Data((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Data(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Data"), DISPID(242));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ObjectFrameDispT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  this->get_ObjectPalette((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_LpOleObject(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LpOleObject"), DISPID(172));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ObjectFrameDispT<T>::get_LpOleObject(void)
{
  long pRet;
  this->get_LpOleObject((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_LpOleObject(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LpOleObject"), DISPID(172));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_ObjectVerbsCount(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectVerbsCount"), DISPID(173));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ObjectFrameDispT<T>::get_ObjectVerbsCount(void)
{
  long pRet;
  this->get_ObjectVerbsCount((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_ObjectVerbsCount(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectVerbsCount"), DISPID(173));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Action(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Action"), DISPID(273));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ObjectFrameDispT<T>::get_Action(void)
{
  short pRet;
  this->get_Action((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Action(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Action"), DISPID(273));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Scaling(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Scaling"), DISPID(88));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ObjectFrameDispT<T>::get_Scaling(void)
{
  unsigned_char pRet;
  this->get_Scaling((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Scaling(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Scaling"), DISPID(88));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ObjectFrameDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ObjectFrameDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OnUpdated(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnUpdated"), DISPID(118));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_OnUpdated(void)
{
  BSTR pRet;
  this->get_OnUpdated((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OnUpdated(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnUpdated"), DISPID(118));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ObjectFrameDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ObjectFrameDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accChild(VARIANT varChild/*[in]*/, LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ObjectFrameDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                         BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ObjectFrameDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ObjectFrameDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                       long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ObjectFrameDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                              BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ObjectFrameDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ObjectFrameDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                           BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ObjectFrameDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                  long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                  VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                  VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ObjectFrameDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                 VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ObjectFrameDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ObjectFrameDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_PageBreak
// Interface: _PageBreak
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_PageBreakT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_PageBreakT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_PageBreakT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                              VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_PageBreakT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageBreakT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageBreakT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_PageBreakT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_PageBreakT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_PageBreakT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageBreakT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_PageBreakT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PageBreakT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PageBreakT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PageBreakT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_PageBreakT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_PageBreakT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_PageBreakT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _PageBreak
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E960-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_PageBreakDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_PageBreakDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_PageBreakDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                              VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PageBreakDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageBreakDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageBreakDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_PageBreakDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PageBreakDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PageBreakDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageBreakDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PageBreakDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PageBreakDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PageBreakDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PageBreakDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageBreakDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PageBreakDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_PageBreakDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_ToggleButton
// Interface: _ToggleButton
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_ToggleButtonT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ToggleButtonT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::Undo(void)
{
  return (*this)->Undo();
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ToggleButtonT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_ToggleButtonT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_ToggleButtonT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                 VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ToggleButtonT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ToggleButtonT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ToggleButtonT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_ControlSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Caption(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_Caption(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Caption((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  return (*this)->set_Caption(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Picture(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_Picture(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Picture((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  return (*this)->set_Picture(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ToggleButtonT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PictureType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureData(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ToggleButtonT<T>::get_PictureData(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PictureData((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PictureData(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OptionValue(long* pRet/*[out,retval]*/)
{
  return (*this)->get_OptionValue(pRet);
}

template <class T> long __fastcall
TCOM_ToggleButtonT<T>::get_OptionValue(void)
{
  long pRet;
  OLECHECK(this->get_OptionValue((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OptionValue(long pRet/*[in]*/)
{
  return (*this)->set_OptionValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultValue(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_DefaultValue(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  return (*this)->set_DefaultValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationRule(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_ValidationRule(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationRule(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_ValidationText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ToggleButtonT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TripleState(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_TripleState(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TripleState((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_TripleState(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TripleState(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_HideDuplicates(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_HideDuplicates(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ForeColor(pRet);
}

template <class T> long __fastcall
TCOM_ToggleButtonT<T>::get_ForeColor(void)
{
  long pRet;
  OLECHECK(this->get_ForeColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ForeColor(long pRet/*[in]*/)
{
  return (*this)->set_ForeColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FontName(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_FontName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FontName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  return (*this)->set_FontName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontSize(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_FontSize(void)
{
  short pRet;
  OLECHECK(this->get_FontSize((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_FontSize(short pRet/*[in]*/)
{
  return (*this)->set_FontSize(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontWeight(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_FontWeight(void)
{
  short pRet;
  OLECHECK(this->get_FontWeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_FontWeight(short pRet/*[in]*/)
{
  return (*this)->set_FontWeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontItalic(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontItalic(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontUnderline(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontUnderline(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TextFontCharSet(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ToggleButtonT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TextFontCharSet(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontBold(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_FontBold(void)
{
  short pRet;
  OLECHECK(this->get_FontBold((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_FontBold(short pRet/*[in]*/)
{
  return (*this)->set_FontBold(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_ToggleButtonT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnWidth(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_ColumnWidth(void)
{
  short pRet;
  OLECHECK(this->get_ColumnWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  return (*this)->set_ColumnWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnOrder(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_ColumnOrder(void)
{
  short pRet;
  OLECHECK(this->get_ColumnOrder((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  return (*this)->set_ColumnOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHidden(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHidden(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoLabel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoLabel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AddColon(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AddColon(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelX(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_LabelX(void)
{
  short pRet;
  OLECHECK(this->get_LabelX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_LabelX(short pRet/*[in]*/)
{
  return (*this)->set_LabelX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelY(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_LabelY(void)
{
  short pRet;
  OLECHECK(this->get_LabelY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_LabelY(short pRet/*[in]*/)
{
  return (*this)->set_LabelY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ToggleButtonT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_LabelAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_ToggleButtonT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectPalette(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ToggleButtonT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  return (*this)->set_ObjectPalette(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ToggleButtonT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_BeforeUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_AfterUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnKeyDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnKeyUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyPress(pRet);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_OnKeyPress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyPress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ReadingOrder(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ToggleButtonT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ReadingOrder((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ReadingOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_ToggleButtonT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_ToggleButtonT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _ToggleButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E962-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_ToggleButtonDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ToggleButtonDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::Undo()
{
  _TDispID _dispid(*this, OLETEXT("Undo"), DISPID(2144));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ToggleButtonDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_ToggleButtonDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_ToggleButtonDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                 VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ToggleButtonDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ToggleButtonDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ToggleButtonDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_ControlSource(void)
{
  BSTR pRet;
  this->get_ControlSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_Caption(void)
{
  BSTR pRet;
  this->get_Caption((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_Picture(void)
{
  BSTR pRet;
  this->get_Picture((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ToggleButtonDispT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  this->get_PictureType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ToggleButtonDispT<T>::get_PictureData(void)
{
  VARIANT pRet;
  this->get_PictureData((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OptionValue(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OptionValue"), DISPID(58));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ToggleButtonDispT<T>::get_OptionValue(void)
{
  long pRet;
  this->get_OptionValue((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OptionValue(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OptionValue"), DISPID(58));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_DefaultValue(void)
{
  BSTR pRet;
  this->get_DefaultValue((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_ValidationRule(void)
{
  BSTR pRet;
  this->get_ValidationRule((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_ValidationText(void)
{
  BSTR pRet;
  this->get_ValidationText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ToggleButtonDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TripleState"), DISPID(294));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_TripleState(void)
{
  VARIANT_BOOL pRet;
  this->get_TripleState((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_TripleState(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TripleState"), DISPID(294));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  this->get_HideDuplicates((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ToggleButtonDispT<T>::get_ForeColor(void)
{
  long pRet;
  this->get_ForeColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ForeColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_FontName(void)
{
  BSTR pRet;
  this->get_FontName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_FontSize(void)
{
  short pRet;
  this->get_FontSize((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_FontSize(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_FontWeight(void)
{
  short pRet;
  this->get_FontWeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_FontWeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  this->get_FontItalic((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  this->get_FontUnderline((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ToggleButtonDispT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  this->get_TextFontCharSet((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_FontBold(void)
{
  short pRet;
  this->get_FontBold((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_FontBold(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ToggleButtonDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_ColumnWidth(void)
{
  short pRet;
  this->get_ColumnWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_ColumnOrder(void)
{
  short pRet;
  this->get_ColumnOrder((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHidden((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoLabel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  this->get_AddColon((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_LabelX(void)
{
  short pRet;
  this->get_LabelX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_LabelX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_LabelY(void)
{
  short pRet;
  this->get_LabelY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_LabelY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ToggleButtonDispT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  this->get_LabelAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ToggleButtonDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ToggleButtonDispT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  this->get_ObjectPalette((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ToggleButtonDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_BeforeUpdate(void)
{
  BSTR pRet;
  this->get_BeforeUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_AfterUpdate(void)
{
  BSTR pRet;
  this->get_AfterUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnKeyDown(void)
{
  BSTR pRet;
  this->get_OnKeyDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnKeyUp(void)
{
  BSTR pRet;
  this->get_OnKeyUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_OnKeyPress(void)
{
  BSTR pRet;
  this->get_OnKeyPress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_ReadingOrder(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ToggleButtonDispT<T>::get_ReadingOrder(void)
{
  unsigned_char pRet;
  this->get_ReadingOrder((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_ReadingOrder(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReadingOrder"), DISPID(367));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ToggleButtonDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ToggleButtonDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accChild(VARIANT varChild/*[in]*/, 
                                    LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ToggleButtonDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ToggleButtonDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ToggleButtonDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                        long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ToggleButtonDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                               BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ToggleButtonDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ToggleButtonDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                            BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ToggleButtonDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                   long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                   VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                   VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ToggleButtonDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                  VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ToggleButtonDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ToggleButtonDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_PaletteButton
// Interface: _PaletteButton
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_PaletteButtonT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_PaletteButtonT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_PaletteButtonT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_PaletteButtonT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_PaletteButtonT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                  VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_PaletteButtonT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_PaletteButtonT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_PaletteButtonT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OptionValue(long* pRet/*[out,retval]*/)
{
  return (*this)->get_OptionValue(pRet);
}

template <class T> long __fastcall
TCOM_PaletteButtonT<T>::get_OptionValue(void)
{
  long pRet;
  OLECHECK(this->get_OptionValue((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OptionValue(long pRet/*[in]*/)
{
  return (*this)->set_OptionValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_ControlSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultValue(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_DefaultValue(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_DefaultValue((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  return (*this)->set_DefaultValue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationRule(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_ValidationRule(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationRule((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationRule(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ValidationText(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_ValidationText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ValidationText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ValidationText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PaletteButtonT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_PaletteButtonT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PaletteButtonT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PaletteButtonT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TripleState(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PaletteButtonT<T>::get_TripleState(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TripleState((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_TripleState(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TripleState(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PaletteButtonT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_PaletteButtonT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_HideDuplicates(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PaletteButtonT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_HideDuplicates((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_HideDuplicates(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_PaletteButtonT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_PaletteButtonT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_PaletteButtonT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_PaletteButtonT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BackStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_PaletteButtonT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BackStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BackColor(pRet);
}

template <class T> long __fastcall
TCOM_PaletteButtonT<T>::get_BackColor(void)
{
  long pRet;
  OLECHECK(this->get_BackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_BackColor(long pRet/*[in]*/)
{
  return (*this)->set_BackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_PaletteButtonT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnWidth(pRet);
}

template <class T> short __fastcall
TCOM_PaletteButtonT<T>::get_ColumnWidth(void)
{
  short pRet;
  OLECHECK(this->get_ColumnWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  return (*this)->set_ColumnWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnOrder(pRet);
}

template <class T> short __fastcall
TCOM_PaletteButtonT<T>::get_ColumnOrder(void)
{
  short pRet;
  OLECHECK(this->get_ColumnOrder((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  return (*this)->set_ColumnOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ColumnHidden(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PaletteButtonT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ColumnHidden((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ColumnHidden(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoLabel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PaletteButtonT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoLabel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AddColon(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PaletteButtonT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AddColon(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelX(pRet);
}

template <class T> short __fastcall
TCOM_PaletteButtonT<T>::get_LabelX(void)
{
  short pRet;
  OLECHECK(this->get_LabelX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_LabelX(short pRet/*[in]*/)
{
  return (*this)->set_LabelX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelY(pRet);
}

template <class T> short __fastcall
TCOM_PaletteButtonT<T>::get_LabelY(void)
{
  short pRet;
  OLECHECK(this->get_LabelY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_LabelY(short pRet/*[in]*/)
{
  return (*this)->set_LabelY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_PaletteButtonT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_LabelAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_PaletteButtonT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PaletteButtonT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_PaletteButtonT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_BeforeUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_AfterUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnKeyDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnKeyUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyPress(pRet);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_OnKeyPress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyPress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_PaletteButtonT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_PaletteButtonT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _PaletteButton
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {9CD4A760-A6A9-11CE-A686-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_PaletteButtonDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_PaletteButtonDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PaletteButtonDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_PaletteButtonDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_PaletteButtonDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                  VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PaletteButtonDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_PaletteButtonDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_PaletteButtonDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OptionValue(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OptionValue"), DISPID(58));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_PaletteButtonDispT<T>::get_OptionValue(void)
{
  long pRet;
  this->get_OptionValue((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OptionValue(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OptionValue"), DISPID(58));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_ControlSource(void)
{
  BSTR pRet;
  this->get_ControlSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_DefaultValue(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_DefaultValue(void)
{
  BSTR pRet;
  this->get_DefaultValue((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_DefaultValue(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultValue"), DISPID(23));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_ValidationRule(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_ValidationRule(void)
{
  BSTR pRet;
  this->get_ValidationRule((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_ValidationRule(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationRule"), DISPID(145));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_ValidationText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_ValidationText(void)
{
  BSTR pRet;
  this->get_ValidationText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_ValidationText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ValidationText"), DISPID(61));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PaletteButtonDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_PaletteButtonDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PaletteButtonDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PaletteButtonDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_TripleState(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TripleState"), DISPID(294));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PaletteButtonDispT<T>::get_TripleState(void)
{
  VARIANT_BOOL pRet;
  this->get_TripleState((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_TripleState(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TripleState"), DISPID(294));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PaletteButtonDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PaletteButtonDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_HideDuplicates(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PaletteButtonDispT<T>::get_HideDuplicates(void)
{
  VARIANT_BOOL pRet;
  this->get_HideDuplicates((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_HideDuplicates(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HideDuplicates"), DISPID(69));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PaletteButtonDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PaletteButtonDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PaletteButtonDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PaletteButtonDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_PaletteButtonDispT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  this->get_BackStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_PaletteButtonDispT<T>::get_BackColor(void)
{
  long pRet;
  this->get_BackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_BackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_PaletteButtonDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_ColumnWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PaletteButtonDispT<T>::get_ColumnWidth(void)
{
  short pRet;
  this->get_ColumnWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_ColumnWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnWidth"), DISPID(166));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_ColumnOrder(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PaletteButtonDispT<T>::get_ColumnOrder(void)
{
  short pRet;
  this->get_ColumnOrder((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_ColumnOrder(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnOrder"), DISPID(165));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_ColumnHidden(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PaletteButtonDispT<T>::get_ColumnHidden(void)
{
  VARIANT_BOOL pRet;
  this->get_ColumnHidden((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_ColumnHidden(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ColumnHidden"), DISPID(167));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PaletteButtonDispT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoLabel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PaletteButtonDispT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  this->get_AddColon((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PaletteButtonDispT<T>::get_LabelX(void)
{
  short pRet;
  this->get_LabelX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_LabelX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PaletteButtonDispT<T>::get_LabelY(void)
{
  short pRet;
  this->get_LabelY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_LabelY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_PaletteButtonDispT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  this->get_LabelAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_PaletteButtonDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PaletteButtonDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_PaletteButtonDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_BeforeUpdate(void)
{
  BSTR pRet;
  this->get_BeforeUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_AfterUpdate(void)
{
  BSTR pRet;
  this->get_AfterUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnKeyDown(void)
{
  BSTR pRet;
  this->get_OnKeyDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnKeyUp(void)
{
  BSTR pRet;
  this->get_OnKeyUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_OnKeyPress(void)
{
  BSTR pRet;
  this->get_OnKeyPress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_PaletteButtonDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_PaletteButtonDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_SubForm
// Interface: _SubForm
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_SubFormT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_SubFormT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  return (*this)->get_Form(pRet);
}

template <class T> Access_2k::AccessFormPtr __fastcall
TCOM_SubFormT<T>::get_Form(void)
{
  Access_2k::AccessFormPtr pRet;
  OLECHECK(this->get_Form((Access_2k::AccessFormPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  return (*this)->get_Report(pRet);
}

template <class T> Access_2k::AccessReportPtr __fastcall
TCOM_SubFormT<T>::get_Report(void)
{
  Access_2k::AccessReportPtr pRet;
  OLECHECK(this->get_Report((Access_2k::AccessReportPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_SubFormT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_SubFormT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::Controls_Ptr __fastcall
TCOM_SubFormT<T>::get_Controls(void)
{
  Access_2k::Controls_Ptr pRet;
  OLECHECK(this->get_Controls((Access_2k::Controls_Ptr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_SubFormT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_SubFormT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SubFormT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_SourceObject(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_SourceObject(pRet);
}

template <class T> BSTR __fastcall
TCOM_SubFormT<T>::get_SourceObject(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_SourceObject((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_SourceObject(BSTR pRet/*[in]*/)
{
  return (*this)->set_SourceObject(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_LinkChildFields(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_LinkChildFields(pRet);
}

template <class T> BSTR __fastcall
TCOM_SubFormT<T>::get_LinkChildFields(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_LinkChildFields((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_LinkChildFields(BSTR pRet/*[in]*/)
{
  return (*this)->set_LinkChildFields(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_LinkMasterFields(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_LinkMasterFields(pRet);
}

template <class T> BSTR __fastcall
TCOM_SubFormT<T>::get_LinkMasterFields(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_LinkMasterFields((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_LinkMasterFields(BSTR pRet/*[in]*/)
{
  return (*this)->set_LinkMasterFields(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_SubFormT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SubFormT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SubFormT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SubFormT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SubFormT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SubFormT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_SubFormT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_CanGrow(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SubFormT<T>::get_CanGrow(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_CanGrow((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_CanGrow(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_CanGrow(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_CanShrink(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SubFormT<T>::get_CanShrink(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_CanShrink((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_CanShrink(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_CanShrink(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_SubFormT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_SubFormT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_SubFormT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_SubFormT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SubFormT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SubFormT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SubFormT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SubFormT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SubFormT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_SubFormT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoLabel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SubFormT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoLabel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoLabel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AddColon(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SubFormT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AddColon((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AddColon(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelX(pRet);
}

template <class T> short __fastcall
TCOM_SubFormT<T>::get_LabelX(void)
{
  short pRet;
  OLECHECK(this->get_LabelX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_LabelX(short pRet/*[in]*/)
{
  return (*this)->set_LabelX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelY(pRet);
}

template <class T> short __fastcall
TCOM_SubFormT<T>::get_LabelY(void)
{
  short pRet;
  OLECHECK(this->get_LabelY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_LabelY(short pRet/*[in]*/)
{
  return (*this)->set_LabelY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_LabelAlign(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SubFormT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_LabelAlign((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_LabelAlign(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_SubFormT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_SubFormT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_SubFormT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SubFormT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SubFormT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_SubFormT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_SubFormT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_SubFormT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_SubFormT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _SubForm
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E964-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_SubFormDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_SubFormDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Form"), DISPID(2089));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessForm**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessFormPtr __fastcall
_SubFormDispT<T>::get_Form(void)
{
  Access_2k::AccessFormPtr pRet;
  this->get_Form(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Report"), DISPID(2097));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessReport**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessReportPtr __fastcall
_SubFormDispT<T>::get_Report(void)
{
  Access_2k::AccessReportPtr pRet;
  this->get_Report(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_SubFormDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_SubFormDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Controls_**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::Controls_Ptr __fastcall
_SubFormDispT<T>::get_Controls(void)
{
  Access_2k::Controls_Ptr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SubFormDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_SourceObject(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceObject"), DISPID(132));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_SourceObject(void)
{
  BSTR pRet;
  this->get_SourceObject((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_SourceObject(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SourceObject"), DISPID(132));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_LinkChildFields(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LinkChildFields"), DISPID(49));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_LinkChildFields(void)
{
  BSTR pRet;
  this->get_LinkChildFields((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_LinkChildFields(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LinkChildFields"), DISPID(49));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_LinkMasterFields(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LinkMasterFields"), DISPID(50));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_LinkMasterFields(void)
{
  BSTR pRet;
  this->get_LinkMasterFields((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_LinkMasterFields(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LinkMasterFields"), DISPID(50));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SubFormDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SubFormDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SubFormDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SubFormDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SubFormDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_SubFormDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanGrow"), DISPID(14));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SubFormDispT<T>::get_CanGrow(void)
{
  VARIANT_BOOL pRet;
  this->get_CanGrow((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_CanGrow(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanGrow"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanShrink"), DISPID(16));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SubFormDispT<T>::get_CanShrink(void)
{
  VARIANT_BOOL pRet;
  this->get_CanShrink((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_CanShrink(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanShrink"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_SubFormDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_SubFormDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_SubFormDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_SubFormDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SubFormDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SubFormDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SubFormDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SubFormDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SubFormDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_SubFormDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_AutoLabel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SubFormDispT<T>::get_AutoLabel(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoLabel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_AutoLabel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoLabel"), DISPID(57));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_AddColon(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SubFormDispT<T>::get_AddColon(void)
{
  VARIANT_BOOL pRet;
  this->get_AddColon((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_AddColon(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddColon"), DISPID(3));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_LabelX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_SubFormDispT<T>::get_LabelX(void)
{
  short pRet;
  this->get_LabelX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_LabelX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelX"), DISPID(52));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_LabelY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_SubFormDispT<T>::get_LabelY(void)
{
  short pRet;
  this->get_LabelY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_LabelY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelY"), DISPID(53));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_LabelAlign(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SubFormDispT<T>::get_LabelAlign(void)
{
  unsigned_char pRet;
  this->get_LabelAlign((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_LabelAlign(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LabelAlign"), DISPID(51));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_SubFormDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SubFormDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SubFormDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_SubFormDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_SubFormDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accChild(VARIANT varChild/*[in]*/, LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_SubFormDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                     BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_SubFormDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_SubFormDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                   long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_SubFormDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_SubFormDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_SubFormDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                       BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SubFormDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, long* pcxWidth/*[out]*/, 
                              long* pcyHeight/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                              VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_SubFormDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                             VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_SubFormDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SubFormDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_SubReport
// Interface: _SubReport
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_SubReportT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_SubReportT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubReportT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_SubReportT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubReportT<T>::get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  return (*this)->get_Form(pRet);
}

template <class T> Access_2k::AccessFormPtr __fastcall
TCOM_SubReportT<T>::get_Form(void)
{
  Access_2k::AccessFormPtr pRet;
  OLECHECK(this->get_Form((Access_2k::AccessFormPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SubReportT<T>::get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  return (*this)->get_Report(pRet);
}

template <class T> Access_2k::AccessReportPtr __fastcall
TCOM_SubReportT<T>::get_Report(void)
{
  Access_2k::AccessReportPtr pRet;
  OLECHECK(this->get_Report((Access_2k::AccessReportPtr*)&pRet));
  return pRet;
}

// *********************************************************************//
// DispIntf:  _SubReport
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E966-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_SubReportDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_SubReportDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubReportDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_SubReportDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubReportDispT<T>::get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Form"), DISPID(2089));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessForm**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessFormPtr __fastcall
_SubReportDispT<T>::get_Form(void)
{
  Access_2k::AccessFormPtr pRet;
  this->get_Form(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SubReportDispT<T>::get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Report"), DISPID(2097));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessReport**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessReportPtr __fastcall
_SubReportDispT<T>::get_Report(void)
{
  Access_2k::AccessReportPtr pRet;
  this->get_Report(&pRet);
  return pRet;
}

// *********************************************************************//
// SmartIntf: TCOM_CustomControl
// Interface: _CustomControl
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_CustomControlT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_CustomControlT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_CustomControlT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Object(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Object(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_CustomControlT<T>::get_Object(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Object((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectVerbs(Index, pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_ObjectVerbs(long Index/*[in]*/)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ObjectVerbs(Index/*[in]*/, (BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_CustomControlT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::Goto(void)
{
  return (*this)->Goto();
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_CustomControlT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                  VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_CustomControlT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_CustomControlT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CustomControlT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_ControlSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_OLEClass(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OLEClass(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_OLEClass(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OLEClass((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_OLEClass(BSTR pRet/*[in]*/)
{
  return (*this)->set_OLEClass(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Verb(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Verb(pRet);
}

template <class T> long __fastcall
TCOM_CustomControlT<T>::get_Verb(void)
{
  long pRet;
  OLECHECK(this->get_Verb((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Verb(long pRet/*[in]*/)
{
  return (*this)->set_Verb(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Class(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Class(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_Class(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Class((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Class(BSTR pRet/*[in]*/)
{
  return (*this)->set_Class(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CustomControlT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CustomControlT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CustomControlT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Locked(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CustomControlT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Locked((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Locked(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_OleData(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OleData(pRet);
}

template <class T> VARIANT __fastcall
TCOM_CustomControlT<T>::get_OleData(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OleData((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_OleData(VARIANT pRet/*[in]*/)
{
  return (*this)->set_OleData(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CustomControlT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_CustomControlT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_CustomControlT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_CustomControlT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_CustomControlT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_CustomControlT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CustomControlT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CustomControlT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_OldBorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CustomControlT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_OldBorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_OldBorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderColor(pRet);
}

template <class T> long __fastcall
TCOM_CustomControlT<T>::get_BorderColor(void)
{
  long pRet;
  OLECHECK(this->get_BorderColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_BorderColor(long pRet/*[in]*/)
{
  return (*this)->set_BorderColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderWidth(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CustomControlT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderWidth((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderLineStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_CustomControlT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderLineStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderLineStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlTipText(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_ControlTipText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlTipText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlTipText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_CustomControlT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_CustomControlT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectPalette(pRet);
}

template <class T> VARIANT __fastcall
TCOM_CustomControlT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  OLECHECK(this->get_ObjectPalette((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  return (*this)->set_ObjectPalette(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_LpOleObject(long* pRet/*[out,retval]*/)
{
  return (*this)->get_LpOleObject(pRet);
}

template <class T> long __fastcall
TCOM_CustomControlT<T>::get_LpOleObject(void)
{
  long pRet;
  OLECHECK(this->get_LpOleObject((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_LpOleObject(long pRet/*[in]*/)
{
  return (*this)->set_LpOleObject(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_ObjectVerbsCount(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ObjectVerbsCount(pRet);
}

template <class T> long __fastcall
TCOM_CustomControlT<T>::get_ObjectVerbsCount(void)
{
  long pRet;
  OLECHECK(this->get_ObjectVerbsCount((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_ObjectVerbsCount(long pRet/*[in]*/)
{
  return (*this)->set_ObjectVerbsCount(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CustomControlT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CustomControlT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_OnUpdated(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnUpdated(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_OnUpdated(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnUpdated((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_OnUpdated(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnUpdated(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnEnter(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_OnEnter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnEnter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnEnter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnExit(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_OnExit(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnExit((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnExit(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Default(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Default(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CustomControlT<T>::get_Default(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Default((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Default(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Default(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Cancel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Cancel(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CustomControlT<T>::get_Cancel(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Cancel((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Cancel(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Cancel(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Custom(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Custom(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_Custom(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Custom((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Custom(BSTR pRet/*[in]*/)
{
  return (*this)->set_Custom(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_About(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_About(pRet);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_About(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_About((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_About(BSTR pRet/*[in]*/)
{
  return (*this)->set_About(pRet);
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_CustomControlT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_CustomControlT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _CustomControl
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3B06E968-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_CustomControlDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_CustomControlDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CustomControlDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Object(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Object"), DISPID(2104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_CustomControlDispT<T>::get_Object(void)
{
  LPDISPATCH pRet;
  this->get_Object((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_ObjectVerbs(long Index/*[in]*/, BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectVerbs"), DISPID(2105));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_ObjectVerbs(long Index/*[in]*/)
{
  BSTR pRet;
  this->get_ObjectVerbs(Index, (BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_CustomControlDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::Goto()
{
  _TDispID _dispid(*this, OLETEXT("Goto"), DISPID(2023));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_CustomControlDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                                  VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CustomControlDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CustomControlDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CustomControlDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_ControlSource(void)
{
  BSTR pRet;
  this->get_ControlSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_OLEClass(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLEClass"), DISPID(76));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_OLEClass(void)
{
  BSTR pRet;
  this->get_OLEClass((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_OLEClass(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OLEClass"), DISPID(76));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Verb(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Verb"), DISPID(102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CustomControlDispT<T>::get_Verb(void)
{
  long pRet;
  this->get_Verb((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Verb(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Verb"), DISPID(102));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Class(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Class"), DISPID(274));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_Class(void)
{
  BSTR pRet;
  this->get_Class((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Class(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Class"), DISPID(274));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CustomControlDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CustomControlDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CustomControlDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Locked(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CustomControlDispT<T>::get_Locked(void)
{
  VARIANT_BOOL pRet;
  this->get_Locked((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Locked(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Locked"), DISPID(56));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_OleData(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OleData"), DISPID(171));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CustomControlDispT<T>::get_OleData(void)
{
  VARIANT pRet;
  this->get_OleData((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_OleData(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OleData"), DISPID(171));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CustomControlDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CustomControlDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CustomControlDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CustomControlDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CustomControlDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CustomControlDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CustomControlDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CustomControlDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_OldBorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CustomControlDispT<T>::get_OldBorderStyle(void)
{
  unsigned_char pRet;
  this->get_OldBorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_OldBorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldBorderStyle"), DISPID(329));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_BorderColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CustomControlDispT<T>::get_BorderColor(void)
{
  long pRet;
  this->get_BorderColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_BorderColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderColor"), DISPID(8));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_BorderWidth(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CustomControlDispT<T>::get_BorderWidth(void)
{
  unsigned_char pRet;
  this->get_BorderWidth((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_BorderWidth(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderWidth"), DISPID(10));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_BorderLineStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_CustomControlDispT<T>::get_BorderLineStyle(void)
{
  unsigned_char pRet;
  this->get_BorderLineStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_BorderLineStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderLineStyle"), DISPID(11));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_ControlTipText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_ControlTipText(void)
{
  BSTR pRet;
  this->get_ControlTipText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_ControlTipText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlTipText"), DISPID(317));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CustomControlDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_CustomControlDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_ObjectPalette(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CustomControlDispT<T>::get_ObjectPalette(void)
{
  VARIANT pRet;
  this->get_ObjectPalette((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_ObjectPalette(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectPalette"), DISPID(99));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_LpOleObject(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LpOleObject"), DISPID(172));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CustomControlDispT<T>::get_LpOleObject(void)
{
  long pRet;
  this->get_LpOleObject((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_LpOleObject(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LpOleObject"), DISPID(172));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_ObjectVerbsCount(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectVerbsCount"), DISPID(173));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CustomControlDispT<T>::get_ObjectVerbsCount(void)
{
  long pRet;
  this->get_ObjectVerbsCount((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_ObjectVerbsCount(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjectVerbsCount"), DISPID(173));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CustomControlDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CustomControlDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_OnUpdated(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnUpdated"), DISPID(118));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_OnUpdated(void)
{
  BSTR pRet;
  this->get_OnUpdated((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_OnUpdated(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnUpdated"), DISPID(118));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_OnEnter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_OnEnter(void)
{
  BSTR pRet;
  this->get_OnEnter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_OnEnter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnEnter"), DISPID(222));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_OnExit(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_OnExit(void)
{
  BSTR pRet;
  this->get_OnExit((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_OnExit(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnExit"), DISPID(223));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Default(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Default"), DISPID(220));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CustomControlDispT<T>::get_Default(void)
{
  VARIANT_BOOL pRet;
  this->get_Default((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Default(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Default"), DISPID(220));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Cancel(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Cancel"), DISPID(221));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CustomControlDispT<T>::get_Cancel(void)
{
  VARIANT_BOOL pRet;
  this->get_Cancel((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Cancel(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Cancel"), DISPID(221));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Custom(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Custom"), DISPID(296));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_Custom(void)
{
  BSTR pRet;
  this->get_Custom((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Custom(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Custom"), DISPID(296));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_About(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("About"), DISPID(297));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_About(void)
{
  BSTR pRet;
  this->get_About((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_About(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("About"), DISPID(297));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_CustomControlDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CustomControlDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accChild(VARIANT varChild/*[in]*/, 
                                     LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_CustomControlDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                           BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CustomControlDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, 
                                     VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CustomControlDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                         long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_CustomControlDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                                BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CustomControlDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CustomControlDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                             BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CustomControlDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                    long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                    VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                    VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CustomControlDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                   VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_CustomControlDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CustomControlDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_TabControl
// Interface: _TabControl
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_TabControlT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_TabControlT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OldValue(pRet);
}

template <class T> VARIANT __fastcall
TCOM_TabControlT<T>::get_OldValue(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OldValue((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_TabControlT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::SizeToFit(void)
{
  return (*this)->SizeToFit();
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Pages(Access_2k::Pages** pRet/*[out,retval]*/)
{
  return (*this)->get_Pages(pRet);
}

template <class T> Access_2k::PagesPtr __fastcall
TCOM_TabControlT<T>::get_Pages(void)
{
  Access_2k::PagesPtr pRet;
  OLECHECK(this->get_Pages((Access_2k::PagesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                               VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_TabControlT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Value(pRet);
}

template <class T> VARIANT __fastcall
TCOM_TabControlT<T>::get_Value(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Value((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Value(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TabControlT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ControlType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ControlType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_StatusBarText(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_StatusBarText(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_StatusBarText((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  return (*this)->set_StatusBarText(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TabControlT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TabControlT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Enabled(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TabControlT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Enabled((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Enabled(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_TabStop(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TabControlT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_TabStop((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_TabStop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabIndex(pRet);
}

template <class T> short __fastcall
TCOM_TabControlT<T>::get_TabIndex(void)
{
  short pRet;
  OLECHECK(this->get_TabIndex((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_TabIndex(short pRet/*[in]*/)
{
  return (*this)->set_TabIndex(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> short __fastcall
TCOM_TabControlT<T>::get_Left(void)
{
  short pRet;
  OLECHECK(this->get_Left((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_Left(short pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> short __fastcall
TCOM_TabControlT<T>::get_Top(void)
{
  short pRet;
  OLECHECK(this->get_Top((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_Top(short pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_TabControlT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_TabControlT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BackStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TabControlT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BackStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BackStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_MultiRow(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_MultiRow(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TabControlT<T>::get_MultiRow(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_MultiRow((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_MultiRow(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_MultiRow(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Style(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_Style(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TabControlT<T>::get_Style(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_Style((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_Style(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_Style(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_TabFixedHeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabFixedHeight(pRet);
}

template <class T> short __fastcall
TCOM_TabControlT<T>::get_TabFixedHeight(void)
{
  short pRet;
  OLECHECK(this->get_TabFixedHeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_TabFixedHeight(short pRet/*[in]*/)
{
  return (*this)->set_TabFixedHeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_TabFixedWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_TabFixedWidth(pRet);
}

template <class T> short __fastcall
TCOM_TabControlT<T>::get_TabFixedWidth(void)
{
  short pRet;
  OLECHECK(this->get_TabFixedWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_TabFixedWidth(short pRet/*[in]*/)
{
  return (*this)->set_TabFixedWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FontName(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_FontName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FontName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  return (*this)->set_FontName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontSize(pRet);
}

template <class T> short __fastcall
TCOM_TabControlT<T>::get_FontSize(void)
{
  short pRet;
  OLECHECK(this->get_FontSize((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_FontSize(short pRet/*[in]*/)
{
  return (*this)->set_FontSize(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontWeight(pRet);
}

template <class T> short __fastcall
TCOM_TabControlT<T>::get_FontWeight(void)
{
  short pRet;
  OLECHECK(this->get_FontWeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_FontWeight(short pRet/*[in]*/)
{
  return (*this)->set_FontWeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontItalic(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TabControlT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontItalic((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontItalic(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FontUnderline(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TabControlT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FontUnderline((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FontUnderline(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TextFontCharSet(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_TabControlT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TextFontCharSet((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TextFontCharSet(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontBold(pRet);
}

template <class T> short __fastcall
TCOM_TabControlT<T>::get_FontBold(void)
{
  short pRet;
  OLECHECK(this->get_FontBold((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_FontBold(short pRet/*[in]*/)
{
  return (*this)->set_FontBold(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_TabControlT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Section(pRet);
}

template <class T> short __fastcall
TCOM_TabControlT<T>::get_Section(void)
{
  short pRet;
  OLECHECK(this->get_Section((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_Section(short pRet/*[in]*/)
{
  return (*this)->set_Section(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlName(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_ControlName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsVisible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TabControlT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsVisible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_IsVisible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_TabControlT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_OnChange(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnChange(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_OnChange(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnChange((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_OnChange(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnChange(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_OnKeyDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_OnKeyUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyPress(pRet);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_OnKeyPress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyPress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  return (*this)->_NewEnum(pRet);
}

template <class T> LPUNKNOWN __fastcall
TCOM_TabControlT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_TabControlT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_TabControlT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _TabControl
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {3B06E971-E47C-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_TabControlDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_TabControlDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_OldValue(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OldValue"), DISPID(2102));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TabControlDispT<T>::get_OldValue(void)
{
  VARIANT pRet;
  this->get_OldValue((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_TabControlDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::SizeToFit()
{
  _TDispID _dispid(*this, OLETEXT("SizeToFit"), DISPID(2151));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Pages(Access_2k::Pages** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Pages"), DISPID(2180));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Pages**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PagesPtr __fastcall
_TabControlDispT<T>::get_Pages(void)
{
  Access_2k::PagesPtr pRet;
  this->get_Pages(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                               VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TabControlDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TabControlDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_ControlType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TabControlDispT<T>::get_ControlType(void)
{
  unsigned_char pRet;
  this->get_ControlType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_ControlType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlType"), DISPID(21));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_StatusBarText(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_StatusBarText(void)
{
  BSTR pRet;
  this->get_StatusBarText((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_StatusBarText(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("StatusBarText"), DISPID(135));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TabControlDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TabControlDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Enabled(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TabControlDispT<T>::get_Enabled(void)
{
  VARIANT_BOOL pRet;
  this->get_Enabled((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_Enabled(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Enabled"), DISPID(25));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_TabStop(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TabControlDispT<T>::get_TabStop(void)
{
  VARIANT_BOOL pRet;
  this->get_TabStop((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_TabStop(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabStop"), DISPID(262));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_TabIndex(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TabControlDispT<T>::get_TabIndex(void)
{
  short pRet;
  this->get_TabIndex((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_TabIndex(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabIndex"), DISPID(261));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Left(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TabControlDispT<T>::get_Left(void)
{
  short pRet;
  this->get_Left((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_Left(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Top(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TabControlDispT<T>::get_Top(void)
{
  short pRet;
  this->get_Top((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_Top(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TabControlDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TabControlDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_BackStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TabControlDispT<T>::get_BackStyle(void)
{
  unsigned_char pRet;
  this->get_BackStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_BackStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackStyle"), DISPID(29));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_MultiRow(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MultiRow"), DISPID(348));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TabControlDispT<T>::get_MultiRow(void)
{
  VARIANT_BOOL pRet;
  this->get_MultiRow((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_MultiRow(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MultiRow"), DISPID(348));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Style(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Style"), DISPID(349));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TabControlDispT<T>::get_Style(void)
{
  unsigned_char pRet;
  this->get_Style((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_Style(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Style"), DISPID(349));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_TabFixedHeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabFixedHeight"), DISPID(350));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TabControlDispT<T>::get_TabFixedHeight(void)
{
  short pRet;
  this->get_TabFixedHeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_TabFixedHeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabFixedHeight"), DISPID(350));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_TabFixedWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabFixedWidth"), DISPID(351));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TabControlDispT<T>::get_TabFixedWidth(void)
{
  short pRet;
  this->get_TabFixedWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_TabFixedWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabFixedWidth"), DISPID(351));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_FontName(void)
{
  BSTR pRet;
  this->get_FontName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TabControlDispT<T>::get_FontSize(void)
{
  short pRet;
  this->get_FontSize((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_FontSize(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_FontWeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TabControlDispT<T>::get_FontWeight(void)
{
  short pRet;
  this->get_FontWeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_FontWeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontWeight"), DISPID(37));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_FontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TabControlDispT<T>::get_FontItalic(void)
{
  VARIANT_BOOL pRet;
  this->get_FontItalic((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_FontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_FontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TabControlDispT<T>::get_FontUnderline(void)
{
  VARIANT_BOOL pRet;
  this->get_FontUnderline((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_FontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_TextFontCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_TabControlDispT<T>::get_TextFontCharSet(void)
{
  unsigned_char pRet;
  this->get_TextFontCharSet((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_TextFontCharSet(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextFontCharSet"), DISPID(193));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TabControlDispT<T>::get_FontBold(void)
{
  short pRet;
  this->get_FontBold((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_FontBold(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_TabControlDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Section(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_TabControlDispT<T>::get_Section(void)
{
  short pRet;
  this->get_Section((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_Section(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(237));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_ControlName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_ControlName(void)
{
  BSTR pRet;
  this->get_ControlName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_ControlName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlName"), DISPID(265));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_IsVisible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TabControlDispT<T>::get_IsVisible(void)
{
  VARIANT_BOOL pRet;
  this->get_IsVisible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_IsVisible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsVisible"), DISPID(140));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_TabControlDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_OnChange(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnChange"), DISPID(114));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_OnChange(void)
{
  BSTR pRet;
  this->get_OnChange((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_OnChange(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnChange"), DISPID(114));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_OnKeyDown(void)
{
  BSTR pRet;
  this->get_OnKeyDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_OnKeyUp(void)
{
  BSTR pRet;
  this->get_OnKeyUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_OnKeyPress(void)
{
  BSTR pRet;
  this->get_OnKeyPress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
_TabControlDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_TabControlDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_TabControlDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accChild(VARIANT varChild/*[in]*/, LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_TabControlDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, 
                                        BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TabControlDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TabControlDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                      long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_TabControlDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                             BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TabControlDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TabControlDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                          BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_TabControlDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, 
                                 long* pcxWidth/*[out]*/, long* pcyHeight/*[out]*/, 
                                 VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                                 VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TabControlDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, 
                                VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_TabControlDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_TabControlDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_Section
// Interface: _Section
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_SectionT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_SectionT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_SectionT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::ChildrenPtr __fastcall
TCOM_SectionT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  OLECHECK(this->get_Controls((Access_2k::ChildrenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_EventProcPrefix(pRet);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get_EventProcPrefix(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_EventProcPrefix((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  return (*this)->set_EventProcPrefix(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_ForceNewPage(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ForceNewPage(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SectionT<T>::get_ForceNewPage(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ForceNewPage((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_ForceNewPage(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ForceNewPage(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_NewRowOrCol(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_NewRowOrCol(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SectionT<T>::get_NewRowOrCol(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_NewRowOrCol((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_NewRowOrCol(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_NewRowOrCol(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_KeepTogether(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_KeepTogether(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SectionT<T>::get_KeepTogether(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_KeepTogether((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_KeepTogether(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_KeepTogether(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SectionT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DisplayWhen(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SectionT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DisplayWhen((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DisplayWhen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_CanGrow(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SectionT<T>::get_CanGrow(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_CanGrow((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_CanGrow(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_CanGrow(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_CanShrink(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SectionT<T>::get_CanShrink(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_CanShrink((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_CanShrink(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_CanShrink(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_RepeatSection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_RepeatSection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SectionT<T>::get_RepeatSection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_RepeatSection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_RepeatSection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_RepeatSection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> short __fastcall
TCOM_SectionT<T>::get_Height(void)
{
  short pRet;
  OLECHECK(this->get_Height((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_Height(short pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_BackColor(pRet);
}

template <class T> long __fastcall
TCOM_SectionT<T>::get_BackColor(void)
{
  long pRet;
  OLECHECK(this->get_BackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_BackColor(long pRet/*[in]*/)
{
  return (*this)->set_BackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_SpecialEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_SectionT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_SpecialEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_SpecialEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_OnFormat(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnFormat(pRet);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get_OnFormat(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnFormat((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_OnFormat(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnFormat(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_OnPrint(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnPrint(pRet);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get_OnPrint(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnPrint((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_OnPrint(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnPrint(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_OnRetreat(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnRetreat(pRet);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get_OnRetreat(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnRetreat((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_OnRetreat(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnRetreat(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_HasContinued(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_HasContinued(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SectionT<T>::get_HasContinued(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_HasContinued((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_HasContinued(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_HasContinued(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_WillContinue(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_WillContinue(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SectionT<T>::get_WillContinue(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_WillContinue((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_WillContinue(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_WillContinue(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_InSelection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_SectionT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_InSelection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_InSelection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_SectionT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_SectionT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _Section
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDCFC-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_SectionDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_SectionDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_SectionDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_SectionDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_Controls(Access_2k::Children** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(2190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Children**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ChildrenPtr __fastcall
_SectionDispT<T>::get_Controls(void)
{
  Access_2k::ChildrenPtr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_EventProcPrefix(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get_EventProcPrefix(void)
{
  BSTR pRet;
  this->get_EventProcPrefix((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_EventProcPrefix(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("EventProcPrefix"), DISPID(22));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_ForceNewPage(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForceNewPage"), DISPID(151));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SectionDispT<T>::get_ForceNewPage(void)
{
  unsigned_char pRet;
  this->get_ForceNewPage((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_ForceNewPage(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForceNewPage"), DISPID(151));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_NewRowOrCol(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("NewRowOrCol"), DISPID(231));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SectionDispT<T>::get_NewRowOrCol(void)
{
  unsigned_char pRet;
  this->get_NewRowOrCol((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_NewRowOrCol(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("NewRowOrCol"), DISPID(231));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_KeepTogether(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("KeepTogether"), DISPID(75));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SectionDispT<T>::get_KeepTogether(void)
{
  VARIANT_BOOL pRet;
  this->get_KeepTogether((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_KeepTogether(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("KeepTogether"), DISPID(75));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SectionDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_DisplayWhen(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SectionDispT<T>::get_DisplayWhen(void)
{
  unsigned_char pRet;
  this->get_DisplayWhen((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_DisplayWhen(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DisplayWhen"), DISPID(149));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_CanGrow(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanGrow"), DISPID(14));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SectionDispT<T>::get_CanGrow(void)
{
  VARIANT_BOOL pRet;
  this->get_CanGrow((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_CanGrow(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanGrow"), DISPID(14));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_CanShrink(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanShrink"), DISPID(16));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SectionDispT<T>::get_CanShrink(void)
{
  VARIANT_BOOL pRet;
  this->get_CanShrink((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_CanShrink(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CanShrink"), DISPID(16));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_RepeatSection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RepeatSection"), DISPID(15));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SectionDispT<T>::get_RepeatSection(void)
{
  VARIANT_BOOL pRet;
  this->get_RepeatSection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_RepeatSection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RepeatSection"), DISPID(15));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_Height(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_SectionDispT<T>::get_Height(void)
{
  short pRet;
  this->get_Height((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_Height(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_BackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_SectionDispT<T>::get_BackColor(void)
{
  long pRet;
  this->get_BackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_BackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BackColor"), DISPID(28));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_SpecialEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_SectionDispT<T>::get_SpecialEffect(void)
{
  unsigned_char pRet;
  this->get_SpecialEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_SpecialEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SpecialEffect"), DISPID(4));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_OnFormat(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnFormat"), DISPID(80));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get_OnFormat(void)
{
  BSTR pRet;
  this->get_OnFormat((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_OnFormat(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnFormat"), DISPID(80));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_OnPrint(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnPrint"), DISPID(82));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get_OnPrint(void)
{
  BSTR pRet;
  this->get_OnPrint((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_OnPrint(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnPrint"), DISPID(82));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_OnRetreat(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnRetreat"), DISPID(84));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get_OnRetreat(void)
{
  BSTR pRet;
  this->get_OnRetreat((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_OnRetreat(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnRetreat"), DISPID(84));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_HasContinued(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HasContinued"), DISPID(200));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SectionDispT<T>::get_HasContinued(void)
{
  VARIANT_BOOL pRet;
  this->get_HasContinued((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_HasContinued(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HasContinued"), DISPID(200));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_WillContinue(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("WillContinue"), DISPID(201));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SectionDispT<T>::get_WillContinue(void)
{
  VARIANT_BOOL pRet;
  this->get_WillContinue((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_WillContinue(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("WillContinue"), DISPID(201));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_InSelection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_SectionDispT<T>::get_InSelection(void)
{
  VARIANT_BOOL pRet;
  this->get_InSelection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_InSelection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InSelection"), DISPID(280));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_SectionDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_SectionDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_GroupLevel
// Interface: _GroupLevel
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_GroupLevelT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_GroupLevelT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_GroupLevelT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_GroupLevelT<T>::get_ControlSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ControlSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_ControlSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::get_SortOrder(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_SortOrder(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_GroupLevelT<T>::get_SortOrder(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_SortOrder((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::set_SortOrder(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_SortOrder(pRet);
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::get_GroupHeader(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_GroupHeader(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_GroupLevelT<T>::get_GroupHeader(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_GroupHeader((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::set_GroupHeader(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_GroupHeader(pRet);
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::get_GroupFooter(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_GroupFooter(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_GroupLevelT<T>::get_GroupFooter(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_GroupFooter((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::set_GroupFooter(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_GroupFooter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::get_GroupOn(short* pRet/*[out,retval]*/)
{
  return (*this)->get_GroupOn(pRet);
}

template <class T> short __fastcall
TCOM_GroupLevelT<T>::get_GroupOn(void)
{
  short pRet;
  OLECHECK(this->get_GroupOn((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::set_GroupOn(short pRet/*[in]*/)
{
  return (*this)->set_GroupOn(pRet);
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::get_GroupInterval(long* pRet/*[out,retval]*/)
{
  return (*this)->get_GroupInterval(pRet);
}

template <class T> long __fastcall
TCOM_GroupLevelT<T>::get_GroupInterval(void)
{
  long pRet;
  OLECHECK(this->get_GroupInterval((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::set_GroupInterval(long pRet/*[in]*/)
{
  return (*this)->set_GroupInterval(pRet);
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::get_KeepTogether(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_KeepTogether(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_GroupLevelT<T>::get_KeepTogether(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_KeepTogether((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_GroupLevelT<T>::set_KeepTogether(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_KeepTogether(pRet);
}

// *********************************************************************//
// DispIntf:  _GroupLevel
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDD27-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_GroupLevelDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_GroupLevelDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_GroupLevelDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::get_ControlSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_GroupLevelDispT<T>::get_ControlSource(void)
{
  BSTR pRet;
  this->get_ControlSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::set_ControlSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlSource"), DISPID(27));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::get_SortOrder(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SortOrder"), DISPID(174));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_GroupLevelDispT<T>::get_SortOrder(void)
{
  VARIANT_BOOL pRet;
  this->get_SortOrder((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::set_SortOrder(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SortOrder"), DISPID(174));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::get_GroupHeader(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GroupHeader"), DISPID(175));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_GroupLevelDispT<T>::get_GroupHeader(void)
{
  VARIANT_BOOL pRet;
  this->get_GroupHeader((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::set_GroupHeader(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("GroupHeader"), DISPID(175));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::get_GroupFooter(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GroupFooter"), DISPID(176));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_GroupLevelDispT<T>::get_GroupFooter(void)
{
  VARIANT_BOOL pRet;
  this->get_GroupFooter((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::set_GroupFooter(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("GroupFooter"), DISPID(176));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::get_GroupOn(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GroupOn"), DISPID(177));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_GroupLevelDispT<T>::get_GroupOn(void)
{
  short pRet;
  this->get_GroupOn((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::set_GroupOn(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("GroupOn"), DISPID(177));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::get_GroupInterval(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GroupInterval"), DISPID(178));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_GroupLevelDispT<T>::get_GroupInterval(void)
{
  long pRet;
  this->get_GroupInterval((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::set_GroupInterval(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("GroupInterval"), DISPID(178));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::get_KeepTogether(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("KeepTogether"), DISPID(75));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_GroupLevelDispT<T>::get_KeepTogether(void)
{
  unsigned_char pRet;
  this->get_KeepTogether((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_GroupLevelDispT<T>::set_KeepTogether(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("KeepTogether"), DISPID(75));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// DispIntf:  Module
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {331FDCFE-CF31-11CD-8701-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
ModuleDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
ModuleDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
ModuleDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::InsertText(BSTR Text/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InsertText"), DISPID(2093));
  TAutoArgs<1> _args;
  _args[1] = Text /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
ModuleDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::AddFromString(BSTR String/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddFromString"), DISPID(DISPID_UNKNOWN/*[1610743813]*/));
  TAutoArgs<1> _args;
  _args[1] = String /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::AddFromFile(BSTR FileName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddFromFile"), DISPID(DISPID_UNKNOWN/*[1610743814]*/));
  TAutoArgs<1> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::get_Lines(long Line/*[in]*/, long NumLines/*[in]*/, BSTR* String/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Lines"), DISPID(DISPID_UNKNOWN/*[1610743815]*/));
  TAutoArgs<2> _args;
  _args[1] = Line /*[VT_I4:0]*/;
  _args[2] = NumLines /*[VT_I4:0]*/;
  return OutRetValSetterPtr(String /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
ModuleDispT<T>::get_Lines(long Line/*[in]*/, long NumLines/*[in]*/)
{
  BSTR String;
  this->get_Lines(Line, NumLines, (BSTR*)&String);
  return String;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::get_CountOfLines(long* CountOfLines/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CountOfLines"), DISPID(DISPID_UNKNOWN/*[1610743816]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(CountOfLines /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
ModuleDispT<T>::get_CountOfLines(void)
{
  long CountOfLines;
  this->get_CountOfLines((long*)&CountOfLines);
  return CountOfLines;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::InsertLines(long Line/*[in]*/, BSTR String/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InsertLines"), DISPID(DISPID_UNKNOWN/*[1610743817]*/));
  TAutoArgs<2> _args;
  _args[1] = Line /*[VT_I4:0]*/;
  _args[2] = String /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::DeleteLines(long StartLine/*[in]*/, long Count/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DeleteLines"), DISPID(DISPID_UNKNOWN/*[1610743818]*/));
  TAutoArgs<2> _args;
  _args[1] = StartLine /*[VT_I4:0]*/;
  _args[2] = Count /*[VT_I4:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::ReplaceLine(long Line/*[in]*/, BSTR String/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReplaceLine"), DISPID(DISPID_UNKNOWN/*[1610743819]*/));
  TAutoArgs<2> _args;
  _args[1] = Line /*[VT_I4:0]*/;
  _args[2] = String /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::get_ProcStartLine(BSTR ProcName/*[in]*/, Vbide_2k::vbext_ProcKind ProcKind/*[in]*/, 
                                  long* ProcStartLine/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ProcStartLine"), DISPID(DISPID_UNKNOWN/*[1610743820]*/));
  TAutoArgs<2> _args;
  _args[1] = ProcName /*[VT_BSTR:0]*/;
  _args[2] = (int)ProcKind /*[VT_USERDEFINED:0]*/;
  return OutRetValSetterPtr(ProcStartLine /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
ModuleDispT<T>::get_ProcStartLine(BSTR ProcName/*[in]*/, Vbide_2k::vbext_ProcKind ProcKind/*[in]*/)
{
  long ProcStartLine;
  this->get_ProcStartLine(ProcName, ProcKind, (long*)&ProcStartLine);
  return ProcStartLine;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::get_ProcCountLines(BSTR ProcName/*[in]*/, Vbide_2k::vbext_ProcKind ProcKind/*[in]*/
                                   , long* ProcCountLines/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ProcCountLines"), DISPID(DISPID_UNKNOWN/*[1610743821]*/));
  TAutoArgs<2> _args;
  _args[1] = ProcName /*[VT_BSTR:0]*/;
  _args[2] = (int)ProcKind /*[VT_USERDEFINED:0]*/;
  return OutRetValSetterPtr(ProcCountLines /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
ModuleDispT<T>::get_ProcCountLines(BSTR ProcName/*[in]*/, Vbide_2k::vbext_ProcKind ProcKind/*[in]*/)
{
  long ProcCountLines;
  this->get_ProcCountLines(ProcName, ProcKind, (long*)&ProcCountLines);
  return ProcCountLines;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::get_ProcBodyLine(BSTR ProcName/*[in]*/, Vbide_2k::vbext_ProcKind ProcKind/*[in]*/, 
                                 long* ProcBodyLine/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ProcBodyLine"), DISPID(DISPID_UNKNOWN/*[1610743822]*/));
  TAutoArgs<2> _args;
  _args[1] = ProcName /*[VT_BSTR:0]*/;
  _args[2] = (int)ProcKind /*[VT_USERDEFINED:0]*/;
  return OutRetValSetterPtr(ProcBodyLine /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
ModuleDispT<T>::get_ProcBodyLine(BSTR ProcName/*[in]*/, Vbide_2k::vbext_ProcKind ProcKind/*[in]*/)
{
  long ProcBodyLine;
  this->get_ProcBodyLine(ProcName, ProcKind, (long*)&ProcBodyLine);
  return ProcBodyLine;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::get_ProcOfLine(long Line/*[in]*/, Vbide_2k::vbext_ProcKind* pprockind/*[out]*/, 
                               BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ProcOfLine"), DISPID(DISPID_UNKNOWN/*[1610743823]*/));
  TAutoArgs<2> _args;
  _args[1] = Line /*[VT_I4:0]*/;
  _args[2] = (int*)pprockind /*[VT_USERDEFINED:1]*/;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
ModuleDispT<T>::get_ProcOfLine(long Line/*[in]*/, Vbide_2k::vbext_ProcKind* pprockind/*[out]*/)
{
  BSTR pbstrName;
  this->get_ProcOfLine(Line, pprockind, (BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::get_CountOfDeclarationLines(long* pDeclCountOfLines/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CountOfDeclarationLines"), DISPID(DISPID_UNKNOWN/*[1610743824]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pDeclCountOfLines /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
ModuleDispT<T>::get_CountOfDeclarationLines(void)
{
  long pDeclCountOfLines;
  this->get_CountOfDeclarationLines((long*)&pDeclCountOfLines);
  return pDeclCountOfLines;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::CreateEventProc(BSTR EventName/*[in]*/, BSTR ObjectName/*[in]*/, 
                                long* Line/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateEventProc"), DISPID(DISPID_UNKNOWN/*[1610743825]*/));
  TAutoArgs<2> _args;
  _args[1] = EventName /*[VT_BSTR:0]*/;
  _args[2] = ObjectName /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(Line /*[VT_I4:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> long __fastcall
ModuleDispT<T>::CreateEventProc(BSTR EventName/*[in]*/, BSTR ObjectName/*[in]*/)
{
  long Line;
  this->CreateEventProc(EventName, ObjectName, (long*)&Line);
  return Line;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::Find(BSTR Target/*[in]*/, long* StartLine/*[in,out]*/, long* StartColumn/*[in,out]*/
                     , long* EndLine/*[in,out]*/, long* EndColumn/*[in,out]*/, 
                     VARIANT_BOOL WholeWord/*[in,def,opt]*/, VARIANT_BOOL MatchCase/*[in,def,opt]*/
                     , VARIANT_BOOL PatternSearch/*[in,def,opt]*/, 
                     VARIANT_BOOL* pfFound/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Find"), DISPID(DISPID_UNKNOWN/*[1610743826]*/));
  TAutoArgs<8> _args;
  _args[1] = Target /*[VT_BSTR:0]*/;
  _args[2] = StartLine /*[VT_I4:1]*/;
  _args[3] = StartColumn /*[VT_I4:1]*/;
  _args[4] = EndLine /*[VT_I4:1]*/;
  _args[5] = EndColumn /*[VT_I4:1]*/;
  _args[6] = WholeWord /*[VT_BOOL:0]*/;
  _args[7] = MatchCase /*[VT_BOOL:0]*/;
  _args[8] = PatternSearch /*[VT_BOOL:0]*/;
  return OutRetValSetterPtr(pfFound /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
ModuleDispT<T>::Find(BSTR Target/*[in]*/, long* StartLine/*[in,out]*/, long* StartColumn/*[in,out]*/, 
                     long* EndLine/*[in,out]*/, long* EndColumn/*[in,out]*/, 
                     VARIANT_BOOL WholeWord/*[in,def,opt]*/, VARIANT_BOOL MatchCase/*[in,def,opt]*/, 
                     VARIANT_BOOL PatternSearch/*[in,def,opt]*/)
{
  VARIANT_BOOL pfFound;
  this->Find(Target, StartLine, StartColumn, EndLine, EndColumn, WholeWord, MatchCase, PatternSearch, (VARIANT_BOOL*)&pfFound);
  return pfFound;
}

template <class T> HRESULT __fastcall
ModuleDispT<T>::get_Type(Access_2k::AcModuleType* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Type"), DISPID(DISPID_UNKNOWN/*[1610743827]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pRet /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcModuleType __fastcall
ModuleDispT<T>::get_Type(void)
{
  Access_2k::AcModuleType pRet;
  this->get_Type((Access_2k::AcModuleType*)&pRet);
  return pRet;
}

// *********************************************************************//
// DispIntf:  Modules
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {9DD0AF42-6E28-11CF-9008-00AA0042B7CE}
// *********************************************************************//
template <class T> HRESULT __fastcall
ModulesDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
ModulesDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ModulesDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
ModulesDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ModulesDispT<T>::get_Item(VARIANT Index/*[in]*/, Access_2k::Module** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Module**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::Module* __fastcall
ModulesDispT<T>::get_Item(VARIANT Index/*[in]*/)
{
  Access_2k::Module* pRet;
  this->get_Item(Index, (Access_2k::Module**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ModulesDispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
ModulesDispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ModulesDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
ModulesDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

// *********************************************************************//
// SmartIntf: TCOM_Form
// Interface: _Form
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_FormName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FormName(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_FormName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FormName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_FormName(BSTR pRet/*[in]*/)
{
  return (*this)->set_FormName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_RecordSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_RecordSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_RecordSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_RecordSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_RecordSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_RecordSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Filter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Filter(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_Filter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Filter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Filter(BSTR pRet/*[in]*/)
{
  return (*this)->set_Filter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_FilterOn(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FilterOn(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_FilterOn(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FilterOn((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_FilterOn(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FilterOn(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OrderBy(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OrderBy(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OrderBy(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OrderBy((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OrderBy(BSTR pRet/*[in]*/)
{
  return (*this)->set_OrderBy(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OrderByOn(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_OrderByOn(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_OrderByOn(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_OrderByOn((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OrderByOn(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_OrderByOn(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AllowFilters(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AllowFilters(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_AllowFilters(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AllowFilters((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AllowFilters(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AllowFilters(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Caption(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_Caption(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Caption((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  return (*this)->set_Caption(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DefaultView(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultView(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_DefaultView(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DefaultView((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DefaultView(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DefaultView(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ViewsAllowed(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ViewsAllowed(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_ViewsAllowed(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ViewsAllowed((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_ViewsAllowed(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ViewsAllowed(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AllowEditing(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AllowEditing(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_AllowEditing(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AllowEditing((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AllowEditing(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AllowEditing(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DefaultEditing(short* pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultEditing(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_DefaultEditing(void)
{
  short pRet;
  OLECHECK(this->get_DefaultEditing((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DefaultEditing(short pRet/*[in]*/)
{
  return (*this)->set_DefaultEditing(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AllowEdits(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AllowEdits(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_AllowEdits(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AllowEdits((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AllowEdits(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AllowEdits(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AllowDeletions(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AllowDeletions(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_AllowDeletions(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AllowDeletions((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AllowDeletions(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AllowDeletions(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AllowAdditions(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AllowAdditions(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_AllowAdditions(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AllowAdditions((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AllowAdditions(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AllowAdditions(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DataEntry(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_DataEntry(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_DataEntry(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_DataEntry((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DataEntry(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_DataEntry(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AllowUpdating(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_AllowUpdating(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_AllowUpdating(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_AllowUpdating((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AllowUpdating(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_AllowUpdating(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_RecordsetType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_RecordsetType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_RecordsetType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_RecordsetType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_RecordsetType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_RecordsetType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_RecordLocks(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_RecordLocks(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_RecordLocks(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_RecordLocks((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_RecordLocks(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_RecordLocks(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ScrollBars(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_ScrollBars(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_ScrollBars(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_ScrollBars((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_ScrollBars(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_ScrollBars(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_RecordSelectors(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_RecordSelectors(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_RecordSelectors(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_RecordSelectors((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_RecordSelectors(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_RecordSelectors(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_NavigationButtons(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_NavigationButtons(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_NavigationButtons(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_NavigationButtons((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_NavigationButtons(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_NavigationButtons(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DividingLines(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_DividingLines(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_DividingLines(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_DividingLines((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DividingLines(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_DividingLines(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AutoResize(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoResize(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_AutoResize(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoResize((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AutoResize(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoResize(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AutoCenter(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AutoCenter(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_AutoCenter(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AutoCenter((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AutoCenter(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AutoCenter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PopUp(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_PopUp(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_PopUp(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_PopUp((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PopUp(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_PopUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Modal(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Modal(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_Modal(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Modal((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Modal(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Modal(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_BorderStyle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_BorderStyle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_BorderStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ControlBox(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ControlBox(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_ControlBox(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ControlBox((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_ControlBox(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ControlBox(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_MinButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_MinButton(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_MinButton(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_MinButton((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_MinButton(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_MinButton(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_MaxButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_MaxButton(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_MaxButton(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_MaxButton((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_MaxButton(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_MaxButton(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_MinMaxButtons(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_MinMaxButtons(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_MinMaxButtons(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_MinMaxButtons((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_MinMaxButtons(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_MinMaxButtons(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_CloseButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_CloseButton(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_CloseButton(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_CloseButton((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_CloseButton(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_CloseButton(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_WhatsThisButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_WhatsThisButton(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_WhatsThisButton(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_WhatsThisButton((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_WhatsThisButton(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_WhatsThisButton(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Picture(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_Picture(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Picture((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  return (*this)->set_Picture(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PictureType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PictureSizeMode(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureSizeMode(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_PictureSizeMode(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PictureSizeMode((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PictureSizeMode(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PictureSizeMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureAlignment(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_PictureAlignment(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PictureAlignment((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PictureAlignment(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PictureAlignment(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureTiling(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_PictureTiling(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_PictureTiling((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PictureTiling(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_PictureTiling(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Cycle(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_Cycle(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_Cycle(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_Cycle((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Cycle(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_Cycle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_MenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_MenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_MenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_MenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_MenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_MenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Toolbar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Toolbar(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_Toolbar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Toolbar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Toolbar(BSTR pRet/*[in]*/)
{
  return (*this)->set_Toolbar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ShortcutMenu(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenu(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_ShortcutMenu(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ShortcutMenu((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_ShortcutMenu(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenu(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_GridX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_GridX(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_GridX(void)
{
  short pRet;
  OLECHECK(this->get_GridX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_GridX(short pRet/*[in]*/)
{
  return (*this)->set_GridX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_GridY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_GridY(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_GridY(void)
{
  short pRet;
  OLECHECK(this->get_GridY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_GridY(short pRet/*[in]*/)
{
  return (*this)->set_GridY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_LayoutForPrint(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_LayoutForPrint(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_LayoutForPrint(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_LayoutForPrint((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_LayoutForPrint(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_LayoutForPrint(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_FastLaserPrinting(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FastLaserPrinting(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_FastLaserPrinting(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FastLaserPrinting((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_FastLaserPrinting(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FastLaserPrinting(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_HelpFile(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpFile(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_HelpFile(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_HelpFile((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_HelpFile(BSTR pRet/*[in]*/)
{
  return (*this)->set_HelpFile(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_RowHeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_RowHeight(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_RowHeight(void)
{
  short pRet;
  OLECHECK(this->get_RowHeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_RowHeight(short pRet/*[in]*/)
{
  return (*this)->set_RowHeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DatasheetFontName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_DatasheetFontName(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_DatasheetFontName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_DatasheetFontName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DatasheetFontName(BSTR pRet/*[in]*/)
{
  return (*this)->set_DatasheetFontName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DatasheetFontHeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_DatasheetFontHeight(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_DatasheetFontHeight(void)
{
  short pRet;
  OLECHECK(this->get_DatasheetFontHeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DatasheetFontHeight(short pRet/*[in]*/)
{
  return (*this)->set_DatasheetFontHeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DatasheetFontWeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_DatasheetFontWeight(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_DatasheetFontWeight(void)
{
  short pRet;
  OLECHECK(this->get_DatasheetFontWeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DatasheetFontWeight(short pRet/*[in]*/)
{
  return (*this)->set_DatasheetFontWeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DatasheetFontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_DatasheetFontItalic(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_DatasheetFontItalic(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_DatasheetFontItalic((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DatasheetFontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_DatasheetFontItalic(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DatasheetFontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_DatasheetFontUnderline(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_DatasheetFontUnderline(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_DatasheetFontUnderline((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DatasheetFontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_DatasheetFontUnderline(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_TabularCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TabularCharSet(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_TabularCharSet(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TabularCharSet((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_TabularCharSet(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TabularCharSet(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DatasheetGridlinesBehavior(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DatasheetGridlinesBehavior(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_DatasheetGridlinesBehavior(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DatasheetGridlinesBehavior((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DatasheetGridlinesBehavior(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DatasheetGridlinesBehavior(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DatasheetGridlinesColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_DatasheetGridlinesColor(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_DatasheetGridlinesColor(void)
{
  long pRet;
  OLECHECK(this->get_DatasheetGridlinesColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DatasheetGridlinesColor(long pRet/*[in]*/)
{
  return (*this)->set_DatasheetGridlinesColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DatasheetCellsEffect(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DatasheetCellsEffect(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_DatasheetCellsEffect(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DatasheetCellsEffect((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DatasheetCellsEffect(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DatasheetCellsEffect(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DatasheetForeColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_DatasheetForeColor(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_DatasheetForeColor(void)
{
  long pRet;
  OLECHECK(this->get_DatasheetForeColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DatasheetForeColor(long pRet/*[in]*/)
{
  return (*this)->set_DatasheetForeColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ShowGrid(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ShowGrid(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_ShowGrid(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ShowGrid((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_ShowGrid(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ShowGrid(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DatasheetBackColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_DatasheetBackColor(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_DatasheetBackColor(void)
{
  long pRet;
  OLECHECK(this->get_DatasheetBackColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_DatasheetBackColor(long pRet/*[in]*/)
{
  return (*this)->set_DatasheetBackColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Hwnd(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Hwnd(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_Hwnd(void)
{
  long pRet;
  OLECHECK(this->get_Hwnd((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Hwnd(long pRet/*[in]*/)
{
  return (*this)->set_Hwnd(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Count(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Count(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_Count(void)
{
  short pRet;
  OLECHECK(this->get_Count((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Count(short pRet/*[in]*/)
{
  return (*this)->set_Count(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Page(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Page(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_Page(void)
{
  long pRet;
  OLECHECK(this->get_Page((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Page(long pRet/*[in]*/)
{
  return (*this)->set_Page(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Pages(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Pages(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_Pages(void)
{
  short pRet;
  OLECHECK(this->get_Pages((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Pages(short pRet/*[in]*/)
{
  return (*this)->set_Pages(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_LogicalPageWidth(long* pRet/*[out,retval]*/)
{
  return (*this)->get_LogicalPageWidth(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_LogicalPageWidth(void)
{
  long pRet;
  OLECHECK(this->get_LogicalPageWidth((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_LogicalPageWidth(long pRet/*[in]*/)
{
  return (*this)->set_LogicalPageWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_LogicalPageHeight(long* pRet/*[out,retval]*/)
{
  return (*this)->get_LogicalPageHeight(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_LogicalPageHeight(void)
{
  long pRet;
  OLECHECK(this->get_LogicalPageHeight((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_LogicalPageHeight(long pRet/*[in]*/)
{
  return (*this)->set_LogicalPageHeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ZoomControl(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ZoomControl(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_ZoomControl(void)
{
  long pRet;
  OLECHECK(this->get_ZoomControl((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_ZoomControl(long pRet/*[in]*/)
{
  return (*this)->set_ZoomControl(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Painting(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Painting(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_Painting(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Painting((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Painting(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Painting(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PrtMip(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PrtMip(pRet);
}

template <class T> VARIANT __fastcall
TCOM_FormT<T>::get_PrtMip(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PrtMip((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PrtMip(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PrtMip(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PrtDevMode(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PrtDevMode(pRet);
}

template <class T> VARIANT __fastcall
TCOM_FormT<T>::get_PrtDevMode(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PrtDevMode((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PrtDevMode(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PrtDevMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PrtDevNames(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PrtDevNames(pRet);
}

template <class T> VARIANT __fastcall
TCOM_FormT<T>::get_PrtDevNames(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PrtDevNames((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PrtDevNames(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PrtDevNames(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_FrozenColumns(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FrozenColumns(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_FrozenColumns(void)
{
  short pRet;
  OLECHECK(this->get_FrozenColumns((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_FrozenColumns(short pRet/*[in]*/)
{
  return (*this)->set_FrozenColumns(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Bookmark(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_Bookmark(pRet);
}

template <class T> VARIANT __fastcall
TCOM_FormT<T>::get_Bookmark(void)
{
  VARIANT pRet;
  OLECHECK(this->get_Bookmark((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Bookmark(VARIANT pRet/*[in]*/)
{
  return (*this)->set_Bookmark(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_TabularFamily(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_TabularFamily(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_TabularFamily(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_TabularFamily((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_TabularFamily(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_TabularFamily(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PaletteSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_PaletteSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_PaletteSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_PaletteSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PaletteSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_PaletteSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PaintPalette(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PaintPalette(pRet);
}

template <class T> VARIANT __fastcall
TCOM_FormT<T>::get_PaintPalette(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PaintPalette((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PaintPalette(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PaintPalette(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnMenu(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMenu(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnMenu(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMenu((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnMenu(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMenu(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OpenArgs(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_OpenArgs(pRet);
}

template <class T> VARIANT __fastcall
TCOM_FormT<T>::get_OpenArgs(void)
{
  VARIANT pRet;
  OLECHECK(this->get_OpenArgs((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OpenArgs(VARIANT pRet/*[in]*/)
{
  return (*this)->set_OpenArgs(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ConnectSynch(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ConnectSynch(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_ConnectSynch(void)
{
  short pRet;
  OLECHECK(this->get_ConnectSynch((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_ConnectSynch(short pRet/*[in]*/)
{
  return (*this)->set_ConnectSynch(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnCurrent(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnCurrent(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnCurrent(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnCurrent((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnCurrent(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnCurrent(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnInsert(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnInsert(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnInsert(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnInsert((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnInsert(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnInsert(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_BeforeInsert(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeInsert(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_BeforeInsert(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeInsert((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_BeforeInsert(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeInsert(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AfterInsert(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterInsert(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_AfterInsert(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterInsert((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AfterInsert(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterInsert(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_BeforeUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterUpdate(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_AfterUpdate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterUpdate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterUpdate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnDirty(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDirty(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnDirty(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDirty((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnDirty(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDirty(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnDelete(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDelete(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnDelete(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDelete((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnDelete(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDelete(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_BeforeDelConfirm(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_BeforeDelConfirm(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_BeforeDelConfirm(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_BeforeDelConfirm((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_BeforeDelConfirm(BSTR pRet/*[in]*/)
{
  return (*this)->set_BeforeDelConfirm(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AfterDelConfirm(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_AfterDelConfirm(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_AfterDelConfirm(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_AfterDelConfirm((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AfterDelConfirm(BSTR pRet/*[in]*/)
{
  return (*this)->set_AfterDelConfirm(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnOpen(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnOpen(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnOpen(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnOpen((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnOpen(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnOpen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnLoad(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLoad(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnLoad(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLoad((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnLoad(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLoad(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnResize(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnResize(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnResize(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnResize((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnResize(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnResize(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnUnload(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnUnload(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnUnload(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnUnload((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnUnload(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnUnload(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnClose(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClose(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnClose(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClose((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnClose(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClose(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnActivate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnActivate(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnActivate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnActivate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnActivate(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnActivate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnDeactivate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDeactivate(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnDeactivate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDeactivate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnDeactivate(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDeactivate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnGotFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnGotFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnGotFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnGotFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnLostFocus(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnLostFocus(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnLostFocus((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnLostFocus(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDblClick(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnDblClick(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDblClick((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDblClick(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnMouseDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseMove(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnMouseMove(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseMove((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseMove(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMouseUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnMouseUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMouseUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMouseUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyDown(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnKeyDown(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyDown((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyDown(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyUp(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnKeyUp(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyUp((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyUp(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnKeyPress(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnKeyPress(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnKeyPress((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnKeyPress(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_KeyPreview(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_KeyPreview(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_KeyPreview(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_KeyPreview((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_KeyPreview(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_KeyPreview(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnError(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnError(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnError(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnError((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnError(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnError(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnFilter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnFilter(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnFilter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnFilter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnFilter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnFilter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnApplyFilter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnApplyFilter(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnApplyFilter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnApplyFilter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnApplyFilter(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnApplyFilter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_OnTimer(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnTimer(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_OnTimer(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnTimer((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_OnTimer(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnTimer(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_TimerInterval(long* pRet/*[out,retval]*/)
{
  return (*this)->get_TimerInterval(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_TimerInterval(void)
{
  long pRet;
  OLECHECK(this->get_TimerInterval((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_TimerInterval(long pRet/*[in]*/)
{
  return (*this)->set_TimerInterval(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Dirty(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Dirty(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_Dirty(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Dirty((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Dirty(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Dirty(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_WindowWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_WindowWidth(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_WindowWidth(void)
{
  short pRet;
  OLECHECK(this->get_WindowWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_WindowWidth(short pRet/*[in]*/)
{
  return (*this)->set_WindowWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_WindowHeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_WindowHeight(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_WindowHeight(void)
{
  short pRet;
  OLECHECK(this->get_WindowHeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_WindowHeight(short pRet/*[in]*/)
{
  return (*this)->set_WindowHeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_CurrentView(short* pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentView(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_CurrentView(void)
{
  short pRet;
  OLECHECK(this->get_CurrentView((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_CurrentView(short pRet/*[in]*/)
{
  return (*this)->set_CurrentView(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_CurrentSectionTop(short* pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentSectionTop(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_CurrentSectionTop(void)
{
  short pRet;
  OLECHECK(this->get_CurrentSectionTop((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_CurrentSectionTop(short pRet/*[in]*/)
{
  return (*this)->set_CurrentSectionTop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_CurrentSectionLeft(short* pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentSectionLeft(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_CurrentSectionLeft(void)
{
  short pRet;
  OLECHECK(this->get_CurrentSectionLeft((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_CurrentSectionLeft(short pRet/*[in]*/)
{
  return (*this)->set_CurrentSectionLeft(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_SelLeft(long* pRet/*[out,retval]*/)
{
  return (*this)->get_SelLeft(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_SelLeft(void)
{
  long pRet;
  OLECHECK(this->get_SelLeft((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_SelLeft(long pRet/*[in]*/)
{
  return (*this)->set_SelLeft(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_SelTop(long* pRet/*[out,retval]*/)
{
  return (*this)->get_SelTop(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_SelTop(void)
{
  long pRet;
  OLECHECK(this->get_SelTop((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_SelTop(long pRet/*[in]*/)
{
  return (*this)->set_SelTop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_SelWidth(long* pRet/*[out,retval]*/)
{
  return (*this)->get_SelWidth(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_SelWidth(void)
{
  long pRet;
  OLECHECK(this->get_SelWidth((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_SelWidth(long pRet/*[in]*/)
{
  return (*this)->set_SelWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_SelHeight(long* pRet/*[out,retval]*/)
{
  return (*this)->get_SelHeight(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_SelHeight(void)
{
  long pRet;
  OLECHECK(this->get_SelHeight((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_SelHeight(long pRet/*[in]*/)
{
  return (*this)->set_SelHeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_CurrentRecord(long* pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentRecord(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_CurrentRecord(void)
{
  long pRet;
  OLECHECK(this->get_CurrentRecord((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_CurrentRecord(long pRet/*[in]*/)
{
  return (*this)->set_CurrentRecord(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureData(pRet);
}

template <class T> VARIANT __fastcall
TCOM_FormT<T>::get_PictureData(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PictureData((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PictureData(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_InsideHeight(long* pRet/*[out,retval]*/)
{
  return (*this)->get_InsideHeight(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_InsideHeight(void)
{
  long pRet;
  OLECHECK(this->get_InsideHeight((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_InsideHeight(long pRet/*[in]*/)
{
  return (*this)->set_InsideHeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_InsideWidth(long* pRet/*[out,retval]*/)
{
  return (*this)->get_InsideWidth(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_InsideWidth(void)
{
  long pRet;
  OLECHECK(this->get_InsideWidth((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_InsideWidth(long pRet/*[in]*/)
{
  return (*this)->set_InsideWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_PicturePalette(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PicturePalette(pRet);
}

template <class T> VARIANT __fastcall
TCOM_FormT<T>::get_PicturePalette(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PicturePalette((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_PicturePalette(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PicturePalette(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_HasModule(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_HasModule(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_HasModule(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_HasModule((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_HasModule(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_HasModule(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_acHiddenCurrentPage(long* pRet/*[out,retval]*/)
{
  return (*this)->get_acHiddenCurrentPage(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_acHiddenCurrentPage(void)
{
  long pRet;
  OLECHECK(this->get_acHiddenCurrentPage((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_acHiddenCurrentPage(long pRet/*[in]*/)
{
  return (*this)->set_acHiddenCurrentPage(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Orientation(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_Orientation(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_FormT<T>::get_Orientation(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_Orientation((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Orientation(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_Orientation(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_AllowDesignChanges(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_AllowDesignChanges(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_AllowDesignChanges(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_AllowDesignChanges((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_AllowDesignChanges(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_AllowDesignChanges(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ServerFilter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ServerFilter(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_ServerFilter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ServerFilter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_ServerFilter(BSTR pRet/*[in]*/)
{
  return (*this)->set_ServerFilter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ServerFilterByForm(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_ServerFilterByForm(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_ServerFilterByForm(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_ServerFilterByForm((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_ServerFilterByForm(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_ServerFilterByForm(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_MaxRecords(long* pRet/*[out,retval]*/)
{
  return (*this)->get_MaxRecords(pRet);
}

template <class T> long __fastcall
TCOM_FormT<T>::get_MaxRecords(void)
{
  long pRet;
  OLECHECK(this->get_MaxRecords((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_MaxRecords(long pRet/*[in]*/)
{
  return (*this)->set_MaxRecords(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_UniqueTable(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_UniqueTable(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_UniqueTable(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_UniqueTable((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_UniqueTable(BSTR pRet/*[in]*/)
{
  return (*this)->set_UniqueTable(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ResyncCommand(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ResyncCommand(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_ResyncCommand(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ResyncCommand((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_ResyncCommand(BSTR pRet/*[in]*/)
{
  return (*this)->set_ResyncCommand(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_InputParameters(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_InputParameters(pRet);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_InputParameters(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_InputParameters((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_InputParameters(BSTR pRet/*[in]*/)
{
  return (*this)->set_InputParameters(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_MaxRecButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_MaxRecButton(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_MaxRecButton(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_MaxRecButton((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_MaxRecButton(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_MaxRecButton(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_FormT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_FormT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_NewRecord(short* pRet/*[out,retval]*/)
{
  return (*this)->get_NewRecord(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_NewRecord(void)
{
  short pRet;
  OLECHECK(this->get_NewRecord((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::Undo(void)
{
  return (*this)->Undo();
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  return (*this)->get_ActiveControl(pRet);
}

template <class T> Access_2k::AccessControlPtr __fastcall
TCOM_FormT<T>::get_ActiveControl(void)
{
  Access_2k::AccessControlPtr pRet;
  OLECHECK(this->get_ActiveControl((Access_2k::AccessControlPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_DefaultControl(long ControlType/*[in]*/, 
                                  Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultControl(ControlType, pRet);
}

template <class T> Access_2k::AccessControl* __fastcall
TCOM_FormT<T>::get_DefaultControl(long ControlType/*[in]*/)
{
  Access_2k::AccessControl* pRet;
  OLECHECK(this->get_DefaultControl(ControlType/*[in]*/, (Access_2k::AccessControl**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Dynaset(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Dynaset(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_FormT<T>::get_Dynaset(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Dynaset((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_RecordsetClone(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_RecordsetClone(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_FormT<T>::get_RecordsetClone(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_RecordsetClone((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Recordset(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Recordset(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_FormT<T>::get_Recordset(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Recordset((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::_set_Recordset(LPDISPATCH pRet/*[in]*/)
{
  return (*this)->_set_Recordset(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Section(VARIANT Index/*[in]*/, Access_2k::AccessSection** pRet/*[out,retval]*/)
{
  return (*this)->get_Section(Index, pRet);
}

template <class T> Access_2k::AccessSection* __fastcall
TCOM_FormT<T>::get_Section(VARIANT Index/*[in]*/)
{
  Access_2k::AccessSection* pRet;
  OLECHECK(this->get_Section(Index/*[in]*/, (Access_2k::AccessSection**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  return (*this)->get_Form(pRet);
}

template <class T> Access_2k::AccessFormPtr __fastcall
TCOM_FormT<T>::get_Form(void)
{
  Access_2k::AccessFormPtr pRet;
  OLECHECK(this->get_Form((Access_2k::AccessFormPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Module(Access_2k::Module** pRet/*[out,retval]*/)
{
  return (*this)->get_Module(pRet);
}

template <class T> Access_2k::ModulePtr __fastcall
TCOM_FormT<T>::get_Module(void)
{
  Access_2k::ModulePtr pRet;
  OLECHECK(this->get_Module((Access_2k::ModulePtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_FormT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_ConnectControl(Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  return (*this)->get_ConnectControl(pRet);
}

template <class T> Access_2k::AccessControlPtr __fastcall
TCOM_FormT<T>::get_ConnectControl(void)
{
  Access_2k::AccessControlPtr pRet;
  OLECHECK(this->get_ConnectControl((Access_2k::AccessControlPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::Recalc(void)
{
  return (*this)->Recalc();
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::Requery(void)
{
  return (*this)->Requery();
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::Refresh(void)
{
  return (*this)->Refresh();
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::Repaint(void)
{
  return (*this)->Repaint();
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::GoToPage(long PageNumber/*[in]*/, long Right/*[in,def,opt]*/, 
                        long Down/*[in,def,opt]*/)
{
  return (*this)->GoToPage(PageNumber, Right, Down);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::SetFocus(void)
{
  return (*this)->SetFocus();
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::Controls_Ptr __fastcall
TCOM_FormT<T>::get_Controls(void)
{
  Access_2k::Controls_Ptr pRet;
  OLECHECK(this->get_Controls((Access_2k::Controls_Ptr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  return (*this)->_NewEnum(pRet);
}

template <class T> LPUNKNOWN __fastcall
TCOM_FormT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                         VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_FormT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_FormT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_SubdatasheetHeight(short* pRet/*[out,retval]*/)
{
  return (*this)->get_SubdatasheetHeight(pRet);
}

template <class T> short __fastcall
TCOM_FormT<T>::get_SubdatasheetHeight(void)
{
  short pRet;
  OLECHECK(this->get_SubdatasheetHeight((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_SubdatasheetHeight(short pRet/*[in]*/)
{
  return (*this)->set_SubdatasheetHeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::get_SubdatasheetExpanded(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_SubdatasheetExpanded(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_FormT<T>::get_SubdatasheetExpanded(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_SubdatasheetExpanded((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_FormT<T>::set_SubdatasheetExpanded(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_SubdatasheetExpanded(pRet);
}

// *********************************************************************//
// DispIntf:  _Form
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {E5135D80-8F8D-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_FormDispT<T>::get_FormName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormName"), DISPID(39));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_FormName(void)
{
  BSTR pRet;
  this->get_FormName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_FormName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormName"), DISPID(39));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_RecordSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordSource"), DISPID(156));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_RecordSource(void)
{
  BSTR pRet;
  this->get_RecordSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_RecordSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordSource"), DISPID(156));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Filter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Filter"), DISPID(245));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_Filter(void)
{
  BSTR pRet;
  this->get_Filter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Filter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Filter"), DISPID(245));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_FilterOn(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FilterOn"), DISPID(332));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_FilterOn(void)
{
  VARIANT_BOOL pRet;
  this->get_FilterOn((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_FilterOn(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FilterOn"), DISPID(332));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OrderBy(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrderBy"), DISPID(331));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OrderBy(void)
{
  BSTR pRet;
  this->get_OrderBy((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OrderBy(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrderBy"), DISPID(331));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OrderByOn(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrderByOn"), DISPID(336));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_OrderByOn(void)
{
  VARIANT_BOOL pRet;
  this->get_OrderByOn((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OrderByOn(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrderByOn"), DISPID(336));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AllowFilters(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowFilters"), DISPID(30));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_AllowFilters(void)
{
  VARIANT_BOOL pRet;
  this->get_AllowFilters((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AllowFilters(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowFilters"), DISPID(30));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_Caption(void)
{
  BSTR pRet;
  this->get_Caption((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DefaultView(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultView"), DISPID(147));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_DefaultView(void)
{
  unsigned_char pRet;
  this->get_DefaultView((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DefaultView(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultView"), DISPID(147));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ViewsAllowed(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ViewsAllowed"), DISPID(146));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_ViewsAllowed(void)
{
  unsigned_char pRet;
  this->get_ViewsAllowed((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_ViewsAllowed(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ViewsAllowed"), DISPID(146));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AllowEditing(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowEditing"), DISPID(24));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_AllowEditing(void)
{
  VARIANT_BOOL pRet;
  this->get_AllowEditing((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AllowEditing(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowEditing"), DISPID(24));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DefaultEditing(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultEditing"), DISPID(134));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_DefaultEditing(void)
{
  short pRet;
  this->get_DefaultEditing((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DefaultEditing(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultEditing"), DISPID(134));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AllowEdits(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowEdits"), DISPID(339));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_AllowEdits(void)
{
  VARIANT_BOOL pRet;
  this->get_AllowEdits((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AllowEdits(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowEdits"), DISPID(339));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AllowDeletions(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowDeletions"), DISPID(292));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_AllowDeletions(void)
{
  VARIANT_BOOL pRet;
  this->get_AllowDeletions((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AllowDeletions(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowDeletions"), DISPID(292));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AllowAdditions(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowAdditions"), DISPID(326));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_AllowAdditions(void)
{
  VARIANT_BOOL pRet;
  this->get_AllowAdditions((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AllowAdditions(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowAdditions"), DISPID(326));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DataEntry(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DataEntry"), DISPID(338));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_DataEntry(void)
{
  VARIANT_BOOL pRet;
  this->get_DataEntry((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DataEntry(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DataEntry"), DISPID(338));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AllowUpdating(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowUpdating"), DISPID(45));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_AllowUpdating(void)
{
  unsigned_char pRet;
  this->get_AllowUpdating((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AllowUpdating(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowUpdating"), DISPID(45));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_RecordsetType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordsetType"), DISPID(337));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_RecordsetType(void)
{
  unsigned_char pRet;
  this->get_RecordsetType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_RecordsetType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordsetType"), DISPID(337));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_RecordLocks(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordLocks"), DISPID(26));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_RecordLocks(void)
{
  unsigned_char pRet;
  this->get_RecordLocks((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_RecordLocks(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordLocks"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ScrollBars(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScrollBars"), DISPID(152));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_ScrollBars(void)
{
  unsigned_char pRet;
  this->get_ScrollBars((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_ScrollBars(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScrollBars"), DISPID(152));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_RecordSelectors(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordSelectors"), DISPID(19));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_RecordSelectors(void)
{
  VARIANT_BOOL pRet;
  this->get_RecordSelectors((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_RecordSelectors(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordSelectors"), DISPID(19));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_NavigationButtons(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("NavigationButtons"), DISPID(279));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_NavigationButtons(void)
{
  VARIANT_BOOL pRet;
  this->get_NavigationButtons((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_NavigationButtons(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("NavigationButtons"), DISPID(279));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DividingLines(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DividingLines"), DISPID(314));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_DividingLines(void)
{
  VARIANT_BOOL pRet;
  this->get_DividingLines((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DividingLines(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DividingLines"), DISPID(314));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AutoResize(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoResize"), DISPID(6));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_AutoResize(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoResize((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AutoResize(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoResize"), DISPID(6));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AutoCenter(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoCenter"), DISPID(278));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_AutoCenter(void)
{
  VARIANT_BOOL pRet;
  this->get_AutoCenter((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AutoCenter(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AutoCenter"), DISPID(278));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PopUp(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PopUp"), DISPID(90));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_PopUp(void)
{
  VARIANT_BOOL pRet;
  this->get_PopUp((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PopUp(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PopUp"), DISPID(90));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Modal(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Modal"), DISPID(62));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_Modal(void)
{
  VARIANT_BOOL pRet;
  this->get_Modal((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Modal(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Modal"), DISPID(62));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_BorderStyle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_BorderStyle(void)
{
  unsigned_char pRet;
  this->get_BorderStyle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_BorderStyle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BorderStyle"), DISPID(9));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ControlBox(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlBox"), DISPID(97));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_ControlBox(void)
{
  VARIANT_BOOL pRet;
  this->get_ControlBox((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_ControlBox(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ControlBox"), DISPID(97));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_MinButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MinButton"), DISPID(95));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_MinButton(void)
{
  VARIANT_BOOL pRet;
  this->get_MinButton((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_MinButton(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MinButton"), DISPID(95));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_MaxButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MaxButton"), DISPID(94));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_MaxButton(void)
{
  VARIANT_BOOL pRet;
  this->get_MaxButton((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_MaxButton(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MaxButton"), DISPID(94));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_MinMaxButtons(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MinMaxButtons"), DISPID(328));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_MinMaxButtons(void)
{
  unsigned_char pRet;
  this->get_MinMaxButtons((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_MinMaxButtons(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MinMaxButtons"), DISPID(328));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_CloseButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CloseButton"), DISPID(303));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_CloseButton(void)
{
  VARIANT_BOOL pRet;
  this->get_CloseButton((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_CloseButton(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CloseButton"), DISPID(303));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_WhatsThisButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("WhatsThisButton"), DISPID(96));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_WhatsThisButton(void)
{
  VARIANT_BOOL pRet;
  this->get_WhatsThisButton((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_WhatsThisButton(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("WhatsThisButton"), DISPID(96));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_Picture(void)
{
  BSTR pRet;
  this->get_Picture((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  this->get_PictureType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PictureSizeMode(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureSizeMode"), DISPID(312));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_PictureSizeMode(void)
{
  unsigned_char pRet;
  this->get_PictureSizeMode((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PictureSizeMode(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureSizeMode"), DISPID(312));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureAlignment"), DISPID(309));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_PictureAlignment(void)
{
  unsigned_char pRet;
  this->get_PictureAlignment((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PictureAlignment(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureAlignment"), DISPID(309));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureTiling"), DISPID(313));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_PictureTiling(void)
{
  VARIANT_BOOL pRet;
  this->get_PictureTiling((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PictureTiling(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureTiling"), DISPID(313));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Cycle(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Cycle"), DISPID(330));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_Cycle(void)
{
  unsigned_char pRet;
  this->get_Cycle((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Cycle(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Cycle"), DISPID(330));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_MenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MenuBar"), DISPID(240));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_MenuBar(void)
{
  BSTR pRet;
  this->get_MenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_MenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MenuBar"), DISPID(240));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Toolbar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Toolbar"), DISPID(353));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_Toolbar(void)
{
  BSTR pRet;
  this->get_Toolbar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Toolbar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Toolbar"), DISPID(353));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ShortcutMenu(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenu"), DISPID(31));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_ShortcutMenu(void)
{
  VARIANT_BOOL pRet;
  this->get_ShortcutMenu((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_ShortcutMenu(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenu"), DISPID(31));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_GridX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GridX"), DISPID(41));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_GridX(void)
{
  short pRet;
  this->get_GridX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_GridX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("GridX"), DISPID(41));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_GridY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GridY"), DISPID(42));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_GridY(void)
{
  short pRet;
  this->get_GridY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_GridY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("GridY"), DISPID(42));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_LayoutForPrint(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LayoutForPrint"), DISPID(143));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_LayoutForPrint(void)
{
  VARIANT_BOOL pRet;
  this->get_LayoutForPrint((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_LayoutForPrint(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LayoutForPrint"), DISPID(143));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_FastLaserPrinting(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FastLaserPrinting"), DISPID(144));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_FastLaserPrinting(void)
{
  VARIANT_BOOL pRet;
  this->get_FastLaserPrinting((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_FastLaserPrinting(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FastLaserPrinting"), DISPID(144));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_HelpFile(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpFile"), DISPID(218));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_HelpFile(void)
{
  BSTR pRet;
  this->get_HelpFile((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_HelpFile(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpFile"), DISPID(218));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_RowHeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowHeight"), DISPID(168));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_RowHeight(void)
{
  short pRet;
  this->get_RowHeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_RowHeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RowHeight"), DISPID(168));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DatasheetFontName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetFontName"), DISPID(160));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_DatasheetFontName(void)
{
  BSTR pRet;
  this->get_DatasheetFontName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DatasheetFontName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetFontName"), DISPID(160));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DatasheetFontHeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetFontHeight"), DISPID(161));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_DatasheetFontHeight(void)
{
  short pRet;
  this->get_DatasheetFontHeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DatasheetFontHeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetFontHeight"), DISPID(161));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DatasheetFontWeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetFontWeight"), DISPID(162));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_DatasheetFontWeight(void)
{
  short pRet;
  this->get_DatasheetFontWeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DatasheetFontWeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetFontWeight"), DISPID(162));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DatasheetFontItalic(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetFontItalic"), DISPID(163));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_DatasheetFontItalic(void)
{
  VARIANT_BOOL pRet;
  this->get_DatasheetFontItalic((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DatasheetFontItalic(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetFontItalic"), DISPID(163));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DatasheetFontUnderline(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetFontUnderline"), DISPID(164));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_DatasheetFontUnderline(void)
{
  VARIANT_BOOL pRet;
  this->get_DatasheetFontUnderline((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DatasheetFontUnderline(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetFontUnderline"), DISPID(164));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_TabularCharSet(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabularCharSet"), DISPID(194));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_TabularCharSet(void)
{
  unsigned_char pRet;
  this->get_TabularCharSet((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_TabularCharSet(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabularCharSet"), DISPID(194));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DatasheetGridlinesBehavior(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetGridlinesBehavior"), DISPID(318));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_DatasheetGridlinesBehavior(void)
{
  unsigned_char pRet;
  this->get_DatasheetGridlinesBehavior((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DatasheetGridlinesBehavior(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetGridlinesBehavior"), DISPID(318));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DatasheetGridlinesColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetGridlinesColor"), DISPID(319));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_DatasheetGridlinesColor(void)
{
  long pRet;
  this->get_DatasheetGridlinesColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DatasheetGridlinesColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetGridlinesColor"), DISPID(319));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DatasheetCellsEffect(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetCellsEffect"), DISPID(320));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_DatasheetCellsEffect(void)
{
  unsigned_char pRet;
  this->get_DatasheetCellsEffect((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DatasheetCellsEffect(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetCellsEffect"), DISPID(320));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DatasheetForeColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetForeColor"), DISPID(306));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_DatasheetForeColor(void)
{
  long pRet;
  this->get_DatasheetForeColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DatasheetForeColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetForeColor"), DISPID(306));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ShowGrid(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShowGrid"), DISPID(169));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_ShowGrid(void)
{
  VARIANT_BOOL pRet;
  this->get_ShowGrid((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_ShowGrid(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShowGrid"), DISPID(169));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DatasheetBackColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetBackColor"), DISPID(321));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_DatasheetBackColor(void)
{
  long pRet;
  this->get_DatasheetBackColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_DatasheetBackColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DatasheetBackColor"), DISPID(321));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Hwnd(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hwnd"), DISPID(192));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_Hwnd(void)
{
  long pRet;
  this->get_Hwnd((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Hwnd(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hwnd"), DISPID(192));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Count(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(195));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_Count(void)
{
  short pRet;
  this->get_Count((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Count(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(195));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Page(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Page"), DISPID(196));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_Page(void)
{
  long pRet;
  this->get_Page((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Page(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Page"), DISPID(196));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Pages(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Pages"), DISPID(197));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_Pages(void)
{
  short pRet;
  this->get_Pages((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Pages(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Pages"), DISPID(197));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_LogicalPageWidth(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LogicalPageWidth"), DISPID(198));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_LogicalPageWidth(void)
{
  long pRet;
  this->get_LogicalPageWidth((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_LogicalPageWidth(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LogicalPageWidth"), DISPID(198));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_LogicalPageHeight(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LogicalPageHeight"), DISPID(199));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_LogicalPageHeight(void)
{
  long pRet;
  this->get_LogicalPageHeight((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_LogicalPageHeight(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LogicalPageHeight"), DISPID(199));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ZoomControl(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ZoomControl"), DISPID(217));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_ZoomControl(void)
{
  long pRet;
  this->get_ZoomControl((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_ZoomControl(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ZoomControl"), DISPID(217));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Painting(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Painting"), DISPID(241));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_Painting(void)
{
  VARIANT_BOOL pRet;
  this->get_Painting((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Painting(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Painting"), DISPID(241));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PrtMip(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtMip"), DISPID(189));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_PrtMip(void)
{
  VARIANT pRet;
  this->get_PrtMip((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PrtMip(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtMip"), DISPID(189));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PrtDevMode(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtDevMode"), DISPID(190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_PrtDevMode(void)
{
  VARIANT pRet;
  this->get_PrtDevMode((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PrtDevMode(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtDevMode"), DISPID(190));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PrtDevNames(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtDevNames"), DISPID(191));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_PrtDevNames(void)
{
  VARIANT pRet;
  this->get_PrtDevNames((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PrtDevNames(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtDevNames"), DISPID(191));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_FrozenColumns(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FrozenColumns"), DISPID(170));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_FrozenColumns(void)
{
  short pRet;
  this->get_FrozenColumns((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_FrozenColumns(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FrozenColumns"), DISPID(170));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Bookmark(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Bookmark"), DISPID(230));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_Bookmark(void)
{
  VARIANT pRet;
  this->get_Bookmark((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Bookmark(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Bookmark"), DISPID(230));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_TabularFamily(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabularFamily"), DISPID(244));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_TabularFamily(void)
{
  unsigned_char pRet;
  this->get_TabularFamily((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_TabularFamily(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TabularFamily"), DISPID(244));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PaletteSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PaletteSource"), DISPID(98));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_PaletteSource(void)
{
  BSTR pRet;
  this->get_PaletteSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PaletteSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PaletteSource"), DISPID(98));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PaintPalette(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PaintPalette"), DISPID(100));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_PaintPalette(void)
{
  VARIANT pRet;
  this->get_PaintPalette((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PaintPalette(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PaintPalette"), DISPID(100));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnMenu(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMenu"), DISPID(60));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnMenu(void)
{
  BSTR pRet;
  this->get_OnMenu((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnMenu(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMenu"), DISPID(60));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OpenArgs(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenArgs"), DISPID(284));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_OpenArgs(void)
{
  VARIANT pRet;
  this->get_OpenArgs((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OpenArgs(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenArgs"), DISPID(284));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ConnectSynch(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ConnectSynch"), DISPID(285));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_ConnectSynch(void)
{
  short pRet;
  this->get_ConnectSynch((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_ConnectSynch(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ConnectSynch"), DISPID(285));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnCurrent(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnCurrent"), DISPID(87));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnCurrent(void)
{
  BSTR pRet;
  this->get_OnCurrent((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnCurrent(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnCurrent"), DISPID(87));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnInsert(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnInsert"), DISPID(81));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnInsert(void)
{
  BSTR pRet;
  this->get_OnInsert((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnInsert(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnInsert"), DISPID(81));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_BeforeInsert(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeInsert"), DISPID(122));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_BeforeInsert(void)
{
  BSTR pRet;
  this->get_BeforeInsert((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_BeforeInsert(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeInsert"), DISPID(122));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AfterInsert(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterInsert"), DISPID(123));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_AfterInsert(void)
{
  BSTR pRet;
  this->get_AfterInsert((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AfterInsert(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterInsert"), DISPID(123));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_BeforeUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_BeforeUpdate(void)
{
  BSTR pRet;
  this->get_BeforeUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_BeforeUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeUpdate"), DISPID(85));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AfterUpdate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_AfterUpdate(void)
{
  BSTR pRet;
  this->get_AfterUpdate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AfterUpdate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterUpdate"), DISPID(86));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnDirty(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDirty"), DISPID(375));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnDirty(void)
{
  BSTR pRet;
  this->get_OnDirty((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnDirty(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDirty"), DISPID(375));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnDelete(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDelete"), DISPID(79));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnDelete(void)
{
  BSTR pRet;
  this->get_OnDelete((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnDelete(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDelete"), DISPID(79));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_BeforeDelConfirm(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeDelConfirm"), DISPID(124));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_BeforeDelConfirm(void)
{
  BSTR pRet;
  this->get_BeforeDelConfirm((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_BeforeDelConfirm(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeforeDelConfirm"), DISPID(124));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AfterDelConfirm(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterDelConfirm"), DISPID(125));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_AfterDelConfirm(void)
{
  BSTR pRet;
  this->get_AfterDelConfirm((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AfterDelConfirm(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AfterDelConfirm"), DISPID(125));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnOpen(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnOpen"), DISPID(77));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnOpen(void)
{
  BSTR pRet;
  this->get_OnOpen((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnOpen(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnOpen"), DISPID(77));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnLoad(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLoad"), DISPID(127));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnLoad(void)
{
  BSTR pRet;
  this->get_OnLoad((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnLoad(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLoad"), DISPID(127));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnResize(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnResize"), DISPID(117));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnResize(void)
{
  BSTR pRet;
  this->get_OnResize((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnResize(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnResize"), DISPID(117));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnUnload(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnUnload"), DISPID(128));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnUnload(void)
{
  BSTR pRet;
  this->get_OnUnload((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnUnload(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnUnload"), DISPID(128));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnClose(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClose"), DISPID(78));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnClose(void)
{
  BSTR pRet;
  this->get_OnClose((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnClose(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClose"), DISPID(78));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnActivate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnActivate"), DISPID(112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnActivate(void)
{
  BSTR pRet;
  this->get_OnActivate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnActivate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnActivate"), DISPID(112));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnDeactivate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDeactivate"), DISPID(113));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnDeactivate(void)
{
  BSTR pRet;
  this->get_OnDeactivate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnDeactivate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDeactivate"), DISPID(113));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnGotFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnGotFocus(void)
{
  BSTR pRet;
  this->get_OnGotFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnGotFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnGotFocus"), DISPID(115));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnLostFocus(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnLostFocus(void)
{
  BSTR pRet;
  this->get_OnLostFocus((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnLostFocus(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnLostFocus"), DISPID(116));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnClick(void)
{
  BSTR pRet;
  this->get_OnClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClick"), DISPID(126));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnDblClick(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnDblClick(void)
{
  BSTR pRet;
  this->get_OnDblClick((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnDblClick(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDblClick"), DISPID(224));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnMouseDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnMouseDown(void)
{
  BSTR pRet;
  this->get_OnMouseDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnMouseDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseDown"), DISPID(107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnMouseMove(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnMouseMove(void)
{
  BSTR pRet;
  this->get_OnMouseMove((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnMouseMove(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseMove"), DISPID(109));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnMouseUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnMouseUp(void)
{
  BSTR pRet;
  this->get_OnMouseUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnMouseUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMouseUp"), DISPID(108));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnKeyDown(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnKeyDown(void)
{
  BSTR pRet;
  this->get_OnKeyDown((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnKeyDown(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyDown"), DISPID(104));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnKeyUp(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnKeyUp(void)
{
  BSTR pRet;
  this->get_OnKeyUp((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnKeyUp(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyUp"), DISPID(105));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnKeyPress(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnKeyPress(void)
{
  BSTR pRet;
  this->get_OnKeyPress((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnKeyPress(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnKeyPress"), DISPID(106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_KeyPreview(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("KeyPreview"), DISPID(327));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_KeyPreview(void)
{
  VARIANT_BOOL pRet;
  this->get_KeyPreview((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_KeyPreview(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("KeyPreview"), DISPID(327));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnError(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnError"), DISPID(119));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnError(void)
{
  BSTR pRet;
  this->get_OnError((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnError(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnError"), DISPID(119));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnFilter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnFilter"), DISPID(333));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnFilter(void)
{
  BSTR pRet;
  this->get_OnFilter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnFilter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnFilter"), DISPID(333));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnApplyFilter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnApplyFilter"), DISPID(334));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnApplyFilter(void)
{
  BSTR pRet;
  this->get_OnApplyFilter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnApplyFilter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnApplyFilter"), DISPID(334));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_OnTimer(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnTimer"), DISPID(110));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_OnTimer(void)
{
  BSTR pRet;
  this->get_OnTimer((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_OnTimer(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnTimer"), DISPID(110));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_TimerInterval(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TimerInterval"), DISPID(111));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_TimerInterval(void)
{
  long pRet;
  this->get_TimerInterval((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_TimerInterval(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("TimerInterval"), DISPID(111));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Dirty(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Dirty"), DISPID(286));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_Dirty(void)
{
  VARIANT_BOOL pRet;
  this->get_Dirty((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Dirty(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Dirty"), DISPID(286));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_WindowWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("WindowWidth"), DISPID(287));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_WindowWidth(void)
{
  short pRet;
  this->get_WindowWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_WindowWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("WindowWidth"), DISPID(287));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_WindowHeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("WindowHeight"), DISPID(288));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_WindowHeight(void)
{
  short pRet;
  this->get_WindowHeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_WindowHeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("WindowHeight"), DISPID(288));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_CurrentView(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentView"), DISPID(289));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_CurrentView(void)
{
  short pRet;
  this->get_CurrentView((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_CurrentView(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentView"), DISPID(289));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_CurrentSectionTop(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentSectionTop"), DISPID(291));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_CurrentSectionTop(void)
{
  short pRet;
  this->get_CurrentSectionTop((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_CurrentSectionTop(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentSectionTop"), DISPID(291));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_CurrentSectionLeft(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentSectionLeft"), DISPID(290));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_CurrentSectionLeft(void)
{
  short pRet;
  this->get_CurrentSectionLeft((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_CurrentSectionLeft(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentSectionLeft"), DISPID(290));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_SelLeft(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelLeft"), DISPID(298));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_SelLeft(void)
{
  long pRet;
  this->get_SelLeft((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_SelLeft(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelLeft"), DISPID(298));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_SelTop(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelTop"), DISPID(299));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_SelTop(void)
{
  long pRet;
  this->get_SelTop((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_SelTop(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelTop"), DISPID(299));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_SelWidth(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelWidth"), DISPID(300));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_SelWidth(void)
{
  long pRet;
  this->get_SelWidth((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_SelWidth(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelWidth"), DISPID(300));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_SelHeight(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelHeight"), DISPID(301));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_SelHeight(void)
{
  long pRet;
  this->get_SelHeight((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_SelHeight(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SelHeight"), DISPID(301));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_CurrentRecord(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentRecord"), DISPID(302));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_CurrentRecord(void)
{
  long pRet;
  this->get_CurrentRecord((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_CurrentRecord(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentRecord"), DISPID(302));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_PictureData(void)
{
  VARIANT pRet;
  this->get_PictureData((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_InsideHeight(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InsideHeight"), DISPID(315));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_InsideHeight(void)
{
  long pRet;
  this->get_InsideHeight((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_InsideHeight(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InsideHeight"), DISPID(315));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_InsideWidth(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InsideWidth"), DISPID(316));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_InsideWidth(void)
{
  long pRet;
  this->get_InsideWidth((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_InsideWidth(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InsideWidth"), DISPID(316));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_PicturePalette(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PicturePalette"), DISPID(311));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_PicturePalette(void)
{
  VARIANT pRet;
  this->get_PicturePalette((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_PicturePalette(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PicturePalette"), DISPID(311));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_HasModule(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HasModule"), DISPID(342));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_HasModule(void)
{
  VARIANT_BOOL pRet;
  this->get_HasModule((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_HasModule(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HasModule"), DISPID(342));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_acHiddenCurrentPage(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("acHiddenCurrentPage"), DISPID(365));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_acHiddenCurrentPage(void)
{
  long pRet;
  this->get_acHiddenCurrentPage((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_acHiddenCurrentPage(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("acHiddenCurrentPage"), DISPID(365));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Orientation(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Orientation"), DISPID(370));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_FormDispT<T>::get_Orientation(void)
{
  unsigned_char pRet;
  this->get_Orientation((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Orientation(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Orientation"), DISPID(370));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_AllowDesignChanges(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowDesignChanges"), DISPID(373));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_AllowDesignChanges(void)
{
  VARIANT_BOOL pRet;
  this->get_AllowDesignChanges((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_AllowDesignChanges(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllowDesignChanges"), DISPID(373));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ServerFilter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ServerFilter"), DISPID(246));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_ServerFilter(void)
{
  BSTR pRet;
  this->get_ServerFilter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_ServerFilter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ServerFilter"), DISPID(246));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ServerFilterByForm(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ServerFilterByForm"), DISPID(247));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_ServerFilterByForm(void)
{
  VARIANT_BOOL pRet;
  this->get_ServerFilterByForm((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_ServerFilterByForm(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ServerFilterByForm"), DISPID(247));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_MaxRecords(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MaxRecords"), DISPID(361));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_MaxRecords(void)
{
  long pRet;
  this->get_MaxRecords((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_MaxRecords(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MaxRecords"), DISPID(361));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_UniqueTable(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("UniqueTable"), DISPID(65));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_UniqueTable(void)
{
  BSTR pRet;
  this->get_UniqueTable((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_UniqueTable(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("UniqueTable"), DISPID(65));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ResyncCommand(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ResyncCommand"), DISPID(64));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_ResyncCommand(void)
{
  BSTR pRet;
  this->get_ResyncCommand((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_ResyncCommand(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ResyncCommand"), DISPID(64));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_InputParameters(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InputParameters"), DISPID(66));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_InputParameters(void)
{
  BSTR pRet;
  this->get_InputParameters((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_InputParameters(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InputParameters"), DISPID(66));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_MaxRecButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MaxRecButton"), DISPID(63));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_MaxRecButton(void)
{
  VARIANT_BOOL pRet;
  this->get_MaxRecButton((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_MaxRecButton(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MaxRecButton"), DISPID(63));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_FormDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_FormDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_NewRecord(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("NewRecord"), DISPID(2147));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_NewRecord(void)
{
  short pRet;
  this->get_NewRecord((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::Undo()
{
  _TDispID _dispid(*this, OLETEXT("Undo"), DISPID(2145));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ActiveControl"), DISPID(2006));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessControl**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessControlPtr __fastcall
_FormDispT<T>::get_ActiveControl(void)
{
  Access_2k::AccessControlPtr pRet;
  this->get_ActiveControl(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_DefaultControl(long ControlType/*[in]*/, 
                                  Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultControl"), DISPID(2150));
  TAutoArgs<1> _args;
  _args[1] = ControlType /*[VT_I4:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessControl**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessControl* __fastcall
_FormDispT<T>::get_DefaultControl(long ControlType/*[in]*/)
{
  Access_2k::AccessControl* pRet;
  this->get_DefaultControl(ControlType, (Access_2k::AccessControl**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Dynaset(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Dynaset"), DISPID(2085));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_FormDispT<T>::get_Dynaset(void)
{
  LPDISPATCH pRet;
  this->get_Dynaset((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_RecordsetClone(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordsetClone"), DISPID(2086));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_FormDispT<T>::get_RecordsetClone(void)
{
  LPDISPATCH pRet;
  this->get_RecordsetClone((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Recordset(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Recordset"), DISPID(2196));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_FormDispT<T>::get_Recordset(void)
{
  LPDISPATCH pRet;
  this->get_Recordset((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::_set_Recordset(LPDISPATCH pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Recordset"), DISPID(2196));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_DISPATCH:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Section(VARIANT Index/*[in]*/, Access_2k::AccessSection** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(2088));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessSection**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessSection* __fastcall
_FormDispT<T>::get_Section(VARIANT Index/*[in]*/)
{
  Access_2k::AccessSection* pRet;
  this->get_Section(Index, (Access_2k::AccessSection**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Form(Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Form"), DISPID(2089));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessForm**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessFormPtr __fastcall
_FormDispT<T>::get_Form(void)
{
  Access_2k::AccessFormPtr pRet;
  this->get_Form(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Module(Access_2k::Module** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Module"), DISPID(2090));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Module**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ModulePtr __fastcall
_FormDispT<T>::get_Module(void)
{
  Access_2k::ModulePtr pRet;
  this->get_Module(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_FormDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_ConnectControl(Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ConnectControl"), DISPID(2092));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessControl**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessControlPtr __fastcall
_FormDispT<T>::get_ConnectControl(void)
{
  Access_2k::AccessControlPtr pRet;
  this->get_ConnectControl(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::Recalc()
{
  _TDispID _dispid(*this, OLETEXT("Recalc"), DISPID(2017));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::Requery()
{
  _TDispID _dispid(*this, OLETEXT("Requery"), DISPID(2018));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::Refresh()
{
  _TDispID _dispid(*this, OLETEXT("Refresh"), DISPID(-550));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::Repaint()
{
  _TDispID _dispid(*this, OLETEXT("Repaint"), DISPID(2020));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::GoToPage(long PageNumber/*[in]*/, long Right/*[in,def,opt]*/, 
                        long Down/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("GoToPage"), DISPID(2021));
  TAutoArgs<3> _args;
  _args[1] = PageNumber /*[VT_I4:0]*/;
  _args[2] = Right /*[VT_I4:0]*/;
  _args[3] = Down /*[VT_I4:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::SetFocus()
{
  _TDispID _dispid(*this, OLETEXT("SetFocus"), DISPID(2022));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Controls_**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::Controls_Ptr __fastcall
_FormDispT<T>::get_Controls(void)
{
  Access_2k::Controls_Ptr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
_FormDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                         VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_SubdatasheetHeight(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SubdatasheetHeight"), DISPID(387));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_FormDispT<T>::get_SubdatasheetHeight(void)
{
  short pRet;
  this->get_SubdatasheetHeight((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_SubdatasheetHeight(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SubdatasheetHeight"), DISPID(387));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_SubdatasheetExpanded(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SubdatasheetExpanded"), DISPID(390));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_FormDispT<T>::get_SubdatasheetExpanded(void)
{
  VARIANT_BOOL pRet;
  this->get_SubdatasheetExpanded((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_SubdatasheetExpanded(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SubdatasheetExpanded"), DISPID(390));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accParent(LPDISPATCH* ppdispParent/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accParent"), DISPID(-5000));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppdispParent /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_FormDispT<T>::get_accParent(void)
{
  LPDISPATCH ppdispParent;
  this->get_accParent((LPDISPATCH*)&ppdispParent);
  return ppdispParent;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accChildCount(long* pcountChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChildCount"), DISPID(-5001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pcountChildren /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_accChildCount(void)
{
  long pcountChildren;
  this->get_accChildCount((long*)&pcountChildren);
  return pcountChildren;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accChild(VARIANT varChild/*[in]*/, LPDISPATCH* ppdispChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accChild"), DISPID(-5002));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(ppdispChild /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_FormDispT<T>::get_accChild(VARIANT varChild/*[in]*/)
{
  LPDISPATCH ppdispChild;
  this->get_accChild(varChild, (LPDISPATCH*)&ppdispChild);
  return ppdispChild;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/, BSTR* pszName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_accName(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszName;
  this->get_accName(varChild, (BSTR*)&pszName);
  return pszName;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/, BSTR* pszValue/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszValue /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_accValue(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszValue;
  this->get_accValue(varChild, (BSTR*)&pszValue);
  return pszValue;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/, BSTR* pszDescription/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDescription"), DISPID(-5005));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDescription /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_accDescription(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDescription;
  this->get_accDescription(varChild, (BSTR*)&pszDescription);
  return pszDescription;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/, VARIANT* pvarRole/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accRole"), DISPID(-5006));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarRole /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_accRole(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarRole;
  this->get_accRole(varChild, (VARIANT*)&pvarRole);
  return pvarRole;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/, VARIANT* pvarState/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accState"), DISPID(-5007));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarState /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_accState(VARIANT varChild/*[in,opt]*/)
{
  VARIANT pvarState;
  this->get_accState(varChild, (VARIANT*)&pvarState);
  return pvarState;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/, BSTR* pszHelp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelp"), DISPID(-5008));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszHelp /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_accHelp(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszHelp;
  this->get_accHelp(varChild, (BSTR*)&pszHelp);
  return pszHelp;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/, 
                                long* pidTopic/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHelpTopic"), DISPID(-5009));
  TAutoArgs<2> _args;
  _args[1] = pszHelpFile /*[VT_BSTR:1]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pidTopic /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_FormDispT<T>::get_accHelpTopic(BSTR* pszHelpFile/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  long pidTopic;
  this->get_accHelpTopic(pszHelpFile, varChild, (long*)&pidTopic);
  return pidTopic;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/, 
                                       BSTR* pszKeyboardShortcut/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accKeyboardShortcut"), DISPID(-5010));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszKeyboardShortcut /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_accKeyboardShortcut(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszKeyboardShortcut;
  this->get_accKeyboardShortcut(varChild, (BSTR*)&pszKeyboardShortcut);
  return pszKeyboardShortcut;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accFocus(VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accFocus"), DISPID(-5011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_accFocus(void)
{
  VARIANT pvarChild;
  this->get_accFocus((VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accSelection(VARIANT* pvarChildren/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelection"), DISPID(-5012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pvarChildren /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::get_accSelection(void)
{
  VARIANT pvarChildren;
  this->get_accSelection((VARIANT*)&pvarChildren);
  return pvarChildren;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/, 
                                    BSTR* pszDefaultAction/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDefaultAction"), DISPID(-5013));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pszDefaultAction /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_FormDispT<T>::get_accDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  BSTR pszDefaultAction;
  this->get_accDefaultAction(varChild, (BSTR*)&pszDefaultAction);
  return pszDefaultAction;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::accSelect(long flagsSelect/*[in]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accSelect"), DISPID(-5014));
  TAutoArgs<2> _args;
  _args[1] = flagsSelect /*[VT_I4:0]*/;
  _args[2] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::accLocation(long* pxLeft/*[out]*/, long* pyTop/*[out]*/, long* pcxWidth/*[out]*/, 
                           long* pcyHeight/*[out]*/, VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accLocation"), DISPID(-5015));
  TAutoArgs<5> _args;
  _args[1] = pxLeft /*[VT_I4:1]*/;
  _args[2] = pyTop /*[VT_I4:1]*/;
  _args[3] = pcxWidth /*[VT_I4:1]*/;
  _args[4] = pcyHeight /*[VT_I4:1]*/;
  _args[5] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/, 
                           VARIANT* pvarEndUpAt/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accNavigate"), DISPID(-5016));
  TAutoArgs<2> _args;
  _args[1] = navDir /*[VT_I4:0]*/;
  _args[2] = varStart /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pvarEndUpAt /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::accNavigate(long navDir/*[in]*/, VARIANT varStart/*[in,opt]*/)
{
  VARIANT pvarEndUpAt;
  this->accNavigate(navDir, varStart, (VARIANT*)&pvarEndUpAt);
  return pvarEndUpAt;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/, VARIANT* pvarChild/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("accHitTest"), DISPID(-5017));
  TAutoArgs<2> _args;
  _args[1] = xLeft /*[VT_I4:0]*/;
  _args[2] = yTop /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pvarChild /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_FormDispT<T>::accHitTest(long xLeft/*[in]*/, long yTop/*[in]*/)
{
  VARIANT pvarChild;
  this->accHitTest(xLeft, yTop, (VARIANT*)&pvarChild);
  return pvarChild;
}

template <class T> HRESULT __fastcall
_FormDispT<T>::accDoDefaultAction(VARIANT varChild/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("accDoDefaultAction"), DISPID(-5018));
  TAutoArgs<1> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_accName(VARIANT varChild/*[in,opt]*/, BSTR pszName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accName"), DISPID(-5003));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_FormDispT<T>::set_accValue(VARIANT varChild/*[in,opt]*/, BSTR pszValue/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("accValue"), DISPID(-5004));
  TAutoArgs<2> _args;
  _args[1] = varChild /*[VT_VARIANT:0]*/;
  _args[2] = pszValue /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// DispIntf:  Forms
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {B1BB0E80-6128-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
Forms_DispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
Forms_DispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
Forms_DispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
Forms_DispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
Forms_DispT<T>::get_Item(VARIANT Index/*[in]*/, Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessForm**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessForm* __fastcall
Forms_DispT<T>::get_Item(VARIANT Index/*[in]*/)
{
  Access_2k::AccessForm* pRet;
  this->get_Item(Index, (Access_2k::AccessForm**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
Forms_DispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
Forms_DispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
Forms_DispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
Forms_DispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

// *********************************************************************//
// SmartIntf: TCOM_Report
// Interface: _Report
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_FormName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FormName(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_FormName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FormName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_FormName(BSTR pRet/*[in]*/)
{
  return (*this)->set_FormName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_RecordSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_RecordSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_RecordSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_RecordSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_RecordSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_RecordSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Filter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Filter(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_Filter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Filter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Filter(BSTR pRet/*[in]*/)
{
  return (*this)->set_Filter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_FilterOn(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FilterOn(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_FilterOn(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FilterOn((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_FilterOn(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FilterOn(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_OrderBy(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OrderBy(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_OrderBy(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OrderBy((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_OrderBy(BSTR pRet/*[in]*/)
{
  return (*this)->set_OrderBy(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_OrderByOn(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_OrderByOn(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_OrderByOn(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_OrderByOn((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_OrderByOn(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_OrderByOn(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_ServerFilter(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ServerFilter(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_ServerFilter(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ServerFilter((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_ServerFilter(BSTR pRet/*[in]*/)
{
  return (*this)->set_ServerFilter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Caption(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_Caption(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Caption((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  return (*this)->set_Caption(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_RecordLocks(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_RecordLocks(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ReportT<T>::get_RecordLocks(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_RecordLocks((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_RecordLocks(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_RecordLocks(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PageHeader(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PageHeader(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ReportT<T>::get_PageHeader(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PageHeader((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PageHeader(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PageHeader(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PageFooter(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PageFooter(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ReportT<T>::get_PageFooter(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PageFooter((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PageFooter(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PageFooter(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_DateGrouping(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_DateGrouping(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ReportT<T>::get_DateGrouping(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_DateGrouping((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_DateGrouping(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_DateGrouping(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_GrpKeepTogether(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_GrpKeepTogether(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ReportT<T>::get_GrpKeepTogether(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_GrpKeepTogether((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_GrpKeepTogether(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_GrpKeepTogether(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_MinButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_MinButton(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_MinButton(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_MinButton((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_MinButton(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_MinButton(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_MaxButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_MaxButton(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_MaxButton(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_MaxButton((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_MaxButton(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_MaxButton(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Width(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_Width(void)
{
  short pRet;
  OLECHECK(this->get_Width((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Width(short pRet/*[in]*/)
{
  return (*this)->set_Width(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Picture(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_Picture(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Picture((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  return (*this)->set_Picture(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureType(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ReportT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PictureType((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PictureType(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PictureSizeMode(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureSizeMode(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ReportT<T>::get_PictureSizeMode(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PictureSizeMode((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PictureSizeMode(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PictureSizeMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureAlignment(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ReportT<T>::get_PictureAlignment(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PictureAlignment((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PictureAlignment(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PictureAlignment(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureTiling(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_PictureTiling(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_PictureTiling((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PictureTiling(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_PictureTiling(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PicturePages(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_PicturePages(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ReportT<T>::get_PicturePages(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_PicturePages((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PicturePages(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_PicturePages(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_MenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_MenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_MenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_MenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_MenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_MenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Toolbar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Toolbar(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_Toolbar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Toolbar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Toolbar(BSTR pRet/*[in]*/)
{
  return (*this)->set_Toolbar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_GridX(short* pRet/*[out,retval]*/)
{
  return (*this)->get_GridX(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_GridX(void)
{
  short pRet;
  OLECHECK(this->get_GridX((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_GridX(short pRet/*[in]*/)
{
  return (*this)->set_GridX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_GridY(short* pRet/*[out,retval]*/)
{
  return (*this)->get_GridY(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_GridY(void)
{
  short pRet;
  OLECHECK(this->get_GridY((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_GridY(short pRet/*[in]*/)
{
  return (*this)->set_GridY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_LayoutForPrint(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_LayoutForPrint(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_LayoutForPrint(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_LayoutForPrint((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_LayoutForPrint(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_LayoutForPrint(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_FastLaserPrinting(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_FastLaserPrinting(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_FastLaserPrinting(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_FastLaserPrinting((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_FastLaserPrinting(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_FastLaserPrinting(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_HelpFile(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpFile(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_HelpFile(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_HelpFile((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_HelpFile(BSTR pRet/*[in]*/)
{
  return (*this)->set_HelpFile(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HelpContextId(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_HelpContextId(void)
{
  long pRet;
  OLECHECK(this->get_HelpContextId((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  return (*this)->set_HelpContextId(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Hwnd(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Hwnd(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_Hwnd(void)
{
  long pRet;
  OLECHECK(this->get_Hwnd((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Hwnd(long pRet/*[in]*/)
{
  return (*this)->set_Hwnd(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Count(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Count(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_Count(void)
{
  short pRet;
  OLECHECK(this->get_Count((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Count(short pRet/*[in]*/)
{
  return (*this)->set_Count(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Page(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Page(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_Page(void)
{
  long pRet;
  OLECHECK(this->get_Page((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Page(long pRet/*[in]*/)
{
  return (*this)->set_Page(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Pages(short* pRet/*[out,retval]*/)
{
  return (*this)->get_Pages(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_Pages(void)
{
  short pRet;
  OLECHECK(this->get_Pages((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Pages(short pRet/*[in]*/)
{
  return (*this)->set_Pages(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_LogicalPageWidth(long* pRet/*[out,retval]*/)
{
  return (*this)->get_LogicalPageWidth(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_LogicalPageWidth(void)
{
  long pRet;
  OLECHECK(this->get_LogicalPageWidth((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_LogicalPageWidth(long pRet/*[in]*/)
{
  return (*this)->set_LogicalPageWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_LogicalPageHeight(long* pRet/*[out,retval]*/)
{
  return (*this)->get_LogicalPageHeight(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_LogicalPageHeight(void)
{
  long pRet;
  OLECHECK(this->get_LogicalPageHeight((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_LogicalPageHeight(long pRet/*[in]*/)
{
  return (*this)->set_LogicalPageHeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_ZoomControl(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ZoomControl(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_ZoomControl(void)
{
  long pRet;
  OLECHECK(this->get_ZoomControl((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_ZoomControl(long pRet/*[in]*/)
{
  return (*this)->set_ZoomControl(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_HasData(long* pRet/*[out,retval]*/)
{
  return (*this)->get_HasData(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_HasData(void)
{
  long pRet;
  OLECHECK(this->get_HasData((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_HasData(long pRet/*[in]*/)
{
  return (*this)->set_HasData(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Left(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Left(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_Left(void)
{
  long pRet;
  OLECHECK(this->get_Left((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Left(long pRet/*[in]*/)
{
  return (*this)->set_Left(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Top(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Top(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_Top(void)
{
  long pRet;
  OLECHECK(this->get_Top((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Top(long pRet/*[in]*/)
{
  return (*this)->set_Top(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Height(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Height(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_Height(void)
{
  long pRet;
  OLECHECK(this->get_Height((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Height(long pRet/*[in]*/)
{
  return (*this)->set_Height(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PrintSection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_PrintSection(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_PrintSection(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_PrintSection((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PrintSection(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_PrintSection(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_NextRecord(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_NextRecord(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_NextRecord(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_NextRecord((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_NextRecord(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_NextRecord(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_MoveLayout(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_MoveLayout(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_MoveLayout(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_MoveLayout((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_MoveLayout(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_MoveLayout(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_FormatCount(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FormatCount(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_FormatCount(void)
{
  short pRet;
  OLECHECK(this->get_FormatCount((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_FormatCount(short pRet/*[in]*/)
{
  return (*this)->set_FormatCount(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PrintCount(short* pRet/*[out,retval]*/)
{
  return (*this)->get_PrintCount(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_PrintCount(void)
{
  short pRet;
  OLECHECK(this->get_PrintCount((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PrintCount(short pRet/*[in]*/)
{
  return (*this)->set_PrintCount(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Painting(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Painting(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_Painting(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Painting((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Painting(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Painting(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PrtMip(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PrtMip(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ReportT<T>::get_PrtMip(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PrtMip((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PrtMip(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PrtMip(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PrtDevMode(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PrtDevMode(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ReportT<T>::get_PrtDevMode(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PrtDevMode((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PrtDevMode(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PrtDevMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PrtDevNames(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PrtDevNames(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ReportT<T>::get_PrtDevNames(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PrtDevNames((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PrtDevNames(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PrtDevNames(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_ForeColor(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_ForeColor(void)
{
  long pRet;
  OLECHECK(this->get_ForeColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_ForeColor(long pRet/*[in]*/)
{
  return (*this)->set_ForeColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_CurrentX(float* pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentX(pRet);
}

template <class T> float __fastcall
TCOM_ReportT<T>::get_CurrentX(void)
{
  float pRet;
  OLECHECK(this->get_CurrentX((float*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_CurrentX(float pRet/*[in]*/)
{
  return (*this)->set_CurrentX(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_CurrentY(float* pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentY(pRet);
}

template <class T> float __fastcall
TCOM_ReportT<T>::get_CurrentY(void)
{
  float pRet;
  OLECHECK(this->get_CurrentY((float*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_CurrentY(float pRet/*[in]*/)
{
  return (*this)->set_CurrentY(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_ScaleHeight(float* pRet/*[out,retval]*/)
{
  return (*this)->get_ScaleHeight(pRet);
}

template <class T> float __fastcall
TCOM_ReportT<T>::get_ScaleHeight(void)
{
  float pRet;
  OLECHECK(this->get_ScaleHeight((float*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_ScaleHeight(float pRet/*[in]*/)
{
  return (*this)->set_ScaleHeight(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_ScaleLeft(float* pRet/*[out,retval]*/)
{
  return (*this)->get_ScaleLeft(pRet);
}

template <class T> float __fastcall
TCOM_ReportT<T>::get_ScaleLeft(void)
{
  float pRet;
  OLECHECK(this->get_ScaleLeft((float*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_ScaleLeft(float pRet/*[in]*/)
{
  return (*this)->set_ScaleLeft(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_ScaleMode(short* pRet/*[out,retval]*/)
{
  return (*this)->get_ScaleMode(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_ScaleMode(void)
{
  short pRet;
  OLECHECK(this->get_ScaleMode((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_ScaleMode(short pRet/*[in]*/)
{
  return (*this)->set_ScaleMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_ScaleTop(float* pRet/*[out,retval]*/)
{
  return (*this)->get_ScaleTop(pRet);
}

template <class T> float __fastcall
TCOM_ReportT<T>::get_ScaleTop(void)
{
  float pRet;
  OLECHECK(this->get_ScaleTop((float*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_ScaleTop(float pRet/*[in]*/)
{
  return (*this)->set_ScaleTop(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_ScaleWidth(float* pRet/*[out,retval]*/)
{
  return (*this)->get_ScaleWidth(pRet);
}

template <class T> float __fastcall
TCOM_ReportT<T>::get_ScaleWidth(void)
{
  float pRet;
  OLECHECK(this->get_ScaleWidth((float*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_ScaleWidth(float pRet/*[in]*/)
{
  return (*this)->set_ScaleWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontBold(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_FontBold(void)
{
  short pRet;
  OLECHECK(this->get_FontBold((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_FontBold(short pRet/*[in]*/)
{
  return (*this)->set_FontBold(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_FontItalic(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontItalic(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_FontItalic(void)
{
  short pRet;
  OLECHECK(this->get_FontItalic((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_FontItalic(short pRet/*[in]*/)
{
  return (*this)->set_FontItalic(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FontName(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_FontName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FontName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  return (*this)->set_FontName(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontSize(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_FontSize(void)
{
  short pRet;
  OLECHECK(this->get_FontSize((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_FontSize(short pRet/*[in]*/)
{
  return (*this)->set_FontSize(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_FontUnderline(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FontUnderline(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_FontUnderline(void)
{
  short pRet;
  OLECHECK(this->get_FontUnderline((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_FontUnderline(short pRet/*[in]*/)
{
  return (*this)->set_FontUnderline(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_DrawMode(short* pRet/*[out,retval]*/)
{
  return (*this)->get_DrawMode(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_DrawMode(void)
{
  short pRet;
  OLECHECK(this->get_DrawMode((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_DrawMode(short pRet/*[in]*/)
{
  return (*this)->set_DrawMode(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_DrawStyle(short* pRet/*[out,retval]*/)
{
  return (*this)->get_DrawStyle(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_DrawStyle(void)
{
  short pRet;
  OLECHECK(this->get_DrawStyle((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_DrawStyle(short pRet/*[in]*/)
{
  return (*this)->set_DrawStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_DrawWidth(short* pRet/*[out,retval]*/)
{
  return (*this)->get_DrawWidth(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_DrawWidth(void)
{
  short pRet;
  OLECHECK(this->get_DrawWidth((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_DrawWidth(short pRet/*[in]*/)
{
  return (*this)->set_DrawWidth(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_FillColor(long* pRet/*[out,retval]*/)
{
  return (*this)->get_FillColor(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_FillColor(void)
{
  long pRet;
  OLECHECK(this->get_FillColor((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_FillColor(long pRet/*[in]*/)
{
  return (*this)->set_FillColor(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_FillStyle(short* pRet/*[out,retval]*/)
{
  return (*this)->get_FillStyle(pRet);
}

template <class T> short __fastcall
TCOM_ReportT<T>::get_FillStyle(void)
{
  short pRet;
  OLECHECK(this->get_FillStyle((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_FillStyle(short pRet/*[in]*/)
{
  return (*this)->set_FillStyle(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set__Name(BSTR pRet/*[in]*/)
{
  return (*this)->set__Name(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PaletteSource(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_PaletteSource(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_PaletteSource(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_PaletteSource((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PaletteSource(BSTR pRet/*[in]*/)
{
  return (*this)->set_PaletteSource(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PaintPalette(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PaintPalette(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ReportT<T>::get_PaintPalette(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PaintPalette((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PaintPalette(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PaintPalette(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_OnMenu(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnMenu(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_OnMenu(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnMenu((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_OnMenu(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnMenu(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_OnOpen(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnOpen(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_OnOpen(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnOpen((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_OnOpen(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnOpen(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_OnClose(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnClose(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_OnClose(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnClose((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_OnClose(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnClose(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_OnActivate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnActivate(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_OnActivate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnActivate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_OnActivate(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnActivate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_OnDeactivate(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnDeactivate(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_OnDeactivate(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnDeactivate((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_OnDeactivate(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnDeactivate(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_OnNoData(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnNoData(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_OnNoData(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnNoData((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_OnNoData(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnNoData(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_OnPage(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnPage(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_OnPage(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnPage((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_OnPage(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnPage(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_OnError(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_OnError(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_OnError(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_OnError((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_OnError(BSTR pRet/*[in]*/)
{
  return (*this)->set_OnError(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Dirty(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Dirty(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_Dirty(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Dirty((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Dirty(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Dirty(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_CurrentRecord(long* pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentRecord(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_CurrentRecord(void)
{
  long pRet;
  OLECHECK(this->get_CurrentRecord((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_CurrentRecord(long pRet/*[in]*/)
{
  return (*this)->set_CurrentRecord(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PictureData(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ReportT<T>::get_PictureData(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PictureData((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PictureData(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_PicturePalette(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->get_PicturePalette(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ReportT<T>::get_PicturePalette(void)
{
  VARIANT pRet;
  OLECHECK(this->get_PicturePalette((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_PicturePalette(VARIANT pRet/*[in]*/)
{
  return (*this)->set_PicturePalette(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_HasModule(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_HasModule(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ReportT<T>::get_HasModule(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_HasModule((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_HasModule(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_HasModule(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_acHiddenCurrentPage(long* pRet/*[out,retval]*/)
{
  return (*this)->get_acHiddenCurrentPage(pRet);
}

template <class T> long __fastcall
TCOM_ReportT<T>::get_acHiddenCurrentPage(void)
{
  long pRet;
  OLECHECK(this->get_acHiddenCurrentPage((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_acHiddenCurrentPage(long pRet/*[in]*/)
{
  return (*this)->set_acHiddenCurrentPage(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Orientation(unsigned_char* pRet/*[out,retval]*/)
{
  return (*this)->get_Orientation(pRet);
}

template <class T> unsigned_char __fastcall
TCOM_ReportT<T>::get_Orientation(void)
{
  unsigned_char pRet;
  OLECHECK(this->get_Orientation((unsigned_char*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Orientation(unsigned_char pRet/*[in]*/)
{
  return (*this)->set_Orientation(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_InputParameters(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_InputParameters(pRet);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_InputParameters(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_InputParameters((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_InputParameters(BSTR pRet/*[in]*/)
{
  return (*this)->set_InputParameters(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_ReportT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ReportT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  return (*this)->get_ActiveControl(pRet);
}

template <class T> Access_2k::AccessControlPtr __fastcall
TCOM_ReportT<T>::get_ActiveControl(void)
{
  Access_2k::AccessControlPtr pRet;
  OLECHECK(this->get_ActiveControl((Access_2k::AccessControlPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_DefaultControl(long ControlType/*[in]*/, 
                                    Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  return (*this)->get_DefaultControl(ControlType, pRet);
}

template <class T> Access_2k::AccessControl* __fastcall
TCOM_ReportT<T>::get_DefaultControl(long ControlType/*[in]*/)
{
  Access_2k::AccessControl* pRet;
  OLECHECK(this->get_DefaultControl(ControlType/*[in]*/, (Access_2k::AccessControl**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::Circle(short flags/*[in]*/, float X/*[in]*/, float Y/*[in]*/, float radius/*[in]*/, 
                        long color/*[in]*/, float start/*[in]*/, float end/*[in]*/, 
                        float aspect/*[in]*/)
{
  return (*this)->Circle(flags, X, Y, radius, color, start, end, aspect);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::Line(short flags/*[in]*/, float x1/*[in]*/, float y1/*[in]*/, float x2/*[in]*/, 
                      float y2/*[in]*/, long color/*[in]*/)
{
  return (*this)->Line(flags, x1, y1, x2, y2, color);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::PSet(short flags/*[in]*/, float X/*[in]*/, float Y/*[in]*/, long color/*[in]*/)
{
  return (*this)->PSet(flags, X, Y, color);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::Scale(short flags/*[in]*/, float x1/*[in]*/, float y1/*[in]*/, float x2/*[in]*/, 
                       float y2/*[in]*/)
{
  return (*this)->Scale(flags, x1, y1, x2, y2);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::TextWidth(BSTR Expr/*[in]*/, float* pRet/*[out,retval]*/)
{
  return (*this)->TextWidth(Expr, pRet);
}

template <class T> float __fastcall
TCOM_ReportT<T>::TextWidth(BSTR Expr/*[in]*/)
{
  float pRet;
  OLECHECK(this->TextWidth(Expr/*[in]*/, (float*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::TextHeight(BSTR Expr/*[in]*/, float* pRet/*[out,retval]*/)
{
  return (*this)->TextHeight(Expr, pRet);
}

template <class T> float __fastcall
TCOM_ReportT<T>::TextHeight(BSTR Expr/*[in]*/)
{
  float pRet;
  OLECHECK(this->TextHeight(Expr/*[in]*/, (float*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::Print(BSTR Expr/*[in]*/)
{
  return (*this)->Print(Expr);
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Section(VARIANT Index/*[in]*/, Access_2k::AccessSection** pRet/*[out,retval]*/)
{
  return (*this)->get_Section(Index, pRet);
}

template <class T> Access_2k::AccessSection* __fastcall
TCOM_ReportT<T>::get_Section(VARIANT Index/*[in]*/)
{
  Access_2k::AccessSection* pRet;
  OLECHECK(this->get_Section(Index/*[in]*/, (Access_2k::AccessSection**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_GroupLevel(long Index/*[in]*/, 
                                Access_2k::AccessGroupLevel** pRet/*[out,retval]*/)
{
  return (*this)->get_GroupLevel(Index, pRet);
}

template <class T> Access_2k::AccessGroupLevel* __fastcall
TCOM_ReportT<T>::get_GroupLevel(long Index/*[in]*/)
{
  Access_2k::AccessGroupLevel* pRet;
  OLECHECK(this->get_GroupLevel(Index/*[in]*/, (Access_2k::AccessGroupLevel**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  return (*this)->get_Report(pRet);
}

template <class T> Access_2k::AccessReportPtr __fastcall
TCOM_ReportT<T>::get_Report(void)
{
  Access_2k::AccessReportPtr pRet;
  OLECHECK(this->get_Report((Access_2k::AccessReportPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Module(Access_2k::Module** pRet/*[out,retval]*/)
{
  return (*this)->get_Module(pRet);
}

template <class T> Access_2k::ModulePtr __fastcall
TCOM_ReportT<T>::get_Module(void)
{
  Access_2k::ModulePtr pRet;
  OLECHECK(this->get_Module((Access_2k::ModulePtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::PropertiesPtr __fastcall
TCOM_ReportT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::PropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/)
{
  return (*this)->get_Controls(pRet);
}

template <class T> Access_2k::Controls_Ptr __fastcall
TCOM_ReportT<T>::get_Controls(void)
{
  Access_2k::Controls_Ptr pRet;
  OLECHECK(this->get_Controls((Access_2k::Controls_Ptr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  return (*this)->_NewEnum(pRet);
}

template <class T> LPUNKNOWN __fastcall
TCOM_ReportT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->_Evaluate(bstrExpr, ppsa, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ReportT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->_Evaluate(bstrExpr/*[in]*/, ppsa/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_ReportT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_ReportT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  return (*this)->set_Name(pbstrName);
}

// *********************************************************************//
// DispIntf:  _Report
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {3E8B6B00-91FF-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_ReportDispT<T>::get_FormName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormName"), DISPID(39));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_FormName(void)
{
  BSTR pRet;
  this->get_FormName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_FormName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormName"), DISPID(39));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_RecordSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordSource"), DISPID(156));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_RecordSource(void)
{
  BSTR pRet;
  this->get_RecordSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_RecordSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordSource"), DISPID(156));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Filter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Filter"), DISPID(245));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_Filter(void)
{
  BSTR pRet;
  this->get_Filter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Filter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Filter"), DISPID(245));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_FilterOn(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FilterOn"), DISPID(332));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_FilterOn(void)
{
  VARIANT_BOOL pRet;
  this->get_FilterOn((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_FilterOn(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FilterOn"), DISPID(332));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_OrderBy(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrderBy"), DISPID(331));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_OrderBy(void)
{
  BSTR pRet;
  this->get_OrderBy((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_OrderBy(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrderBy"), DISPID(331));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_OrderByOn(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrderByOn"), DISPID(336));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_OrderByOn(void)
{
  VARIANT_BOOL pRet;
  this->get_OrderByOn((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_OrderByOn(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrderByOn"), DISPID(336));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_ServerFilter(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ServerFilter"), DISPID(246));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_ServerFilter(void)
{
  BSTR pRet;
  this->get_ServerFilter((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_ServerFilter(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ServerFilter"), DISPID(246));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Caption(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_Caption(void)
{
  BSTR pRet;
  this->get_Caption((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Caption(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Caption"), DISPID(17));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_RecordLocks(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordLocks"), DISPID(26));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ReportDispT<T>::get_RecordLocks(void)
{
  unsigned_char pRet;
  this->get_RecordLocks((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_RecordLocks(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RecordLocks"), DISPID(26));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PageHeader(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PageHeader"), DISPID(43));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ReportDispT<T>::get_PageHeader(void)
{
  unsigned_char pRet;
  this->get_PageHeader((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PageHeader(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PageHeader"), DISPID(43));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PageFooter(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PageFooter"), DISPID(40));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ReportDispT<T>::get_PageFooter(void)
{
  unsigned_char pRet;
  this->get_PageFooter((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PageFooter(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PageFooter"), DISPID(40));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_DateGrouping(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DateGrouping"), DISPID(282));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ReportDispT<T>::get_DateGrouping(void)
{
  unsigned_char pRet;
  this->get_DateGrouping((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_DateGrouping(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DateGrouping"), DISPID(282));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_GrpKeepTogether(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GrpKeepTogether"), DISPID(283));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ReportDispT<T>::get_GrpKeepTogether(void)
{
  unsigned_char pRet;
  this->get_GrpKeepTogether((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_GrpKeepTogether(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("GrpKeepTogether"), DISPID(283));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_MinButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MinButton"), DISPID(95));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_MinButton(void)
{
  VARIANT_BOOL pRet;
  this->get_MinButton((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_MinButton(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MinButton"), DISPID(95));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_MaxButton(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MaxButton"), DISPID(94));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_MaxButton(void)
{
  VARIANT_BOOL pRet;
  this->get_MaxButton((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_MaxButton(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MaxButton"), DISPID(94));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Width(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_Width(void)
{
  short pRet;
  this->get_Width((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Width(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Width"), DISPID(150));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Picture(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_Picture(void)
{
  BSTR pRet;
  this->get_Picture((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Picture(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Picture"), DISPID(7));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PictureType(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ReportDispT<T>::get_PictureType(void)
{
  unsigned_char pRet;
  this->get_PictureType((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PictureType(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureType"), DISPID(341));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PictureSizeMode(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureSizeMode"), DISPID(312));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ReportDispT<T>::get_PictureSizeMode(void)
{
  unsigned_char pRet;
  this->get_PictureSizeMode((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PictureSizeMode(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureSizeMode"), DISPID(312));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PictureAlignment(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureAlignment"), DISPID(309));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ReportDispT<T>::get_PictureAlignment(void)
{
  unsigned_char pRet;
  this->get_PictureAlignment((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PictureAlignment(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureAlignment"), DISPID(309));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PictureTiling(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureTiling"), DISPID(313));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_PictureTiling(void)
{
  VARIANT_BOOL pRet;
  this->get_PictureTiling((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PictureTiling(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureTiling"), DISPID(313));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PicturePages(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PicturePages"), DISPID(310));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ReportDispT<T>::get_PicturePages(void)
{
  unsigned_char pRet;
  this->get_PicturePages((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PicturePages(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PicturePages"), DISPID(310));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_MenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MenuBar"), DISPID(240));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_MenuBar(void)
{
  BSTR pRet;
  this->get_MenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_MenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MenuBar"), DISPID(240));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Toolbar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Toolbar"), DISPID(353));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_Toolbar(void)
{
  BSTR pRet;
  this->get_Toolbar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Toolbar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Toolbar"), DISPID(353));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(304));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_GridX(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GridX"), DISPID(41));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_GridX(void)
{
  short pRet;
  this->get_GridX((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_GridX(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("GridX"), DISPID(41));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_GridY(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GridY"), DISPID(42));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_GridY(void)
{
  short pRet;
  this->get_GridY((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_GridY(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("GridY"), DISPID(42));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_LayoutForPrint(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LayoutForPrint"), DISPID(143));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_LayoutForPrint(void)
{
  VARIANT_BOOL pRet;
  this->get_LayoutForPrint((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_LayoutForPrint(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LayoutForPrint"), DISPID(143));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_FastLaserPrinting(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FastLaserPrinting"), DISPID(144));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_FastLaserPrinting(void)
{
  VARIANT_BOOL pRet;
  this->get_FastLaserPrinting((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_FastLaserPrinting(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FastLaserPrinting"), DISPID(144));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_HelpFile(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpFile"), DISPID(218));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_HelpFile(void)
{
  BSTR pRet;
  this->get_HelpFile((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_HelpFile(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpFile"), DISPID(218));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_HelpContextId(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_HelpContextId(void)
{
  long pRet;
  this->get_HelpContextId((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_HelpContextId(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HelpContextId"), DISPID(219));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Hwnd(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hwnd"), DISPID(192));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_Hwnd(void)
{
  long pRet;
  this->get_Hwnd((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Hwnd(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Hwnd"), DISPID(192));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Count(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(195));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_Count(void)
{
  short pRet;
  this->get_Count((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Count(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(195));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Page(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Page"), DISPID(196));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_Page(void)
{
  long pRet;
  this->get_Page((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Page(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Page"), DISPID(196));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Pages(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Pages"), DISPID(197));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_Pages(void)
{
  short pRet;
  this->get_Pages((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Pages(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Pages"), DISPID(197));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_LogicalPageWidth(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LogicalPageWidth"), DISPID(198));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_LogicalPageWidth(void)
{
  long pRet;
  this->get_LogicalPageWidth((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_LogicalPageWidth(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LogicalPageWidth"), DISPID(198));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_LogicalPageHeight(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LogicalPageHeight"), DISPID(199));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_LogicalPageHeight(void)
{
  long pRet;
  this->get_LogicalPageHeight((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_LogicalPageHeight(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LogicalPageHeight"), DISPID(199));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_ZoomControl(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ZoomControl"), DISPID(217));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_ZoomControl(void)
{
  long pRet;
  this->get_ZoomControl((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_ZoomControl(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ZoomControl"), DISPID(217));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_HasData(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HasData"), DISPID(202));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_HasData(void)
{
  long pRet;
  this->get_HasData((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_HasData(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HasData"), DISPID(202));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Left(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_Left(void)
{
  long pRet;
  this->get_Left((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Left(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Left"), DISPID(54));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Top(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_Top(void)
{
  long pRet;
  this->get_Top((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Top(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Top"), DISPID(141));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Height(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_Height(void)
{
  long pRet;
  this->get_Height((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Height(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Height"), DISPID(44));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PrintSection(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrintSection"), DISPID(225));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_PrintSection(void)
{
  VARIANT_BOOL pRet;
  this->get_PrintSection((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PrintSection(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrintSection"), DISPID(225));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_NextRecord(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("NextRecord"), DISPID(226));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_NextRecord(void)
{
  VARIANT_BOOL pRet;
  this->get_NextRecord((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_NextRecord(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("NextRecord"), DISPID(226));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_MoveLayout(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MoveLayout"), DISPID(227));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_MoveLayout(void)
{
  VARIANT_BOOL pRet;
  this->get_MoveLayout((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_MoveLayout(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MoveLayout"), DISPID(227));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_FormatCount(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormatCount"), DISPID(228));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_FormatCount(void)
{
  short pRet;
  this->get_FormatCount((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_FormatCount(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FormatCount"), DISPID(228));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PrintCount(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrintCount"), DISPID(229));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_PrintCount(void)
{
  short pRet;
  this->get_PrintCount((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PrintCount(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrintCount"), DISPID(229));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Painting(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Painting"), DISPID(241));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_Painting(void)
{
  VARIANT_BOOL pRet;
  this->get_Painting((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Painting(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Painting"), DISPID(241));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PrtMip(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtMip"), DISPID(189));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ReportDispT<T>::get_PrtMip(void)
{
  VARIANT pRet;
  this->get_PrtMip((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PrtMip(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtMip"), DISPID(189));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PrtDevMode(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtDevMode"), DISPID(190));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ReportDispT<T>::get_PrtDevMode(void)
{
  VARIANT pRet;
  this->get_PrtDevMode((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PrtDevMode(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtDevMode"), DISPID(190));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PrtDevNames(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtDevNames"), DISPID(191));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ReportDispT<T>::get_PrtDevNames(void)
{
  VARIANT pRet;
  this->get_PrtDevNames((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PrtDevNames(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PrtDevNames"), DISPID(191));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_ForeColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_ForeColor(void)
{
  long pRet;
  this->get_ForeColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_ForeColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ForeColor"), DISPID(204));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_CurrentX(float* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentX"), DISPID(205));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_R4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> float __fastcall
_ReportDispT<T>::get_CurrentX(void)
{
  float pRet;
  this->get_CurrentX((float*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_CurrentX(float pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentX"), DISPID(205));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_R4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_CurrentY(float* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentY"), DISPID(206));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_R4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> float __fastcall
_ReportDispT<T>::get_CurrentY(void)
{
  float pRet;
  this->get_CurrentY((float*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_CurrentY(float pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentY"), DISPID(206));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_R4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_ScaleHeight(float* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScaleHeight"), DISPID(207));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_R4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> float __fastcall
_ReportDispT<T>::get_ScaleHeight(void)
{
  float pRet;
  this->get_ScaleHeight((float*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_ScaleHeight(float pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScaleHeight"), DISPID(207));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_R4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_ScaleLeft(float* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScaleLeft"), DISPID(208));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_R4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> float __fastcall
_ReportDispT<T>::get_ScaleLeft(void)
{
  float pRet;
  this->get_ScaleLeft((float*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_ScaleLeft(float pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScaleLeft"), DISPID(208));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_R4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_ScaleMode(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScaleMode"), DISPID(209));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_ScaleMode(void)
{
  short pRet;
  this->get_ScaleMode((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_ScaleMode(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScaleMode"), DISPID(209));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_ScaleTop(float* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScaleTop"), DISPID(210));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_R4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> float __fastcall
_ReportDispT<T>::get_ScaleTop(void)
{
  float pRet;
  this->get_ScaleTop((float*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_ScaleTop(float pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScaleTop"), DISPID(210));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_R4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_ScaleWidth(float* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScaleWidth"), DISPID(211));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_R4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> float __fastcall
_ReportDispT<T>::get_ScaleWidth(void)
{
  float pRet;
  this->get_ScaleWidth((float*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_ScaleWidth(float pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ScaleWidth"), DISPID(211));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_R4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_FontBold(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_FontBold(void)
{
  short pRet;
  this->get_FontBold((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_FontBold(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontBold"), DISPID(32));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_FontItalic(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_FontItalic(void)
{
  short pRet;
  this->get_FontItalic((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_FontItalic(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontItalic"), DISPID(33));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_FontName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_FontName(void)
{
  BSTR pRet;
  this->get_FontName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_FontName(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontName"), DISPID(34));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_FontSize(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_FontSize(void)
{
  short pRet;
  this->get_FontSize((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_FontSize(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontSize"), DISPID(35));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_FontUnderline(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_FontUnderline(void)
{
  short pRet;
  this->get_FontUnderline((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_FontUnderline(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FontUnderline"), DISPID(36));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_DrawMode(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(212));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_DrawMode(void)
{
  short pRet;
  this->get_DrawMode((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_DrawMode(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DrawMode"), DISPID(212));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_DrawStyle(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(213));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_DrawStyle(void)
{
  short pRet;
  this->get_DrawStyle((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_DrawStyle(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DrawStyle"), DISPID(213));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_DrawWidth(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(214));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_DrawWidth(void)
{
  short pRet;
  this->get_DrawWidth((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_DrawWidth(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DrawWidth"), DISPID(214));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_FillColor(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(216));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_FillColor(void)
{
  long pRet;
  this->get_FillColor((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_FillColor(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FillColor"), DISPID(216));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_FillStyle(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(215));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_ReportDispT<T>::get_FillStyle(void)
{
  short pRet;
  this->get_FillStyle((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_FillStyle(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FillStyle"), DISPID(215));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set__Name(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PaletteSource(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PaletteSource"), DISPID(98));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_PaletteSource(void)
{
  BSTR pRet;
  this->get_PaletteSource((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PaletteSource(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PaletteSource"), DISPID(98));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PaintPalette(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PaintPalette"), DISPID(100));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ReportDispT<T>::get_PaintPalette(void)
{
  VARIANT pRet;
  this->get_PaintPalette((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PaintPalette(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PaintPalette"), DISPID(100));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_OnMenu(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMenu"), DISPID(60));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_OnMenu(void)
{
  BSTR pRet;
  this->get_OnMenu((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_OnMenu(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnMenu"), DISPID(60));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_OnOpen(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnOpen"), DISPID(77));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_OnOpen(void)
{
  BSTR pRet;
  this->get_OnOpen((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_OnOpen(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnOpen"), DISPID(77));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_OnClose(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClose"), DISPID(78));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_OnClose(void)
{
  BSTR pRet;
  this->get_OnClose((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_OnClose(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnClose"), DISPID(78));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_OnActivate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnActivate"), DISPID(112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_OnActivate(void)
{
  BSTR pRet;
  this->get_OnActivate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_OnActivate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnActivate"), DISPID(112));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_OnDeactivate(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDeactivate"), DISPID(113));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_OnDeactivate(void)
{
  BSTR pRet;
  this->get_OnDeactivate((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_OnDeactivate(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnDeactivate"), DISPID(113));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_OnNoData(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnNoData"), DISPID(121));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_OnNoData(void)
{
  BSTR pRet;
  this->get_OnNoData((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_OnNoData(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnNoData"), DISPID(121));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_OnPage(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnPage"), DISPID(83));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_OnPage(void)
{
  BSTR pRet;
  this->get_OnPage((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_OnPage(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnPage"), DISPID(83));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_OnError(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnError"), DISPID(119));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_OnError(void)
{
  BSTR pRet;
  this->get_OnError((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_OnError(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OnError"), DISPID(119));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Dirty(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Dirty"), DISPID(286));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_Dirty(void)
{
  VARIANT_BOOL pRet;
  this->get_Dirty((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Dirty(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Dirty"), DISPID(286));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_CurrentRecord(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentRecord"), DISPID(302));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_CurrentRecord(void)
{
  long pRet;
  this->get_CurrentRecord((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_CurrentRecord(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentRecord"), DISPID(302));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PictureData(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ReportDispT<T>::get_PictureData(void)
{
  VARIANT pRet;
  this->get_PictureData((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PictureData(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PictureData"), DISPID(188));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_PicturePalette(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PicturePalette"), DISPID(311));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ReportDispT<T>::get_PicturePalette(void)
{
  VARIANT pRet;
  this->get_PicturePalette((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_PicturePalette(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PicturePalette"), DISPID(311));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_HasModule(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HasModule"), DISPID(342));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ReportDispT<T>::get_HasModule(void)
{
  VARIANT_BOOL pRet;
  this->get_HasModule((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_HasModule(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HasModule"), DISPID(342));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_acHiddenCurrentPage(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("acHiddenCurrentPage"), DISPID(365));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReportDispT<T>::get_acHiddenCurrentPage(void)
{
  long pRet;
  this->get_acHiddenCurrentPage((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_acHiddenCurrentPage(long pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("acHiddenCurrentPage"), DISPID(365));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I4:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Orientation(unsigned_char* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Orientation"), DISPID(370));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UI1:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> unsigned_char __fastcall
_ReportDispT<T>::get_Orientation(void)
{
  unsigned_char pRet;
  this->get_Orientation((unsigned_char*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Orientation(unsigned_char pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Orientation"), DISPID(370));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_UI1:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_InputParameters(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("InputParameters"), DISPID(66));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_InputParameters(void)
{
  BSTR pRet;
  this->get_InputParameters((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_InputParameters(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InputParameters"), DISPID(66));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_ReportDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ReportDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ActiveControl"), DISPID(2006));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessControl**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessControlPtr __fastcall
_ReportDispT<T>::get_ActiveControl(void)
{
  Access_2k::AccessControlPtr pRet;
  this->get_ActiveControl(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_DefaultControl(long ControlType/*[in]*/, 
                                    Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultControl"), DISPID(2150));
  TAutoArgs<1> _args;
  _args[1] = ControlType /*[VT_I4:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessControl**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessControl* __fastcall
_ReportDispT<T>::get_DefaultControl(long ControlType/*[in]*/)
{
  Access_2k::AccessControl* pRet;
  this->get_DefaultControl(ControlType, (Access_2k::AccessControl**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::Circle(short flags/*[in]*/, float X/*[in]*/, float Y/*[in]*/, float radius/*[in]*/
                        , long color/*[in]*/, float start/*[in]*/, float end/*[in]*/, 
                        float aspect/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Circle"), DISPID(2118));
  TAutoArgs<8> _args;
  _args[1] = flags /*[VT_I2:0]*/;
  _args[2] = X /*[VT_R4:0]*/;
  _args[3] = Y /*[VT_R4:0]*/;
  _args[4] = radius /*[VT_R4:0]*/;
  _args[5] = color /*[VT_I4:0]*/;
  _args[6] = start /*[VT_R4:0]*/;
  _args[7] = end /*[VT_R4:0]*/;
  _args[8] = aspect /*[VT_R4:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::Line(short flags/*[in]*/, float x1/*[in]*/, float y1/*[in]*/, float x2/*[in]*/, 
                      float y2/*[in]*/, long color/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Line"), DISPID(2152));
  TAutoArgs<6> _args;
  _args[1] = flags /*[VT_I2:0]*/;
  _args[2] = x1 /*[VT_R4:0]*/;
  _args[3] = y1 /*[VT_R4:0]*/;
  _args[4] = x2 /*[VT_R4:0]*/;
  _args[5] = y2 /*[VT_R4:0]*/;
  _args[6] = color /*[VT_I4:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::PSet(short flags/*[in]*/, float X/*[in]*/, float Y/*[in]*/, long color/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("PSet"), DISPID(2117));
  TAutoArgs<4> _args;
  _args[1] = flags /*[VT_I2:0]*/;
  _args[2] = X /*[VT_R4:0]*/;
  _args[3] = Y /*[VT_R4:0]*/;
  _args[4] = color /*[VT_I4:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::Scale(short flags/*[in]*/, float x1/*[in]*/, float y1/*[in]*/, float x2/*[in]*/, 
                       float y2/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Scale"), DISPID(2116));
  TAutoArgs<5> _args;
  _args[1] = flags /*[VT_I2:0]*/;
  _args[2] = x1 /*[VT_R4:0]*/;
  _args[3] = y1 /*[VT_R4:0]*/;
  _args[4] = x2 /*[VT_R4:0]*/;
  _args[5] = y2 /*[VT_R4:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::TextWidth(BSTR Expr/*[in]*/, float* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextWidth"), DISPID(2114));
  TAutoArgs<1> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_R4:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> float __fastcall
_ReportDispT<T>::TextWidth(BSTR Expr/*[in]*/)
{
  float pRet;
  this->TextWidth(Expr, (float*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::TextHeight(BSTR Expr/*[in]*/, float* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TextHeight"), DISPID(2115));
  TAutoArgs<1> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_R4:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> float __fastcall
_ReportDispT<T>::TextHeight(BSTR Expr/*[in]*/)
{
  float pRet;
  this->TextHeight(Expr, (float*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::Print(BSTR Expr/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Print"), DISPID(2153));
  TAutoArgs<1> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Section(VARIANT Index/*[in]*/, Access_2k::AccessSection** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Section"), DISPID(2088));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessSection**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessSection* __fastcall
_ReportDispT<T>::get_Section(VARIANT Index/*[in]*/)
{
  Access_2k::AccessSection* pRet;
  this->get_Section(Index, (Access_2k::AccessSection**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_GroupLevel(long Index/*[in]*/, 
                                Access_2k::AccessGroupLevel** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GroupLevel"), DISPID(2098));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_I4:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessGroupLevel**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessGroupLevel* __fastcall
_ReportDispT<T>::get_GroupLevel(long Index/*[in]*/)
{
  Access_2k::AccessGroupLevel* pRet;
  this->get_GroupLevel(Index, (Access_2k::AccessGroupLevel**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Report(Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Report"), DISPID(2097));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessReport**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessReportPtr __fastcall
_ReportDispT<T>::get_Report(void)
{
  Access_2k::AccessReportPtr pRet;
  this->get_Report(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Module(Access_2k::Module** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Module"), DISPID(2090));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Module**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ModulePtr __fastcall
_ReportDispT<T>::get_Module(void)
{
  Access_2k::ModulePtr pRet;
  this->get_Module(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Properties(Access_2k::Properties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Properties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::PropertiesPtr __fastcall
_ReportDispT<T>::get_Properties(void)
{
  Access_2k::PropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Controls(Access_2k::Controls_** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Controls"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Controls_**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::Controls_Ptr __fastcall
_ReportDispT<T>::get_Controls(void)
{
  Access_2k::Controls_Ptr pRet;
  this->get_Controls(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
_ReportDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Evaluate"), DISPID(-5));
  TAutoArgs<2> _args;
  _args[1] = bstrExpr /*[VT_BSTR:0]*/;
  _args[2] = ppsa /*[VT_SAFEARRAY:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ReportDispT<T>::_Evaluate(BSTR bstrExpr/*[in]*/, LPSAFEARRAY* ppsa/*[in]*/)
{
  VARIANT pRet;
  this->_Evaluate(bstrExpr, ppsa, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ReportDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_ReportDispT<T>::set_Name(BSTR pbstrName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<1> _args;
  _args[1] = pbstrName /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// DispIntf:  Reports
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {D1523700-6128-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
ReportsDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
ReportsDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ReportsDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
ReportsDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ReportsDispT<T>::get_Item(VARIANT Index/*[in]*/, Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessReport**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessReport* __fastcall
ReportsDispT<T>::get_Item(VARIANT Index/*[in]*/)
{
  Access_2k::AccessReport* pRet;
  this->get_Item(Index, (Access_2k::AccessReport**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ReportsDispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
ReportsDispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ReportsDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
ReportsDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

// *********************************************************************//
// DispIntf:  Screen
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {DC6B66C0-6128-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
ScreenDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
ScreenDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ScreenDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
ScreenDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ScreenDispT<T>::get_ActiveDatasheet(Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ActiveDatasheet"), DISPID(2146));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessForm**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessFormPtr __fastcall
ScreenDispT<T>::get_ActiveDatasheet(void)
{
  Access_2k::AccessFormPtr pRet;
  this->get_ActiveDatasheet(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ScreenDispT<T>::get_ActiveControl(Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ActiveControl"), DISPID(2006));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessControl**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessControlPtr __fastcall
ScreenDispT<T>::get_ActiveControl(void)
{
  Access_2k::AccessControlPtr pRet;
  this->get_ActiveControl(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ScreenDispT<T>::get_PreviousControl(Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("PreviousControl"), DISPID(2007));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessControl**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessControlPtr __fastcall
ScreenDispT<T>::get_PreviousControl(void)
{
  Access_2k::AccessControlPtr pRet;
  this->get_PreviousControl(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ScreenDispT<T>::get_ActiveForm(Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ActiveForm"), DISPID(2008));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessForm**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessFormPtr __fastcall
ScreenDispT<T>::get_ActiveForm(void)
{
  Access_2k::AccessFormPtr pRet;
  this->get_ActiveForm(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ScreenDispT<T>::get_ActiveReport(Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ActiveReport"), DISPID(2009));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessReport**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessReportPtr __fastcall
ScreenDispT<T>::get_ActiveReport(void)
{
  Access_2k::AccessReportPtr pRet;
  this->get_ActiveReport(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ScreenDispT<T>::get_MousePointer(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MousePointer"), DISPID(2106));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
ScreenDispT<T>::get_MousePointer(void)
{
  short pRet;
  this->get_MousePointer((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
ScreenDispT<T>::set_MousePointer(short pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MousePointer"), DISPID(2106));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_I2:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
ScreenDispT<T>::get_ActiveDataAccessPage(Access_2k::DataAccessPage** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ActiveDataAccessPage"), DISPID(2214));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::DataAccessPage**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::DataAccessPagePtr __fastcall
ScreenDispT<T>::get_ActiveDataAccessPage(void)
{
  Access_2k::DataAccessPagePtr pRet;
  this->get_ActiveDataAccessPage(&pRet);
  return pRet;
}

// *********************************************************************//
// SmartIntf: TCOM_Application
// Interface: _Application
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_ApplicationT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ApplicationT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_CodeContextObject(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_CodeContextObject(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ApplicationT<T>::get_CodeContextObject(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_CodeContextObject((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::NewCurrentDatabase(BSTR filepath/*[in]*/)
{
  return (*this)->NewCurrentDatabase(filepath);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::OpenCurrentDatabase(BSTR filepath/*[in]*/, 
                                          VARIANT_BOOL Exclusive/*[in,def,opt]*/)
{
  return (*this)->OpenCurrentDatabase(filepath, Exclusive);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_MenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_MenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_ApplicationT<T>::get_MenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_MenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::set_MenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_MenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_CurrentObjectType(long* pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentObjectType(pRet);
}

template <class T> long __fastcall
TCOM_ApplicationT<T>::get_CurrentObjectType(void)
{
  long pRet;
  OLECHECK(this->get_CurrentObjectType((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_CurrentObjectName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentObjectName(pRet);
}

template <class T> BSTR __fastcall
TCOM_ApplicationT<T>::get_CurrentObjectName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_CurrentObjectName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::GetOption(BSTR OptionName/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->GetOption(OptionName, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::GetOption(BSTR OptionName/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->GetOption(OptionName/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::SetOption(BSTR OptionName/*[in]*/, VARIANT Setting/*[in]*/)
{
  return (*this)->SetOption(OptionName, Setting);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::Echo(short EchoOn/*[in]*/, BSTR bstrStatusBarText/*[in,def,opt]*/)
{
  return (*this)->Echo(EchoOn, bstrStatusBarText);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CloseCurrentDatabase(void)
{
  return (*this)->CloseCurrentDatabase();
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::Quit(Access_2k::AcQuitOption Option/*[in,def,opt]*/)
{
  return (*this)->Quit(Option);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_Forms(Access_2k::Forms_** pRet/*[out,retval]*/)
{
  return (*this)->get_Forms(pRet);
}

template <class T> Access_2k::Forms_Ptr __fastcall
TCOM_ApplicationT<T>::get_Forms(void)
{
  Access_2k::Forms_Ptr pRet;
  OLECHECK(this->get_Forms((Access_2k::Forms_Ptr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_Reports(Access_2k::Reports** pRet/*[out,retval]*/)
{
  return (*this)->get_Reports(pRet);
}

template <class T> Access_2k::ReportsPtr __fastcall
TCOM_ApplicationT<T>::get_Reports(void)
{
  Access_2k::ReportsPtr pRet;
  OLECHECK(this->get_Reports((Access_2k::ReportsPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_Screen(Access_2k::Screen** pRet/*[out,retval]*/)
{
  return (*this)->get_Screen(pRet);
}

template <class T> Access_2k::ScreenPtr __fastcall
TCOM_ApplicationT<T>::get_Screen(void)
{
  Access_2k::ScreenPtr pRet;
  OLECHECK(this->get_Screen((Access_2k::ScreenPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_DoCmd(Access_2k::DoCmd** pRet/*[out,retval]*/)
{
  return (*this)->get_DoCmd(pRet);
}

template <class T> Access_2k::DoCmdPtr __fastcall
TCOM_ApplicationT<T>::get_DoCmd(void)
{
  Access_2k::DoCmdPtr pRet;
  OLECHECK(this->get_DoCmd((Access_2k::DoCmdPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ShortcutMenuBar(pRet);
}

template <class T> BSTR __fastcall
TCOM_ApplicationT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ShortcutMenuBar((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  return (*this)->set_ShortcutMenuBar(pRet);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_Visible(VARIANT_BOOL* pfVisible/*[out,retval]*/)
{
  return (*this)->get_Visible(pfVisible);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ApplicationT<T>::get_Visible(void)
{
  VARIANT_BOOL pfVisible;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pfVisible));
  return pfVisible;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::set_Visible(VARIANT_BOOL pfVisible/*[in]*/)
{
  return (*this)->set_Visible(pfVisible);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_UserControl(VARIANT_BOOL* pfUserCtrl/*[out,retval]*/)
{
  return (*this)->get_UserControl(pfUserCtrl);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ApplicationT<T>::get_UserControl(void)
{
  VARIANT_BOOL pfUserCtrl;
  OLECHECK(this->get_UserControl((VARIANT_BOOL*)&pfUserCtrl));
  return pfUserCtrl;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::set_UserControl(VARIANT_BOOL pfUserCtrl/*[in]*/)
{
  return (*this)->set_UserControl(pfUserCtrl);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::SysCmd(Access_2k::AcSysCmdAction Action/*[in]*/, VARIANT Argument2/*[in,opt]*/, 
                             VARIANT Argument3/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->SysCmd(Action, Argument2, Argument3, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::SysCmd(Access_2k::AcSysCmdAction Action/*[in]*/, VARIANT Argument2/*[in,opt]*/, 
                             VARIANT Argument3/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->SysCmd(Action/*[in]*/, Argument2/*[in,opt]*/, Argument3/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CreateForm(VARIANT Database/*[in,opt]*/, VARIANT FormTemplate/*[in,opt]*/, 
                                 Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  return (*this)->CreateForm(Database, FormTemplate, pRet);
}

template <class T> Access_2k::AccessForm* __fastcall
TCOM_ApplicationT<T>::CreateForm(VARIANT Database/*[in,opt]*/, VARIANT FormTemplate/*[in,opt]*/)
{
  Access_2k::AccessForm* pRet;
  OLECHECK(this->CreateForm(Database/*[in,opt]*/, FormTemplate/*[in,opt]*/, (Access_2k::AccessForm**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CreateReport(VARIANT Database/*[in,opt]*/, VARIANT ReportTemplate/*[in,opt]*/, 
                                   Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  return (*this)->CreateReport(Database, ReportTemplate, pRet);
}

template <class T> Access_2k::AccessReport* __fastcall
TCOM_ApplicationT<T>::CreateReport(VARIANT Database/*[in,opt]*/, VARIANT ReportTemplate/*[in,opt]*/)
{
  Access_2k::AccessReport* pRet;
  OLECHECK(this->CreateReport(Database/*[in,opt]*/, ReportTemplate/*[in,opt]*/, (Access_2k::AccessReport**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CreateControl(BSTR FormName/*[in]*/, 
                                    Access_2k::AcControlType ControlType/*[in]*/, 
                                    Access_2k::AcSection Section/*[in,def,opt]*/, 
                                    VARIANT Parent/*[in,opt]*/, VARIANT ColumnName/*[in,opt]*/, 
                                    VARIANT Left/*[in,opt]*/, VARIANT Top/*[in,opt]*/, 
                                    VARIANT Width/*[in,opt]*/, VARIANT Height/*[in,opt]*/, 
                                    Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  return (*this)->CreateControl(FormName, ControlType, Section, Parent, ColumnName, Left, Top, Width, 
                                Height, pRet);
}

template <class T> Access_2k::AccessControl* __fastcall
TCOM_ApplicationT<T>::CreateControl(BSTR FormName/*[in]*/, 
                                    Access_2k::AcControlType ControlType/*[in]*/, 
                                    Access_2k::AcSection Section/*[in,def,opt]*/, 
                                    VARIANT Parent/*[in,opt]*/, VARIANT ColumnName/*[in,opt]*/, 
                                    VARIANT Left/*[in,opt]*/, VARIANT Top/*[in,opt]*/, 
                                    VARIANT Width/*[in,opt]*/, VARIANT Height/*[in,opt]*/)
{
  Access_2k::AccessControl* pRet;
  OLECHECK(this->CreateControl(FormName/*[in]*/, ControlType/*[in]*/, Section/*[in,def,opt]*/, 
                               Parent/*[in,opt]*/, ColumnName/*[in,opt]*/, Left/*[in,opt]*/, 
                               Top/*[in,opt]*/, Width/*[in,opt]*/, Height/*[in,opt]*/, (Access_2k::AccessControl**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CreateReportControl(BSTR ReportName/*[in]*/, 
                                          Access_2k::AcControlType ControlType/*[in]*/, 
                                          Access_2k::AcSection Section/*[in,def,opt]*/, 
                                          VARIANT Parent/*[in,opt]*/, VARIANT ColumnName/*[in,opt]*/, 
                                          VARIANT Left/*[in,opt]*/, VARIANT Top/*[in,opt]*/, 
                                          VARIANT Width/*[in,opt]*/, VARIANT Height/*[in,opt]*/, 
                                          Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  return (*this)->CreateReportControl(ReportName, ControlType, Section, Parent, ColumnName, Left, 
                                      Top, Width, Height, pRet);
}

template <class T> Access_2k::AccessControl* __fastcall
TCOM_ApplicationT<T>::CreateReportControl(BSTR ReportName/*[in]*/, 
                                          Access_2k::AcControlType ControlType/*[in]*/, 
                                          Access_2k::AcSection Section/*[in,def,opt]*/, 
                                          VARIANT Parent/*[in,opt]*/, VARIANT ColumnName/*[in,opt]*/, 
                                          VARIANT Left/*[in,opt]*/, VARIANT Top/*[in,opt]*/, 
                                          VARIANT Width/*[in,opt]*/, VARIANT Height/*[in,opt]*/)
{
  Access_2k::AccessControl* pRet;
  OLECHECK(this->CreateReportControl(ReportName/*[in]*/, ControlType/*[in]*/, 
                                     Section/*[in,def,opt]*/, Parent/*[in,opt]*/, 
                                     ColumnName/*[in,opt]*/, Left/*[in,opt]*/, Top/*[in,opt]*/, 
                                     Width/*[in,opt]*/, Height/*[in,opt]*/, (Access_2k::AccessControl**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CreateControlEx(BSTR FormName/*[in]*/, 
                                      Access_2k::AcControlType ControlType/*[in]*/, 
                                      Access_2k::AcSection Section/*[in]*/, BSTR Parent/*[in]*/, 
                                      BSTR ControlSource/*[in]*/, long Left/*[in]*/, 
                                      long Top/*[in]*/, long Width/*[in]*/, long Height/*[in]*/, 
                                      Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  return (*this)->CreateControlEx(FormName, ControlType, Section, Parent, ControlSource, Left, Top, 
                                  Width, Height, pRet);
}

template <class T> Access_2k::AccessControl* __fastcall
TCOM_ApplicationT<T>::CreateControlEx(BSTR FormName/*[in]*/, 
                                      Access_2k::AcControlType ControlType/*[in]*/, 
                                      Access_2k::AcSection Section/*[in]*/, BSTR Parent/*[in]*/, 
                                      BSTR ControlSource/*[in]*/, long Left/*[in]*/, 
                                      long Top/*[in]*/, long Width/*[in]*/, long Height/*[in]*/)
{
  Access_2k::AccessControl* pRet;
  OLECHECK(this->CreateControlEx(FormName/*[in]*/, ControlType/*[in]*/, Section/*[in]*/, 
                                 Parent/*[in]*/, ControlSource/*[in]*/, Left/*[in]*/, Top/*[in]*/, 
                                 Width/*[in]*/, Height/*[in]*/, (Access_2k::AccessControl**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CreateReportControlEx(BSTR ReportName/*[in]*/, 
                                            Access_2k::AcControlType ControlType/*[in]*/, 
                                            Access_2k::AcSection Section/*[in]*/, 
                                            BSTR Parent/*[in]*/, BSTR ControlName/*[in]*/, 
                                            long Left/*[in]*/, long Top/*[in]*/, long Width/*[in]*/, 
                                            long Height/*[in]*/, 
                                            Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  return (*this)->CreateReportControlEx(ReportName, ControlType, Section, Parent, ControlName, Left, 
                                        Top, Width, Height, pRet);
}

template <class T> Access_2k::AccessControl* __fastcall
TCOM_ApplicationT<T>::CreateReportControlEx(BSTR ReportName/*[in]*/, 
                                            Access_2k::AcControlType ControlType/*[in]*/, 
                                            Access_2k::AcSection Section/*[in]*/, 
                                            BSTR Parent/*[in]*/, BSTR ControlName/*[in]*/, 
                                            long Left/*[in]*/, long Top/*[in]*/, long Width/*[in]*/, 
                                            long Height/*[in]*/)
{
  Access_2k::AccessControl* pRet;
  OLECHECK(this->CreateReportControlEx(ReportName/*[in]*/, ControlType/*[in]*/, Section/*[in]*/, 
                                       Parent/*[in]*/, ControlName/*[in]*/, Left/*[in]*/, 
                                       Top/*[in]*/, Width/*[in]*/, Height/*[in]*/, (Access_2k::AccessControl**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DeleteControl(BSTR FormName/*[in]*/, BSTR ControlName/*[in]*/)
{
  return (*this)->DeleteControl(FormName, ControlName);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DeleteReportControl(BSTR ReportName/*[in]*/, BSTR ControlName/*[in]*/)
{
  return (*this)->DeleteReportControl(ReportName, ControlName);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CreateGroupLevel(BSTR ReportName/*[in]*/, BSTR Expression/*[in]*/, 
                                       short Header/*[in]*/, short Footer/*[in]*/, 
                                       long* pRet/*[out,retval]*/)
{
  return (*this)->CreateGroupLevel(ReportName, Expression, Header, Footer, pRet);
}

template <class T> long __fastcall
TCOM_ApplicationT<T>::CreateGroupLevel(BSTR ReportName/*[in]*/, BSTR Expression/*[in]*/, 
                                       short Header/*[in]*/, short Footer/*[in]*/)
{
  long pRet;
  OLECHECK(this->CreateGroupLevel(ReportName/*[in]*/, Expression/*[in]*/, Header/*[in]*/, 
                                  Footer/*[in]*/, (long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DMin(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DMin(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DMin(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DMin(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DMax(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DMax(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DMax(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DMax(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DSum(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DSum(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DSum(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DSum(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DAvg(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DAvg(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DAvg(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DAvg(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DLookup(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                              VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DLookup(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DLookup(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DLookup(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DLast(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DLast(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DLast(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DLast(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DVar(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DVar(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DVar(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DVar(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DVarP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DVarP(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DVarP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DVarP(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DStDev(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DStDev(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DStDev(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DStDev(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DStDevP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                              VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DStDevP(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DStDevP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DStDevP(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DFirst(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DFirst(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DFirst(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DFirst(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DCount(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DCount(Expr, Domain, Criteria, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DCount(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->DCount(Expr/*[in]*/, Domain/*[in]*/, Criteria/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::Eval(BSTR StringExpr/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->Eval(StringExpr, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::Eval(BSTR StringExpr/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->Eval(StringExpr/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CurrentUser(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->CurrentUser(pRet);
}

template <class T> BSTR __fastcall
TCOM_ApplicationT<T>::CurrentUser(void)
{
  BSTR pRet = 0;
  OLECHECK(this->CurrentUser((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DDEInitiate(BSTR Application/*[in]*/, BSTR Topic/*[in]*/, 
                                  VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->DDEInitiate(Application, Topic, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::DDEInitiate(BSTR Application/*[in]*/, BSTR Topic/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->DDEInitiate(Application/*[in]*/, Topic/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DDEExecute(VARIANT ChanNum/*[in]*/, BSTR Command/*[in]*/)
{
  return (*this)->DDEExecute(ChanNum, Command);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DDEPoke(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/, BSTR Data/*[in]*/)
{
  return (*this)->DDEPoke(ChanNum, Item, Data);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DDERequest(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/, 
                                 BSTR* pRet/*[out,retval]*/)
{
  return (*this)->DDERequest(ChanNum, Item, pRet);
}

template <class T> BSTR __fastcall
TCOM_ApplicationT<T>::DDERequest(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/)
{
  BSTR pRet = 0;
  OLECHECK(this->DDERequest(ChanNum/*[in]*/, Item/*[in]*/, (BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DDETerminate(VARIANT ChanNum/*[in]*/)
{
  return (*this)->DDETerminate(ChanNum);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DDETerminateAll(void)
{
  return (*this)->DDETerminateAll();
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_DBEngine(Dao_2k::DBEngine** pRet/*[out,retval]*/)
{
  return (*this)->get_DBEngine(pRet);
}

template <class T> Dao_2k::DBEnginePtr __fastcall
TCOM_ApplicationT<T>::get_DBEngine(void)
{
  Dao_2k::DBEnginePtr pRet;
  OLECHECK(this->get_DBEngine((Dao_2k::DBEnginePtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CurrentDb(Dao_2k::Database** pRet/*[out,retval]*/)
{
  return (*this)->CurrentDb(pRet);
}

template <class T> Dao_2k::Database* __fastcall
TCOM_ApplicationT<T>::CurrentDb(void)
{
  Dao_2k::Database* pRet;
  OLECHECK(this->CurrentDb((Dao_2k::Database**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CodeDb(Dao_2k::Database** pRet/*[out,retval]*/)
{
  return (*this)->CodeDb(pRet);
}

template <class T> Dao_2k::Database* __fastcall
TCOM_ApplicationT<T>::CodeDb(void)
{
  Dao_2k::Database* pRet;
  OLECHECK(this->CodeDb((Dao_2k::Database**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::BeginUndoable(long Hwnd/*[in]*/)
{
  return (*this)->BeginUndoable(Hwnd);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::SetUndoRecording(short yesno/*[in]*/)
{
  return (*this)->SetUndoRecording(yesno);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::BuildCriteria(BSTR Field/*[in]*/, short FieldType/*[in]*/, 
                                    BSTR Expression/*[in]*/, BSTR* pRet/*[out,retval]*/)
{
  return (*this)->BuildCriteria(Field, FieldType, Expression, pRet);
}

template <class T> BSTR __fastcall
TCOM_ApplicationT<T>::BuildCriteria(BSTR Field/*[in]*/, short FieldType/*[in]*/, 
                                    BSTR Expression/*[in]*/)
{
  BSTR pRet = 0;
  OLECHECK(this->BuildCriteria(Field/*[in]*/, FieldType/*[in]*/, Expression/*[in]*/, (BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::InsertText(BSTR Text/*[in]*/, BSTR ModuleName/*[in]*/)
{
  return (*this)->InsertText(Text, ModuleName);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::ReloadAddIns(void)
{
  return (*this)->ReloadAddIns();
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DefaultWorkspaceClone(Dao_2k::Workspace** pRet/*[out,retval]*/)
{
  return (*this)->DefaultWorkspaceClone(pRet);
}

template <class T> Dao_2k::Workspace* __fastcall
TCOM_ApplicationT<T>::DefaultWorkspaceClone(void)
{
  Dao_2k::Workspace* pRet;
  OLECHECK(this->DefaultWorkspaceClone((Dao_2k::Workspace**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::RefreshTitleBar(void)
{
  return (*this)->RefreshTitleBar();
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::AddAutoCorrect(BSTR ChangeFrom/*[in]*/, BSTR ChangeTo/*[in]*/)
{
  return (*this)->AddAutoCorrect(ChangeFrom, ChangeTo);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::DelAutoCorrect(BSTR ChangeFrom/*[in]*/)
{
  return (*this)->DelAutoCorrect(ChangeFrom);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::hWndAccessApp(int* phWndAccessAppWnd/*[out,retval]*/)
{
  return (*this)->hWndAccessApp(phWndAccessAppWnd);
}

template <class T> int __fastcall
TCOM_ApplicationT<T>::hWndAccessApp(void)
{
  int phWndAccessAppWnd;
  OLECHECK(this->hWndAccessApp((int*)&phWndAccessAppWnd));
  return phWndAccessAppWnd;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::Run(BSTR Procedure/*[in]*/, VARIANT* Arg1/*[in,out,opt]*/, 
                          VARIANT* Arg2/*[in,out,opt]*/, VARIANT* Arg3/*[in,out,opt]*/, 
                          VARIANT* Arg4/*[in,out,opt]*/, VARIANT* Arg5/*[in,out,opt]*/, 
                          VARIANT* Arg6/*[in,out,opt]*/, VARIANT* Arg7/*[in,out,opt]*/, 
                          VARIANT* Arg8/*[in,out,opt]*/, VARIANT* Arg9/*[in,out,opt]*/, 
                          VARIANT* Arg10/*[in,out,opt]*/, VARIANT* Arg11/*[in,out,opt]*/, 
                          VARIANT* Arg12/*[in,out,opt]*/, VARIANT* Arg13/*[in,out,opt]*/, 
                          VARIANT* Arg14/*[in,out,opt]*/, VARIANT* Arg15/*[in,out,opt]*/, 
                          VARIANT* Arg16/*[in,out,opt]*/, VARIANT* Arg17/*[in,out,opt]*/, 
                          VARIANT* Arg18/*[in,out,opt]*/, VARIANT* Arg19/*[in,out,opt]*/, 
                          VARIANT* Arg20/*[in,out,opt]*/, VARIANT* Arg21/*[in,out,opt]*/, 
                          VARIANT* Arg22/*[in,out,opt]*/, VARIANT* Arg23/*[in,out,opt]*/, 
                          VARIANT* Arg24/*[in,out,opt]*/, VARIANT* Arg25/*[in,out,opt]*/, 
                          VARIANT* Arg26/*[in,out,opt]*/, VARIANT* Arg27/*[in,out,opt]*/, 
                          VARIANT* Arg28/*[in,out,opt]*/, VARIANT* Arg29/*[in,out,opt]*/, 
                          VARIANT* Arg30/*[in,out,opt]*/, VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->Run(Procedure, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8, Arg9, Arg10, Arg11, 
                      Arg12, Arg13, Arg14, Arg15, Arg16, Arg17, Arg18, Arg19, Arg20, Arg21, Arg22, 
                      Arg23, Arg24, Arg25, Arg26, Arg27, Arg28, Arg29, Arg30, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::Run(BSTR Procedure/*[in]*/, VARIANT* Arg1/*[in,out,opt]*/, 
                          VARIANT* Arg2/*[in,out,opt]*/, VARIANT* Arg3/*[in,out,opt]*/, 
                          VARIANT* Arg4/*[in,out,opt]*/, VARIANT* Arg5/*[in,out,opt]*/, 
                          VARIANT* Arg6/*[in,out,opt]*/, VARIANT* Arg7/*[in,out,opt]*/, 
                          VARIANT* Arg8/*[in,out,opt]*/, VARIANT* Arg9/*[in,out,opt]*/, 
                          VARIANT* Arg10/*[in,out,opt]*/, VARIANT* Arg11/*[in,out,opt]*/, 
                          VARIANT* Arg12/*[in,out,opt]*/, VARIANT* Arg13/*[in,out,opt]*/, 
                          VARIANT* Arg14/*[in,out,opt]*/, VARIANT* Arg15/*[in,out,opt]*/, 
                          VARIANT* Arg16/*[in,out,opt]*/, VARIANT* Arg17/*[in,out,opt]*/, 
                          VARIANT* Arg18/*[in,out,opt]*/, VARIANT* Arg19/*[in,out,opt]*/, 
                          VARIANT* Arg20/*[in,out,opt]*/, VARIANT* Arg21/*[in,out,opt]*/, 
                          VARIANT* Arg22/*[in,out,opt]*/, VARIANT* Arg23/*[in,out,opt]*/, 
                          VARIANT* Arg24/*[in,out,opt]*/, VARIANT* Arg25/*[in,out,opt]*/, 
                          VARIANT* Arg26/*[in,out,opt]*/, VARIANT* Arg27/*[in,out,opt]*/, 
                          VARIANT* Arg28/*[in,out,opt]*/, VARIANT* Arg29/*[in,out,opt]*/, 
                          VARIANT* Arg30/*[in,out,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->Run(Procedure/*[in]*/, Arg1/*[in,out,opt]*/, Arg2/*[in,out,opt]*/, 
                     Arg3/*[in,out,opt]*/, Arg4/*[in,out,opt]*/, Arg5/*[in,out,opt]*/, 
                     Arg6/*[in,out,opt]*/, Arg7/*[in,out,opt]*/, Arg8/*[in,out,opt]*/, 
                     Arg9/*[in,out,opt]*/, Arg10/*[in,out,opt]*/, Arg11/*[in,out,opt]*/, 
                     Arg12/*[in,out,opt]*/, Arg13/*[in,out,opt]*/, Arg14/*[in,out,opt]*/, 
                     Arg15/*[in,out,opt]*/, Arg16/*[in,out,opt]*/, Arg17/*[in,out,opt]*/, 
                     Arg18/*[in,out,opt]*/, Arg19/*[in,out,opt]*/, Arg20/*[in,out,opt]*/, 
                     Arg21/*[in,out,opt]*/, Arg22/*[in,out,opt]*/, Arg23/*[in,out,opt]*/, 
                     Arg24/*[in,out,opt]*/, Arg25/*[in,out,opt]*/, Arg26/*[in,out,opt]*/, 
                     Arg27/*[in,out,opt]*/, Arg28/*[in,out,opt]*/, Arg29/*[in,out,opt]*/, 
                     Arg30/*[in,out,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::Nz(VARIANT Value/*[in]*/, VARIANT ValueIfNull/*[in,opt]*/, 
                         VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->Nz(Value, ValueIfNull, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::Nz(VARIANT Value/*[in]*/, VARIANT ValueIfNull/*[in,opt]*/)
{
  VARIANT pRet;
  OLECHECK(this->Nz(Value/*[in]*/, ValueIfNull/*[in,opt]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::LoadPicture(BSTR FileName/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->LoadPicture(FileName, pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_ApplicationT<T>::LoadPicture(BSTR FileName/*[in]*/)
{
  LPDISPATCH pRet;
  OLECHECK(this->LoadPicture(FileName/*[in]*/, (LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::ReplaceModule(long objtyp/*[in]*/, BSTR ModuleName/*[in]*/, 
                                    BSTR FileName/*[in]*/, long token/*[in]*/)
{
  return (*this)->ReplaceModule(objtyp, ModuleName, FileName, token);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::AccessError(VARIANT ErrorNumber/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->AccessError(ErrorNumber, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::AccessError(VARIANT ErrorNumber/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->AccessError(ErrorNumber/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::BuilderString(VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->BuilderString(pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::BuilderString(void)
{
  VARIANT pRet;
  OLECHECK(this->BuilderString((VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::StringFromGUID(VARIANT Guid/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->StringFromGUID(Guid, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::StringFromGUID(VARIANT Guid/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->StringFromGUID(Guid/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::GUIDFromString(VARIANT String/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->GUIDFromString(String, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::GUIDFromString(VARIANT String/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->GUIDFromString(String/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::AppLoadString(long id/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  return (*this)->AppLoadString(id, pRet);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::AppLoadString(long id/*[in]*/)
{
  VARIANT pRet;
  OLECHECK(this->AppLoadString(id/*[in]*/, (VARIANT*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_CommandBars(Office_2k::CommandBars** pRet/*[out,retval]*/)
{
  return (*this)->get_CommandBars(pRet);
}

template <class T> Office_2k::CommandBarsPtr __fastcall
TCOM_ApplicationT<T>::get_CommandBars(void)
{
  Office_2k::CommandBarsPtr pRet;
  OLECHECK(this->get_CommandBars((Office_2k::CommandBarsPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_Assistant(Office_2k::Assistant** pRet/*[out,retval]*/)
{
  return (*this)->get_Assistant(pRet);
}

template <class T> Office_2k::AssistantPtr __fastcall
TCOM_ApplicationT<T>::get_Assistant(void)
{
  Office_2k::AssistantPtr pRet;
  OLECHECK(this->get_Assistant((Office_2k::AssistantPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::FollowHyperlink(BSTR Address/*[in]*/, BSTR SubAddress/*[in,def,opt]*/, 
                                      VARIANT_BOOL NewWindow/*[in,def,opt]*/, 
                                      VARIANT_BOOL AddHistory/*[in,def,opt]*/, 
                                      VARIANT ExtraInfo/*[in,opt]*/, 
                                      Office_2k::MsoExtraInfoMethod Method/*[in,def,opt]*/, 
                                      BSTR HeaderInfo/*[in,def,opt]*/)
{
  return (*this)->FollowHyperlink(Address, SubAddress, NewWindow, AddHistory, ExtraInfo, Method, 
                                  HeaderInfo);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::SaveAsText(Access_2k::AcObjectType ObjectType/*[in]*/, BSTR ObjectName/*[in]*/, 
                                 BSTR FileName/*[in]*/)
{
  return (*this)->SaveAsText(ObjectType, ObjectName, FileName);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::LoadFromText(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                   BSTR ObjectName/*[in]*/, BSTR FileName/*[in]*/)
{
  return (*this)->LoadFromText(ObjectType, ObjectName, FileName);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::AddToFavorites(void)
{
  return (*this)->AddToFavorites();
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::RefreshDatabaseWindow(void)
{
  return (*this)->RefreshDatabaseWindow();
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_References(Access_2k::AccessReferences** pRet/*[out,retval]*/)
{
  return (*this)->get_References(pRet);
}

template <class T> Access_2k::AccessReferencesPtr __fastcall
TCOM_ApplicationT<T>::get_References(void)
{
  Access_2k::AccessReferencesPtr pRet;
  OLECHECK(this->get_References((Access_2k::AccessReferencesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_Modules(Access_2k::Modules** pRet/*[out,retval]*/)
{
  return (*this)->get_Modules(pRet);
}

template <class T> Access_2k::ModulesPtr __fastcall
TCOM_ApplicationT<T>::get_Modules(void)
{
  Access_2k::ModulesPtr pRet;
  OLECHECK(this->get_Modules((Access_2k::ModulesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_FileSearch(Office_2k::FileSearch** pRet/*[out,retval]*/)
{
  return (*this)->get_FileSearch(pRet);
}

template <class T> Office_2k::FileSearchPtr __fastcall
TCOM_ApplicationT<T>::get_FileSearch(void)
{
  Office_2k::FileSearchPtr pRet;
  OLECHECK(this->get_FileSearch((Office_2k::FileSearchPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_IsCompiled(VARIANT_BOOL* pfCompiled/*[out,retval]*/)
{
  return (*this)->get_IsCompiled(pfCompiled);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ApplicationT<T>::get_IsCompiled(void)
{
  VARIANT_BOOL pfCompiled;
  OLECHECK(this->get_IsCompiled((VARIANT_BOOL*)&pfCompiled));
  return pfCompiled;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::RunCommand(Access_2k::AcCommand Command/*[in]*/)
{
  return (*this)->RunCommand(Command);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::HyperlinkPart(VARIANT Hyperlink/*[in]*/, 
                                    Access_2k::AcHyperlinkPart Part/*[in,def,opt]*/, 
                                    BSTR* pRet/*[out,retval]*/)
{
  return (*this)->HyperlinkPart(Hyperlink, Part, pRet);
}

template <class T> BSTR __fastcall
TCOM_ApplicationT<T>::HyperlinkPart(VARIANT Hyperlink/*[in]*/, 
                                    Access_2k::AcHyperlinkPart Part/*[in,def,opt]*/)
{
  BSTR pRet = 0;
  OLECHECK(this->HyperlinkPart(Hyperlink/*[in]*/, Part/*[in,def,opt]*/, (BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::GetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                         BSTR ObjectName/*[in]*/, 
                                         VARIANT_BOOL* pfHidden/*[out,retval]*/)
{
  return (*this)->GetHiddenAttribute(ObjectType, ObjectName, pfHidden);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_ApplicationT<T>::GetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                         BSTR ObjectName/*[in]*/)
{
  VARIANT_BOOL pfHidden;
  OLECHECK(this->GetHiddenAttribute(ObjectType/*[in]*/, ObjectName/*[in]*/, (VARIANT_BOOL*)&pfHidden));
  return pfHidden;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::SetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                         BSTR ObjectName/*[in]*/, VARIANT_BOOL fHidden/*[in]*/)
{
  return (*this)->SetHiddenAttribute(ObjectType, ObjectName, fHidden);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_VBE(Vbide_2k::VBE** ppVBE/*[out,retval]*/)
{
  return (*this)->get_VBE(ppVBE);
}

template <class T> Vbide_2k::VBEPtr __fastcall
TCOM_ApplicationT<T>::get_VBE(void)
{
  Vbide_2k::VBEPtr ppVBE;
  OLECHECK(this->get_VBE((Vbide_2k::VBEPtr*)&ppVBE));
  return ppVBE;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_DataAccessPages(Access_2k::DataAccessPages** pRet/*[out,retval]*/)
{
  return (*this)->get_DataAccessPages(pRet);
}

template <class T> Access_2k::DataAccessPagesPtr __fastcall
TCOM_ApplicationT<T>::get_DataAccessPages(void)
{
  Access_2k::DataAccessPagesPtr pRet;
  OLECHECK(this->get_DataAccessPages((Access_2k::DataAccessPagesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CreateDataAccessPage(VARIANT FileName/*[in,opt]*/, 
                                           VARIANT_BOOL CreateNewFile/*[in,def,opt]*/, 
                                           Access_2k::DataAccessPage** pRet/*[out,retval]*/)
{
  return (*this)->CreateDataAccessPage(FileName, CreateNewFile, pRet);
}

template <class T> Access_2k::DataAccessPage* __fastcall
TCOM_ApplicationT<T>::CreateDataAccessPage(VARIANT FileName/*[in,opt]*/, 
                                           VARIANT_BOOL CreateNewFile/*[in,def,opt]*/)
{
  Access_2k::DataAccessPage* pRet;
  OLECHECK(this->CreateDataAccessPage(FileName/*[in,opt]*/, CreateNewFile/*[in,def,opt]*/, (Access_2k::DataAccessPage**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_ADOConnectString(BSTR* pbstrADOConnectString/*[out,retval]*/)
{
  return (*this)->get_ADOConnectString(pbstrADOConnectString);
}

template <class T> BSTR __fastcall
TCOM_ApplicationT<T>::get_ADOConnectString(void)
{
  BSTR pbstrADOConnectString = 0;
  OLECHECK(this->get_ADOConnectString((BSTR*)&pbstrADOConnectString));
  return pbstrADOConnectString;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_CurrentProject(Access_2k::CurrentProject** pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentProject(pRet);
}

template <class T> Access_2k::CurrentProjectPtr __fastcall
TCOM_ApplicationT<T>::get_CurrentProject(void)
{
  Access_2k::CurrentProjectPtr pRet;
  OLECHECK(this->get_CurrentProject((Access_2k::CurrentProjectPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_CurrentData(Access_2k::CurrentData** pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentData(pRet);
}

template <class T> Access_2k::CurrentDataPtr __fastcall
TCOM_ApplicationT<T>::get_CurrentData(void)
{
  Access_2k::CurrentDataPtr pRet;
  OLECHECK(this->get_CurrentData((Access_2k::CurrentDataPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_CodeProject(Access_2k::CodeProject** pRet/*[out,retval]*/)
{
  return (*this)->get_CodeProject(pRet);
}

template <class T> Access_2k::CodeProjectPtr __fastcall
TCOM_ApplicationT<T>::get_CodeProject(void)
{
  Access_2k::CodeProjectPtr pRet;
  OLECHECK(this->get_CodeProject((Access_2k::CodeProjectPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_CodeData(Access_2k::CodeData** pRet/*[out,retval]*/)
{
  return (*this)->get_CodeData(pRet);
}

template <class T> Access_2k::CodeDataPtr __fastcall
TCOM_ApplicationT<T>::get_CodeData(void)
{
  Access_2k::CodeDataPtr pRet;
  OLECHECK(this->get_CodeData((Access_2k::CodeDataPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::NewAccessProject(BSTR filepath/*[in]*/, VARIANT Connect/*[in,opt]*/)
{
  return (*this)->NewAccessProject(filepath, Connect);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::OpenAccessProject(BSTR filepath/*[in]*/, 
                                        VARIANT_BOOL Exclusive/*[in,def,opt]*/)
{
  return (*this)->OpenAccessProject(filepath, Exclusive);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::CreateAccessProject(BSTR filepath/*[in]*/, VARIANT Connect/*[in,opt]*/)
{
  return (*this)->CreateAccessProject(filepath, Connect);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_WizHook(Access_2k::WizHook** pRet/*[out,retval]*/)
{
  return (*this)->get_WizHook(pRet);
}

template <class T> Access_2k::WizHookPtr __fastcall
TCOM_ApplicationT<T>::get_WizHook(void)
{
  Access_2k::WizHookPtr pRet;
  OLECHECK(this->get_WizHook((Access_2k::WizHookPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_ProductCode(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ProductCode(pRet);
}

template <class T> BSTR __fastcall
TCOM_ApplicationT<T>::get_ProductCode(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ProductCode((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_COMAddIns(Office_2k::COMAddIns** pRet/*[out,retval]*/)
{
  return (*this)->get_COMAddIns(pRet);
}

template <class T> Office_2k::COMAddInsPtr __fastcall
TCOM_ApplicationT<T>::get_COMAddIns(void)
{
  Office_2k::COMAddInsPtr pRet;
  OLECHECK(this->get_COMAddIns((Office_2k::COMAddInsPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_ApplicationT<T>::get_Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_DefaultWebOptions(Access_2k::DefaultWebOptions** ppDWO/*[out,retval]*/)
{
  return (*this)->get_DefaultWebOptions(ppDWO);
}

template <class T> Access_2k::DefaultWebOptionsPtr __fastcall
TCOM_ApplicationT<T>::get_DefaultWebOptions(void)
{
  Access_2k::DefaultWebOptionsPtr ppDWO;
  OLECHECK(this->get_DefaultWebOptions((Access_2k::DefaultWebOptionsPtr*)&ppDWO));
  return ppDWO;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_LanguageSettings(Office_2k::LanguageSettings** ppRet/*[out,retval]*/)
{
  return (*this)->get_LanguageSettings(ppRet);
}

template <class T> Office_2k::LanguageSettingsPtr __fastcall
TCOM_ApplicationT<T>::get_LanguageSettings(void)
{
  Office_2k::LanguageSettingsPtr ppRet;
  OLECHECK(this->get_LanguageSettings((Office_2k::LanguageSettingsPtr*)&ppRet));
  return ppRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_AnswerWizard(Office_2k::AnswerWizard** pRet/*[out,retval]*/)
{
  return (*this)->get_AnswerWizard(pRet);
}

template <class T> Office_2k::AnswerWizardPtr __fastcall
TCOM_ApplicationT<T>::get_AnswerWizard(void)
{
  Office_2k::AnswerWizardPtr pRet;
  OLECHECK(this->get_AnswerWizard((Office_2k::AnswerWizardPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_FeatureInstall(Office_2k::MsoFeatureInstall* FeatureInstall/*[out,retval]*/)
{
  return (*this)->get_FeatureInstall(FeatureInstall);
}

template <class T> Office_2k::MsoFeatureInstall __fastcall
TCOM_ApplicationT<T>::get_FeatureInstall(void)
{
  Office_2k::MsoFeatureInstall FeatureInstall;
  OLECHECK(this->get_FeatureInstall((Office_2k::MsoFeatureInstall*)&FeatureInstall));
  return FeatureInstall;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::set_FeatureInstall(Office_2k::MsoFeatureInstall FeatureInstall/*[in]*/)
{
  return (*this)->set_FeatureInstall(FeatureInstall);
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::EuroConvert(double Number/*[in]*/, BSTR SourceCurrency/*[in]*/, 
                                  BSTR TargetCurrency/*[in]*/, VARIANT FullPrecision/*[in,opt]*/, 
                                  VARIANT TriangulationPrecision/*[in,opt]*/, 
                                  double* pRet/*[out,retval]*/)
{
  return (*this)->EuroConvert(Number, SourceCurrency, TargetCurrency, FullPrecision, 
                              TriangulationPrecision, pRet);
}

template <class T> double __fastcall
TCOM_ApplicationT<T>::EuroConvert(double Number/*[in]*/, BSTR SourceCurrency/*[in]*/, 
                                  BSTR TargetCurrency/*[in]*/, VARIANT FullPrecision/*[in,opt]*/, 
                                  VARIANT TriangulationPrecision/*[in,opt]*/)
{
  double pRet;
  OLECHECK(this->EuroConvert(Number/*[in]*/, SourceCurrency/*[in]*/, TargetCurrency/*[in]*/, 
                             FullPrecision/*[in,opt]*/, TriangulationPrecision/*[in,opt]*/, (double*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_ApplicationT<T>::get_VGXFrameInterval(VARIANT* pnmsec/*[out,retval]*/)
{
  return (*this)->get_VGXFrameInterval(pnmsec);
}

template <class T> VARIANT __fastcall
TCOM_ApplicationT<T>::get_VGXFrameInterval(void)
{
  VARIANT pnmsec;
  OLECHECK(this->get_VGXFrameInterval((VARIANT*)&pnmsec));
  return pnmsec;
}

// *********************************************************************//
// DispIntf:  _Application
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {68CCE6C0-6129-101B-AF4E-00AA003F0F07}
// *********************************************************************//
template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_ApplicationDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ApplicationDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_CodeContextObject(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CodeContextObject"), DISPID(2082));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ApplicationDispT<T>::get_CodeContextObject(void)
{
  LPDISPATCH pRet;
  this->get_CodeContextObject((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::NewCurrentDatabase(BSTR filepath/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("NewCurrentDatabase"), DISPID(2142));
  TAutoArgs<1> _args;
  _args[1] = filepath /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::OpenCurrentDatabase(BSTR filepath/*[in]*/, 
                                          VARIANT_BOOL Exclusive/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenCurrentDatabase"), DISPID(2140));
  TAutoArgs<2> _args;
  _args[1] = filepath /*[VT_BSTR:0]*/;
  _args[2] = Exclusive /*[VT_BOOL:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_MenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("MenuBar"), DISPID(2010));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ApplicationDispT<T>::get_MenuBar(void)
{
  BSTR pRet;
  this->get_MenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::set_MenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("MenuBar"), DISPID(2010));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_CurrentObjectType(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentObjectType"), DISPID(2011));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ApplicationDispT<T>::get_CurrentObjectType(void)
{
  long pRet;
  this->get_CurrentObjectType((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_CurrentObjectName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentObjectName"), DISPID(2012));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ApplicationDispT<T>::get_CurrentObjectName(void)
{
  BSTR pRet;
  this->get_CurrentObjectName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::GetOption(BSTR OptionName/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GetOption"), DISPID(2013));
  TAutoArgs<1> _args;
  _args[1] = OptionName /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::GetOption(BSTR OptionName/*[in]*/)
{
  VARIANT pRet;
  this->GetOption(OptionName, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::SetOption(BSTR OptionName/*[in]*/, VARIANT Setting/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SetOption"), DISPID(2014));
  TAutoArgs<2> _args;
  _args[1] = OptionName /*[VT_BSTR:0]*/;
  _args[2] = Setting /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::Echo(short EchoOn/*[in]*/, BSTR bstrStatusBarText/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("Echo"), DISPID(2015));
  TAutoArgs<2> _args;
  _args[1] = EchoOn /*[VT_I2:0]*/;
  _args[2] = bstrStatusBarText /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CloseCurrentDatabase()
{
  _TDispID _dispid(*this, OLETEXT("CloseCurrentDatabase"), DISPID(2141));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::Quit(Access_2k::AcQuitOption Option/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("Quit"), DISPID(2016));
  TAutoArgs<1> _args;
  _args[1] = (int)Option /*[VT_USERDEFINED:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_Forms(Access_2k::Forms_** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Forms"), DISPID(2002));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Forms_**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::Forms_Ptr __fastcall
_ApplicationDispT<T>::get_Forms(void)
{
  Access_2k::Forms_Ptr pRet;
  this->get_Forms(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_Reports(Access_2k::Reports** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Reports"), DISPID(2003));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Reports**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ReportsPtr __fastcall
_ApplicationDispT<T>::get_Reports(void)
{
  Access_2k::ReportsPtr pRet;
  this->get_Reports(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_Screen(Access_2k::Screen** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Screen"), DISPID(2004));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Screen**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ScreenPtr __fastcall
_ApplicationDispT<T>::get_Screen(void)
{
  Access_2k::ScreenPtr pRet;
  this->get_Screen(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_DoCmd(Access_2k::DoCmd** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DoCmd"), DISPID(2025));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::DoCmd**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::DoCmdPtr __fastcall
_ApplicationDispT<T>::get_DoCmd(void)
{
  Access_2k::DoCmdPtr pRet;
  this->get_DoCmd(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_ShortcutMenuBar(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(2107));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ApplicationDispT<T>::get_ShortcutMenuBar(void)
{
  BSTR pRet;
  this->get_ShortcutMenuBar((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::set_ShortcutMenuBar(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ShortcutMenuBar"), DISPID(2107));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_Visible(VARIANT_BOOL* pfVisible/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(2148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pfVisible /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ApplicationDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pfVisible;
  this->get_Visible((VARIANT_BOOL*)&pfVisible);
  return pfVisible;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::set_Visible(VARIANT_BOOL pfVisible/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(2148));
  TAutoArgs<1> _args;
  _args[1] = pfVisible /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_UserControl(VARIANT_BOOL* pfUserCtrl/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("UserControl"), DISPID(2149));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pfUserCtrl /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ApplicationDispT<T>::get_UserControl(void)
{
  VARIANT_BOOL pfUserCtrl;
  this->get_UserControl((VARIANT_BOOL*)&pfUserCtrl);
  return pfUserCtrl;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::set_UserControl(VARIANT_BOOL pfUserCtrl/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("UserControl"), DISPID(2149));
  TAutoArgs<1> _args;
  _args[1] = pfUserCtrl /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::SysCmd(Access_2k::AcSysCmdAction Action/*[in]*/, VARIANT Argument2/*[in,opt]*/
                             , VARIANT Argument3/*[in,opt]*/, VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SysCmd"), DISPID(2028));
  TAutoArgs<3> _args;
  _args[1] = (int)Action /*[VT_USERDEFINED:0]*/;
  _args[2] = Argument2 /*[VT_VARIANT:0]*/;
  _args[3] = Argument3 /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::SysCmd(Access_2k::AcSysCmdAction Action/*[in]*/, VARIANT Argument2/*[in,opt]*/, 
                             VARIANT Argument3/*[in,opt]*/)
{
  VARIANT pRet;
  this->SysCmd(Action, Argument2, Argument3, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CreateForm(VARIANT Database/*[in,opt]*/, VARIANT FormTemplate/*[in,opt]*/, 
                                 Access_2k::AccessForm** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateForm"), DISPID(2029));
  TAutoArgs<2> _args;
  _args[1] = Database /*[VT_VARIANT:0]*/;
  _args[2] = FormTemplate /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessForm**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::AccessForm* __fastcall
_ApplicationDispT<T>::CreateForm(VARIANT Database/*[in,opt]*/, VARIANT FormTemplate/*[in,opt]*/)
{
  Access_2k::AccessForm* pRet;
  this->CreateForm(Database, FormTemplate, (Access_2k::AccessForm**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CreateReport(VARIANT Database/*[in,opt]*/, VARIANT ReportTemplate/*[in,opt]*/
                                   , Access_2k::AccessReport** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateReport"), DISPID(2030));
  TAutoArgs<2> _args;
  _args[1] = Database /*[VT_VARIANT:0]*/;
  _args[2] = ReportTemplate /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessReport**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::AccessReport* __fastcall
_ApplicationDispT<T>::CreateReport(VARIANT Database/*[in,opt]*/, VARIANT ReportTemplate/*[in,opt]*/)
{
  Access_2k::AccessReport* pRet;
  this->CreateReport(Database, ReportTemplate, (Access_2k::AccessReport**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CreateControl(BSTR FormName/*[in]*/, 
                                    Access_2k::AcControlType ControlType/*[in]*/, 
                                    Access_2k::AcSection Section/*[in,def,opt]*/, 
                                    VARIANT Parent/*[in,opt]*/, VARIANT ColumnName/*[in,opt]*/, 
                                    VARIANT Left/*[in,opt]*/, VARIANT Top/*[in,opt]*/, 
                                    VARIANT Width/*[in,opt]*/, VARIANT Height/*[in,opt]*/, 
                                    Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateControl"), DISPID(2031));
  TAutoArgs<9> _args;
  _args[1] = FormName /*[VT_BSTR:0]*/;
  _args[2] = (int)ControlType /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)Section /*[VT_USERDEFINED:0]*/;
  _args[4] = Parent /*[VT_VARIANT:0]*/;
  _args[5] = ColumnName /*[VT_VARIANT:0]*/;
  _args[6] = Left /*[VT_VARIANT:0]*/;
  _args[7] = Top /*[VT_VARIANT:0]*/;
  _args[8] = Width /*[VT_VARIANT:0]*/;
  _args[9] = Height /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessControl**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::AccessControl* __fastcall
_ApplicationDispT<T>::CreateControl(BSTR FormName/*[in]*/, 
                                    Access_2k::AcControlType ControlType/*[in]*/, 
                                    Access_2k::AcSection Section/*[in,def,opt]*/, 
                                    VARIANT Parent/*[in,opt]*/, VARIANT ColumnName/*[in,opt]*/, 
                                    VARIANT Left/*[in,opt]*/, VARIANT Top/*[in,opt]*/, 
                                    VARIANT Width/*[in,opt]*/, VARIANT Height/*[in,opt]*/)
{
  Access_2k::AccessControl* pRet;
  this->CreateControl(FormName, ControlType, Section, Parent, ColumnName, Left, Top, Width, Height, (Access_2k::AccessControl**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CreateReportControl(BSTR ReportName/*[in]*/, 
                                          Access_2k::AcControlType ControlType/*[in]*/, 
                                          Access_2k::AcSection Section/*[in,def,opt]*/, 
                                          VARIANT Parent/*[in,opt]*/, VARIANT ColumnName/*[in,opt]*/
                                          , VARIANT Left/*[in,opt]*/, VARIANT Top/*[in,opt]*/, 
                                          VARIANT Width/*[in,opt]*/, VARIANT Height/*[in,opt]*/, 
                                          Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateReportControl"), DISPID(2032));
  TAutoArgs<9> _args;
  _args[1] = ReportName /*[VT_BSTR:0]*/;
  _args[2] = (int)ControlType /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)Section /*[VT_USERDEFINED:0]*/;
  _args[4] = Parent /*[VT_VARIANT:0]*/;
  _args[5] = ColumnName /*[VT_VARIANT:0]*/;
  _args[6] = Left /*[VT_VARIANT:0]*/;
  _args[7] = Top /*[VT_VARIANT:0]*/;
  _args[8] = Width /*[VT_VARIANT:0]*/;
  _args[9] = Height /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessControl**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::AccessControl* __fastcall
_ApplicationDispT<T>::CreateReportControl(BSTR ReportName/*[in]*/, 
                                          Access_2k::AcControlType ControlType/*[in]*/, 
                                          Access_2k::AcSection Section/*[in,def,opt]*/, 
                                          VARIANT Parent/*[in,opt]*/, VARIANT ColumnName/*[in,opt]*/, 
                                          VARIANT Left/*[in,opt]*/, VARIANT Top/*[in,opt]*/, 
                                          VARIANT Width/*[in,opt]*/, VARIANT Height/*[in,opt]*/)
{
  Access_2k::AccessControl* pRet;
  this->CreateReportControl(ReportName, ControlType, Section, Parent, ColumnName, Left, Top, Width, 
                            Height, (Access_2k::AccessControl**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CreateControlEx(BSTR FormName/*[in]*/, 
                                      Access_2k::AcControlType ControlType/*[in]*/, 
                                      Access_2k::AcSection Section/*[in]*/, BSTR Parent/*[in]*/, 
                                      BSTR ControlSource/*[in]*/, long Left/*[in]*/, 
                                      long Top/*[in]*/, long Width/*[in]*/, long Height/*[in]*/, 
                                      Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateControlEx"), DISPID(2164));
  TAutoArgs<9> _args;
  _args[1] = FormName /*[VT_BSTR:0]*/;
  _args[2] = (int)ControlType /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)Section /*[VT_USERDEFINED:0]*/;
  _args[4] = Parent /*[VT_BSTR:0]*/;
  _args[5] = ControlSource /*[VT_BSTR:0]*/;
  _args[6] = Left /*[VT_I4:0]*/;
  _args[7] = Top /*[VT_I4:0]*/;
  _args[8] = Width /*[VT_I4:0]*/;
  _args[9] = Height /*[VT_I4:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessControl**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::AccessControl* __fastcall
_ApplicationDispT<T>::CreateControlEx(BSTR FormName/*[in]*/, 
                                      Access_2k::AcControlType ControlType/*[in]*/, 
                                      Access_2k::AcSection Section/*[in]*/, BSTR Parent/*[in]*/, 
                                      BSTR ControlSource/*[in]*/, long Left/*[in]*/, 
                                      long Top/*[in]*/, long Width/*[in]*/, long Height/*[in]*/)
{
  Access_2k::AccessControl* pRet;
  this->CreateControlEx(FormName, ControlType, Section, Parent, ControlSource, Left, Top, Width, 
                        Height, (Access_2k::AccessControl**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CreateReportControlEx(BSTR ReportName/*[in]*/, 
                                            Access_2k::AcControlType ControlType/*[in]*/, 
                                            Access_2k::AcSection Section/*[in]*/, 
                                            BSTR Parent/*[in]*/, BSTR ControlName/*[in]*/, 
                                            long Left/*[in]*/, long Top/*[in]*/, long Width/*[in]*/
                                            , long Height/*[in]*/, 
                                            Access_2k::AccessControl** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateReportControlEx"), DISPID(2165));
  TAutoArgs<9> _args;
  _args[1] = ReportName /*[VT_BSTR:0]*/;
  _args[2] = (int)ControlType /*[VT_USERDEFINED:0]*/;
  _args[3] = (int)Section /*[VT_USERDEFINED:0]*/;
  _args[4] = Parent /*[VT_BSTR:0]*/;
  _args[5] = ControlName /*[VT_BSTR:0]*/;
  _args[6] = Left /*[VT_I4:0]*/;
  _args[7] = Top /*[VT_I4:0]*/;
  _args[8] = Width /*[VT_I4:0]*/;
  _args[9] = Height /*[VT_I4:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessControl**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::AccessControl* __fastcall
_ApplicationDispT<T>::CreateReportControlEx(BSTR ReportName/*[in]*/, 
                                            Access_2k::AcControlType ControlType/*[in]*/, 
                                            Access_2k::AcSection Section/*[in]*/, 
                                            BSTR Parent/*[in]*/, BSTR ControlName/*[in]*/, 
                                            long Left/*[in]*/, long Top/*[in]*/, long Width/*[in]*/, 
                                            long Height/*[in]*/)
{
  Access_2k::AccessControl* pRet;
  this->CreateReportControlEx(ReportName, ControlType, Section, Parent, ControlName, Left, Top, 
                              Width, Height, (Access_2k::AccessControl**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DeleteControl(BSTR FormName/*[in]*/, BSTR ControlName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DeleteControl"), DISPID(2033));
  TAutoArgs<2> _args;
  _args[1] = FormName /*[VT_BSTR:0]*/;
  _args[2] = ControlName /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DeleteReportControl(BSTR ReportName/*[in]*/, BSTR ControlName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DeleteReportControl"), DISPID(2034));
  TAutoArgs<2> _args;
  _args[1] = ReportName /*[VT_BSTR:0]*/;
  _args[2] = ControlName /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CreateGroupLevel(BSTR ReportName/*[in]*/, BSTR Expression/*[in]*/, 
                                       short Header/*[in]*/, short Footer/*[in]*/, 
                                       long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateGroupLevel"), DISPID(2051));
  TAutoArgs<4> _args;
  _args[1] = ReportName /*[VT_BSTR:0]*/;
  _args[2] = Expression /*[VT_BSTR:0]*/;
  _args[3] = Header /*[VT_I2:0]*/;
  _args[4] = Footer /*[VT_I2:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> long __fastcall
_ApplicationDispT<T>::CreateGroupLevel(BSTR ReportName/*[in]*/, BSTR Expression/*[in]*/, 
                                       short Header/*[in]*/, short Footer/*[in]*/)
{
  long pRet;
  this->CreateGroupLevel(ReportName, Expression, Header, Footer, (long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DMin(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DMin"), DISPID(2035));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DMin(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DMin(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DMax(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DMax"), DISPID(2036));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DMax(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DMax(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DSum(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DSum"), DISPID(2037));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DSum(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DSum(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DAvg(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DAvg"), DISPID(2038));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DAvg(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DAvg(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DLookup(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                              VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DLookup"), DISPID(2039));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DLookup(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DLookup(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DLast(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DLast"), DISPID(2040));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DLast(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DLast(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DVar(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                           VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DVar"), DISPID(2041));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DVar(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DVar(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DVarP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                            VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DVarP"), DISPID(2042));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DVarP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DVarP(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DStDev(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DStDev"), DISPID(2043));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DStDev(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DStDev(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DStDevP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                              VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DStDevP"), DISPID(2044));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DStDevP(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DStDevP(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DFirst(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DFirst"), DISPID(2045));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DFirst(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DFirst(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DCount(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/, 
                             VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DCount"), DISPID(2046));
  TAutoArgs<3> _args;
  _args[1] = Expr /*[VT_BSTR:0]*/;
  _args[2] = Domain /*[VT_BSTR:0]*/;
  _args[3] = Criteria /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DCount(BSTR Expr/*[in]*/, BSTR Domain/*[in]*/, VARIANT Criteria/*[in,opt]*/)
{
  VARIANT pRet;
  this->DCount(Expr, Domain, Criteria, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::Eval(BSTR StringExpr/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Eval"), DISPID(2047));
  TAutoArgs<1> _args;
  _args[1] = StringExpr /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::Eval(BSTR StringExpr/*[in]*/)
{
  VARIANT pRet;
  this->Eval(StringExpr, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CurrentUser(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentUser"), DISPID(2048));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> BSTR __fastcall
_ApplicationDispT<T>::CurrentUser(void)
{
  BSTR pRet;
  this->CurrentUser((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DDEInitiate(BSTR Application/*[in]*/, BSTR Topic/*[in]*/, 
                                  VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DDEInitiate"), DISPID(2052));
  TAutoArgs<2> _args;
  _args[1] = Application /*[VT_BSTR:0]*/;
  _args[2] = Topic /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::DDEInitiate(BSTR Application/*[in]*/, BSTR Topic/*[in]*/)
{
  VARIANT pRet;
  this->DDEInitiate(Application, Topic, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DDEExecute(VARIANT ChanNum/*[in]*/, BSTR Command/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DDEExecute"), DISPID(2053));
  TAutoArgs<2> _args;
  _args[1] = ChanNum /*[VT_VARIANT:0]*/;
  _args[2] = Command /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DDEPoke(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/, BSTR Data/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DDEPoke"), DISPID(2054));
  TAutoArgs<3> _args;
  _args[1] = ChanNum /*[VT_VARIANT:0]*/;
  _args[2] = Item /*[VT_BSTR:0]*/;
  _args[3] = Data /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DDERequest(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/, 
                                 BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DDERequest"), DISPID(2055));
  TAutoArgs<2> _args;
  _args[1] = ChanNum /*[VT_VARIANT:0]*/;
  _args[2] = Item /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> BSTR __fastcall
_ApplicationDispT<T>::DDERequest(VARIANT ChanNum/*[in]*/, BSTR Item/*[in]*/)
{
  BSTR pRet;
  this->DDERequest(ChanNum, Item, (BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DDETerminate(VARIANT ChanNum/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DDETerminate"), DISPID(2056));
  TAutoArgs<1> _args;
  _args[1] = ChanNum /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DDETerminateAll()
{
  _TDispID _dispid(*this, OLETEXT("DDETerminateAll"), DISPID(2057));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_DBEngine(Dao_2k::DBEngine** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DBEngine"), DISPID(2110));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Dao_2k::DBEngine**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Dao_2k::DBEnginePtr __fastcall
_ApplicationDispT<T>::get_DBEngine(void)
{
  Dao_2k::DBEnginePtr pRet;
  this->get_DBEngine(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CurrentDb(Dao_2k::Database** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentDb"), DISPID(2049));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Dao_2k::Database**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Dao_2k::Database* __fastcall
_ApplicationDispT<T>::CurrentDb(void)
{
  Dao_2k::Database* pRet;
  this->CurrentDb((Dao_2k::Database**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CodeDb(Dao_2k::Database** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CodeDb"), DISPID(2050));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Dao_2k::Database**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Dao_2k::Database* __fastcall
_ApplicationDispT<T>::CodeDb(void)
{
  Dao_2k::Database* pRet;
  this->CodeDb((Dao_2k::Database**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::BeginUndoable(long Hwnd/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("BeginUndoable"), DISPID(2099));
  TAutoArgs<1> _args;
  _args[1] = Hwnd /*[VT_I4:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::SetUndoRecording(short yesno/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SetUndoRecording"), DISPID(2100));
  TAutoArgs<1> _args;
  _args[1] = yesno /*[VT_I2:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::BuildCriteria(BSTR Field/*[in]*/, short FieldType/*[in]*/, 
                                    BSTR Expression/*[in]*/, BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BuildCriteria"), DISPID(2138));
  TAutoArgs<3> _args;
  _args[1] = Field /*[VT_BSTR:0]*/;
  _args[2] = FieldType /*[VT_I2:0]*/;
  _args[3] = Expression /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> BSTR __fastcall
_ApplicationDispT<T>::BuildCriteria(BSTR Field/*[in]*/, short FieldType/*[in]*/, 
                                    BSTR Expression/*[in]*/)
{
  BSTR pRet;
  this->BuildCriteria(Field, FieldType, Expression, (BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::InsertText(BSTR Text/*[in]*/, BSTR ModuleName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("InsertText"), DISPID(2093));
  TAutoArgs<2> _args;
  _args[1] = Text /*[VT_BSTR:0]*/;
  _args[2] = ModuleName /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::ReloadAddIns()
{
  _TDispID _dispid(*this, OLETEXT("ReloadAddIns"), DISPID(2154));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DefaultWorkspaceClone(Dao_2k::Workspace** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultWorkspaceClone"), DISPID(2157));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Dao_2k::Workspace**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Dao_2k::Workspace* __fastcall
_ApplicationDispT<T>::DefaultWorkspaceClone(void)
{
  Dao_2k::Workspace* pRet;
  this->DefaultWorkspaceClone((Dao_2k::Workspace**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::RefreshTitleBar()
{
  _TDispID _dispid(*this, OLETEXT("RefreshTitleBar"), DISPID(2158));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::AddAutoCorrect(BSTR ChangeFrom/*[in]*/, BSTR ChangeTo/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddAutoCorrect"), DISPID(2159));
  TAutoArgs<2> _args;
  _args[1] = ChangeFrom /*[VT_BSTR:0]*/;
  _args[2] = ChangeTo /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::DelAutoCorrect(BSTR ChangeFrom/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DelAutoCorrect"), DISPID(2160));
  TAutoArgs<1> _args;
  _args[1] = ChangeFrom /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::hWndAccessApp(int* phWndAccessAppWnd/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("hWndAccessApp"), DISPID(2163));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(phWndAccessAppWnd /*[VT_INT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> int __fastcall
_ApplicationDispT<T>::hWndAccessApp(void)
{
  int phWndAccessAppWnd;
  this->hWndAccessApp((int*)&phWndAccessAppWnd);
  return phWndAccessAppWnd;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::Run(BSTR Procedure/*[in]*/, VARIANT* Arg1/*[in,out,opt]*/, 
                          VARIANT* Arg2/*[in,out,opt]*/, VARIANT* Arg3/*[in,out,opt]*/, 
                          VARIANT* Arg4/*[in,out,opt]*/, VARIANT* Arg5/*[in,out,opt]*/, 
                          VARIANT* Arg6/*[in,out,opt]*/, VARIANT* Arg7/*[in,out,opt]*/, 
                          VARIANT* Arg8/*[in,out,opt]*/, VARIANT* Arg9/*[in,out,opt]*/, 
                          VARIANT* Arg10/*[in,out,opt]*/, VARIANT* Arg11/*[in,out,opt]*/, 
                          VARIANT* Arg12/*[in,out,opt]*/, VARIANT* Arg13/*[in,out,opt]*/, 
                          VARIANT* Arg14/*[in,out,opt]*/, VARIANT* Arg15/*[in,out,opt]*/, 
                          VARIANT* Arg16/*[in,out,opt]*/, VARIANT* Arg17/*[in,out,opt]*/, 
                          VARIANT* Arg18/*[in,out,opt]*/, VARIANT* Arg19/*[in,out,opt]*/, 
                          VARIANT* Arg20/*[in,out,opt]*/, VARIANT* Arg21/*[in,out,opt]*/, 
                          VARIANT* Arg22/*[in,out,opt]*/, VARIANT* Arg23/*[in,out,opt]*/, 
                          VARIANT* Arg24/*[in,out,opt]*/, VARIANT* Arg25/*[in,out,opt]*/, 
                          VARIANT* Arg26/*[in,out,opt]*/, VARIANT* Arg27/*[in,out,opt]*/, 
                          VARIANT* Arg28/*[in,out,opt]*/, VARIANT* Arg29/*[in,out,opt]*/, 
                          VARIANT* Arg30/*[in,out,opt]*/, VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Run"), DISPID(2134));
  TAutoArgs<31> _args;
  _args[1] = Procedure /*[VT_BSTR:0]*/;
  _args[2] = Arg1 /*[VT_VARIANT:1]*/;
  _args[3] = Arg2 /*[VT_VARIANT:1]*/;
  _args[4] = Arg3 /*[VT_VARIANT:1]*/;
  _args[5] = Arg4 /*[VT_VARIANT:1]*/;
  _args[6] = Arg5 /*[VT_VARIANT:1]*/;
  _args[7] = Arg6 /*[VT_VARIANT:1]*/;
  _args[8] = Arg7 /*[VT_VARIANT:1]*/;
  _args[9] = Arg8 /*[VT_VARIANT:1]*/;
  _args[10] = Arg9 /*[VT_VARIANT:1]*/;
  _args[11] = Arg10 /*[VT_VARIANT:1]*/;
  _args[12] = Arg11 /*[VT_VARIANT:1]*/;
  _args[13] = Arg12 /*[VT_VARIANT:1]*/;
  _args[14] = Arg13 /*[VT_VARIANT:1]*/;
  _args[15] = Arg14 /*[VT_VARIANT:1]*/;
  _args[16] = Arg15 /*[VT_VARIANT:1]*/;
  _args[17] = Arg16 /*[VT_VARIANT:1]*/;
  _args[18] = Arg17 /*[VT_VARIANT:1]*/;
  _args[19] = Arg18 /*[VT_VARIANT:1]*/;
  _args[20] = Arg19 /*[VT_VARIANT:1]*/;
  _args[21] = Arg20 /*[VT_VARIANT:1]*/;
  _args[22] = Arg21 /*[VT_VARIANT:1]*/;
  _args[23] = Arg22 /*[VT_VARIANT:1]*/;
  _args[24] = Arg23 /*[VT_VARIANT:1]*/;
  _args[25] = Arg24 /*[VT_VARIANT:1]*/;
  _args[26] = Arg25 /*[VT_VARIANT:1]*/;
  _args[27] = Arg26 /*[VT_VARIANT:1]*/;
  _args[28] = Arg27 /*[VT_VARIANT:1]*/;
  _args[29] = Arg28 /*[VT_VARIANT:1]*/;
  _args[30] = Arg29 /*[VT_VARIANT:1]*/;
  _args[31] = Arg30 /*[VT_VARIANT:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::Run(BSTR Procedure/*[in]*/, VARIANT* Arg1/*[in,out,opt]*/, 
                          VARIANT* Arg2/*[in,out,opt]*/, VARIANT* Arg3/*[in,out,opt]*/, 
                          VARIANT* Arg4/*[in,out,opt]*/, VARIANT* Arg5/*[in,out,opt]*/, 
                          VARIANT* Arg6/*[in,out,opt]*/, VARIANT* Arg7/*[in,out,opt]*/, 
                          VARIANT* Arg8/*[in,out,opt]*/, VARIANT* Arg9/*[in,out,opt]*/, 
                          VARIANT* Arg10/*[in,out,opt]*/, VARIANT* Arg11/*[in,out,opt]*/, 
                          VARIANT* Arg12/*[in,out,opt]*/, VARIANT* Arg13/*[in,out,opt]*/, 
                          VARIANT* Arg14/*[in,out,opt]*/, VARIANT* Arg15/*[in,out,opt]*/, 
                          VARIANT* Arg16/*[in,out,opt]*/, VARIANT* Arg17/*[in,out,opt]*/, 
                          VARIANT* Arg18/*[in,out,opt]*/, VARIANT* Arg19/*[in,out,opt]*/, 
                          VARIANT* Arg20/*[in,out,opt]*/, VARIANT* Arg21/*[in,out,opt]*/, 
                          VARIANT* Arg22/*[in,out,opt]*/, VARIANT* Arg23/*[in,out,opt]*/, 
                          VARIANT* Arg24/*[in,out,opt]*/, VARIANT* Arg25/*[in,out,opt]*/, 
                          VARIANT* Arg26/*[in,out,opt]*/, VARIANT* Arg27/*[in,out,opt]*/, 
                          VARIANT* Arg28/*[in,out,opt]*/, VARIANT* Arg29/*[in,out,opt]*/, 
                          VARIANT* Arg30/*[in,out,opt]*/)
{
  VARIANT pRet;
  this->Run(Procedure, Arg1, Arg2, Arg3, Arg4, Arg5, Arg6, Arg7, Arg8, Arg9, Arg10, Arg11, Arg12, 
            Arg13, Arg14, Arg15, Arg16, Arg17, Arg18, Arg19, Arg20, Arg21, Arg22, Arg23, Arg24, 
            Arg25, Arg26, Arg27, Arg28, Arg29, Arg30, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::Nz(VARIANT Value/*[in]*/, VARIANT ValueIfNull/*[in,opt]*/, 
                         VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Nz"), DISPID(2135));
  TAutoArgs<2> _args;
  _args[1] = Value /*[VT_VARIANT:0]*/;
  _args[2] = ValueIfNull /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::Nz(VARIANT Value/*[in]*/, VARIANT ValueIfNull/*[in,opt]*/)
{
  VARIANT pRet;
  this->Nz(Value, ValueIfNull, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::LoadPicture(BSTR FileName/*[in]*/, LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LoadPicture"), DISPID(2166));
  TAutoArgs<1> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ApplicationDispT<T>::LoadPicture(BSTR FileName/*[in]*/)
{
  LPDISPATCH pRet;
  this->LoadPicture(FileName, (LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::ReplaceModule(long objtyp/*[in]*/, BSTR ModuleName/*[in]*/, 
                                    BSTR FileName/*[in]*/, long token/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReplaceModule"), DISPID(2168));
  TAutoArgs<4> _args;
  _args[1] = objtyp /*[VT_I4:0]*/;
  _args[2] = ModuleName /*[VT_BSTR:0]*/;
  _args[3] = FileName /*[VT_BSTR:0]*/;
  _args[4] = token /*[VT_I4:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::AccessError(VARIANT ErrorNumber/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AccessError"), DISPID(2169));
  TAutoArgs<1> _args;
  _args[1] = ErrorNumber /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::AccessError(VARIANT ErrorNumber/*[in]*/)
{
  VARIANT pRet;
  this->AccessError(ErrorNumber, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::BuilderString(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BuilderString"), DISPID(2170));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::BuilderString(void)
{
  VARIANT pRet;
  this->BuilderString((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::StringFromGUID(VARIANT Guid/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("StringFromGUID"), DISPID(2171));
  TAutoArgs<1> _args;
  _args[1] = Guid /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::StringFromGUID(VARIANT Guid/*[in]*/)
{
  VARIANT pRet;
  this->StringFromGUID(Guid, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::GUIDFromString(VARIANT String/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GUIDFromString"), DISPID(2172));
  TAutoArgs<1> _args;
  _args[1] = String /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::GUIDFromString(VARIANT String/*[in]*/)
{
  VARIANT pRet;
  this->GUIDFromString(String, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::AppLoadString(long id/*[in]*/, VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AppLoadString"), DISPID(2173));
  TAutoArgs<1> _args;
  _args[1] = id /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::AppLoadString(long id/*[in]*/)
{
  VARIANT pRet;
  this->AppLoadString(id, (VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_CommandBars(Office_2k::CommandBars** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CommandBars"), DISPID(2174));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Office_2k::CommandBars**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Office_2k::CommandBarsPtr __fastcall
_ApplicationDispT<T>::get_CommandBars(void)
{
  Office_2k::CommandBarsPtr pRet;
  this->get_CommandBars(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_Assistant(Office_2k::Assistant** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Assistant"), DISPID(2175));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Office_2k::Assistant**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Office_2k::AssistantPtr __fastcall
_ApplicationDispT<T>::get_Assistant(void)
{
  Office_2k::AssistantPtr pRet;
  this->get_Assistant(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::FollowHyperlink(BSTR Address/*[in]*/, BSTR SubAddress/*[in,def,opt]*/, 
                                      VARIANT_BOOL NewWindow/*[in,def,opt]*/, 
                                      VARIANT_BOOL AddHistory/*[in,def,opt]*/, 
                                      VARIANT ExtraInfo/*[in,opt]*/, 
                                      Office_2k::MsoExtraInfoMethod Method/*[in,def,opt]*/, 
                                      BSTR HeaderInfo/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("FollowHyperlink"), DISPID(2176));
  TAutoArgs<7> _args;
  _args[1] = Address /*[VT_BSTR:0]*/;
  _args[2] = SubAddress /*[VT_BSTR:0]*/;
  _args[3] = NewWindow /*[VT_BOOL:0]*/;
  _args[4] = AddHistory /*[VT_BOOL:0]*/;
  _args[5] = ExtraInfo /*[VT_VARIANT:0]*/;
  _args[6] = (int)Method /*[VT_USERDEFINED:0]*/;
  _args[7] = HeaderInfo /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::SaveAsText(Access_2k::AcObjectType ObjectType/*[in]*/, BSTR ObjectName/*[in]*/
                                 , BSTR FileName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SaveAsText"), DISPID(2178));
  TAutoArgs<3> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_BSTR:0]*/;
  _args[3] = FileName /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::LoadFromText(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                   BSTR ObjectName/*[in]*/, BSTR FileName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LoadFromText"), DISPID(2179));
  TAutoArgs<3> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_BSTR:0]*/;
  _args[3] = FileName /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::AddToFavorites()
{
  _TDispID _dispid(*this, OLETEXT("AddToFavorites"), DISPID(2184));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::RefreshDatabaseWindow()
{
  _TDispID _dispid(*this, OLETEXT("RefreshDatabaseWindow"), DISPID(2186));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_References(Access_2k::AccessReferences** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("References"), DISPID(2187));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessReferences**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessReferencesPtr __fastcall
_ApplicationDispT<T>::get_References(void)
{
  Access_2k::AccessReferencesPtr pRet;
  this->get_References(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_Modules(Access_2k::Modules** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Modules"), DISPID(2188));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Modules**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::ModulesPtr __fastcall
_ApplicationDispT<T>::get_Modules(void)
{
  Access_2k::ModulesPtr pRet;
  this->get_Modules(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_FileSearch(Office_2k::FileSearch** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FileSearch"), DISPID(2189));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Office_2k::FileSearch**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Office_2k::FileSearchPtr __fastcall
_ApplicationDispT<T>::get_FileSearch(void)
{
  Office_2k::FileSearchPtr pRet;
  this->get_FileSearch(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_IsCompiled(VARIANT_BOOL* pfCompiled/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsCompiled"), DISPID(2193));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pfCompiled /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ApplicationDispT<T>::get_IsCompiled(void)
{
  VARIANT_BOOL pfCompiled;
  this->get_IsCompiled((VARIANT_BOOL*)&pfCompiled);
  return pfCompiled;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::RunCommand(Access_2k::AcCommand Command/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("RunCommand"), DISPID(2194));
  TAutoArgs<1> _args;
  _args[1] = (int)Command /*[VT_USERDEFINED:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::HyperlinkPart(VARIANT Hyperlink/*[in]*/, 
                                    Access_2k::AcHyperlinkPart Part/*[in,def,opt]*/, 
                                    BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkPart"), DISPID(2195));
  TAutoArgs<2> _args;
  _args[1] = Hyperlink /*[VT_VARIANT:0]*/;
  _args[2] = (int)Part /*[VT_USERDEFINED:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> BSTR __fastcall
_ApplicationDispT<T>::HyperlinkPart(VARIANT Hyperlink/*[in]*/, 
                                    Access_2k::AcHyperlinkPart Part/*[in,def,opt]*/)
{
  BSTR pRet;
  this->HyperlinkPart(Hyperlink, Part, (BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::GetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                         BSTR ObjectName/*[in]*/, 
                                         VARIANT_BOOL* pfHidden/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GetHiddenAttribute"), DISPID(2197));
  TAutoArgs<2> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pfHidden /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_ApplicationDispT<T>::GetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                         BSTR ObjectName/*[in]*/)
{
  VARIANT_BOOL pfHidden;
  this->GetHiddenAttribute(ObjectType, ObjectName, (VARIANT_BOOL*)&pfHidden);
  return pfHidden;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::SetHiddenAttribute(Access_2k::AcObjectType ObjectType/*[in]*/, 
                                         BSTR ObjectName/*[in]*/, VARIANT_BOOL fHidden/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SetHiddenAttribute"), DISPID(2198));
  TAutoArgs<3> _args;
  _args[1] = (int)ObjectType /*[VT_USERDEFINED:0]*/;
  _args[2] = ObjectName /*[VT_BSTR:0]*/;
  _args[3] = fHidden /*[VT_BOOL:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_VBE(Vbide_2k::VBE** ppVBE/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("VBE"), DISPID(2210));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Vbide_2k::VBE**)ppVBE /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Vbide_2k::VBEPtr __fastcall
_ApplicationDispT<T>::get_VBE(void)
{
  Vbide_2k::VBEPtr ppVBE;
  this->get_VBE(&ppVBE);
  return ppVBE;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_DataAccessPages(Access_2k::DataAccessPages** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DataAccessPages"), DISPID(2212));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::DataAccessPages**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::DataAccessPagesPtr __fastcall
_ApplicationDispT<T>::get_DataAccessPages(void)
{
  Access_2k::DataAccessPagesPtr pRet;
  this->get_DataAccessPages(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CreateDataAccessPage(VARIANT FileName/*[in,opt]*/, 
                                           VARIANT_BOOL CreateNewFile/*[in,def,opt]*/, 
                                           Access_2k::DataAccessPage** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateDataAccessPage"), DISPID(2213));
  TAutoArgs<2> _args;
  _args[1] = FileName /*[VT_VARIANT:0]*/;
  _args[2] = CreateNewFile /*[VT_BOOL:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::DataAccessPage**)pRet /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::DataAccessPage* __fastcall
_ApplicationDispT<T>::CreateDataAccessPage(VARIANT FileName/*[in,opt]*/, 
                                           VARIANT_BOOL CreateNewFile/*[in,def,opt]*/)
{
  Access_2k::DataAccessPage* pRet;
  this->CreateDataAccessPage(FileName, CreateNewFile, (Access_2k::DataAccessPage**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_ADOConnectString(BSTR* pbstrADOConnectString/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ADOConnectString"), DISPID(2233));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrADOConnectString /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ApplicationDispT<T>::get_ADOConnectString(void)
{
  BSTR pbstrADOConnectString;
  this->get_ADOConnectString((BSTR*)&pbstrADOConnectString);
  return pbstrADOConnectString;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_CurrentProject(Access_2k::CurrentProject** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentProject"), DISPID(2215));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::CurrentProject**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::CurrentProjectPtr __fastcall
_ApplicationDispT<T>::get_CurrentProject(void)
{
  Access_2k::CurrentProjectPtr pRet;
  this->get_CurrentProject(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_CurrentData(Access_2k::CurrentData** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentData"), DISPID(2216));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::CurrentData**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::CurrentDataPtr __fastcall
_ApplicationDispT<T>::get_CurrentData(void)
{
  Access_2k::CurrentDataPtr pRet;
  this->get_CurrentData(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_CodeProject(Access_2k::CodeProject** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CodeProject"), DISPID(2217));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::CodeProject**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::CodeProjectPtr __fastcall
_ApplicationDispT<T>::get_CodeProject(void)
{
  Access_2k::CodeProjectPtr pRet;
  this->get_CodeProject(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_CodeData(Access_2k::CodeData** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CodeData"), DISPID(2218));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::CodeData**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::CodeDataPtr __fastcall
_ApplicationDispT<T>::get_CodeData(void)
{
  Access_2k::CodeDataPtr pRet;
  this->get_CodeData(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::NewAccessProject(BSTR filepath/*[in]*/, VARIANT Connect/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("NewAccessProject"), DISPID(2262));
  TAutoArgs<2> _args;
  _args[1] = filepath /*[VT_BSTR:0]*/;
  _args[2] = Connect /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::OpenAccessProject(BSTR filepath/*[in]*/, 
                                        VARIANT_BOOL Exclusive/*[in,def,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenAccessProject"), DISPID(2263));
  TAutoArgs<2> _args;
  _args[1] = filepath /*[VT_BSTR:0]*/;
  _args[2] = Exclusive /*[VT_BOOL:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::CreateAccessProject(BSTR filepath/*[in]*/, VARIANT Connect/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateAccessProject"), DISPID(2264));
  TAutoArgs<2> _args;
  _args[1] = filepath /*[VT_BSTR:0]*/;
  _args[2] = Connect /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_WizHook(Access_2k::WizHook** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("WizHook"), DISPID(2235));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::WizHook**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::WizHookPtr __fastcall
_ApplicationDispT<T>::get_WizHook(void)
{
  Access_2k::WizHookPtr pRet;
  this->get_WizHook(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_ProductCode(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ProductCode"), DISPID(2266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ApplicationDispT<T>::get_ProductCode(void)
{
  BSTR pRet;
  this->get_ProductCode((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_COMAddIns(Office_2k::COMAddIns** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("COMAddIns"), DISPID(2277));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Office_2k::COMAddIns**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Office_2k::COMAddInsPtr __fastcall
_ApplicationDispT<T>::get_COMAddIns(void)
{
  Office_2k::COMAddInsPtr pRet;
  this->get_COMAddIns(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(2094));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_ApplicationDispT<T>::get_Name(void)
{
  BSTR pRet;
  this->get_Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_DefaultWebOptions(Access_2k::DefaultWebOptions** ppDWO/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DefaultWebOptions"), DISPID(2278));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::DefaultWebOptions**)ppDWO /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::DefaultWebOptionsPtr __fastcall
_ApplicationDispT<T>::get_DefaultWebOptions(void)
{
  Access_2k::DefaultWebOptionsPtr ppDWO;
  this->get_DefaultWebOptions(&ppDWO);
  return ppDWO;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_LanguageSettings(Office_2k::LanguageSettings** ppRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LanguageSettings"), DISPID(2301));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Office_2k::LanguageSettings**)ppRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Office_2k::LanguageSettingsPtr __fastcall
_ApplicationDispT<T>::get_LanguageSettings(void)
{
  Office_2k::LanguageSettingsPtr ppRet;
  this->get_LanguageSettings(&ppRet);
  return ppRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_AnswerWizard(Office_2k::AnswerWizard** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AnswerWizard"), DISPID(2304));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Office_2k::AnswerWizard**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Office_2k::AnswerWizardPtr __fastcall
_ApplicationDispT<T>::get_AnswerWizard(void)
{
  Office_2k::AnswerWizardPtr pRet;
  this->get_AnswerWizard(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_FeatureInstall(Office_2k::MsoFeatureInstall* FeatureInstall/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FeatureInstall"), DISPID(2322));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)FeatureInstall /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Office_2k::MsoFeatureInstall __fastcall
_ApplicationDispT<T>::get_FeatureInstall(void)
{
  Office_2k::MsoFeatureInstall FeatureInstall;
  this->get_FeatureInstall((Office_2k::MsoFeatureInstall*)&FeatureInstall);
  return FeatureInstall;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::set_FeatureInstall(Office_2k::MsoFeatureInstall FeatureInstall/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FeatureInstall"), DISPID(2322));
  TAutoArgs<1> _args;
  _args[1] = (int)FeatureInstall /*[VT_USERDEFINED:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::EuroConvert(double Number/*[in]*/, BSTR SourceCurrency/*[in]*/, 
                                  BSTR TargetCurrency/*[in]*/, VARIANT FullPrecision/*[in,opt]*/, 
                                  VARIANT TriangulationPrecision/*[in,opt]*/, 
                                  double* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EuroConvert"), DISPID(2325));
  TAutoArgs<5> _args;
  _args[1] = Number /*[VT_R8:0]*/;
  _args[2] = SourceCurrency /*[VT_BSTR:0]*/;
  _args[3] = TargetCurrency /*[VT_BSTR:0]*/;
  _args[4] = FullPrecision /*[VT_VARIANT:0]*/;
  _args[5] = TriangulationPrecision /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_R8:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> double __fastcall
_ApplicationDispT<T>::EuroConvert(double Number/*[in]*/, BSTR SourceCurrency/*[in]*/, 
                                  BSTR TargetCurrency/*[in]*/, VARIANT FullPrecision/*[in,opt]*/, 
                                  VARIANT TriangulationPrecision/*[in,opt]*/)
{
  double pRet;
  this->EuroConvert(Number, SourceCurrency, TargetCurrency, FullPrecision, TriangulationPrecision, (double*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_ApplicationDispT<T>::get_VGXFrameInterval(VARIANT* pnmsec/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("VGXFrameInterval"), DISPID(2326));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pnmsec /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
_ApplicationDispT<T>::get_VGXFrameInterval(void)
{
  VARIANT pnmsec;
  this->get_VGXFrameInterval((VARIANT*)&pnmsec);
  return pnmsec;
}

// *********************************************************************//
// DispIntf:  Reference
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {EB106212-9C89-11CF-A2B3-00A0C90542FF}
// *********************************************************************//
template <class T> HRESULT __fastcall
ReferenceDispT<T>::get_Collection(Access_2k::AccessReferences** retval/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Collection"), DISPID(DISPID_UNKNOWN/*[1610743808]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessReferences**)retval /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessReferencesPtr __fastcall
ReferenceDispT<T>::get_Collection(void)
{
  Access_2k::AccessReferencesPtr retval;
  this->get_Collection(&retval);
  return retval;
}

template <class T> HRESULT __fastcall
ReferenceDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(DISPID_UNKNOWN/*[1610743809]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
ReferenceDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
ReferenceDispT<T>::get_Guid(BSTR* pbstrGuid/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Guid"), DISPID(DISPID_UNKNOWN/*[1610743810]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrGuid /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
ReferenceDispT<T>::get_Guid(void)
{
  BSTR pbstrGuid;
  this->get_Guid((BSTR*)&pbstrGuid);
  return pbstrGuid;
}

template <class T> HRESULT __fastcall
ReferenceDispT<T>::get_Major(long* pMajor/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Major"), DISPID(DISPID_UNKNOWN/*[1610743811]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pMajor /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
ReferenceDispT<T>::get_Major(void)
{
  long pMajor;
  this->get_Major((long*)&pMajor);
  return pMajor;
}

template <class T> HRESULT __fastcall
ReferenceDispT<T>::get_Minor(long* pMinor/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Minor"), DISPID(DISPID_UNKNOWN/*[1610743812]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pMinor /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
ReferenceDispT<T>::get_Minor(void)
{
  long pMinor;
  this->get_Minor((long*)&pMinor);
  return pMinor;
}

template <class T> HRESULT __fastcall
ReferenceDispT<T>::get_FullPath(BSTR* pbstrFullPath/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FullPath"), DISPID(DISPID_UNKNOWN/*[1610743813]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrFullPath /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
ReferenceDispT<T>::get_FullPath(void)
{
  BSTR pbstrFullPath;
  this->get_FullPath((BSTR*)&pbstrFullPath);
  return pbstrFullPath;
}

template <class T> HRESULT __fastcall
ReferenceDispT<T>::get_BuiltIn(VARIANT_BOOL* pfBuiltIn/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BuiltIn"), DISPID(DISPID_UNKNOWN/*[1610743814]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pfBuiltIn /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
ReferenceDispT<T>::get_BuiltIn(void)
{
  VARIANT_BOOL pfBuiltIn;
  this->get_BuiltIn((VARIANT_BOOL*)&pfBuiltIn);
  return pfBuiltIn;
}

template <class T> HRESULT __fastcall
ReferenceDispT<T>::get_IsBroken(VARIANT_BOOL* pfIsBroken/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsBroken"), DISPID(DISPID_UNKNOWN/*[1610743815]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pfIsBroken /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
ReferenceDispT<T>::get_IsBroken(void)
{
  VARIANT_BOOL pfIsBroken;
  this->get_IsBroken((VARIANT_BOOL*)&pfIsBroken);
  return pfIsBroken;
}

template <class T> HRESULT __fastcall
ReferenceDispT<T>::get_Kind(Vbide_2k::vbext_RefKind* pKind/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Kind"), DISPID(DISPID_UNKNOWN/*[1610743816]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pKind /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Vbide_2k::vbext_RefKind __fastcall
ReferenceDispT<T>::get_Kind(void)
{
  Vbide_2k::vbext_RefKind pKind;
  this->get_Kind((Vbide_2k::vbext_RefKind*)&pKind);
  return pKind;
}

// *********************************************************************//
// SmartIntf: TCOM_References
// Interface: _References
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_ReferencesT<T>::get_Parent(LPDISPATCH* retval/*[out,retval]*/)
{
  return (*this)->get_Parent(retval);
}

template <class T> LPDISPATCH __fastcall
TCOM_ReferencesT<T>::get_Parent(void)
{
  LPDISPATCH retval;
  OLECHECK(this->get_Parent((LPDISPATCH*)&retval));
  return retval;
}

template <class T> HRESULT __fastcall
TCOM_ReferencesT<T>::Item(VARIANT var/*[in]*/, Access_2k::Reference** Reference/*[out,retval]*/)
{
  return (*this)->Item(var, Reference);
}

template <class T> Access_2k::Reference* __fastcall
TCOM_ReferencesT<T>::Item(VARIANT var/*[in]*/)
{
  Access_2k::Reference* Reference;
  OLECHECK(this->Item(var/*[in]*/, (Access_2k::Reference**)&Reference));
  return Reference;
}

template <class T> HRESULT __fastcall
TCOM_ReferencesT<T>::get_Count(long* Count/*[out,retval]*/)
{
  return (*this)->get_Count(Count);
}

template <class T> long __fastcall
TCOM_ReferencesT<T>::get_Count(void)
{
  long Count;
  OLECHECK(this->get_Count((long*)&Count));
  return Count;
}

template <class T> HRESULT __fastcall
TCOM_ReferencesT<T>::_NewEnum(LPUNKNOWN* ppenum/*[out,retval]*/)
{
  return (*this)->_NewEnum(ppenum);
}

template <class T> LPUNKNOWN __fastcall
TCOM_ReferencesT<T>::_NewEnum(void)
{
  LPUNKNOWN ppenum;
  OLECHECK(this->_NewEnum((LPUNKNOWN*)&ppenum));
  return ppenum;
}

template <class T> HRESULT __fastcall
TCOM_ReferencesT<T>::AddFromGuid(BSTR Guid/*[in]*/, long Major/*[in]*/, long Minor/*[in]*/, 
                                 Access_2k::Reference** Reference/*[out,retval]*/)
{
  return (*this)->AddFromGuid(Guid, Major, Minor, Reference);
}

template <class T> Access_2k::Reference* __fastcall
TCOM_ReferencesT<T>::AddFromGuid(BSTR Guid/*[in]*/, long Major/*[in]*/, long Minor/*[in]*/)
{
  Access_2k::Reference* Reference;
  OLECHECK(this->AddFromGuid(Guid/*[in]*/, Major/*[in]*/, Minor/*[in]*/, (Access_2k::Reference**)&Reference));
  return Reference;
}

template <class T> HRESULT __fastcall
TCOM_ReferencesT<T>::AddFromFile(BSTR FileName/*[in]*/, 
                                 Access_2k::Reference** Reference/*[out,retval]*/)
{
  return (*this)->AddFromFile(FileName, Reference);
}

template <class T> Access_2k::Reference* __fastcall
TCOM_ReferencesT<T>::AddFromFile(BSTR FileName/*[in]*/)
{
  Access_2k::Reference* Reference;
  OLECHECK(this->AddFromFile(FileName/*[in]*/, (Access_2k::Reference**)&Reference));
  return Reference;
}

template <class T> HRESULT __fastcall
TCOM_ReferencesT<T>::Remove(Access_2k::Reference* Reference/*[in]*/)
{
  return (*this)->Remove(Reference);
}

// *********************************************************************//
// DispIntf:  _References
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {EB106213-9C89-11CF-A2B3-00A0C90542FF}
// *********************************************************************//
template <class T> HRESULT __fastcall
_ReferencesDispT<T>::get_Parent(LPDISPATCH* retval/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(DISPID_UNKNOWN/*[1610743808]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(retval /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_ReferencesDispT<T>::get_Parent(void)
{
  LPDISPATCH retval;
  this->get_Parent((LPDISPATCH*)&retval);
  return retval;
}

template <class T> HRESULT __fastcall
_ReferencesDispT<T>::Item(VARIANT var/*[in]*/, Access_2k::Reference** Reference/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = var /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Reference**)Reference /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::Reference* __fastcall
_ReferencesDispT<T>::Item(VARIANT var/*[in]*/)
{
  Access_2k::Reference* Reference;
  this->Item(var, (Access_2k::Reference**)&Reference);
  return Reference;
}

template <class T> HRESULT __fastcall
_ReferencesDispT<T>::get_Count(long* Count/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(DISPID_UNKNOWN/*[1610743810]*/));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(Count /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_ReferencesDispT<T>::get_Count(void)
{
  long Count;
  this->get_Count((long*)&Count);
  return Count;
}

template <class T> HRESULT __fastcall
_ReferencesDispT<T>::_NewEnum(LPUNKNOWN* ppenum/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppenum /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
_ReferencesDispT<T>::_NewEnum(void)
{
  LPUNKNOWN ppenum;
  this->_NewEnum((LPUNKNOWN*)&ppenum);
  return ppenum;
}

template <class T> HRESULT __fastcall
_ReferencesDispT<T>::AddFromGuid(BSTR Guid/*[in]*/, long Major/*[in]*/, long Minor/*[in]*/, 
                                 Access_2k::Reference** Reference/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddFromGuid"), DISPID(DISPID_UNKNOWN/*[1610743812]*/));
  TAutoArgs<3> _args;
  _args[1] = Guid /*[VT_BSTR:0]*/;
  _args[2] = Major /*[VT_I4:0]*/;
  _args[3] = Minor /*[VT_I4:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Reference**)Reference /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::Reference* __fastcall
_ReferencesDispT<T>::AddFromGuid(BSTR Guid/*[in]*/, long Major/*[in]*/, long Minor/*[in]*/)
{
  Access_2k::Reference* Reference;
  this->AddFromGuid(Guid, Major, Minor, (Access_2k::Reference**)&Reference);
  return Reference;
}

template <class T> HRESULT __fastcall
_ReferencesDispT<T>::AddFromFile(BSTR FileName/*[in]*/, 
                                 Access_2k::Reference** Reference/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AddFromFile"), DISPID(DISPID_UNKNOWN/*[1610743813]*/));
  TAutoArgs<1> _args;
  _args[1] = FileName /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::Reference**)Reference /*[VT_USERDEFINED:2]*/, _args, OleFunction(_dispid, _args));
}

template <class T> Access_2k::Reference* __fastcall
_ReferencesDispT<T>::AddFromFile(BSTR FileName/*[in]*/)
{
  Access_2k::Reference* Reference;
  this->AddFromFile(FileName, (Access_2k::Reference**)&Reference);
  return Reference;
}

template <class T> HRESULT __fastcall
_ReferencesDispT<T>::Remove(Access_2k::Reference* Reference/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Remove"), DISPID(DISPID_UNKNOWN/*[1610743814]*/));
  TAutoArgs<1> _args;
  _args[1] = (LPDISPATCH)(Access_2k::Reference*)Reference /*[VT_USERDEFINED:1]*/;
  return OleFunction(_dispid, _args);
}

// *********************************************************************//
// DispIntf:  _References_Events
// Flags:     (4240) Hidden NonExtensible Dispatchable
// GUID:      {F163F201-ADA2-11CF-89A9-00A0C9054129}
// *********************************************************************//
template <class T> void __fastcall
_References_EventsDispT<T>::ItemAdded(Access_2k::Reference* Reference)
{
  _TDispID _dispid(/* ItemAdded */ DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = (LPDISPATCH)(Access_2k::Reference*)Reference /*[VT_USERDEFINED:1]*/;
  OleProcedure(_dispid, _args);
}

template <class T> void __fastcall
_References_EventsDispT<T>::ItemRemoved(Access_2k::Reference* Reference)
{
  _TDispID _dispid(/* ItemRemoved */ DISPID(1));
  TAutoArgs<1> _args;
  _args[1] = (LPDISPATCH)(Access_2k::Reference*)Reference /*[VT_USERDEFINED:1]*/;
  OleProcedure(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_Dummy
// Interface: _Dummy
// *********************************************************************//
// *********************************************************************//
// DispIntf:  _Dummy
// Flags:     (4560) Hidden Dual NonExtensible OleAutomation Dispatchable
// GUID:      {8B06E320-B23C-11CF-89A8-00A0C9054129}
// *********************************************************************//
// *********************************************************************//
// SmartIntf: TCOM_DataAccessPage
// Interface: _DataAccessPage
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get__Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_DataAccessPageT<T>::get__Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get__Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  return (*this)->get_Name(pbstrName);
}

template <class T> BSTR __fastcall
TCOM_DataAccessPageT<T>::get_Name(void)
{
  BSTR pbstrName = 0;
  OLECHECK(this->get_Name((BSTR*)&pbstrName));
  return pbstrName;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_Visible(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_DataAccessPageT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_Visible((VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  return (*this)->set_Visible(pRet);
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Tag(pRet);
}

template <class T> BSTR __fastcall
TCOM_DataAccessPageT<T>::get_Tag(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Tag((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  return (*this)->set_Tag(pRet);
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_WindowWidth(long* pRet/*[out,retval]*/)
{
  return (*this)->get_WindowWidth(pRet);
}

template <class T> long __fastcall
TCOM_DataAccessPageT<T>::get_WindowWidth(void)
{
  long pRet;
  OLECHECK(this->get_WindowWidth((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_WindowHeight(long* pRet/*[out,retval]*/)
{
  return (*this)->get_WindowHeight(pRet);
}

template <class T> long __fastcall
TCOM_DataAccessPageT<T>::get_WindowHeight(void)
{
  long pRet;
  OLECHECK(this->get_WindowHeight((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_CurrentView(short* pRet/*[out,retval]*/)
{
  return (*this)->get_CurrentView(pRet);
}

template <class T> short __fastcall
TCOM_DataAccessPageT<T>::get_CurrentView(void)
{
  short pRet;
  OLECHECK(this->get_CurrentView((short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_DataAccessPageT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_DataAccessPageT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_Document(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Document(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_DataAccessPageT<T>::get_Document(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Document((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::ApplyTheme(BSTR ThemeName/*[in]*/)
{
  return (*this)->ApplyTheme(ThemeName);
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_WebOptions(Access_2k::AccessWebOptions** ppWO/*[out,retval]*/)
{
  return (*this)->get_WebOptions(ppWO);
}

template <class T> Access_2k::AccessWebOptionsPtr __fastcall
TCOM_DataAccessPageT<T>::get_WebOptions(void)
{
  Access_2k::AccessWebOptionsPtr ppWO;
  OLECHECK(this->get_WebOptions((Access_2k::AccessWebOptionsPtr*)&ppWO));
  return ppWO;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_ConnectionString(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_ConnectionString(pRet);
}

template <class T> BSTR __fastcall
TCOM_DataAccessPageT<T>::get_ConnectionString(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_ConnectionString((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::set_ConnectionString(BSTR pRet/*[in]*/)
{
  return (*this)->set_ConnectionString(pRet);
}

template <class T> HRESULT __fastcall
TCOM_DataAccessPageT<T>::get_FieldListConnection(LPDISPATCH* ppRet/*[out,retval]*/)
{
  return (*this)->get_FieldListConnection(ppRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_DataAccessPageT<T>::get_FieldListConnection(void)
{
  LPDISPATCH ppRet;
  OLECHECK(this->get_FieldListConnection((LPDISPATCH*)&ppRet));
  return ppRet;
}

// *********************************************************************//
// DispIntf:  _DataAccessPage
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {493D8A72-1DB1-11D1-98A2-006008197D41}
// *********************************************************************//
template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_DataAccessPageDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_DataAccessPageDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_Visible(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_DataAccessPageDispT<T>::get_Visible(void)
{
  VARIANT_BOOL pRet;
  this->get_Visible((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::set_Visible(VARIANT_BOOL pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Visible"), DISPID(148));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_Tag(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_DataAccessPageDispT<T>::get_Tag(void)
{
  BSTR pRet;
  this->get_Tag((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::set_Tag(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Tag"), DISPID(266));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_WindowWidth(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("WindowWidth"), DISPID(287));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_DataAccessPageDispT<T>::get_WindowWidth(void)
{
  long pRet;
  this->get_WindowWidth((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_WindowHeight(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("WindowHeight"), DISPID(288));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
_DataAccessPageDispT<T>::get_WindowHeight(void)
{
  long pRet;
  this->get_WindowHeight((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_CurrentView(short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentView"), DISPID(289));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> short __fastcall
_DataAccessPageDispT<T>::get_CurrentView(void)
{
  short pRet;
  this->get_CurrentView((short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_DataAccessPageDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_DataAccessPageDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_Document(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Document"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_DataAccessPageDispT<T>::get_Document(void)
{
  LPDISPATCH pRet;
  this->get_Document((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::ApplyTheme(BSTR ThemeName/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ApplyTheme"), DISPID(2258));
  TAutoArgs<1> _args;
  _args[1] = ThemeName /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_WebOptions(Access_2k::AccessWebOptions** ppWO/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("WebOptions"), DISPID(2293));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessWebOptions**)ppWO /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessWebOptionsPtr __fastcall
_DataAccessPageDispT<T>::get_WebOptions(void)
{
  Access_2k::AccessWebOptionsPtr ppWO;
  this->get_WebOptions(&ppWO);
  return ppWO;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_ConnectionString(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ConnectionString"), DISPID(2268));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_DataAccessPageDispT<T>::get_ConnectionString(void)
{
  BSTR pRet;
  this->get_ConnectionString((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::set_ConnectionString(BSTR pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ConnectionString"), DISPID(2268));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DataAccessPageDispT<T>::get_FieldListConnection(LPDISPATCH* ppRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FieldListConnection"), DISPID(2298));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(ppRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_DataAccessPageDispT<T>::get_FieldListConnection(void)
{
  LPDISPATCH ppRet;
  this->get_FieldListConnection((LPDISPATCH*)&ppRet);
  return ppRet;
}

// *********************************************************************//
// DispIntf:  DataAccessPages
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {493D8A71-1DB1-11D1-98A2-006008197D41}
// *********************************************************************//
template <class T> HRESULT __fastcall
DataAccessPagesDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
DataAccessPagesDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
DataAccessPagesDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
DataAccessPagesDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
DataAccessPagesDispT<T>::get_Item(VARIANT var/*[in]*/, 
                                  Access_2k::DataAccessPage** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = var /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::DataAccessPage**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::DataAccessPage* __fastcall
DataAccessPagesDispT<T>::get_Item(VARIANT var/*[in]*/)
{
  Access_2k::DataAccessPage* pRet;
  this->get_Item(var, (Access_2k::DataAccessPage**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
DataAccessPagesDispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
DataAccessPagesDispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
DataAccessPagesDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
DataAccessPagesDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

// *********************************************************************//
// SmartIntf: TCOMAllObjects
// Interface: AllObjects
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOMAllObjectsT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOMAllObjectsT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOMAllObjectsT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOMAllObjectsT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOMAllObjectsT<T>::get_Item(VARIANT var/*[in]*/, Access_2k::AccessObject** pRet/*[out,retval]*/)
{
  return (*this)->get_Item(var, pRet);
}

template <class T> Access_2k::AccessObject* __fastcall
TCOMAllObjectsT<T>::get_Item(VARIANT var/*[in]*/)
{
  Access_2k::AccessObject* pRet;
  OLECHECK(this->get_Item(var/*[in]*/, (Access_2k::AccessObject**)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOMAllObjectsT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  return (*this)->get_Count(pRet);
}

template <class T> long __fastcall
TCOMAllObjectsT<T>::get_Count(void)
{
  long pRet;
  OLECHECK(this->get_Count((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOMAllObjectsT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  return (*this)->_NewEnum(pRet);
}

template <class T> LPUNKNOWN __fastcall
TCOMAllObjectsT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  OLECHECK(this->_NewEnum((LPUNKNOWN*)&pRet));
  return pRet;
}

// *********************************************************************//
// DispIntf:  AllObjects
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {DDBD4001-44D5-11D1-98C0-006008197D41}
// *********************************************************************//
template <class T> HRESULT __fastcall
AllObjectsDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
AllObjectsDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AllObjectsDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
AllObjectsDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AllObjectsDispT<T>::get_Item(VARIANT var/*[in]*/, Access_2k::AccessObject** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = var /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessObject**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessObject* __fastcall
AllObjectsDispT<T>::get_Item(VARIANT var/*[in]*/)
{
  Access_2k::AccessObject* pRet;
  this->get_Item(var, (Access_2k::AccessObject**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AllObjectsDispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
AllObjectsDispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AllObjectsDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
AllObjectsDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

// *********************************************************************//
// DispIntf:  AccessObjectProperty
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {1FE3E471-A7D0-11D1-9944-006008197D41}
// *********************************************************************//
template <class T> HRESULT __fastcall
AccessObjectPropertyDispT<T>::get__Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Value"), DISPID(2103));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
AccessObjectPropertyDispT<T>::get__Value(void)
{
  VARIANT pRet;
  this->get__Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectPropertyDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
AccessObjectPropertyDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
AccessObjectPropertyDispT<T>::get_Value(VARIANT* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_VARIANT:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT __fastcall
AccessObjectPropertyDispT<T>::get_Value(void)
{
  VARIANT pRet;
  this->get_Value((VARIANT*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectPropertyDispT<T>::set_Value(VARIANT pRet/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Value"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = pRet /*[VT_VARIANT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

// *********************************************************************//
// DispIntf:  AccessObjectProperties
// Flags:     (4544) Dual NonExtensible OleAutomation Dispatchable
// GUID:      {0921F331-A7C9-11D1-9944-006008197D41}
// *********************************************************************//
template <class T> HRESULT __fastcall
AccessObjectPropertiesDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
AccessObjectPropertiesDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectPropertiesDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
AccessObjectPropertiesDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectPropertiesDispT<T>::get_Item(VARIANT Index/*[in]*/, 
                                         Access_2k::AccessObjectProperty** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Item"), DISPID(0));
  TAutoArgs<1> _args;
  _args[1] = Index /*[VT_VARIANT:0]*/;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessObjectProperty**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessObjectProperty* __fastcall
AccessObjectPropertiesDispT<T>::get_Item(VARIANT Index/*[in]*/)
{
  Access_2k::AccessObjectProperty* pRet;
  this->get_Item(Index, (Access_2k::AccessObjectProperty**)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectPropertiesDispT<T>::get_Count(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Count"), DISPID(2001));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
AccessObjectPropertiesDispT<T>::get_Count(void)
{
  long pRet;
  this->get_Count((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectPropertiesDispT<T>::_NewEnum(LPUNKNOWN* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_NewEnum"), DISPID(-4));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_UNKNOWN:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> LPUNKNOWN __fastcall
AccessObjectPropertiesDispT<T>::_NewEnum(void)
{
  LPUNKNOWN pRet;
  this->_NewEnum((LPUNKNOWN*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectPropertiesDispT<T>::Add(BSTR PropertyName/*[in]*/, VARIANT Value/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Add"), DISPID(2191));
  TAutoArgs<2> _args;
  _args[1] = PropertyName /*[VT_BSTR:0]*/;
  _args[2] = Value /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
AccessObjectPropertiesDispT<T>::Remove(VARIANT Item/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Remove"), DISPID(2192));
  TAutoArgs<1> _args;
  _args[1] = Item /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

// *********************************************************************//
// SmartIntf: TCOM_CurrentProject
// Interface: _CurrentProject
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_AllForms(Access_2k::AllForms** pRet/*[out,retval]*/)
{
  return (*this)->get_AllForms(pRet);
}

template <class T> Access_2k::AllFormsPtr __fastcall
TCOM_CurrentProjectT<T>::get_AllForms(void)
{
  Access_2k::AllFormsPtr pRet;
  OLECHECK(this->get_AllForms((Access_2k::AllFormsPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_AllReports(Access_2k::AllReports** pRet/*[out,retval]*/)
{
  return (*this)->get_AllReports(pRet);
}

template <class T> Access_2k::AllReportsPtr __fastcall
TCOM_CurrentProjectT<T>::get_AllReports(void)
{
  Access_2k::AllReportsPtr pRet;
  OLECHECK(this->get_AllReports((Access_2k::AllReportsPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_AllMacros(Access_2k::AllMacros** pRet/*[out,retval]*/)
{
  return (*this)->get_AllMacros(pRet);
}

template <class T> Access_2k::AllMacrosPtr __fastcall
TCOM_CurrentProjectT<T>::get_AllMacros(void)
{
  Access_2k::AllMacrosPtr pRet;
  OLECHECK(this->get_AllMacros((Access_2k::AllMacrosPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_AllModules(Access_2k::AllModules** pRet/*[out,retval]*/)
{
  return (*this)->get_AllModules(pRet);
}

template <class T> Access_2k::AllModulesPtr __fastcall
TCOM_CurrentProjectT<T>::get_AllModules(void)
{
  Access_2k::AllModulesPtr pRet;
  OLECHECK(this->get_AllModules((Access_2k::AllModulesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_AllDataAccessPages(Access_2k::AllDataAccessPages** pRet/*[out,retval]*/)
{
  return (*this)->get_AllDataAccessPages(pRet);
}

template <class T> Access_2k::AllDataAccessPagesPtr __fastcall
TCOM_CurrentProjectT<T>::get_AllDataAccessPages(void)
{
  Access_2k::AllDataAccessPagesPtr pRet;
  OLECHECK(this->get_AllDataAccessPages((Access_2k::AllDataAccessPagesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_ProjectType(Access_2k::AcProjectType* pacProjType/*[out,retval]*/)
{
  return (*this)->get_ProjectType(pacProjType);
}

template <class T> Access_2k::AcProjectType __fastcall
TCOM_CurrentProjectT<T>::get_ProjectType(void)
{
  Access_2k::AcProjectType pacProjType;
  OLECHECK(this->get_ProjectType((Access_2k::AcProjectType*)&pacProjType));
  return pacProjType;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_BaseConnectionString(BSTR* pbstrADOConnectString/*[out,retval]*/)
{
  return (*this)->get_BaseConnectionString(pbstrADOConnectString);
}

template <class T> BSTR __fastcall
TCOM_CurrentProjectT<T>::get_BaseConnectionString(void)
{
  BSTR pbstrADOConnectString = 0;
  OLECHECK(this->get_BaseConnectionString((BSTR*)&pbstrADOConnectString));
  return pbstrADOConnectString;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_IsConnected(VARIANT_BOOL* pfConnected/*[out,retval]*/)
{
  return (*this)->get_IsConnected(pfConnected);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_CurrentProjectT<T>::get_IsConnected(void)
{
  VARIANT_BOOL pfConnected;
  OLECHECK(this->get_IsConnected((VARIANT_BOOL*)&pfConnected));
  return pfConnected;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::OpenConnection(VARIANT BaseConnectionString/*[in,opt]*/, 
                                        VARIANT UserID/*[in,opt]*/, VARIANT Password/*[in,opt]*/)
{
  return (*this)->OpenConnection(BaseConnectionString, UserID, Password);
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::CloseConnection(void)
{
  return (*this)->CloseConnection();
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_Name(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Name(pRet);
}

template <class T> BSTR __fastcall
TCOM_CurrentProjectT<T>::get_Name(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Name((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_Path(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_Path(pRet);
}

template <class T> BSTR __fastcall
TCOM_CurrentProjectT<T>::get_Path(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_Path((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_FullName(BSTR* pRet/*[out,retval]*/)
{
  return (*this)->get_FullName(pRet);
}

template <class T> BSTR __fastcall
TCOM_CurrentProjectT<T>::get_FullName(void)
{
  BSTR pRet = 0;
  OLECHECK(this->get_FullName((BSTR*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_Connection(Adodb_2k::Connection** pRet/*[out,retval]*/)
{
  return (*this)->get_Connection(pRet);
}

template <class T> Adodb_2k::ConnectionPtr __fastcall
TCOM_CurrentProjectT<T>::get_Connection(void)
{
  Adodb_2k::ConnectionPtr pRet;
  OLECHECK(this->get_Connection((Adodb_2k::ConnectionPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_Properties(Access_2k::AccessObjectProperties** pRet/*[out,retval]*/)
{
  return (*this)->get_Properties(pRet);
}

template <class T> Access_2k::AccessObjectPropertiesPtr __fastcall
TCOM_CurrentProjectT<T>::get_Properties(void)
{
  Access_2k::AccessObjectPropertiesPtr pRet;
  OLECHECK(this->get_Properties((Access_2k::AccessObjectPropertiesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_CurrentProjectT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentProjectT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_CurrentProjectT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

// *********************************************************************//
// DispIntf:  _CurrentProject
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {9212BA71-3E79-11D1-98BD-006008197D41}
// *********************************************************************//
template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_AllForms(Access_2k::AllForms** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllForms"), DISPID(2219));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AllForms**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AllFormsPtr __fastcall
_CurrentProjectDispT<T>::get_AllForms(void)
{
  Access_2k::AllFormsPtr pRet;
  this->get_AllForms(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_AllReports(Access_2k::AllReports** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllReports"), DISPID(2220));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AllReports**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AllReportsPtr __fastcall
_CurrentProjectDispT<T>::get_AllReports(void)
{
  Access_2k::AllReportsPtr pRet;
  this->get_AllReports(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_AllMacros(Access_2k::AllMacros** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllMacros"), DISPID(2221));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AllMacros**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AllMacrosPtr __fastcall
_CurrentProjectDispT<T>::get_AllMacros(void)
{
  Access_2k::AllMacrosPtr pRet;
  this->get_AllMacros(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_AllModules(Access_2k::AllModules** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllModules"), DISPID(2222));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AllModules**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AllModulesPtr __fastcall
_CurrentProjectDispT<T>::get_AllModules(void)
{
  Access_2k::AllModulesPtr pRet;
  this->get_AllModules(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_AllDataAccessPages(Access_2k::AllDataAccessPages** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllDataAccessPages"), DISPID(2224));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AllDataAccessPages**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AllDataAccessPagesPtr __fastcall
_CurrentProjectDispT<T>::get_AllDataAccessPages(void)
{
  Access_2k::AllDataAccessPagesPtr pRet;
  this->get_AllDataAccessPages(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_ProjectType(Access_2k::AcProjectType* pacProjType/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ProjectType"), DISPID(2271));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pacProjType /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcProjectType __fastcall
_CurrentProjectDispT<T>::get_ProjectType(void)
{
  Access_2k::AcProjectType pacProjType;
  this->get_ProjectType((Access_2k::AcProjectType*)&pacProjType);
  return pacProjType;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_BaseConnectionString(BSTR* pbstrADOConnectString/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BaseConnectionString"), DISPID(2267));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrADOConnectString /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CurrentProjectDispT<T>::get_BaseConnectionString(void)
{
  BSTR pbstrADOConnectString;
  this->get_BaseConnectionString((BSTR*)&pbstrADOConnectString);
  return pbstrADOConnectString;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_IsConnected(VARIANT_BOOL* pfConnected/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsConnected"), DISPID(2269));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pfConnected /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_CurrentProjectDispT<T>::get_IsConnected(void)
{
  VARIANT_BOOL pfConnected;
  this->get_IsConnected((VARIANT_BOOL*)&pfConnected);
  return pfConnected;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::OpenConnection(VARIANT BaseConnectionString/*[in,opt]*/, 
                                        VARIANT UserID/*[in,opt]*/, VARIANT Password/*[in,opt]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenConnection"), DISPID(2272));
  TAutoArgs<3> _args;
  _args[1] = BaseConnectionString /*[VT_VARIANT:0]*/;
  _args[2] = UserID /*[VT_VARIANT:0]*/;
  _args[3] = Password /*[VT_VARIANT:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::CloseConnection()
{
  _TDispID _dispid(*this, OLETEXT("CloseConnection"), DISPID(2270));
  return OleFunction(_dispid);
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(2094));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CurrentProjectDispT<T>::get_Name(void)
{
  BSTR pRet;
  this->get_Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_Path(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Path"), DISPID(2275));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CurrentProjectDispT<T>::get_Path(void)
{
  BSTR pRet;
  this->get_Path((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_FullName(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FullName"), DISPID(2260));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_CurrentProjectDispT<T>::get_FullName(void)
{
  BSTR pRet;
  this->get_FullName((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_Connection(Adodb_2k::Connection** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Connection"), DISPID(2274));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Adodb_2k::Connection**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Adodb_2k::ConnectionPtr __fastcall
_CurrentProjectDispT<T>::get_Connection(void)
{
  Adodb_2k::ConnectionPtr pRet;
  this->get_Connection(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_Properties(Access_2k::AccessObjectProperties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessObjectProperties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessObjectPropertiesPtr __fastcall
_CurrentProjectDispT<T>::get_Properties(void)
{
  Access_2k::AccessObjectPropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_CurrentProjectDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentProjectDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_CurrentProjectDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

// *********************************************************************//
// SmartIntf: TCOM_CurrentData
// Interface: _CurrentData
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_CurrentDataT<T>::get_AllTables(Access_2k::AllTables** pRet/*[out,retval]*/)
{
  return (*this)->get_AllTables(pRet);
}

template <class T> Access_2k::AllTablesPtr __fastcall
TCOM_CurrentDataT<T>::get_AllTables(void)
{
  Access_2k::AllTablesPtr pRet;
  OLECHECK(this->get_AllTables((Access_2k::AllTablesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentDataT<T>::get_AllQueries(Access_2k::AllQueries** pRet/*[out,retval]*/)
{
  return (*this)->get_AllQueries(pRet);
}

template <class T> Access_2k::AllQueriesPtr __fastcall
TCOM_CurrentDataT<T>::get_AllQueries(void)
{
  Access_2k::AllQueriesPtr pRet;
  OLECHECK(this->get_AllQueries((Access_2k::AllQueriesPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentDataT<T>::get_AllViews(Access_2k::AllViews** pRet/*[out,retval]*/)
{
  return (*this)->get_AllViews(pRet);
}

template <class T> Access_2k::AllViewsPtr __fastcall
TCOM_CurrentDataT<T>::get_AllViews(void)
{
  Access_2k::AllViewsPtr pRet;
  OLECHECK(this->get_AllViews((Access_2k::AllViewsPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentDataT<T>::get_AllStoredProcedures(Access_2k::AllStoredProcedures** pRet/*[out,retval]*/)
{
  return (*this)->get_AllStoredProcedures(pRet);
}

template <class T> Access_2k::AllStoredProceduresPtr __fastcall
TCOM_CurrentDataT<T>::get_AllStoredProcedures(void)
{
  Access_2k::AllStoredProceduresPtr pRet;
  OLECHECK(this->get_AllStoredProcedures((Access_2k::AllStoredProceduresPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_CurrentDataT<T>::get_AllDatabaseDiagrams(Access_2k::AllDatabaseDiagrams** pRet/*[out,retval]*/)
{
  return (*this)->get_AllDatabaseDiagrams(pRet);
}

template <class T> Access_2k::AllDatabaseDiagramsPtr __fastcall
TCOM_CurrentDataT<T>::get_AllDatabaseDiagrams(void)
{
  Access_2k::AllDatabaseDiagramsPtr pRet;
  OLECHECK(this->get_AllDatabaseDiagrams((Access_2k::AllDatabaseDiagramsPtr*)&pRet));
  return pRet;
}

// *********************************************************************//
// DispIntf:  _CurrentData
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {9212BA73-3E79-11D1-98BD-006008197D41}
// *********************************************************************//
template <class T> HRESULT __fastcall
_CurrentDataDispT<T>::get_AllTables(Access_2k::AllTables** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllTables"), DISPID(2225));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AllTables**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AllTablesPtr __fastcall
_CurrentDataDispT<T>::get_AllTables(void)
{
  Access_2k::AllTablesPtr pRet;
  this->get_AllTables(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentDataDispT<T>::get_AllQueries(Access_2k::AllQueries** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllQueries"), DISPID(2226));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AllQueries**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AllQueriesPtr __fastcall
_CurrentDataDispT<T>::get_AllQueries(void)
{
  Access_2k::AllQueriesPtr pRet;
  this->get_AllQueries(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentDataDispT<T>::get_AllViews(Access_2k::AllViews** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllViews"), DISPID(2228));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AllViews**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AllViewsPtr __fastcall
_CurrentDataDispT<T>::get_AllViews(void)
{
  Access_2k::AllViewsPtr pRet;
  this->get_AllViews(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentDataDispT<T>::get_AllStoredProcedures(Access_2k::AllStoredProcedures** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllStoredProcedures"), DISPID(2229));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AllStoredProcedures**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AllStoredProceduresPtr __fastcall
_CurrentDataDispT<T>::get_AllStoredProcedures(void)
{
  Access_2k::AllStoredProceduresPtr pRet;
  this->get_AllStoredProcedures(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_CurrentDataDispT<T>::get_AllDatabaseDiagrams(Access_2k::AllDatabaseDiagrams** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AllDatabaseDiagrams"), DISPID(2230));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AllDatabaseDiagrams**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AllDatabaseDiagramsPtr __fastcall
_CurrentDataDispT<T>::get_AllDatabaseDiagrams(void)
{
  Access_2k::AllDatabaseDiagramsPtr pRet;
  this->get_AllDatabaseDiagrams(&pRet);
  return pRet;
}

// *********************************************************************//
// DispIntf:  AccessObject
// Flags:     (4416) Dual OleAutomation Dispatchable
// GUID:      {ABE316B1-3FF6-11D1-98BD-006008197D41}
// *********************************************************************//
template <class T> HRESULT __fastcall
AccessObjectDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
AccessObjectDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectDispT<T>::get__Name(BSTR* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("_Name"), DISPID(20));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
AccessObjectDispT<T>::get__Name(void)
{
  BSTR pRet;
  this->get__Name((BSTR*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectDispT<T>::get_Name(BSTR* pbstrName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Name"), DISPID(-2147418112));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
AccessObjectDispT<T>::get_Name(void)
{
  BSTR pbstrName;
  this->get_Name((BSTR*)&pbstrName);
  return pbstrName;
}

template <class T> HRESULT __fastcall
AccessObjectDispT<T>::get_Type(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Type"), DISPID(2095));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
AccessObjectDispT<T>::get_Type(void)
{
  long pRet;
  this->get_Type((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectDispT<T>::get_Attributes(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Attributes"), DISPID(2257));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> long __fastcall
AccessObjectDispT<T>::get_Attributes(void)
{
  long pRet;
  this->get_Attributes((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectDispT<T>::get_Properties(Access_2k::AccessObjectProperties** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Properties"), DISPID(2091));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessObjectProperties**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessObjectPropertiesPtr __fastcall
AccessObjectDispT<T>::get_Properties(void)
{
  Access_2k::AccessObjectPropertiesPtr pRet;
  this->get_Properties(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectDispT<T>::get_IsLoaded(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsLoaded"), DISPID(2276));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
AccessObjectDispT<T>::get_IsLoaded(void)
{
  VARIANT_BOOL pRet;
  this->get_IsLoaded((VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
AccessObjectDispT<T>::get_FullName(BSTR* pbstrFullName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FullName"), DISPID(2260));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstrFullName /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
AccessObjectDispT<T>::get_FullName(void)
{
  BSTR pbstrFullName;
  this->get_FullName((BSTR*)&pbstrFullName);
  return pbstrFullName;
}

// *********************************************************************//
// SmartIntf: TCOM_WizHook
// Interface: _WizHook
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::set_Key(int Param1/*[in]*/)
{
  return (*this)->set_Key(Param1);
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::NameFromActid(int Actid/*[in]*/, BSTR* Name/*[out,retval]*/)
{
  return (*this)->NameFromActid(Actid, Name);
}

template <class T> BSTR __fastcall
TCOM_WizHookT<T>::NameFromActid(int Actid/*[in]*/)
{
  BSTR Name = 0;
  OLECHECK(this->NameFromActid(Actid/*[in]*/, (BSTR*)&Name));
  return Name;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::ArgsOfActid(int Actid/*[in]*/, int* CArgs/*[out,retval]*/)
{
  return (*this)->ArgsOfActid(Actid, CArgs);
}

template <class T> int __fastcall
TCOM_WizHookT<T>::ArgsOfActid(int Actid/*[in]*/)
{
  int CArgs;
  OLECHECK(this->ArgsOfActid(Actid/*[in]*/, (int*)&CArgs));
  return CArgs;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::OpenScript(BSTR Script/*[in]*/, BSTR Label/*[in]*/, long OpenMode/*[in]*/, 
                             int* Extra/*[in,out]*/, long* Version/*[in,out]*/, 
                             long* HScr/*[out,retval]*/)
{
  return (*this)->OpenScript(Script, Label, OpenMode, Extra, Version, HScr);
}

template <class T> long __fastcall
TCOM_WizHookT<T>::OpenScript(BSTR Script/*[in]*/, BSTR Label/*[in]*/, long OpenMode/*[in]*/, 
                             int* Extra/*[in,out]*/, long* Version/*[in,out]*/)
{
  long HScr;
  OLECHECK(this->OpenScript(Script/*[in]*/, Label/*[in]*/, OpenMode/*[in]*/, Extra/*[in,out]*/, 
                            Version/*[in,out]*/, (long*)&HScr));
  return HScr;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::GetScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                  BSTR* Value/*[in,out]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->GetScriptString(HScr, ScriptColumn, Value, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::GetScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                  BSTR* Value/*[in,out]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->GetScriptString(HScr/*[in]*/, ScriptColumn/*[in]*/, Value/*[in,out]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::SaveScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, BSTR Value/*[in]*/, 
                                   VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->SaveScriptString(HScr, ScriptColumn, Value, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::SaveScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, BSTR Value/*[in]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->SaveScriptString(HScr/*[in]*/, ScriptColumn/*[in]*/, Value/*[in]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::GlobalProcExists(BSTR Name/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->GlobalProcExists(Name, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::GlobalProcExists(BSTR Name/*[in]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->GlobalProcExists(Name/*[in]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::TableFieldHasUniqueIndex(BSTR Table/*[in]*/, BSTR Columns/*[in]*/, 
                                           VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->TableFieldHasUniqueIndex(Table, Columns, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::TableFieldHasUniqueIndex(BSTR Table/*[in]*/, BSTR Columns/*[in]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->TableFieldHasUniqueIndex(Table/*[in]*/, Columns/*[in]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::BracketString(BSTR* String/*[in,out]*/, long flags/*[in]*/, 
                                VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->BracketString(String, flags, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::BracketString(BSTR* String/*[in,out]*/, long flags/*[in]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->BracketString(String/*[in,out]*/, flags/*[in]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::WizHelp(BSTR HelpFile/*[in]*/, long wCmd/*[in]*/, long ContextID/*[in]*/, 
                          VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->WizHelp(HelpFile, wCmd, ContextID, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::WizHelp(BSTR HelpFile/*[in]*/, long wCmd/*[in]*/, long ContextID/*[in]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->WizHelp(HelpFile/*[in]*/, wCmd/*[in]*/, ContextID/*[in]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::OpenPictureFile(BSTR* File/*[in,out]*/, VARIANT_BOOL* Cancelled/*[in,out]*/, 
                                  VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->OpenPictureFile(File, Cancelled, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::OpenPictureFile(BSTR* File/*[in,out]*/, VARIANT_BOOL* Cancelled/*[in,out]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->OpenPictureFile(File/*[in,out]*/, Cancelled/*[in,out]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::EnglishPictToLocal(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                     VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->EnglishPictToLocal(In, Out, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::EnglishPictToLocal(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->EnglishPictToLocal(In/*[in]*/, Out/*[in,out]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::TranslateExpression(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                      long ParseFlags/*[in]*/, long TranslateFlags/*[in]*/, 
                                      VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->TranslateExpression(In, Out, ParseFlags, TranslateFlags, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::TranslateExpression(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                      long ParseFlags/*[in]*/, long TranslateFlags/*[in]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->TranslateExpression(In/*[in]*/, Out/*[in,out]*/, ParseFlags/*[in]*/, 
                                     TranslateFlags/*[in]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::FileExists(BSTR File/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->FileExists(File, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::FileExists(BSTR File/*[in]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->FileExists(File/*[in]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::FullPath(BSTR RelativePath/*[in]*/, BSTR* FullPath/*[in,out]*/, 
                           short* pRet/*[out,retval]*/)
{
  return (*this)->FullPath(RelativePath, FullPath, pRet);
}

template <class T> short __fastcall
TCOM_WizHookT<T>::FullPath(BSTR RelativePath/*[in]*/, BSTR* FullPath/*[in,out]*/)
{
  short pRet;
  OLECHECK(this->FullPath(RelativePath/*[in]*/, FullPath/*[in,out]*/, (short*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::SplitPath(BSTR Path/*[in]*/, BSTR* Drive/*[in,out]*/, BSTR* Dir/*[in,out]*/, 
                            BSTR* File/*[in,out]*/, BSTR* Ext/*[in,out]*/)
{
  return (*this)->SplitPath(Path, Drive, Dir, File, Ext);
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::TwipsFromFont(BSTR FontName/*[in]*/, long Size/*[in]*/, long Weight/*[in]*/, 
                                VARIANT_BOOL Italic/*[in]*/, VARIANT_BOOL Underline/*[in]*/, 
                                long Cch/*[in]*/, BSTR Caption/*[in]*/, long MaxWidthCch/*[in]*/, 
                                long* dx/*[in,out]*/, long* dy/*[in,out]*/, 
                                VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->TwipsFromFont(FontName, Size, Weight, Italic, Underline, Cch, Caption, MaxWidthCch, 
                                dx, dy, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::TwipsFromFont(BSTR FontName/*[in]*/, long Size/*[in]*/, long Weight/*[in]*/, 
                                VARIANT_BOOL Italic/*[in]*/, VARIANT_BOOL Underline/*[in]*/, 
                                long Cch/*[in]*/, BSTR Caption/*[in]*/, long MaxWidthCch/*[in]*/, 
                                long* dx/*[in,out]*/, long* dy/*[in,out]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->TwipsFromFont(FontName/*[in]*/, Size/*[in]*/, Weight/*[in]*/, Italic/*[in]*/, 
                               Underline/*[in]*/, Cch/*[in]*/, Caption/*[in]*/, MaxWidthCch/*[in]*/, 
                               dx/*[in,out]*/, dy/*[in,out]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::ObjTypOfRecordSource(BSTR RecordSource/*[in]*/, short* pobjtyp/*[out,retval]*/)
{
  return (*this)->ObjTypOfRecordSource(RecordSource, pobjtyp);
}

template <class T> short __fastcall
TCOM_WizHookT<T>::ObjTypOfRecordSource(BSTR RecordSource/*[in]*/)
{
  short pobjtyp;
  OLECHECK(this->ObjTypOfRecordSource(RecordSource/*[in]*/, (short*)&pobjtyp));
  return pobjtyp;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::IsValidIdent(BSTR Identifier/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->IsValidIdent(Identifier, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::IsValidIdent(BSTR Identifier/*[in]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->IsValidIdent(Identifier/*[in]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::SortStringArray(LPSAFEARRAY* Array/*[in,out]*/)
{
  return (*this)->SortStringArray(Array);
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::AnalyzeTable(Dao_2k::Workspace* Workspace/*[in]*/, 
                               Dao_2k::Database* Database/*[in]*/, BSTR Table/*[in]*/, 
                               VARIANT_BOOL ReturnDebugInfo/*[in]*/, BSTR* Results/*[in,out]*/, 
                               long* pRet/*[out,retval]*/)
{
  return (*this)->AnalyzeTable(Workspace, Database, Table, ReturnDebugInfo, Results, pRet);
}

template <class T> long __fastcall
TCOM_WizHookT<T>::AnalyzeTable(Dao_2k::Workspace* Workspace/*[in]*/, 
                               Dao_2k::Database* Database/*[in]*/, BSTR Table/*[in]*/, 
                               VARIANT_BOOL ReturnDebugInfo/*[in]*/, BSTR* Results/*[in,out]*/)
{
  long pRet;
  OLECHECK(this->AnalyzeTable(Workspace/*[in]*/, Database/*[in]*/, Table/*[in]*/, 
                              ReturnDebugInfo/*[in]*/, Results/*[in,out]*/, (long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::AnalyzeQuery(Dao_2k::Workspace* Workspace/*[in]*/, 
                               Dao_2k::Database* Database/*[in]*/, BSTR Query/*[in]*/, 
                               BSTR* Results/*[in,out]*/, long* pRet/*[out,retval]*/)
{
  return (*this)->AnalyzeQuery(Workspace, Database, Query, Results, pRet);
}

template <class T> long __fastcall
TCOM_WizHookT<T>::AnalyzeQuery(Dao_2k::Workspace* Workspace/*[in]*/, 
                               Dao_2k::Database* Database/*[in]*/, BSTR Query/*[in]*/, 
                               BSTR* Results/*[in,out]*/)
{
  long pRet;
  OLECHECK(this->AnalyzeQuery(Workspace/*[in]*/, Database/*[in]*/, Query/*[in]*/, 
                              Results/*[in,out]*/, (long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::GetFileName(long hwndOwner/*[in]*/, BSTR AppName/*[in]*/, BSTR DlgTitle/*[in]*/, 
                              BSTR OpenTitle/*[in]*/, BSTR* File/*[in,out]*/, 
                              BSTR InitialDir/*[in]*/, BSTR Filter/*[in]*/, long FilterIndex/*[in]*/, 
                              long View/*[in]*/, long flags/*[in]*/, VARIANT_BOOL fOpen/*[in]*/, 
                              long* pRet/*[out,retval]*/)
{
  return (*this)->GetFileName(hwndOwner, AppName, DlgTitle, OpenTitle, File, InitialDir, Filter, 
                              FilterIndex, View, flags, fOpen, pRet);
}

template <class T> long __fastcall
TCOM_WizHookT<T>::GetFileName(long hwndOwner/*[in]*/, BSTR AppName/*[in]*/, BSTR DlgTitle/*[in]*/, 
                              BSTR OpenTitle/*[in]*/, BSTR* File/*[in,out]*/, 
                              BSTR InitialDir/*[in]*/, BSTR Filter/*[in]*/, long FilterIndex/*[in]*/, 
                              long View/*[in]*/, long flags/*[in]*/, VARIANT_BOOL fOpen/*[in]*/)
{
  long pRet;
  OLECHECK(this->GetFileName(hwndOwner/*[in]*/, AppName/*[in]*/, DlgTitle/*[in]*/, OpenTitle/*[in]*/, 
                             File/*[in,out]*/, InitialDir/*[in]*/, Filter/*[in]*/, 
                             FilterIndex/*[in]*/, View/*[in]*/, flags/*[in]*/, fOpen/*[in]*/, (long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::CreateDataPageControl(BSTR DpName/*[in]*/, BSTR CtlName/*[in]*/, long Typ/*[in]*/, 
                                        BSTR Section/*[in]*/, long SectionType/*[in]*/, 
                                        BSTR AppletCode/*[in]*/, long X/*[in]*/, long Y/*[in]*/, 
                                        long dx/*[in]*/, long dy/*[in]*/)
{
  return (*this)->CreateDataPageControl(DpName, CtlName, Typ, Section, SectionType, AppletCode, X, Y, 
                                        dx, dy);
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::KnownWizLeaks(VARIANT_BOOL fStart/*[in]*/)
{
  return (*this)->KnownWizLeaks(fStart);
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::SetVbaPassword(BSTR bstrDbName/*[in]*/, BSTR bstrConnect/*[in]*/, 
                                 BSTR bstrPasswd/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->SetVbaPassword(bstrDbName, bstrConnect, bstrPasswd, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::SetVbaPassword(BSTR bstrDbName/*[in]*/, BSTR bstrConnect/*[in]*/, 
                                 BSTR bstrPasswd/*[in]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->SetVbaPassword(bstrDbName/*[in]*/, bstrConnect/*[in]*/, bstrPasswd/*[in]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::LocalFont(BSTR* FontName/*[out,retval]*/)
{
  return (*this)->LocalFont(FontName);
}

template <class T> BSTR __fastcall
TCOM_WizHookT<T>::LocalFont(void)
{
  BSTR FontName = 0;
  OLECHECK(this->LocalFont((BSTR*)&FontName));
  return FontName;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::SaveObject(BSTR bstrName/*[in]*/, short objtyp/*[in]*/)
{
  return (*this)->SaveObject(bstrName, objtyp);
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::CurrentLangID(long* pRet/*[out,retval]*/)
{
  return (*this)->CurrentLangID(pRet);
}

template <class T> long __fastcall
TCOM_WizHookT<T>::CurrentLangID(void)
{
  long pRet;
  OLECHECK(this->CurrentLangID((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::KeyboardLangID(long* pRet/*[out,retval]*/)
{
  return (*this)->KeyboardLangID(pRet);
}

template <class T> long __fastcall
TCOM_WizHookT<T>::KeyboardLangID(void)
{
  long pRet;
  OLECHECK(this->KeyboardLangID((long*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::AccessUserDataDir(BSTR* Path/*[out,retval]*/)
{
  return (*this)->AccessUserDataDir(Path);
}

template <class T> BSTR __fastcall
TCOM_WizHookT<T>::AccessUserDataDir(void)
{
  BSTR Path = 0;
  OLECHECK(this->AccessUserDataDir((BSTR*)&Path));
  return Path;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::OfficeAddInDir(BSTR* Path/*[out,retval]*/)
{
  return (*this)->OfficeAddInDir(Path);
}

template <class T> BSTR __fastcall
TCOM_WizHookT<T>::OfficeAddInDir(void)
{
  BSTR Path = 0;
  OLECHECK(this->OfficeAddInDir((BSTR*)&Path));
  return Path;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::EmbedFileOnDataPage(BSTR DpName/*[in]*/, BSTR FileToInsert/*[in]*/, 
                                      BSTR* FileToUse/*[out,retval]*/)
{
  return (*this)->EmbedFileOnDataPage(DpName, FileToInsert, FileToUse);
}

template <class T> BSTR __fastcall
TCOM_WizHookT<T>::EmbedFileOnDataPage(BSTR DpName/*[in]*/, BSTR FileToInsert/*[in]*/)
{
  BSTR FileToUse = 0;
  OLECHECK(this->EmbedFileOnDataPage(DpName/*[in]*/, FileToInsert/*[in]*/, (BSTR*)&FileToUse));
  return FileToUse;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::get_DbcVbProject(Vbide_2k::_VBProject** VbProject/*[out,retval]*/)
{
  return (*this)->get_DbcVbProject(VbProject);
}

template <class T> Vbide_2k::_VBProjectPtr __fastcall
TCOM_WizHookT<T>::get_DbcVbProject(void)
{
  Vbide_2k::_VBProjectPtr VbProject;
  OLECHECK(this->get_DbcVbProject((Vbide_2k::_VBProjectPtr*)&VbProject));
  return VbProject;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::ReportLeaksToFile(VARIANT_BOOL fRptToFile/*[in]*/, BSTR bstrFileOut/*[in]*/)
{
  return (*this)->ReportLeaksToFile(fRptToFile, bstrFileOut);
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::get_IsMatchToDbcConnectString(BSTR bstrConnectionString/*[in]*/, 
                                                VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->get_IsMatchToDbcConnectString(bstrConnectionString, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::get_IsMatchToDbcConnectString(BSTR bstrConnectionString/*[in]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->get_IsMatchToDbcConnectString(bstrConnectionString/*[in]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::LoadImexSpecSolution(BSTR bstrFilename/*[in]*/)
{
  return (*this)->LoadImexSpecSolution(bstrFilename);
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::SetDpBlockKeyInput(VARIANT_BOOL fBlockKeys/*[in]*/)
{
  return (*this)->SetDpBlockKeyInput(fBlockKeys);
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::FirstDbcDataObject(BSTR* Name/*[in,out]*/, 
                                     Access_2k::AcObjectType* ObjType/*[in,out]*/, 
                                     long* Attribs/*[in,out]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->FirstDbcDataObject(Name, ObjType, Attribs, pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::FirstDbcDataObject(BSTR* Name/*[in,out]*/, 
                                     Access_2k::AcObjectType* ObjType/*[in,out]*/, 
                                     long* Attribs/*[in,out]*/)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->FirstDbcDataObject(Name/*[in,out]*/, ObjType/*[in,out]*/, Attribs/*[in,out]*/, (VARIANT_BOOL*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WizHookT<T>::CloseCurrentDatabase(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  return (*this)->CloseCurrentDatabase(pRet);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WizHookT<T>::CloseCurrentDatabase(void)
{
  VARIANT_BOOL pRet;
  OLECHECK(this->CloseCurrentDatabase((VARIANT_BOOL*)&pRet));
  return pRet;
}

// *********************************************************************//
// DispIntf:  _WizHook
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {CB9D3171-4728-11D1-8334-006008197CC8}
// *********************************************************************//
template <class T> HRESULT __fastcall
_WizHookDispT<T>::set_Key(int Param1/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Key"), DISPID(2237));
  TAutoArgs<1> _args;
  _args[1] = Param1 /*[VT_INT:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::NameFromActid(int Actid/*[in]*/, BSTR* Name/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("NameFromActid"), DISPID(2234));
  TAutoArgs<1> _args;
  _args[1] = Actid /*[VT_INT:0]*/;
  return OutRetValSetterPtr(Name /*[VT_BSTR:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> BSTR __fastcall
_WizHookDispT<T>::NameFromActid(int Actid/*[in]*/)
{
  BSTR Name;
  this->NameFromActid(Actid, (BSTR*)&Name);
  return Name;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::ArgsOfActid(int Actid/*[in]*/, int* CArgs/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ArgsOfActid"), DISPID(2236));
  TAutoArgs<1> _args;
  _args[1] = Actid /*[VT_INT:0]*/;
  return OutRetValSetterPtr(CArgs /*[VT_INT:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> int __fastcall
_WizHookDispT<T>::ArgsOfActid(int Actid/*[in]*/)
{
  int CArgs;
  this->ArgsOfActid(Actid, (int*)&CArgs);
  return CArgs;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::OpenScript(BSTR Script/*[in]*/, BSTR Label/*[in]*/, long OpenMode/*[in]*/, 
                             int* Extra/*[in,out]*/, long* Version/*[in,out]*/, 
                             long* HScr/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenScript"), DISPID(2238));
  TAutoArgs<5> _args;
  _args[1] = Script /*[VT_BSTR:0]*/;
  _args[2] = Label /*[VT_BSTR:0]*/;
  _args[3] = OpenMode /*[VT_I4:0]*/;
  _args[4] = Extra /*[VT_INT:1]*/;
  _args[5] = Version /*[VT_I4:1]*/;
  return OutRetValSetterPtr(HScr /*[VT_I4:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> long __fastcall
_WizHookDispT<T>::OpenScript(BSTR Script/*[in]*/, BSTR Label/*[in]*/, long OpenMode/*[in]*/, 
                             int* Extra/*[in,out]*/, long* Version/*[in,out]*/)
{
  long HScr;
  this->OpenScript(Script, Label, OpenMode, Extra, Version, (long*)&HScr);
  return HScr;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::GetScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                  BSTR* Value/*[in,out]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GetScriptString"), DISPID(2239));
  TAutoArgs<3> _args;
  _args[1] = HScr /*[VT_I4:0]*/;
  _args[2] = ScriptColumn /*[VT_I4:0]*/;
  _args[3] = Value /*[VT_BSTR:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::GetScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, 
                                  BSTR* Value/*[in,out]*/)
{
  VARIANT_BOOL pRet;
  this->GetScriptString(HScr, ScriptColumn, Value, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::SaveScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, BSTR Value/*[in]*/
                                   , VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SaveScriptString"), DISPID(2240));
  TAutoArgs<3> _args;
  _args[1] = HScr /*[VT_I4:0]*/;
  _args[2] = ScriptColumn /*[VT_I4:0]*/;
  _args[3] = Value /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::SaveScriptString(long HScr/*[in]*/, long ScriptColumn/*[in]*/, BSTR Value/*[in]*/)
{
  VARIANT_BOOL pRet;
  this->SaveScriptString(HScr, ScriptColumn, Value, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::GlobalProcExists(BSTR Name/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GlobalProcExists"), DISPID(2241));
  TAutoArgs<1> _args;
  _args[1] = Name /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::GlobalProcExists(BSTR Name/*[in]*/)
{
  VARIANT_BOOL pRet;
  this->GlobalProcExists(Name, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::TableFieldHasUniqueIndex(BSTR Table/*[in]*/, BSTR Columns/*[in]*/, 
                                           VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TableFieldHasUniqueIndex"), DISPID(2242));
  TAutoArgs<2> _args;
  _args[1] = Table /*[VT_BSTR:0]*/;
  _args[2] = Columns /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::TableFieldHasUniqueIndex(BSTR Table/*[in]*/, BSTR Columns/*[in]*/)
{
  VARIANT_BOOL pRet;
  this->TableFieldHasUniqueIndex(Table, Columns, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::BracketString(BSTR* String/*[in,out]*/, long flags/*[in]*/, 
                                VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("BracketString"), DISPID(2243));
  TAutoArgs<2> _args;
  _args[1] = String /*[VT_BSTR:1]*/;
  _args[2] = flags /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::BracketString(BSTR* String/*[in,out]*/, long flags/*[in]*/)
{
  VARIANT_BOOL pRet;
  this->BracketString(String, flags, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::WizHelp(BSTR HelpFile/*[in]*/, long wCmd/*[in]*/, long ContextID/*[in]*/, 
                          VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("WizHelp"), DISPID(2244));
  TAutoArgs<3> _args;
  _args[1] = HelpFile /*[VT_BSTR:0]*/;
  _args[2] = wCmd /*[VT_I4:0]*/;
  _args[3] = ContextID /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::WizHelp(BSTR HelpFile/*[in]*/, long wCmd/*[in]*/, long ContextID/*[in]*/)
{
  VARIANT_BOOL pRet;
  this->WizHelp(HelpFile, wCmd, ContextID, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::OpenPictureFile(BSTR* File/*[in,out]*/, VARIANT_BOOL* Cancelled/*[in,out]*/, 
                                  VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OpenPictureFile"), DISPID(2245));
  TAutoArgs<2> _args;
  _args[1] = File /*[VT_BSTR:1]*/;
  _args[2] = Cancelled /*[VT_BOOL:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::OpenPictureFile(BSTR* File/*[in,out]*/, VARIANT_BOOL* Cancelled/*[in,out]*/)
{
  VARIANT_BOOL pRet;
  this->OpenPictureFile(File, Cancelled, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::EnglishPictToLocal(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                     VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EnglishPictToLocal"), DISPID(2246));
  TAutoArgs<2> _args;
  _args[1] = In /*[VT_BSTR:0]*/;
  _args[2] = Out /*[VT_BSTR:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::EnglishPictToLocal(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/)
{
  VARIANT_BOOL pRet;
  this->EnglishPictToLocal(In, Out, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::TranslateExpression(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                      long ParseFlags/*[in]*/, long TranslateFlags/*[in]*/, 
                                      VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TranslateExpression"), DISPID(2247));
  TAutoArgs<4> _args;
  _args[1] = In /*[VT_BSTR:0]*/;
  _args[2] = Out /*[VT_BSTR:1]*/;
  _args[3] = ParseFlags /*[VT_I4:0]*/;
  _args[4] = TranslateFlags /*[VT_I4:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::TranslateExpression(BSTR In/*[in]*/, BSTR* Out/*[in,out]*/, 
                                      long ParseFlags/*[in]*/, long TranslateFlags/*[in]*/)
{
  VARIANT_BOOL pRet;
  this->TranslateExpression(In, Out, ParseFlags, TranslateFlags, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::FileExists(BSTR File/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FileExists"), DISPID(2248));
  TAutoArgs<1> _args;
  _args[1] = File /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::FileExists(BSTR File/*[in]*/)
{
  VARIANT_BOOL pRet;
  this->FileExists(File, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::FullPath(BSTR RelativePath/*[in]*/, BSTR* FullPath/*[in,out]*/, 
                           short* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FullPath"), DISPID(2249));
  TAutoArgs<2> _args;
  _args[1] = RelativePath /*[VT_BSTR:0]*/;
  _args[2] = FullPath /*[VT_BSTR:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_I2:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> short __fastcall
_WizHookDispT<T>::FullPath(BSTR RelativePath/*[in]*/, BSTR* FullPath/*[in,out]*/)
{
  short pRet;
  this->FullPath(RelativePath, FullPath, (short*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::SplitPath(BSTR Path/*[in]*/, BSTR* Drive/*[in,out]*/, BSTR* Dir/*[in,out]*/, 
                            BSTR* File/*[in,out]*/, BSTR* Ext/*[in,out]*/)
{
  _TDispID _dispid(*this, OLETEXT("SplitPath"), DISPID(2250));
  TAutoArgs<5> _args;
  _args[1] = Path /*[VT_BSTR:0]*/;
  _args[2] = Drive /*[VT_BSTR:1]*/;
  _args[3] = Dir /*[VT_BSTR:1]*/;
  _args[4] = File /*[VT_BSTR:1]*/;
  _args[5] = Ext /*[VT_BSTR:1]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::TwipsFromFont(BSTR FontName/*[in]*/, long Size/*[in]*/, long Weight/*[in]*/, 
                                VARIANT_BOOL Italic/*[in]*/, VARIANT_BOOL Underline/*[in]*/, 
                                long Cch/*[in]*/, BSTR Caption/*[in]*/, long MaxWidthCch/*[in]*/, 
                                long* dx/*[in,out]*/, long* dy/*[in,out]*/, 
                                VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("TwipsFromFont"), DISPID(2251));
  TAutoArgs<10> _args;
  _args[1] = FontName /*[VT_BSTR:0]*/;
  _args[2] = Size /*[VT_I4:0]*/;
  _args[3] = Weight /*[VT_I4:0]*/;
  _args[4] = Italic /*[VT_BOOL:0]*/;
  _args[5] = Underline /*[VT_BOOL:0]*/;
  _args[6] = Cch /*[VT_I4:0]*/;
  _args[7] = Caption /*[VT_BSTR:0]*/;
  _args[8] = MaxWidthCch /*[VT_I4:0]*/;
  _args[9] = dx /*[VT_I4:1]*/;
  _args[10] = dy /*[VT_I4:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::TwipsFromFont(BSTR FontName/*[in]*/, long Size/*[in]*/, long Weight/*[in]*/, 
                                VARIANT_BOOL Italic/*[in]*/, VARIANT_BOOL Underline/*[in]*/, 
                                long Cch/*[in]*/, BSTR Caption/*[in]*/, long MaxWidthCch/*[in]*/, 
                                long* dx/*[in,out]*/, long* dy/*[in,out]*/)
{
  VARIANT_BOOL pRet;
  this->TwipsFromFont(FontName, Size, Weight, Italic, Underline, Cch, Caption, MaxWidthCch, dx, dy, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::ObjTypOfRecordSource(BSTR RecordSource/*[in]*/, short* pobjtyp/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("ObjTypOfRecordSource"), DISPID(2252));
  TAutoArgs<1> _args;
  _args[1] = RecordSource /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pobjtyp /*[VT_I2:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> short __fastcall
_WizHookDispT<T>::ObjTypOfRecordSource(BSTR RecordSource/*[in]*/)
{
  short pobjtyp;
  this->ObjTypOfRecordSource(RecordSource, (short*)&pobjtyp);
  return pobjtyp;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::IsValidIdent(BSTR Identifier/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsValidIdent"), DISPID(2253));
  TAutoArgs<1> _args;
  _args[1] = Identifier /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::IsValidIdent(BSTR Identifier/*[in]*/)
{
  VARIANT_BOOL pRet;
  this->IsValidIdent(Identifier, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::SortStringArray(LPSAFEARRAY* Array/*[in,out]*/)
{
  _TDispID _dispid(*this, OLETEXT("SortStringArray"), DISPID(2254));
  TAutoArgs<1> _args;
  _args[1] = Array /*[VT_SAFEARRAY:1]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::AnalyzeTable(Dao_2k::Workspace* Workspace/*[in]*/, 
                               Dao_2k::Database* Database/*[in]*/, BSTR Table/*[in]*/, 
                               VARIANT_BOOL ReturnDebugInfo/*[in]*/, BSTR* Results/*[in,out]*/, 
                               long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AnalyzeTable"), DISPID(2255));
  TAutoArgs<5> _args;
  _args[1] = (LPDISPATCH)(Dao_2k::Workspace*)Workspace /*[VT_USERDEFINED:1]*/;
  _args[2] = (LPDISPATCH)(Dao_2k::Database*)Database /*[VT_USERDEFINED:1]*/;
  _args[3] = Table /*[VT_BSTR:0]*/;
  _args[4] = ReturnDebugInfo /*[VT_BOOL:0]*/;
  _args[5] = Results /*[VT_BSTR:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> long __fastcall
_WizHookDispT<T>::AnalyzeTable(Dao_2k::Workspace* Workspace/*[in]*/, 
                               Dao_2k::Database* Database/*[in]*/, BSTR Table/*[in]*/, 
                               VARIANT_BOOL ReturnDebugInfo/*[in]*/, BSTR* Results/*[in,out]*/)
{
  long pRet;
  this->AnalyzeTable(Workspace, Database, Table, ReturnDebugInfo, Results, (long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::AnalyzeQuery(Dao_2k::Workspace* Workspace/*[in]*/, 
                               Dao_2k::Database* Database/*[in]*/, BSTR Query/*[in]*/, 
                               BSTR* Results/*[in,out]*/, long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AnalyzeQuery"), DISPID(2256));
  TAutoArgs<4> _args;
  _args[1] = (LPDISPATCH)(Dao_2k::Workspace*)Workspace /*[VT_USERDEFINED:1]*/;
  _args[2] = (LPDISPATCH)(Dao_2k::Database*)Database /*[VT_USERDEFINED:1]*/;
  _args[3] = Query /*[VT_BSTR:0]*/;
  _args[4] = Results /*[VT_BSTR:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> long __fastcall
_WizHookDispT<T>::AnalyzeQuery(Dao_2k::Workspace* Workspace/*[in]*/, 
                               Dao_2k::Database* Database/*[in]*/, BSTR Query/*[in]*/, 
                               BSTR* Results/*[in,out]*/)
{
  long pRet;
  this->AnalyzeQuery(Workspace, Database, Query, Results, (long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::GetFileName(long hwndOwner/*[in]*/, BSTR AppName/*[in]*/, BSTR DlgTitle/*[in]*/, 
                              BSTR OpenTitle/*[in]*/, BSTR* File/*[in,out]*/, 
                              BSTR InitialDir/*[in]*/, BSTR Filter/*[in]*/, long FilterIndex/*[in]*/
                              , long View/*[in]*/, long flags/*[in]*/, VARIANT_BOOL fOpen/*[in]*/, 
                              long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("GetFileName"), DISPID(2261));
  TAutoArgs<11> _args;
  _args[1] = hwndOwner /*[VT_I4:0]*/;
  _args[2] = AppName /*[VT_BSTR:0]*/;
  _args[3] = DlgTitle /*[VT_BSTR:0]*/;
  _args[4] = OpenTitle /*[VT_BSTR:0]*/;
  _args[5] = File /*[VT_BSTR:1]*/;
  _args[6] = InitialDir /*[VT_BSTR:0]*/;
  _args[7] = Filter /*[VT_BSTR:0]*/;
  _args[8] = FilterIndex /*[VT_I4:0]*/;
  _args[9] = View /*[VT_I4:0]*/;
  _args[10] = flags /*[VT_I4:0]*/;
  _args[11] = fOpen /*[VT_BOOL:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> long __fastcall
_WizHookDispT<T>::GetFileName(long hwndOwner/*[in]*/, BSTR AppName/*[in]*/, BSTR DlgTitle/*[in]*/, 
                              BSTR OpenTitle/*[in]*/, BSTR* File/*[in,out]*/, 
                              BSTR InitialDir/*[in]*/, BSTR Filter/*[in]*/, long FilterIndex/*[in]*/, 
                              long View/*[in]*/, long flags/*[in]*/, VARIANT_BOOL fOpen/*[in]*/)
{
  long pRet;
  this->GetFileName(hwndOwner, AppName, DlgTitle, OpenTitle, File, InitialDir, Filter, FilterIndex, 
                    View, flags, fOpen, (long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::CreateDataPageControl(BSTR DpName/*[in]*/, BSTR CtlName/*[in]*/, long Typ/*[in]*/
                                        , BSTR Section/*[in]*/, long SectionType/*[in]*/, 
                                        BSTR AppletCode/*[in]*/, long X/*[in]*/, long Y/*[in]*/, 
                                        long dx/*[in]*/, long dy/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CreateDataPageControl"), DISPID(2265));
  TAutoArgs<10> _args;
  _args[1] = DpName /*[VT_BSTR:0]*/;
  _args[2] = CtlName /*[VT_BSTR:0]*/;
  _args[3] = Typ /*[VT_I4:0]*/;
  _args[4] = Section /*[VT_BSTR:0]*/;
  _args[5] = SectionType /*[VT_I4:0]*/;
  _args[6] = AppletCode /*[VT_BSTR:0]*/;
  _args[7] = X /*[VT_I4:0]*/;
  _args[8] = Y /*[VT_I4:0]*/;
  _args[9] = dx /*[VT_I4:0]*/;
  _args[10] = dy /*[VT_I4:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::KnownWizLeaks(VARIANT_BOOL fStart/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("KnownWizLeaks"), DISPID(2273));
  TAutoArgs<1> _args;
  _args[1] = fStart /*[VT_BOOL:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::SetVbaPassword(BSTR bstrDbName/*[in]*/, BSTR bstrConnect/*[in]*/, 
                                 BSTR bstrPasswd/*[in]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("SetVbaPassword"), DISPID(2294));
  TAutoArgs<3> _args;
  _args[1] = bstrDbName /*[VT_BSTR:0]*/;
  _args[2] = bstrConnect /*[VT_BSTR:0]*/;
  _args[3] = bstrPasswd /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::SetVbaPassword(BSTR bstrDbName/*[in]*/, BSTR bstrConnect/*[in]*/, 
                                 BSTR bstrPasswd/*[in]*/)
{
  VARIANT_BOOL pRet;
  this->SetVbaPassword(bstrDbName, bstrConnect, bstrPasswd, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::LocalFont(BSTR* FontName/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LocalFont"), DISPID(2295));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(FontName /*[VT_BSTR:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> BSTR __fastcall
_WizHookDispT<T>::LocalFont(void)
{
  BSTR FontName;
  this->LocalFont((BSTR*)&FontName);
  return FontName;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::SaveObject(BSTR bstrName/*[in]*/, short objtyp/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SaveObject"), DISPID(2296));
  TAutoArgs<2> _args;
  _args[1] = bstrName /*[VT_BSTR:0]*/;
  _args[2] = objtyp /*[VT_I2:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::CurrentLangID(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CurrentLangID"), DISPID(2299));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> long __fastcall
_WizHookDispT<T>::CurrentLangID(void)
{
  long pRet;
  this->CurrentLangID((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::KeyboardLangID(long* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("KeyboardLangID"), DISPID(2300));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_I4:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> long __fastcall
_WizHookDispT<T>::KeyboardLangID(void)
{
  long pRet;
  this->KeyboardLangID((long*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::AccessUserDataDir(BSTR* Path/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AccessUserDataDir"), DISPID(2302));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(Path /*[VT_BSTR:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> BSTR __fastcall
_WizHookDispT<T>::AccessUserDataDir(void)
{
  BSTR Path;
  this->AccessUserDataDir((BSTR*)&Path);
  return Path;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::OfficeAddInDir(BSTR* Path/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OfficeAddInDir"), DISPID(2303));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(Path /*[VT_BSTR:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> BSTR __fastcall
_WizHookDispT<T>::OfficeAddInDir(void)
{
  BSTR Path;
  this->OfficeAddInDir((BSTR*)&Path);
  return Path;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::EmbedFileOnDataPage(BSTR DpName/*[in]*/, BSTR FileToInsert/*[in]*/, 
                                      BSTR* FileToUse/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("EmbedFileOnDataPage"), DISPID(2305));
  TAutoArgs<2> _args;
  _args[1] = DpName /*[VT_BSTR:0]*/;
  _args[2] = FileToInsert /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(FileToUse /*[VT_BSTR:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> BSTR __fastcall
_WizHookDispT<T>::EmbedFileOnDataPage(BSTR DpName/*[in]*/, BSTR FileToInsert/*[in]*/)
{
  BSTR FileToUse;
  this->EmbedFileOnDataPage(DpName, FileToInsert, (BSTR*)&FileToUse);
  return FileToUse;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::get_DbcVbProject(Vbide_2k::_VBProject** VbProject/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DbcVbProject"), DISPID(2306));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Vbide_2k::_VBProject**)VbProject /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Vbide_2k::_VBProjectPtr __fastcall
_WizHookDispT<T>::get_DbcVbProject(void)
{
  Vbide_2k::_VBProjectPtr VbProject;
  this->get_DbcVbProject(&VbProject);
  return VbProject;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::ReportLeaksToFile(VARIANT_BOOL fRptToFile/*[in]*/, BSTR bstrFileOut/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("ReportLeaksToFile"), DISPID(2292));
  TAutoArgs<2> _args;
  _args[1] = fRptToFile /*[VT_BOOL:0]*/;
  _args[2] = bstrFileOut /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::get_IsMatchToDbcConnectString(BSTR bstrConnectionString/*[in]*/, 
                                                VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("IsMatchToDbcConnectString"), DISPID(2291));
  TAutoArgs<1> _args;
  _args[1] = bstrConnectionString /*[VT_BSTR:0]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::get_IsMatchToDbcConnectString(BSTR bstrConnectionString/*[in]*/)
{
  VARIANT_BOOL pRet;
  this->get_IsMatchToDbcConnectString(bstrConnectionString, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::LoadImexSpecSolution(BSTR bstrFilename/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LoadImexSpecSolution"), DISPID(2282));
  TAutoArgs<1> _args;
  _args[1] = bstrFilename /*[VT_BSTR:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::SetDpBlockKeyInput(VARIANT_BOOL fBlockKeys/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("SetDpBlockKeyInput"), DISPID(2283));
  TAutoArgs<1> _args;
  _args[1] = fBlockKeys /*[VT_BOOL:0]*/;
  return OleFunction(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::FirstDbcDataObject(BSTR* Name/*[in,out]*/, 
                                     Access_2k::AcObjectType* ObjType/*[in,out]*/, 
                                     long* Attribs/*[in,out]*/, VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FirstDbcDataObject"), DISPID(2323));
  TAutoArgs<3> _args;
  _args[1] = Name /*[VT_BSTR:1]*/;
  _args[2] = (int*)ObjType /*[VT_USERDEFINED:1]*/;
  _args[3] = Attribs /*[VT_I4:1]*/;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::FirstDbcDataObject(BSTR* Name/*[in,out]*/, 
                                     Access_2k::AcObjectType* ObjType/*[in,out]*/, 
                                     long* Attribs/*[in,out]*/)
{
  VARIANT_BOOL pRet;
  this->FirstDbcDataObject(Name, ObjType, Attribs, (VARIANT_BOOL*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WizHookDispT<T>::CloseCurrentDatabase(VARIANT_BOOL* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CloseCurrentDatabase"), DISPID(2324));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_BOOL:1]*/, _args, OleFunction(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WizHookDispT<T>::CloseCurrentDatabase(void)
{
  VARIANT_BOOL pRet;
  this->CloseCurrentDatabase((VARIANT_BOOL*)&pRet);
  return pRet;
}

// *********************************************************************//
// SmartIntf: TCOM_DefaultWebOptions
// Interface: _DefaultWebOptions
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_DefaultWebOptionsT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_DefaultWebOptionsT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_HyperlinkColor(Access_2k::AcColorIndex* pl/*[out,retval]*/)
{
  return (*this)->get_HyperlinkColor(pl);
}

template <class T> Access_2k::AcColorIndex __fastcall
TCOM_DefaultWebOptionsT<T>::get_HyperlinkColor(void)
{
  Access_2k::AcColorIndex pl;
  OLECHECK(this->get_HyperlinkColor((Access_2k::AcColorIndex*)&pl));
  return pl;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::set_HyperlinkColor(Access_2k::AcColorIndex pl/*[in]*/)
{
  return (*this)->set_HyperlinkColor(pl);
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_FollowedHyperlinkColor(Access_2k::AcColorIndex* pl/*[out,retval]*/)
{
  return (*this)->get_FollowedHyperlinkColor(pl);
}

template <class T> Access_2k::AcColorIndex __fastcall
TCOM_DefaultWebOptionsT<T>::get_FollowedHyperlinkColor(void)
{
  Access_2k::AcColorIndex pl;
  OLECHECK(this->get_FollowedHyperlinkColor((Access_2k::AcColorIndex*)&pl));
  return pl;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::set_FollowedHyperlinkColor(Access_2k::AcColorIndex pl/*[in]*/)
{
  return (*this)->set_FollowedHyperlinkColor(pl);
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_UnderlineHyperlinks(VARIANT_BOOL* pf/*[out,retval]*/)
{
  return (*this)->get_UnderlineHyperlinks(pf);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_DefaultWebOptionsT<T>::get_UnderlineHyperlinks(void)
{
  VARIANT_BOOL pf;
  OLECHECK(this->get_UnderlineHyperlinks((VARIANT_BOOL*)&pf));
  return pf;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::set_UnderlineHyperlinks(VARIANT_BOOL pf/*[in]*/)
{
  return (*this)->set_UnderlineHyperlinks(pf);
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_OrganizeInFolder(VARIANT_BOOL* pf/*[out,retval]*/)
{
  return (*this)->get_OrganizeInFolder(pf);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_DefaultWebOptionsT<T>::get_OrganizeInFolder(void)
{
  VARIANT_BOOL pf;
  OLECHECK(this->get_OrganizeInFolder((VARIANT_BOOL*)&pf));
  return pf;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::set_OrganizeInFolder(VARIANT_BOOL pf/*[in]*/)
{
  return (*this)->set_OrganizeInFolder(pf);
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_UseLongFileNames(VARIANT_BOOL* pf/*[out,retval]*/)
{
  return (*this)->get_UseLongFileNames(pf);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_DefaultWebOptionsT<T>::get_UseLongFileNames(void)
{
  VARIANT_BOOL pf;
  OLECHECK(this->get_UseLongFileNames((VARIANT_BOOL*)&pf));
  return pf;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::set_UseLongFileNames(VARIANT_BOOL pf/*[in]*/)
{
  return (*this)->set_UseLongFileNames(pf);
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_CheckIfOfficeIsHTMLEditor(VARIANT_BOOL* pf/*[out,retval]*/)
{
  return (*this)->get_CheckIfOfficeIsHTMLEditor(pf);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_DefaultWebOptionsT<T>::get_CheckIfOfficeIsHTMLEditor(void)
{
  VARIANT_BOOL pf;
  OLECHECK(this->get_CheckIfOfficeIsHTMLEditor((VARIANT_BOOL*)&pf));
  return pf;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::set_CheckIfOfficeIsHTMLEditor(VARIANT_BOOL pf/*[in]*/)
{
  return (*this)->set_CheckIfOfficeIsHTMLEditor(pf);
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_DownloadComponents(VARIANT_BOOL* pf/*[out,retval]*/)
{
  return (*this)->get_DownloadComponents(pf);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_DefaultWebOptionsT<T>::get_DownloadComponents(void)
{
  VARIANT_BOOL pf;
  OLECHECK(this->get_DownloadComponents((VARIANT_BOOL*)&pf));
  return pf;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::set_DownloadComponents(VARIANT_BOOL pf/*[in]*/)
{
  return (*this)->set_DownloadComponents(pf);
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_LocationOfComponents(BSTR* pstr/*[out,retval]*/)
{
  return (*this)->get_LocationOfComponents(pstr);
}

template <class T> BSTR __fastcall
TCOM_DefaultWebOptionsT<T>::get_LocationOfComponents(void)
{
  BSTR pstr = 0;
  OLECHECK(this->get_LocationOfComponents((BSTR*)&pstr));
  return pstr;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::set_LocationOfComponents(BSTR pstr/*[in]*/)
{
  return (*this)->set_LocationOfComponents(pstr);
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_Encoding(Office_2k::MsoEncoding* penc/*[out,retval]*/)
{
  return (*this)->get_Encoding(penc);
}

template <class T> Office_2k::MsoEncoding __fastcall
TCOM_DefaultWebOptionsT<T>::get_Encoding(void)
{
  Office_2k::MsoEncoding penc;
  OLECHECK(this->get_Encoding((Office_2k::MsoEncoding*)&penc));
  return penc;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::set_Encoding(Office_2k::MsoEncoding penc/*[in]*/)
{
  return (*this)->set_Encoding(penc);
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_AlwaysSaveInDefaultEncoding(VARIANT_BOOL* pf/*[out,retval]*/)
{
  return (*this)->get_AlwaysSaveInDefaultEncoding(pf);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_DefaultWebOptionsT<T>::get_AlwaysSaveInDefaultEncoding(void)
{
  VARIANT_BOOL pf;
  OLECHECK(this->get_AlwaysSaveInDefaultEncoding((VARIANT_BOOL*)&pf));
  return pf;
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::set_AlwaysSaveInDefaultEncoding(VARIANT_BOOL pf/*[in]*/)
{
  return (*this)->set_AlwaysSaveInDefaultEncoding(pf);
}

template <class T> HRESULT __fastcall
TCOM_DefaultWebOptionsT<T>::get_FolderSuffix(BSTR* pbstr/*[out,retval]*/)
{
  return (*this)->get_FolderSuffix(pbstr);
}

template <class T> BSTR __fastcall
TCOM_DefaultWebOptionsT<T>::get_FolderSuffix(void)
{
  BSTR pbstr = 0;
  OLECHECK(this->get_FolderSuffix((BSTR*)&pbstr));
  return pbstr;
}

// *********************************************************************//
// DispIntf:  _DefaultWebOptions
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {416ED4F0-AB31-11D1-BF72-0060083E43CF}
// *********************************************************************//
template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_DefaultWebOptionsDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_DefaultWebOptionsDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_HyperlinkColor(Access_2k::AcColorIndex* pl/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkColor"), DISPID(2279));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pl /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcColorIndex __fastcall
_DefaultWebOptionsDispT<T>::get_HyperlinkColor(void)
{
  Access_2k::AcColorIndex pl;
  this->get_HyperlinkColor((Access_2k::AcColorIndex*)&pl);
  return pl;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::set_HyperlinkColor(Access_2k::AcColorIndex pl/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("HyperlinkColor"), DISPID(2279));
  TAutoArgs<1> _args;
  _args[1] = (int)pl /*[VT_USERDEFINED:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_FollowedHyperlinkColor(Access_2k::AcColorIndex* pl/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FollowedHyperlinkColor"), DISPID(2280));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)pl /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AcColorIndex __fastcall
_DefaultWebOptionsDispT<T>::get_FollowedHyperlinkColor(void)
{
  Access_2k::AcColorIndex pl;
  this->get_FollowedHyperlinkColor((Access_2k::AcColorIndex*)&pl);
  return pl;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::set_FollowedHyperlinkColor(Access_2k::AcColorIndex pl/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("FollowedHyperlinkColor"), DISPID(2280));
  TAutoArgs<1> _args;
  _args[1] = (int)pl /*[VT_USERDEFINED:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_UnderlineHyperlinks(VARIANT_BOOL* pf/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("UnderlineHyperlinks"), DISPID(2281));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pf /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_DefaultWebOptionsDispT<T>::get_UnderlineHyperlinks(void)
{
  VARIANT_BOOL pf;
  this->get_UnderlineHyperlinks((VARIANT_BOOL*)&pf);
  return pf;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::set_UnderlineHyperlinks(VARIANT_BOOL pf/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("UnderlineHyperlinks"), DISPID(2281));
  TAutoArgs<1> _args;
  _args[1] = pf /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_OrganizeInFolder(VARIANT_BOOL* pf/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrganizeInFolder"), DISPID(2284));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pf /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_DefaultWebOptionsDispT<T>::get_OrganizeInFolder(void)
{
  VARIANT_BOOL pf;
  this->get_OrganizeInFolder((VARIANT_BOOL*)&pf);
  return pf;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::set_OrganizeInFolder(VARIANT_BOOL pf/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrganizeInFolder"), DISPID(2284));
  TAutoArgs<1> _args;
  _args[1] = pf /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_UseLongFileNames(VARIANT_BOOL* pf/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("UseLongFileNames"), DISPID(2285));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pf /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_DefaultWebOptionsDispT<T>::get_UseLongFileNames(void)
{
  VARIANT_BOOL pf;
  this->get_UseLongFileNames((VARIANT_BOOL*)&pf);
  return pf;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::set_UseLongFileNames(VARIANT_BOOL pf/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("UseLongFileNames"), DISPID(2285));
  TAutoArgs<1> _args;
  _args[1] = pf /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_CheckIfOfficeIsHTMLEditor(VARIANT_BOOL* pf/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("CheckIfOfficeIsHTMLEditor"), DISPID(2286));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pf /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_DefaultWebOptionsDispT<T>::get_CheckIfOfficeIsHTMLEditor(void)
{
  VARIANT_BOOL pf;
  this->get_CheckIfOfficeIsHTMLEditor((VARIANT_BOOL*)&pf);
  return pf;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::set_CheckIfOfficeIsHTMLEditor(VARIANT_BOOL pf/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("CheckIfOfficeIsHTMLEditor"), DISPID(2286));
  TAutoArgs<1> _args;
  _args[1] = pf /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_DownloadComponents(VARIANT_BOOL* pf/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DownloadComponents"), DISPID(2287));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pf /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_DefaultWebOptionsDispT<T>::get_DownloadComponents(void)
{
  VARIANT_BOOL pf;
  this->get_DownloadComponents((VARIANT_BOOL*)&pf);
  return pf;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::set_DownloadComponents(VARIANT_BOOL pf/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DownloadComponents"), DISPID(2287));
  TAutoArgs<1> _args;
  _args[1] = pf /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_LocationOfComponents(BSTR* pstr/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LocationOfComponents"), DISPID(2288));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pstr /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_DefaultWebOptionsDispT<T>::get_LocationOfComponents(void)
{
  BSTR pstr;
  this->get_LocationOfComponents((BSTR*)&pstr);
  return pstr;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::set_LocationOfComponents(BSTR pstr/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LocationOfComponents"), DISPID(2288));
  TAutoArgs<1> _args;
  _args[1] = pstr /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_Encoding(Office_2k::MsoEncoding* penc/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Encoding"), DISPID(2289));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)penc /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Office_2k::MsoEncoding __fastcall
_DefaultWebOptionsDispT<T>::get_Encoding(void)
{
  Office_2k::MsoEncoding penc;
  this->get_Encoding((Office_2k::MsoEncoding*)&penc);
  return penc;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::set_Encoding(Office_2k::MsoEncoding penc/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Encoding"), DISPID(2289));
  TAutoArgs<1> _args;
  _args[1] = (int)penc /*[VT_USERDEFINED:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_AlwaysSaveInDefaultEncoding(VARIANT_BOOL* pf/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("AlwaysSaveInDefaultEncoding"), DISPID(2290));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pf /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_DefaultWebOptionsDispT<T>::get_AlwaysSaveInDefaultEncoding(void)
{
  VARIANT_BOOL pf;
  this->get_AlwaysSaveInDefaultEncoding((VARIANT_BOOL*)&pf);
  return pf;
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::set_AlwaysSaveInDefaultEncoding(VARIANT_BOOL pf/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("AlwaysSaveInDefaultEncoding"), DISPID(2290));
  TAutoArgs<1> _args;
  _args[1] = pf /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_DefaultWebOptionsDispT<T>::get_FolderSuffix(BSTR* pbstr/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FolderSuffix"), DISPID(2307));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstr /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_DefaultWebOptionsDispT<T>::get_FolderSuffix(void)
{
  BSTR pbstr;
  this->get_FolderSuffix((BSTR*)&pbstr);
  return pbstr;
}

// *********************************************************************//
// SmartIntf: TCOM_WebOptions
// Interface: _WebOptions
// *********************************************************************//
template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  return (*this)->get_Application(pRet);
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
TCOM_WebOptionsT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  OLECHECK(this->get_Application((Access_2k::AccessApplicationPtr*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  return (*this)->get_Parent(pRet);
}

template <class T> LPDISPATCH __fastcall
TCOM_WebOptionsT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  OLECHECK(this->get_Parent((LPDISPATCH*)&pRet));
  return pRet;
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::get_OrganizeInFolder(VARIANT_BOOL* pf/*[out,retval]*/)
{
  return (*this)->get_OrganizeInFolder(pf);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WebOptionsT<T>::get_OrganizeInFolder(void)
{
  VARIANT_BOOL pf;
  OLECHECK(this->get_OrganizeInFolder((VARIANT_BOOL*)&pf));
  return pf;
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::set_OrganizeInFolder(VARIANT_BOOL pf/*[in]*/)
{
  return (*this)->set_OrganizeInFolder(pf);
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::get_UseLongFileNames(VARIANT_BOOL* pf/*[out,retval]*/)
{
  return (*this)->get_UseLongFileNames(pf);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WebOptionsT<T>::get_UseLongFileNames(void)
{
  VARIANT_BOOL pf;
  OLECHECK(this->get_UseLongFileNames((VARIANT_BOOL*)&pf));
  return pf;
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::set_UseLongFileNames(VARIANT_BOOL pf/*[in]*/)
{
  return (*this)->set_UseLongFileNames(pf);
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::get_DownloadComponents(VARIANT_BOOL* pf/*[out,retval]*/)
{
  return (*this)->get_DownloadComponents(pf);
}

template <class T> VARIANT_BOOL __fastcall
TCOM_WebOptionsT<T>::get_DownloadComponents(void)
{
  VARIANT_BOOL pf;
  OLECHECK(this->get_DownloadComponents((VARIANT_BOOL*)&pf));
  return pf;
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::set_DownloadComponents(VARIANT_BOOL pf/*[in]*/)
{
  return (*this)->set_DownloadComponents(pf);
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::get_LocationOfComponents(BSTR* pstr/*[out,retval]*/)
{
  return (*this)->get_LocationOfComponents(pstr);
}

template <class T> BSTR __fastcall
TCOM_WebOptionsT<T>::get_LocationOfComponents(void)
{
  BSTR pstr = 0;
  OLECHECK(this->get_LocationOfComponents((BSTR*)&pstr));
  return pstr;
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::set_LocationOfComponents(BSTR pstr/*[in]*/)
{
  return (*this)->set_LocationOfComponents(pstr);
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::get_Encoding(Office_2k::MsoEncoding* penc/*[out,retval]*/)
{
  return (*this)->get_Encoding(penc);
}

template <class T> Office_2k::MsoEncoding __fastcall
TCOM_WebOptionsT<T>::get_Encoding(void)
{
  Office_2k::MsoEncoding penc;
  OLECHECK(this->get_Encoding((Office_2k::MsoEncoding*)&penc));
  return penc;
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::set_Encoding(Office_2k::MsoEncoding penc/*[in]*/)
{
  return (*this)->set_Encoding(penc);
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::get_FolderSuffix(BSTR* pbstr/*[out,retval]*/)
{
  return (*this)->get_FolderSuffix(pbstr);
}

template <class T> BSTR __fastcall
TCOM_WebOptionsT<T>::get_FolderSuffix(void)
{
  BSTR pbstr = 0;
  OLECHECK(this->get_FolderSuffix((BSTR*)&pbstr));
  return pbstr;
}

template <class T> HRESULT __fastcall
TCOM_WebOptionsT<T>::UseDefaultFolderSuffix(void)
{
  return (*this)->UseDefaultFolderSuffix();
}

// *********************************************************************//
// DispIntf:  _WebOptions
// Flags:     (4432) Hidden Dual OleAutomation Dispatchable
// GUID:      {416ED4F6-AB31-11D1-BF72-0060083E43CF}
// *********************************************************************//
template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::get_Application(Access_2k::AccessApplication** pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Application"), DISPID(2005));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((LPDISPATCH*)(Access_2k::AccessApplication**)pRet /*[VT_USERDEFINED:2]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Access_2k::AccessApplicationPtr __fastcall
_WebOptionsDispT<T>::get_Application(void)
{
  Access_2k::AccessApplicationPtr pRet;
  this->get_Application(&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::get_Parent(LPDISPATCH* pRet/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Parent"), DISPID(2087));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pRet /*[VT_DISPATCH:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> LPDISPATCH __fastcall
_WebOptionsDispT<T>::get_Parent(void)
{
  LPDISPATCH pRet;
  this->get_Parent((LPDISPATCH*)&pRet);
  return pRet;
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::get_OrganizeInFolder(VARIANT_BOOL* pf/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrganizeInFolder"), DISPID(2284));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pf /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WebOptionsDispT<T>::get_OrganizeInFolder(void)
{
  VARIANT_BOOL pf;
  this->get_OrganizeInFolder((VARIANT_BOOL*)&pf);
  return pf;
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::set_OrganizeInFolder(VARIANT_BOOL pf/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("OrganizeInFolder"), DISPID(2284));
  TAutoArgs<1> _args;
  _args[1] = pf /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::get_UseLongFileNames(VARIANT_BOOL* pf/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("UseLongFileNames"), DISPID(2285));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pf /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WebOptionsDispT<T>::get_UseLongFileNames(void)
{
  VARIANT_BOOL pf;
  this->get_UseLongFileNames((VARIANT_BOOL*)&pf);
  return pf;
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::set_UseLongFileNames(VARIANT_BOOL pf/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("UseLongFileNames"), DISPID(2285));
  TAutoArgs<1> _args;
  _args[1] = pf /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::get_DownloadComponents(VARIANT_BOOL* pf/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("DownloadComponents"), DISPID(2287));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pf /*[VT_BOOL:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> VARIANT_BOOL __fastcall
_WebOptionsDispT<T>::get_DownloadComponents(void)
{
  VARIANT_BOOL pf;
  this->get_DownloadComponents((VARIANT_BOOL*)&pf);
  return pf;
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::set_DownloadComponents(VARIANT_BOOL pf/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("DownloadComponents"), DISPID(2287));
  TAutoArgs<1> _args;
  _args[1] = pf /*[VT_BOOL:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::get_LocationOfComponents(BSTR* pstr/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("LocationOfComponents"), DISPID(2288));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pstr /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_WebOptionsDispT<T>::get_LocationOfComponents(void)
{
  BSTR pstr;
  this->get_LocationOfComponents((BSTR*)&pstr);
  return pstr;
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::set_LocationOfComponents(BSTR pstr/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("LocationOfComponents"), DISPID(2288));
  TAutoArgs<1> _args;
  _args[1] = pstr /*[VT_BSTR:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::get_Encoding(Office_2k::MsoEncoding* penc/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("Encoding"), DISPID(2289));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr((int*)penc /*[VT_USERDEFINED:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> Office_2k::MsoEncoding __fastcall
_WebOptionsDispT<T>::get_Encoding(void)
{
  Office_2k::MsoEncoding penc;
  this->get_Encoding((Office_2k::MsoEncoding*)&penc);
  return penc;
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::set_Encoding(Office_2k::MsoEncoding penc/*[in]*/)
{
  _TDispID _dispid(*this, OLETEXT("Encoding"), DISPID(2289));
  TAutoArgs<1> _args;
  _args[1] = (int)penc /*[VT_USERDEFINED:0]*/;
  return OlePropertyPut(_dispid, _args);
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::get_FolderSuffix(BSTR* pbstr/*[out,retval]*/)
{
  _TDispID _dispid(*this, OLETEXT("FolderSuffix"), DISPID(2307));
  TAutoArgs<0> _args;
  return OutRetValSetterPtr(pbstr /*[VT_BSTR:1]*/, _args, OlePropertyGet(_dispid, _args));
}

template <class T> BSTR __fastcall
_WebOptionsDispT<T>::get_FolderSuffix(void)
{
  BSTR pbstr;
  this->get_FolderSuffix((BSTR*)&pbstr);
  return pbstr;
}

template <class T> HRESULT __fastcall
_WebOptionsDispT<T>::UseDefaultFolderSuffix()
{
  _TDispID _dispid(*this, OLETEXT("UseDefaultFolderSuffix"), DISPID(2308));
  return OleFunction(_dispid);
}

// *********************************************************************//
// The following typedefs expose classes (named CoCoClassName) that       
// provide static Create() and CreateRemote(LPWSTR machineName) methods   
// for creating an instance of an exposed object. These functions can     
// be used by client wishing to automate CoClasses exposed by this        
// typelibrary.                                                           
// *********************************************************************//

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : FormatCondition
// Interface: TCOM_FormatCondition
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_FormatCondition, _FormatCondition, &CLSID_FormatCondition, &IID__FormatCondition> CoFormatCondition;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AccessHyperlink
// Interface: TCOM_Hyperlink
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_Hyperlink, _Hyperlink, &CLSID_AccessHyperlink, &IID__Hyperlink> CoAccessHyperlink;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AccessForm
// Interface: TCOM_Form
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_Form, _Form, &CLSID_AccessForm, &IID__Form> CoAccessForm;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AccessReport
// Interface: TCOM_Report
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_Report, _Report, &CLSID_AccessReport, &IID__Report> CoAccessReport;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AccessApplication
// Interface: TCOM_Application
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_Application, _Application, &CLSID_AccessApplication, &IID__Application> CoAccessApplication;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AccessReferences
// Interface: TCOM_References
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_References, _References, &CLSID_AccessReferences, &IID__References> CoAccessReferences;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : DataAccessPage
// Interface: TCOM_DataAccessPage
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_DataAccessPage, _DataAccessPage, &CLSID_DataAccessPage, &IID__DataAccessPage> CoDataAccessPage;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AllForms
// Interface: TCOMAllObjects
// *********************************************************************//
typedef TCoClassCreatorT<TCOMAllObjects, AllObjects, &CLSID_AllForms, &IID_AllObjects> CoAllForms;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AllReports
// Interface: TCOMAllObjects
// *********************************************************************//
typedef TCoClassCreatorT<TCOMAllObjects, AllObjects, &CLSID_AllReports, &IID_AllObjects> CoAllReports;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AllMacros
// Interface: TCOMAllObjects
// *********************************************************************//
typedef TCoClassCreatorT<TCOMAllObjects, AllObjects, &CLSID_AllMacros, &IID_AllObjects> CoAllMacros;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AllModules
// Interface: TCOMAllObjects
// *********************************************************************//
typedef TCoClassCreatorT<TCOMAllObjects, AllObjects, &CLSID_AllModules, &IID_AllObjects> CoAllModules;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AllDataAccessPages
// Interface: TCOMAllObjects
// *********************************************************************//
typedef TCoClassCreatorT<TCOMAllObjects, AllObjects, &CLSID_AllDataAccessPages, &IID_AllObjects> CoAllDataAccessPages;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AllTables
// Interface: TCOMAllObjects
// *********************************************************************//
typedef TCoClassCreatorT<TCOMAllObjects, AllObjects, &CLSID_AllTables, &IID_AllObjects> CoAllTables;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AllQueries
// Interface: TCOMAllObjects
// *********************************************************************//
typedef TCoClassCreatorT<TCOMAllObjects, AllObjects, &CLSID_AllQueries, &IID_AllObjects> CoAllQueries;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AllViews
// Interface: TCOMAllObjects
// *********************************************************************//
typedef TCoClassCreatorT<TCOMAllObjects, AllObjects, &CLSID_AllViews, &IID_AllObjects> CoAllViews;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AllStoredProcedures
// Interface: TCOMAllObjects
// *********************************************************************//
typedef TCoClassCreatorT<TCOMAllObjects, AllObjects, &CLSID_AllStoredProcedures, &IID_AllObjects> CoAllStoredProcedures;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AllDatabaseDiagrams
// Interface: TCOMAllObjects
// *********************************************************************//
typedef TCoClassCreatorT<TCOMAllObjects, AllObjects, &CLSID_AllDatabaseDiagrams, &IID_AllObjects> CoAllDatabaseDiagrams;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : CurrentProject
// Interface: TCOM_CurrentProject
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_CurrentProject, _CurrentProject, &CLSID_CurrentProject, &IID__CurrentProject> CoCurrentProject;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : CurrentData
// Interface: TCOM_CurrentData
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_CurrentData, _CurrentData, &CLSID_CurrentData, &IID__CurrentData> CoCurrentData;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : CodeProject
// Interface: TCOM_CurrentProject
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_CurrentProject, _CurrentProject, &CLSID_CodeProject, &IID__CurrentProject> CoCodeProject;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : CodeData
// Interface: TCOM_CurrentData
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_CurrentData, _CurrentData, &CLSID_CodeData, &IID__CurrentData> CoCodeData;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : WizHook
// Interface: TCOM_WizHook
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_WizHook, _WizHook, &CLSID_WizHook, &IID__WizHook> CoWizHook;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : DefaultWebOptions
// Interface: TCOM_DefaultWebOptions
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_DefaultWebOptions, _DefaultWebOptions, &CLSID_DefaultWebOptions, &IID__DefaultWebOptions> CoDefaultWebOptions;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : AccessWebOptions
// Interface: TCOM_WebOptions
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_WebOptions, _WebOptions, &CLSID_AccessWebOptions, &IID__WebOptions> CoAccessWebOptions;

// *********************************************************************//
// COCLASS DEFAULT INTERFACE CREATOR
// CoClass  : Class
// Interface: TCOM_Dummy
// *********************************************************************//
typedef TCoClassCreatorT<TCOM_Dummy, _Dummy, &CLSID_Class, &IID__Dummy> CoClass;
#endif  //   __TLB_NO_INTERFACE_WRAPPERS


#if !defined(__TLB_NO_EVENT_WRAPPERS) && defined(USING_ATLVCL)
// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : _ControlInReportEvents
// Event  Interface: __ControlInReportEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents__ControlInReportEvents : public IConnectionPointImpl<T,
                                                 &IID___ControlInReportEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface __ControlInReportEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessLabel
// Event  Interface: _LabelEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessLabel : public IConnectionPointImpl<T,
                                                 &IID__LabelEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _LabelEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : _ChildLabel
// Event  Interface: _ChildLabelEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents__ChildLabel : public IConnectionPointImpl<T,
                                                 &IID__ChildLabelEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _ChildLabelEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessRectangle
// Event  Interface: _RectangleEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessRectangle : public IConnectionPointImpl<T,
                                                 &IID__RectangleEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _RectangleEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessLine
// Event  Interface: _LineEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessLine : public IConnectionPointImpl<T,
                                                 &IID__LineEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _LineEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessImage
// Event  Interface: _ImageEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessImage : public IConnectionPointImpl<T,
                                                 &IID__ImageEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _ImageEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessCommandButton
// Event  Interface: _CommandButtonEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessCommandButton : public IConnectionPointImpl<T,
                                                 &IID__CommandButtonEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _CommandButtonEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessOptionButton
// Event  Interface: _OptionButtonEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessOptionButton : public IConnectionPointImpl<T,
                                                 &IID__OptionButtonEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _OptionButtonEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : _OptionButtonInOption
// Event  Interface: _OptionButtonInOptionEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents__OptionButtonInOption : public IConnectionPointImpl<T,
                                                 &IID__OptionButtonInOptionEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _OptionButtonInOptionEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessCheckBox
// Event  Interface: _CheckBoxEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessCheckBox : public IConnectionPointImpl<T,
                                                 &IID__CheckBoxEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _CheckBoxEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : _CheckBoxInOption
// Event  Interface: _CheckBoxInOptionEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents__CheckBoxInOption : public IConnectionPointImpl<T,
                                                 &IID__CheckBoxInOptionEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _CheckBoxInOptionEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessOptionGroup
// Event  Interface: _OptionGroupEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessOptionGroup : public IConnectionPointImpl<T,
                                                 &IID__OptionGroupEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _OptionGroupEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessBoundObjectFrame
// Event  Interface: _BoundObjectFrameEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessBoundObjectFrame : public IConnectionPointImpl<T,
                                                 &IID__BoundObjectFrameEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _BoundObjectFrameEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessTextBox
// Event  Interface: _TextBoxEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessTextBox : public IConnectionPointImpl<T,
                                                 &IID__TextBoxEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _TextBoxEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessListBox
// Event  Interface: _ListBoxEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessListBox : public IConnectionPointImpl<T,
                                                 &IID__ListBoxEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _ListBoxEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessComboBox
// Event  Interface: _ComboBoxEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessComboBox : public IConnectionPointImpl<T,
                                                 &IID__ComboBoxEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _ComboBoxEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessObjectFrame
// Event  Interface: _ObjectFrameEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessObjectFrame : public IConnectionPointImpl<T,
                                                 &IID__ObjectFrameEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _ObjectFrameEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessPageBreak
// Event  Interface: _PageBreakEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessPageBreak : public IConnectionPointImpl<T,
                                                 &IID__PageBreakEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _PageBreakEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessToggleButton
// Event  Interface: _ToggleButtonEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessToggleButton : public IConnectionPointImpl<T,
                                                 &IID__ToggleButtonEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _ToggleButtonEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : _ToggleButtonInOption
// Event  Interface: _ToggleButtonInOptionEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents__ToggleButtonInOption : public IConnectionPointImpl<T,
                                                 &IID__ToggleButtonInOptionEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _ToggleButtonInOptionEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessPaletteButton
// Event  Interface: _PaletteButtonEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessPaletteButton : public IConnectionPointImpl<T,
                                                 &IID__PaletteButtonEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _PaletteButtonEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessSubForm
// Event  Interface: _SubFormEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessSubForm : public IConnectionPointImpl<T,
                                                 &IID__SubFormEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _SubFormEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessSubReport
// Event  Interface: _SubReportEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessSubReport : public IConnectionPointImpl<T,
                                                 &IID__SubReportEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _SubReportEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessCustomControl
// Event  Interface: _CustomControlEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessCustomControl : public IConnectionPointImpl<T,
                                                 &IID__CustomControlEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _CustomControlEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : _CustomControlInReport
// Event  Interface: _CustomControlInReportEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents__CustomControlInReport : public IConnectionPointImpl<T,
                                                 &IID__CustomControlInReportEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _CustomControlInReportEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessTabControl
// Event  Interface: _TabControlEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessTabControl : public IConnectionPointImpl<T,
                                                 &IID__TabControlEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _TabControlEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessPage
// Event  Interface: _PageEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessPage : public IConnectionPointImpl<T,
                                                 &IID__PageEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _PageEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessSection
// Event  Interface: _SectionEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessSection : public IConnectionPointImpl<T,
                                                 &IID__SectionEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _SectionEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : _SectionInReport
// Event  Interface: _SectionInReportEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents__SectionInReport : public IConnectionPointImpl<T,
                                                 &IID__SectionInReportEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _SectionInReportEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : _PageHdrFtrInReport
// Event  Interface: _PageHdrFtrInReportEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents__PageHdrFtrInReport : public IConnectionPointImpl<T,
                                                 &IID__PageHdrFtrInReportEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _PageHdrFtrInReportEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessForm
// Event  Interface: _FormEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessForm : public IConnectionPointImpl<T,
                                                 &IID__FormEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _FormEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessReport
// Event  Interface: _ReportEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_AccessReport : public IConnectionPointImpl<T,
                                                 &IID__ReportEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _ReportEvents;
};

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : AccessReferences
// Event Interface : _References_Events
// *********************************************************************//
template <class T>
class TEvents_AccessReferences : public IConnectionPointImpl<T,
                                                 &DIID__References_Events,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
  void            Fire_ItemAdded(Access_2k::Reference* Reference);
  void            Fire_ItemRemoved(Access_2k::Reference* Reference);
protected:
  _References_EventsDisp m_EventIntfObj;
};

template <class T> void
TEvents_AccessReferences<T>::Fire_ItemAdded(Access_2k::Reference* Reference)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.ItemAdded(Reference);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

template <class T> void
TEvents_AccessReferences<T>::Fire_ItemRemoved(Access_2k::Reference* Reference)
{
  T * pT = (T*)this;
  pT->Lock();
  IUnknown ** pp = m_vec.begin();
  while (pp < m_vec.end())
  {
    if (*pp != NULL)
    {
      m_EventIntfObj.Attach(*pp);
      m_EventIntfObj.ItemRemoved(Reference);
      m_EventIntfObj.Attach(0);
    }
    pp++;
  }
  pT->Unlock();
}

// *********************************************************************//
// CONNECTIONPOINT/EVENT PROXY
// CoClass         : Class
// Event  Interface: _DummyEvents
// (NOTE: Interface is not IDispatch compatible - Empty proxy generated)
// *********************************************************************//
template <class T>
class TEvents_Class : public IConnectionPointImpl<T,
                                                 &IID__DummyEvents,
#if !defined(_TLB_DYNAMIC_CONNECTIONPOINT_ARRAY)
                                                 CComUnkArray<CONNECTIONPOINT_ARRAY_SIZE> >
#else
                                                 CComDynamicArray>
#endif
{
public:
protected:
  // No DispInterface wrapper found for Event Interface _DummyEvents;
};

#endif  //   __TLB_NO_EVENT_WRAPPERS

};     // namespace Access_2k

#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using  namespace Access_2k;
#endif

#pragma option pop

#endif // Access_2KH
