home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // OleCtl.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: OleCtl.pas
- //----------------------------------------------------------------------------
- #ifndef OleCtlHPP
- #define OleCtlHPP
- //----------------------------------------------------------------------------
- #ifndef OLE2HPP
- #include <OLE2.hpp>
- #endif
-
- #ifndef MessagesHPP
- #include <Messages.hpp>
- #endif
-
- #ifndef WindowsHPP
- #include <Windows.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Olectl
- {
- //-- type declarations -------------------------------------------------------
- typedef Windows::TTextMetricW *PTextMetricOle;
-
- typedef Windows::TTextMetricW TTextMetricOle;
-
- typedef System::Integer TOleColor;
-
- typedef System::Integer OLE_XPOS_PIXELS;
-
- typedef System::Integer OLE_YPOS_PIXELS;
-
- typedef System::Integer OLE_XSIZE_PIXELS;
-
- typedef System::Integer OLE_YSIZE_PIXELS;
-
- typedef System::Integer OLE_XPOS_HIMETRIC;
-
- typedef System::Integer OLE_YPOS_HIMETRIC;
-
- typedef System::Integer OLE_XSIZE_HIMETRIC;
-
- typedef System::Integer OLE_YSIZE_HIMETRIC;
-
- typedef System::Single OLE_XPOS_CONTAINER;
-
- typedef System::Single OLE_YPOS_CONTAINER;
-
- typedef System::Single OLE_XSIZE_CONTAINER;
-
- typedef System::Single OLE_YSIZE_CONTAINER;
-
- enum OLE_TRISTATE { triUnchecked, triChecked, triGray };
-
- typedef System::LongBool OLE_OPTEXCLUSIVE;
-
- typedef System::LongBool OLE_CANCELBOOL;
-
- typedef System::LongBool OLE_ENABLEDEFAULTBOOL;
-
- typedef System::Integer OLE_HANDLE;
-
- typedef System::Longint __stdcall (*TDLLRegisterServer)(void);
-
- typedef System::Longint __stdcall (*TDLLUnregisterServer)(void);
-
- struct TPointF
- {
- System::Single x;
- System::Single y;
- } ;
-
- typedef TPointF *PPointF;
-
- struct TControlInfo;
- typedef TControlInfo *PControlInfo;
-
- struct TControlInfo
- {
- System::Longint cb;
- System::Integer hAccel;
- System::Word cAccel;
- System::Longint dwFlags;
- } ;
-
- class __declspec(delphiclass) IOleControl;
- class __declspec(pascalimplementation) IOleControl : public Ole2::IUnknown
- {
- typedef IOleControl ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall GetControlInfo(TControlInfo &ci) = 0;
- virtual System::Longint __stdcall OnMnemonic(Windows::PMsg msg) = 0;
- virtual System::Longint __stdcall OnAmbientPropertyChange(System::Longint dispid) = 0;
- virtual System::Longint __stdcall FreezeEvents(System::LongBool bFreeze) = 0;
- public:
- /* !! TObject.Create */ __fastcall IOleControl(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IOleControl(void) { }
-
- };
-
- class __declspec(delphiclass) IOleControlSite;
- class __declspec(pascalimplementation) IOleControlSite : public Ole2::IUnknown
- {
- typedef IOleControlSite ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall OnControlInfoChanged(void) = 0;
- virtual System::Longint __stdcall LockInPlaceActive(System::LongBool fLock) = 0;
- virtual System::Longint __stdcall GetExtendedControl(Ole2::IDispatch *&disp) = 0;
- virtual System::Longint __stdcall TransformCoords(Windows::TPoint &ptlHimetric, TPointF &ptfContainer
- , System::Longint flags) = 0;
- virtual System::Longint __stdcall TranslateAccelerator(Windows::PMsg msg, System::Longint grfModifiers
- ) = 0;
- virtual System::Longint __stdcall OnFocus(System::LongBool fGotFocus) = 0;
- virtual System::Longint __stdcall ShowPropertyFrame(void) = 0;
- public:
- /* !! TObject.Create */ __fastcall IOleControlSite(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IOleControlSite(void) { }
-
- };
-
- class __declspec(delphiclass) ISimpleFrameSite;
- class __declspec(pascalimplementation) ISimpleFrameSite : public Ole2::IUnknown
- {
- typedef ISimpleFrameSite ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall PreMessageFilter(System::Integer wnd, System::Integer msg, System::Integer
- wp, System::Integer lp, System::Integer &res, System::Longint &Cookie) = 0;
- virtual System::Longint __stdcall PostMessageFilter(System::Integer wnd, System::Integer msg, System::Integer
- wp, System::Integer lp, System::Integer &res, System::Longint Cookie) = 0;
- public:
- /* !! TObject.Create */ __fastcall ISimpleFrameSite(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~ISimpleFrameSite(void) { }
-
- };
-
- class __declspec(delphiclass) IPersistStreamInit;
- class __declspec(pascalimplementation) IPersistStreamInit : public Ole2::IPersistStream
- {
- typedef IPersistStreamInit ThisClass;
- typedef Ole2::IPersistStream inherited;
-
- public:
- virtual System::Longint __stdcall InitNew(void) = 0;
- public:
- /* !! TObject.Create */ __fastcall IPersistStreamInit(void) : Ole2::IPersistStream() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IPersistStreamInit(void) { }
-
- };
-
- class __declspec(delphiclass) IPropertyNotifySink;
- class __declspec(pascalimplementation) IPropertyNotifySink : public Ole2::IUnknown
- {
- typedef IPropertyNotifySink ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall OnChanged(System::Longint dispid) = 0;
- virtual System::Longint __stdcall OnRequestEdit(System::Longint dispid) = 0;
- public:
- /* !! TObject.Create */ __fastcall IPropertyNotifySink(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IPropertyNotifySink(void) { }
-
- };
-
- class __declspec(delphiclass) IProvideClassInfo;
- class __declspec(pascalimplementation) IProvideClassInfo : public Ole2::IUnknown
- {
- typedef IProvideClassInfo ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall GetClassInfo(Ole2::ITypeInfo *&ti) = 0;
- public:
- /* !! TObject.Create */ __fastcall IProvideClassInfo(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IProvideClassInfo(void) { }
-
- };
-
- class __declspec(delphiclass) IConnectionPointContainer;
- class __declspec(delphiclass) IEnumConnectionPoints;
- class __declspec(delphiclass) IConnectionPoint;
- class __declspec(pascalimplementation) IConnectionPointContainer : public Ole2::IUnknown
- {
- typedef IConnectionPointContainer ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall EnumConnectionPoints(IEnumConnectionPoints *&Enum) = 0;
- virtual System::Longint __stdcall FindConnectionPoint(const Ole2::TGUID &iid, IConnectionPoint *&cp
- ) = 0;
- public:
- /* !! TObject.Create */ __fastcall IConnectionPointContainer(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IConnectionPointContainer(void) { }
-
- };
-
- class __declspec(pascalimplementation) IEnumConnectionPoints : public Ole2::IUnknown
- {
- typedef IEnumConnectionPoints ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall Next(System::Longint celt, void *elt, Windows::PLongint pceltFetched
- ) = 0;
- virtual System::Longint __stdcall Skip(System::Longint celt) = 0;
- virtual System::Longint __stdcall Reset(void) = 0;
- virtual System::Longint __stdcall Clone(IEnumConnectionPoints *&Enum) = 0;
- public:
- /* !! TObject.Create */ __fastcall IEnumConnectionPoints(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IEnumConnectionPoints(void) { }
-
- };
-
- class __declspec(delphiclass) IEnumConnections;
- class __declspec(pascalimplementation) IConnectionPoint : public Ole2::IUnknown
- {
- typedef IConnectionPoint ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall GetConnectionInterface(Ole2::TGUID &iid) = 0;
- virtual System::Longint __stdcall GetConnectionPointContainer(IConnectionPointContainer *&cpc) = 0;
-
- virtual System::Longint __stdcall Advise(Ole2::IUnknown *unkSink, System::Longint &dwCookie) = 0;
- virtual System::Longint __stdcall Unadvise(System::Longint dwCookie) = 0;
- virtual System::Longint __stdcall EnumConnections(IEnumConnections *&Enum) = 0;
- public:
- /* !! TObject.Create */ __fastcall IConnectionPoint(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IConnectionPoint(void) { }
-
- };
-
- struct TConnectData
- {
- Ole2::IUnknown *pUnk;
- System::Longint dwCookie;
- } ;
-
- typedef TConnectData *PConnectData;
-
- class __declspec(pascalimplementation) IEnumConnections : public Ole2::IUnknown
- {
- typedef IEnumConnections ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall Next(System::Longint celt, void *elt, Windows::PLongint pceltFetched
- ) = 0;
- virtual System::Longint __stdcall Skip(System::Longint celt) = 0;
- virtual System::Longint __stdcall Reset(void) = 0;
- virtual System::Longint __stdcall Clone(IEnumConnections *&Enum) = 0;
- public:
- /* !! TObject.Create */ __fastcall IEnumConnections(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IEnumConnections(void) { }
-
- };
-
- struct TLicInfo
- {
- System::Longint cbLicInfo;
- System::LongBool fRuntimeKeyAvail;
- System::LongBool fLicVerified;
- } ;
-
- typedef TLicInfo *PLicInfo;
-
- class __declspec(delphiclass) IClassFactory2;
- class __declspec(pascalimplementation) IClassFactory2 : public Ole2::IClassFactory
- {
- typedef IClassFactory2 ThisClass;
- typedef Ole2::IClassFactory inherited;
-
- public:
- virtual System::Longint __stdcall GetLicInfo(TLicInfo &licInfo) = 0;
- virtual System::Longint __stdcall RequestLicKey(System::Longint dwResrved, System::PWideChar &bstrKey
- ) = 0;
- virtual System::Longint __stdcall CreateInstanceLic(Ole2::IUnknown *unkOuter, Ole2::IUnknown *unkReserved
- , const Ole2::TGUID &iid, System::PWideChar bstrKey, void *vObject) = 0;
- public:
- /* !! TObject.Create */ __fastcall IClassFactory2(void) : Ole2::IClassFactory() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IClassFactory2(void) { }
-
- };
-
- typedef Ole2::TGUID TGUIDList[65536];
-
- typedef TGUIDList *PGUIDList;
-
- struct TCAGUID
- {
- System::Longint cElems;
- TGUIDList *pElems;
- } ;
-
- typedef TCAGUID *PCAGUID;
-
- struct TCAPOleStr;
- typedef TCAPOleStr *PCAPOleStr;
-
- struct TCAPOleStr
- {
- System::Longint cElems;
- Ole2::TOleStrList *pElems;
- } ;
-
- typedef System::Longint TLongintList[65536];
-
- typedef TLongintList *PLongintList;
-
- struct TCALongint
- {
- System::Longint cElems;
- TLongintList *pElems;
- } ;
-
- typedef TCALongint *PCALongint;
-
- struct TOCPFIParams;
- typedef TOCPFIParams *POCPFIParams;
-
- struct TOCPFIParams
- {
- System::Longint cbStructSize;
- System::Integer hWndOwner;
- System::Integer x;
- System::Integer y;
- System::WideChar *lpszCaption;
- System::Longint cObjects;
- void *pObjects;
- System::Longint cPages;
- void *pPages;
- System::Longint lcid;
- System::Longint dispidInitialProperty;
- } ;
-
- struct TPropPageInfo;
- typedef TPropPageInfo *PPropPageInfo;
-
- struct TPropPageInfo
- {
- System::Longint cb;
- System::WideChar *pszTitle;
- Windows::TSize size;
- System::WideChar *pszDocString;
- System::WideChar *pszHelpFile;
- System::Longint dwHelpContext;
- } ;
-
- class __declspec(delphiclass) ISpecifyPropertyPages;
- class __declspec(pascalimplementation) ISpecifyPropertyPages : public Ole2::IUnknown
- {
- typedef ISpecifyPropertyPages ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall GetPages(TCAGUID &pages) = 0;
- public:
- /* !! TObject.Create */ __fastcall ISpecifyPropertyPages(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~ISpecifyPropertyPages(void) { }
-
- };
-
- class __declspec(delphiclass) IPerPropertyBrowsing;
- class __declspec(pascalimplementation) IPerPropertyBrowsing : public Ole2::IUnknown
- {
- typedef IPerPropertyBrowsing ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall GetDisplayString(System::Longint dispid, System::PWideChar &bstr)
- = 0;
- virtual System::Longint __stdcall MapPropertyToPage(System::Longint dispid, Ole2::TGUID &clsid) = 0
- ;
- virtual System::Longint __stdcall GetPredefinedStrings(System::Longint dispid, TCAPOleStr &caStringsOut
- , TCALongint &caCookiesOut) = 0;
- virtual System::Longint __stdcall GetPredefinedValue(System::Longint dispid, System::Longint dwCookie
- , System::Variant &varOut) = 0;
- public:
- /* !! TObject.Create */ __fastcall IPerPropertyBrowsing(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IPerPropertyBrowsing(void) { }
-
- };
-
- class __declspec(delphiclass) IPropertyPageSite;
- class __declspec(pascalimplementation) IPropertyPageSite : public Ole2::IUnknown
- {
- typedef IPropertyPageSite ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall OnStatusChange(System::Longint flags) = 0;
- virtual System::Longint __stdcall GetLocaleID(System::Longint &localeID) = 0;
- virtual System::Longint __stdcall GetPageContainer(Ole2::IUnknown *&unk) = 0;
- virtual System::Longint __stdcall TranslateAccelerator(Windows::PMsg msg) = 0;
- public:
- /* !! TObject.Create */ __fastcall IPropertyPageSite(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IPropertyPageSite(void) { }
-
- };
-
- class __declspec(delphiclass) IPropertyPage;
- class __declspec(pascalimplementation) IPropertyPage : public Ole2::IUnknown
- {
- typedef IPropertyPage ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall SetPageSite(IPropertyPageSite *pageSite) = 0;
- virtual System::Longint __stdcall Activate(System::Integer hwndParent, const Windows::TRect &rc, System::LongBool
- bModal) = 0;
- virtual System::Longint __stdcall Deactivate(void) = 0;
- virtual System::Longint __stdcall GetPageInfo(TPropPageInfo &pageInfo) = 0;
- virtual System::Longint __stdcall SetObjects(System::Longint cObjects, Ole2::IUnknown *unk) = 0;
- virtual System::Longint __stdcall Show(System::Integer nCmdShow) = 0;
- virtual System::Longint __stdcall Move(const Windows::TRect &rect) = 0;
- virtual System::Longint __stdcall IsPageDirty(void) = 0;
- virtual System::Longint __stdcall Apply(void) = 0;
- virtual System::Longint __stdcall Help(System::PWideChar pszHelpDir) = 0;
- virtual System::Longint __stdcall TranslateAccelerator(Windows::PMsg msg) = 0;
- public:
- /* !! TObject.Create */ __fastcall IPropertyPage(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IPropertyPage(void) { }
-
- };
-
- class __declspec(delphiclass) IPropertyPage2;
- class __declspec(pascalimplementation) IPropertyPage2 : public IPropertyPage
- {
- typedef IPropertyPage2 ThisClass;
- typedef IPropertyPage inherited;
-
- public:
- virtual System::Longint __stdcall EditProperty(System::Longint dispid) = 0;
- public:
- /* !! TObject.Create */ __fastcall IPropertyPage2(void) : Olectl::IPropertyPage() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IPropertyPage2(void) { }
-
- };
-
- class __declspec(delphiclass) IFont;
- class __declspec(pascalimplementation) IFont : public Ole2::IUnknown
- {
- typedef IFont ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall get_Name(System::PWideChar &name) = 0;
- virtual System::Longint __stdcall put_Name(System::PWideChar name) = 0;
- virtual System::Longint __stdcall get_Size(System::Comp &size) = 0;
- virtual System::Longint __stdcall put_Size(System::Comp size) = 0;
- virtual System::Longint __stdcall get_Bold(System::LongBool &bold) = 0;
- virtual System::Longint __stdcall put_Bold(System::LongBool bold) = 0;
- virtual System::Longint __stdcall get_Italic(System::LongBool &italic) = 0;
- virtual System::Longint __stdcall put_Italic(System::LongBool italic) = 0;
- virtual System::Longint __stdcall get_Underline(System::LongBool &underline) = 0;
- virtual System::Longint __stdcall put_Underline(System::LongBool underline) = 0;
- virtual System::Longint __stdcall get_Strikethrough(System::LongBool &strikethrough) = 0;
- virtual System::Longint __stdcall put_Strikethrough(System::LongBool strikethrough) = 0;
- virtual System::Longint __stdcall get_Weight(System::Smallint &weight) = 0;
- virtual System::Longint __stdcall put_Weight(System::Smallint weight) = 0;
- virtual System::Longint __stdcall get_Charset(System::Smallint &charset) = 0;
- virtual System::Longint __stdcall put_Charset(System::Smallint charset) = 0;
- virtual System::Longint __stdcall get_hFont(System::Integer &font) = 0;
- virtual System::Longint __stdcall Clone(IFont *&font) = 0;
- virtual System::Longint __stdcall IsEqual(IFont *fontOther) = 0;
- virtual System::Longint __stdcall SetRatio(System::Longint cyLogical, System::Longint cyHimetric) = 0
- ;
- virtual System::Longint __stdcall QueryTextMetrics(Windows::TTextMetricW &tm) = 0;
- virtual System::Longint __stdcall AddRefHfont(System::Integer font) = 0;
- virtual System::Longint __stdcall ReleaseHfont(System::Integer font) = 0;
- public:
- /* !! TObject.Create */ __fastcall IFont(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IFont(void) { }
-
- };
-
- class __declspec(delphiclass) IFontDisp;
- class __declspec(pascalimplementation) IFontDisp : public Ole2::IDispatch
- {
- typedef IFontDisp ThisClass;
- typedef Ole2::IDispatch inherited;
-
- public:
- /* !! TObject.Create */ __fastcall IFontDisp(void) : Ole2::IDispatch() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IFontDisp(void) { }
-
- };
-
- struct TFontDesc;
- typedef TFontDesc *PFontDesc;
-
- struct TFontDesc
- {
- System::Integer cbSizeofstruct;
- System::WideChar *lpstrName;
- System::Comp cySize;
- System::Smallint sWeight;
- System::Smallint sCharset;
- System::LongBool fItalic;
- System::LongBool fUnderline;
- System::LongBool fStrikethrough;
- } ;
-
- class __declspec(delphiclass) IPicture;
- class __declspec(pascalimplementation) IPicture : public Ole2::IUnknown
- {
- typedef IPicture ThisClass;
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual System::Longint __stdcall get_Handle(System::Longint &handle) = 0;
- virtual System::Longint __stdcall get_hPal(System::Longint &handle) = 0;
- virtual System::Longint __stdcall get_Type(System::Smallint &typ) = 0;
- virtual System::Longint __stdcall get_Width(System::Longint &width) = 0;
- virtual System::Longint __stdcall get_Height(System::Longint &height) = 0;
- virtual System::Longint __stdcall Render(System::Integer dc, System::Longint x, System::Longint y,
- System::Longint cx, System::Longint cy, System::Longint xSrc, System::Longint ySrc, System::Longint
- cxSrc, System::Longint cySrc, const Windows::TRect &rcWBounds) = 0;
- virtual System::Longint __stdcall set_hPal(System::Longint hpal) = 0;
- virtual System::Longint __stdcall get_CurDC(System::Integer &dcOut) = 0;
- virtual System::Longint __stdcall SelectPicture(System::Integer dcIn, System::Integer &hdcOut, System::Longint
- &bmpOut) = 0;
- virtual System::Longint __stdcall get_KeepOriginalFormat(System::LongBool &fkeep) = 0;
- virtual System::Longint __stdcall put_KeepOriginalFormat(System::LongBool fkeep) = 0;
- virtual System::Longint __stdcall PictureChanged(void) = 0;
- virtual System::Longint __stdcall SaveAsFile(Ole2::IStream *stream, System::LongBool fSaveMemCopy,
- System::Longint &cbSize) = 0;
- virtual System::Longint __stdcall get_Attributes(System::Longint dwAttr) = 0;
- public:
- /* !! TObject.Create */ __fastcall IPicture(void) : Ole2::IUnknown() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IPicture(void) { }
-
- };
-
- class __declspec(delphiclass) IPictureDisp;
- class __declspec(pascalimplementation) IPictureDisp : public Ole2::IDispatch
- {
- typedef IPictureDisp ThisClass;
- typedef Ole2::IDispatch inherited;
-
- public:
- /* !! TObject.Create */ __fastcall IPictureDisp(void) : Ole2::IDispatch() { }
- /* !! TObject.Destroy */ __fastcall virtual ~IPictureDisp(void) { }
-
- };
-
- struct TPictDesc;
- typedef TPictDesc *PPictDesc;
-
- struct TPictDesc
- {
- System::Integer cbSizeofstruct;
- System::Integer picType;
- union
- {
- System::Integer hIcon;
- struct
- {
- System::Integer hMeta;
- System::Integer xExt;
- System::Integer yExt;
-
- };
- struct
- {
- System::Integer hbitmap;
- System::Integer hpal;
-
- };
-
- };
- } ;
-
- //-- var, const, procedure ---------------------------------------------------
- #define CTL_E_ILLEGALFUNCTIONCALL System::Integer(-2146828283)
- #define CTL_E_OVERFLOW System::Integer(-2146828282)
- #define CTL_E_OUTOFMEMORY System::Integer(-2146828281)
- #define CTL_E_DIVISIONBYZERO System::Integer(-2146828277)
- #define CTL_E_OUTOFSTRINGSPACE System::Integer(-2146828274)
- #define CTL_E_OUTOFSTACKSPACE System::Integer(-2146828260)
- #define CTL_E_BADFILENAMEORNUMBER System::Integer(-2146828236)
- #define CTL_E_FILENOTFOUND System::Integer(-2146828235)
- #define CTL_E_BADFILEMODE System::Integer(-2146828234)
- #define CTL_E_FILEALREADYOPEN System::Integer(-2146828233)
- #define CTL_E_DEVICEIOERROR System::Integer(-2146828231)
- #define CTL_E_FILEALREADYEXISTS System::Integer(-2146828230)
- #define CTL_E_BADRECORDLENGTH System::Integer(-2146828229)
- #define CTL_E_DISKFULL System::Integer(-2146828227)
- #define CTL_E_BADRECORDNUMBER System::Integer(-2146828225)
- #define CTL_E_BADFILENAME System::Integer(-2146828224)
- #define CTL_E_TOOMANYFILES System::Integer(-2146828221)
- #define CTL_E_DEVICEUNAVAILABLE System::Integer(-2146828220)
- #define CTL_E_PERMISSIONDENIED System::Integer(-2146828218)
- #define CTL_E_DISKNOTREADY System::Integer(-2146828217)
- #define CTL_E_PATHFILEACCESSERROR System::Integer(-2146828213)
- #define CTL_E_PATHNOTFOUND System::Integer(-2146828212)
- #define CTL_E_INVALIDPATTERNSTRING System::Integer(-2146828195)
- #define CTL_E_INVALIDUSEOFNULL System::Integer(-2146828194)
- #define CTL_E_INVALIDFILEFORMAT System::Integer(-2146827967)
- #define CTL_E_INVALIDPROPERTYVALUE System::Integer(-2146827908)
- #define CTL_E_INVALIDPROPERTYARRAYINDEX System::Integer(-2146827907)
- #define CTL_E_SETNOTSUPPORTEDATRUNTIME System::Integer(-2146827906)
- #define CTL_E_SETNOTSUPPORTED System::Integer(-2146827905)
- #define CTL_E_NEEDPROPERTYARRAYINDEX System::Integer(-2146827903)
- #define CTL_E_SETNOTPERMITTED System::Integer(-2146827901)
- #define CTL_E_GETNOTSUPPORTEDATRUNTIME System::Integer(-2146827895)
- #define CTL_E_GETNOTSUPPORTED System::Integer(-2146827894)
- #define CTL_E_PROPERTYNOTFOUND System::Integer(-2146827866)
- #define CTL_E_INVALIDCLIPBOARDFORMAT System::Integer(-2146827828)
- #define CTL_E_INVALIDPICTURE System::Integer(-2146827807)
- #define CTL_E_PRINTERERROR System::Integer(-2146827806)
- #define CTL_E_CANTSAVEFILETOTEMP System::Integer(-2146827553)
- #define CTL_E_SEARCHTEXTNOTFOUND System::Integer(-2146827544)
- #define CTL_E_REPLACEMENTSTOOLONG System::Integer(-2146827542)
- #define CTL_E_CUSTOM_FIRST System::Integer(-2146827688)
- #define CLASS_E_NOTLICENSED System::Integer(-2147221230)
- #define CONNECT_E_FIRST System::Integer(-2147220992)
- #define CONNECT_E_LAST System::Integer(-2147220977)
- #define CONNECT_S_FIRST System::Integer(262656)
- #define CONNECT_S_LAST System::Integer(262671)
- #define CONNECT_E_NOCONNECTION System::Integer(-2147220992)
- #define CONNECT_E_ADVISELIMIT System::Integer(-2147220991)
- #define CONNECT_E_CANNOTCONNECT System::Integer(-2147220990)
- #define CONNECT_E_OVERRIDDEN System::Integer(-2147220989)
- #define SELFREG_E_FIRST System::Integer(-2147220992)
- #define SELFREG_E_LAST System::Integer(-2147220992)
- #define SELFREG_S_FIRST System::Integer(262656)
- #define SELFREG_S_LAST System::Integer(262656)
- #define SELFREG_E_TYPELIB System::Integer(-2147220992)
- #define SELFREG_E_CLASS System::Integer(-2147220991)
- #define PERPROP_E_FIRST System::Integer(-2147220992)
- #define PERPROP_E_LAST System::Integer(-2147220977)
- #define PERPROP_S_FIRST System::Integer(262656)
- #define PERPROP_S_LAST System::Integer(262671)
- #define PERPROP_E_NOPAGEAVAILABLE System::Integer(-2147220992)
- #define OLEMISC_INVISIBLEATRUNTIME System::Smallint(1024)
- #define OLEMISC_ALWAYSRUN System::Smallint(2048)
- #define OLEMISC_ACTSLIKEBUTTON System::Smallint(4096)
- #define OLEMISC_ACTSLIKELABEL System::Smallint(8192)
- #define OLEMISC_NOUIACTIVATE System::Smallint(16384)
- #define OLEMISC_ALIGNABLE System::Integer(32768)
- #define OLEMISC_SIMPLEFRAME System::Integer(65536)
- #define OLEMISC_SETCLIENTSITEFIRST System::Integer(131072)
- #define OLEMISC_IMEMODE System::Integer(262144)
- #define OLEIVERB_PROPERTIES System::Shortint(-7)
- #define VT_STREAMED_PROPSET System::Byte(73)
- #define VT_STORED_PROPSET System::Byte(74)
- #define VT_BLOB_PROPSET System::Byte(75)
- #define VT_COLOR System::Byte(3)
- #define VT_XPOS_PIXELS System::Byte(3)
- #define VT_YPOS_PIXELS System::Byte(3)
- #define VT_XSIZE_PIXELS System::Byte(3)
- #define VT_YSIZE_PIXELS System::Byte(3)
- #define VT_XPOS_HIMETRIC System::Byte(3)
- #define VT_YPOS_HIMETRIC System::Byte(3)
- #define VT_XSIZE_HIMETRIC System::Byte(3)
- #define VT_YSIZE_HIMETRIC System::Byte(3)
- #define VT_TRISTATE System::Byte(2)
- #define VT_OPTEXCLUSIVE System::Byte(11)
- #define VT_FONT System::Byte(9)
- #define VT_PICTURE System::Byte(9)
- #define VT_HANDLE System::Byte(3)
- #define OCM__BASE System::Smallint(8192)
- #define OCM_COMMAND System::Smallint(8465)
- #define OCM_CTLCOLORBTN System::Smallint(8501)
- #define OCM_CTLCOLOREDIT System::Smallint(8499)
- #define OCM_CTLCOLORDLG System::Smallint(8502)
- #define OCM_CTLCOLORLISTBOX System::Smallint(8500)
- #define OCM_CTLCOLORMSGBOX System::Smallint(8498)
- #define OCM_CTLCOLORSCROLLBAR System::Smallint(8503)
- #define OCM_CTLCOLORSTATIC System::Smallint(8504)
- #define OCM_DRAWITEM System::Smallint(8235)
- #define OCM_MEASUREITEM System::Smallint(8236)
- #define OCM_DELETEITEM System::Smallint(8237)
- #define OCM_VKEYTOITEM System::Smallint(8238)
- #define OCM_CHARTOITEM System::Smallint(8239)
- #define OCM_COMPAREITEM System::Smallint(8249)
- #define OCM_HSCROLL System::Smallint(8468)
- #define OCM_VSCROLL System::Smallint(8469)
- #define OCM_PARENTNOTIFY System::Smallint(8720)
- #define CTRLINFO_EATS_RETURN System::Byte(1)
- #define CTRLINFO_EATS_ESCAPE System::Byte(2)
- #define XFORMCOORDS_POSITION System::Byte(1)
- #define XFORMCOORDS_SIZE System::Byte(2)
- #define XFORMCOORDS_HIMETRICTOCONTAINER System::Byte(4)
- #define XFORMCOORDS_CONTAINERTOHIMETRIC System::Byte(8)
- #define PROPPAGESTATUS_DIRTY System::Byte(1)
- #define PROPPAGESTATUS_VALIDATE System::Byte(2)
- #define PICTURE_SCALABLE System::Byte(1)
- #define PICTURE_TRANSPARENT System::Byte(2)
- #define PICTYPE_UNINITIALIZED System::Shortint(-1)
- #define PICTYPE_NONE System::Byte(0)
- #define PICTYPE_BITMAP System::Byte(1)
- #define PICTYPE_METAFILE System::Byte(2)
- #define PICTYPE_ICON System::Byte(3)
- #define PICTYPE_ENHMETAFILE System::Byte(4)
- #define DISPID_AUTOSIZE System::Smallint(-500)
- #define DISPID_BACKCOLOR System::Smallint(-501)
- #define DISPID_BACKSTYLE System::Smallint(-502)
- #define DISPID_BORDERCOLOR System::Smallint(-503)
- #define DISPID_BORDERSTYLE System::Smallint(-504)
- #define DISPID_BORDERWIDTH System::Smallint(-505)
- #define DISPID_DRAWMODE System::Smallint(-507)
- #define DISPID_DRAWSTYLE System::Smallint(-508)
- #define DISPID_DRAWWIDTH System::Smallint(-509)
- #define DISPID_FILLCOLOR System::Smallint(-510)
- #define DISPID_FILLSTYLE System::Smallint(-511)
- #define DISPID_FONT System::Smallint(-512)
- #define DISPID_FORECOLOR System::Smallint(-513)
- #define DISPID_ENABLED System::Smallint(-514)
- #define DISPID_HWND System::Smallint(-515)
- #define DISPID_TABSTOP System::Smallint(-516)
- #define DISPID_TEXT System::Smallint(-517)
- #define DISPID_CAPTION System::Smallint(-518)
- #define DISPID_BORDERVISIBLE System::Smallint(-519)
- #define DISPID_REFRESH System::Smallint(-550)
- #define DISPID_DOCLICK System::Smallint(-551)
- #define DISPID_ABOUTBOX System::Smallint(-552)
- #define DISPID_CLICK System::Smallint(-600)
- #define DISPID_DBLCLICK System::Smallint(-601)
- #define DISPID_KEYDOWN System::Smallint(-602)
- #define DISPID_KEYPRESS System::Smallint(-603)
- #define DISPID_KEYUP System::Smallint(-604)
- #define DISPID_MOUSEDOWN System::Smallint(-605)
- #define DISPID_MOUSEMOVE System::Smallint(-606)
- #define DISPID_MOUSEUP System::Smallint(-607)
- #define DISPID_ERROREVENT System::Smallint(-608)
- #define DISPID_AMBIENT_BACKCOLOR System::Smallint(-701)
- #define DISPID_AMBIENT_DISPLAYNAME System::Smallint(-702)
- #define DISPID_AMBIENT_FONT System::Smallint(-703)
- #define DISPID_AMBIENT_FORECOLOR System::Smallint(-704)
- #define DISPID_AMBIENT_LOCALEID System::Smallint(-705)
- #define DISPID_AMBIENT_MESSAGEREFLECT System::Smallint(-706)
- #define DISPID_AMBIENT_SCALEUNITS System::Smallint(-707)
- #define DISPID_AMBIENT_TEXTALIGN System::Smallint(-708)
- #define DISPID_AMBIENT_USERMODE System::Smallint(-709)
- #define DISPID_AMBIENT_UIDEAD System::Smallint(-710)
- #define DISPID_AMBIENT_SHOWGRABHANDLES System::Smallint(-711)
- #define DISPID_AMBIENT_SHOWHATCHING System::Smallint(-712)
- #define DISPID_AMBIENT_DISPLAYASDEFAULT System::Smallint(-713)
- #define DISPID_AMBIENT_SUPPORTSMNEMONICS System::Smallint(-714)
- #define DISPID_AMBIENT_AUTOCLIP System::Smallint(-715)
- #define DISPID_FONT_NAME System::Byte(0)
- #define DISPID_FONT_SIZE System::Byte(2)
- #define DISPID_FONT_BOLD System::Byte(3)
- #define DISPID_FONT_ITALIC System::Byte(4)
- #define DISPID_FONT_UNDER System::Byte(5)
- #define DISPID_FONT_STRIKE System::Byte(6)
- #define DISPID_FONT_WEIGHT System::Byte(7)
- #define DISPID_FONT_CHARSET System::Byte(8)
- #define DISPID_PICT_HANDLE System::Byte(0)
- #define DISPID_PICT_HPAL System::Byte(2)
- #define DISPID_PICT_TYPE System::Byte(3)
- #define DISPID_PICT_WIDTH System::Byte(4)
- #define DISPID_PICT_HEIGHT System::Byte(5)
- #define DISPID_PICT_RENDER System::Byte(6)
- extern Ole2::TGUID IID_IPropertyNotifySink;
- extern Ole2::TGUID IID_IClassFactory2;
- extern Ole2::TGUID IID_IProvideClassInfo;
- extern Ole2::TGUID IID_IConnectionPointContainer;
- extern Ole2::TGUID IID_IEnumConnectionPoints;
- extern Ole2::TGUID IID_IConnectionPoint;
- extern Ole2::TGUID IID_IEnumConnections;
- extern Ole2::TGUID IID_IOleControl;
- extern Ole2::TGUID IID_IOleControlSite;
- extern Ole2::TGUID IID_ISimpleFrameSite;
- extern Ole2::TGUID IID_IPersistStreamInit;
- extern Ole2::TGUID IID_IPropertyFrame;
- extern Ole2::TGUID IID_ISpecifyPropertyPages;
- extern Ole2::TGUID IID_IPerPropertyBrowsing;
- extern Ole2::TGUID IID_IPropertyPageSite;
- extern Ole2::TGUID IID_IPropertyPage;
- extern Ole2::TGUID IID_IPropertyPage2;
- extern Ole2::TGUID IID_IFont;
- extern Ole2::TGUID IID_IFontDisp;
- extern Ole2::TGUID IID_IPicture;
- extern Ole2::TGUID IID_IPictureDisp;
- extern Ole2::TGUID CLSID_CFontPropPage;
- extern Ole2::TGUID CLSID_CColorPropPage;
- extern Ole2::TGUID CLSID_CPicturePropPage;
- extern Ole2::TGUID CLSID_PersistPropset;
- extern Ole2::TGUID CLSID_ConvertVBX;
- extern Ole2::TGUID CLSID_StdFont;
- extern Ole2::TGUID CLSID_StdPicture;
- extern "C" System::Longint __stdcall OleCreatePropertyFrame(System::Integer hwndOwner, System::Integer
- x, System::Integer y, System::PWideChar lpszCaption, System::Integer cObjects, System::Pointer pObjects
- , System::Integer cPages, System::Pointer pPageCLSIDs, System::Longint lcid, System::Longint dwReserved
- , System::Pointer pvReserved);
- extern "C" System::Longint __stdcall OleCreatePropertyFrameIndirect(TOCPFIParams &Params);
- extern "C" System::Longint __stdcall OleTranslateColor(System::Longint clr, System::Integer hpal, System::Longint
- &colorref);
- extern "C" System::Longint __stdcall OleCreateFontIndirect(TFontDesc &FontDesc, const Ole2::TGUID &iid
- , void *vObject);
- extern "C" System::Longint __stdcall OleCreatePictureIndirect(TPictDesc &PictDesc, const Ole2::TGUID
- &iid, System::LongBool fOwn, void *vObject);
- extern "C" System::Longint __stdcall OleLoadPicture(Ole2::IStream *stream, System::Longint lSize, System::LongBool
- fRunmode, const Ole2::TGUID &iid, void *vObject);
- extern "C" System::Integer __stdcall OleIconToCursor(System::Integer hinstExe, System::Integer hIcon
- );
-
- } /* namespace Olectl */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Olectl;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // OleCtl
-