home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // OleDlg.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
- // From: OleDlg.pas
- //----------------------------------------------------------------------------
- #ifndef OleDlgHPP
- #define OleDlgHPP
- //----------------------------------------------------------------------------
- #include <OLE2.hpp>
- #include <CommCtrl.hpp>
- #include <Windows.hpp>
- #include <System.hpp>
- #pragma warn -par
- #pragma warn -hid
- #pragma warn -inl
-
- namespace Oledlg
- {
- //-- type declarations -------------------------------------------------------
- typedef long __stdcall (*TFNOleUIHook)(HWND Wnd, long Msg, long WParam, long LParam);
-
- typedef tagOLEUIINSERTOBJECTA *POleUIInsertObject;
-
- typedef tagOLEUIINSERTOBJECTA TOleUIInsertObject;
-
- typedef tagOLEUIPASTEENTRYA *POleUIPasteEntry;
-
- typedef tagOLEUIPASTEENTRYA TOleUIPasteEntry;
-
- typedef tagOLEUIPASTESPECIALA *POleUIPasteSpecial;
-
- typedef tagOLEUIPASTESPECIALA TOleUIPasteSpecial;
-
- class __declspec(delphiclass) iOleUILinkContainer;
- class __declspec(pascalimplementation) iOleUILinkContainer : public Ole2::IUnknown
- {
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual long __stdcall GetNextLink(long dwLink) = 0;
- virtual long __stdcall SetLinkUpdateOptions(long dwLink, long dwUpdateOpt) = 0;
- virtual long __stdcall GetLinkUpdateOptions(long dwLink, long &dwUpdateOpt) = 0;
- virtual long __stdcall SetLinkSource(long dwLink, char * pszDisplayName, long lenFileName, long &chEaten
- , DWord fValidateSource) = 0;
- virtual long __stdcall GetLinkSource(long dwLink, char * &pszDisplayName, long &lenFileName, char *
- &pszFullLinkType, char * &pszShortLinkType, DWord &fSourceAvailable, DWord &fIsSelected) = 0;
- virtual long __stdcall OpenLinkSource(long dwLink) = 0;
- virtual long __stdcall UpdateLink(long dwLink, DWord fErrorMessage, DWord fErrorAction) = 0;
- virtual long __stdcall CancelLink(long dwLink) = 0;
- public:
- /* TObject.Create */ __fastcall iOleUILinkContainer(void) : Ole2::IUnknown() { }
- /* TObject.Destroy */ __fastcall virtual ~iOleUILinkContainer(void) { }
-
- };
-
- typedef tagOLEUIEDITLINKSA *POleUIEditLinks;
-
- typedef tagOLEUIEDITLINKSA TOleUIEditLinks;
-
- typedef tagOLEUICHANGEICONA *POleUIChangeIcon;
-
- typedef tagOLEUICHANGEICONA TOleUIChangeIcon;
-
- typedef tagOLEUICONVERTA *POleUIConvert;
-
- typedef tagOLEUICONVERTA TOleUIConvert;
-
- typedef tagOLEUIBUSYA *POleUIBusy;
-
- typedef tagOLEUIBUSYA TOleUIBusy;
-
- class __declspec(delphiclass) iOleUIObjInfo;
- class __declspec(pascalimplementation) iOleUIObjInfo : public Ole2::IUnknown
- {
- typedef Ole2::IUnknown inherited;
-
- public:
- virtual long __stdcall GetObjectInfo(long dwObject, long &dwObjSize, char * &lpszLabel, char * &lpszType
- , char * &lpszShortType, char * &lpszLocation) = 0;
- virtual long __stdcall GetConvertInfo(long dwObject, GUID &ClassID, Word &wFormat, GUID &ConvertDefaultClassID
- , Ole2::PGUID &lpClsidExclude, long &cClsidExclude) = 0;
- virtual long __stdcall ConvertObject(long dwObject, const GUID &clsidNew) = 0;
- virtual long __stdcall GetViewInfo(long dwObject, int &hMetaPict, long &dvAspect, int &nCurrentScale
- ) = 0;
- virtual long __stdcall SetViewInfo(long dwObject, int hMetaPict, long dvAspect, int nCurrentScale,
- DWord bRelativeToOrig) = 0;
- public:
- /* TObject.Create */ __fastcall iOleUIObjInfo(void) : Ole2::IUnknown() { }
- /* TObject.Destroy */ __fastcall virtual ~iOleUIObjInfo(void) { }
-
- };
-
- class __declspec(delphiclass) iOleUILinkInfo;
- class __declspec(pascalimplementation) iOleUILinkInfo : public iOleUILinkContainer
- {
- typedef iOleUILinkContainer inherited;
-
- public:
- virtual long __stdcall GetLastUpdate(long dwLink, FILETIME &LastUpdate) = 0;
- public:
- /* TObject.Create */ __fastcall iOleUILinkInfo(void) : Oledlg::iOleUILinkContainer() { }
- /* TObject.Destroy */ __fastcall virtual ~iOleUILinkInfo(void) { }
-
- };
-
- typedef tagOLEUIGNRLPROPSA *POleUIGnrlProps;
-
- typedef tagOLEUIGNRLPROPSA TOleUIGnrlProps;
-
- typedef tagOLEUIVIEWPROPSA *POleUIViewProps;
-
- typedef tagOLEUIVIEWPROPSA TOleUIViewProps;
-
- typedef tagOLEUILINKPROPSA *POleUILinkProps;
-
- typedef tagOLEUILINKPROPSA TOleUILinkProps;
-
- typedef tagOLEUIOBJECTPROPSA *POleUIObjectProps;
-
- typedef tagOLEUIOBJECTPROPSA TOleUIObjectProps;
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Oledlg */
-
- #pragma warn .par
- #pragma warn .hid
- #pragma warn .inl
-
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Oledlg;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // OleDlg
-