home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / OLEDLG.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  5KB  |  134 lines

  1. //----------------------------------------------------------------------------
  2. // OleDlg.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: OleDlg.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef OleDlgHPP
  6. #define OleDlgHPP
  7. //----------------------------------------------------------------------------
  8. #include <OLE2.hpp>
  9. #include <CommCtrl.hpp>
  10. #include <Windows.hpp>
  11. #include <System.hpp>
  12. #pragma warn -par
  13. #pragma warn -hid 
  14. #pragma warn -inl
  15.  
  16. namespace Oledlg
  17. {
  18. //-- type declarations -------------------------------------------------------
  19. typedef long __stdcall (*TFNOleUIHook)(HWND Wnd, long Msg, long WParam, long LParam);
  20.  
  21. typedef tagOLEUIINSERTOBJECTA *POleUIInsertObject;
  22.  
  23. typedef tagOLEUIINSERTOBJECTA  TOleUIInsertObject;
  24.  
  25. typedef tagOLEUIPASTEENTRYA *POleUIPasteEntry;
  26.  
  27. typedef tagOLEUIPASTEENTRYA  TOleUIPasteEntry;
  28.  
  29. typedef tagOLEUIPASTESPECIALA *POleUIPasteSpecial;
  30.  
  31. typedef tagOLEUIPASTESPECIALA  TOleUIPasteSpecial;
  32.  
  33. class __declspec(delphiclass) iOleUILinkContainer;
  34. class __declspec(pascalimplementation) iOleUILinkContainer : public Ole2::IUnknown
  35. {
  36.     typedef Ole2::IUnknown inherited;
  37.     
  38. public:
  39.     virtual long __stdcall GetNextLink(long dwLink) = 0;
  40.     virtual long __stdcall SetLinkUpdateOptions(long dwLink, long dwUpdateOpt) = 0;
  41.     virtual long __stdcall GetLinkUpdateOptions(long dwLink, long &dwUpdateOpt) = 0;
  42.     virtual long __stdcall SetLinkSource(long dwLink, char * pszDisplayName, long lenFileName, long &chEaten
  43.         , DWord fValidateSource) = 0;
  44.     virtual long __stdcall GetLinkSource(long dwLink, char * &pszDisplayName, long &lenFileName, char * 
  45.         &pszFullLinkType, char * &pszShortLinkType, DWord &fSourceAvailable, DWord &fIsSelected) = 0;
  46.     virtual long __stdcall OpenLinkSource(long dwLink) = 0;
  47.     virtual long __stdcall UpdateLink(long dwLink, DWord fErrorMessage, DWord fErrorAction) = 0;
  48.     virtual long __stdcall CancelLink(long dwLink) = 0;
  49. public:
  50.     /* TObject.Create */ __fastcall iOleUILinkContainer(void) : Ole2::IUnknown() { }
  51.     /* TObject.Destroy */ __fastcall virtual ~iOleUILinkContainer(void) { }
  52.     
  53. };
  54.  
  55. typedef tagOLEUIEDITLINKSA *POleUIEditLinks;
  56.  
  57. typedef tagOLEUIEDITLINKSA  TOleUIEditLinks;
  58.  
  59. typedef tagOLEUICHANGEICONA *POleUIChangeIcon;
  60.  
  61. typedef tagOLEUICHANGEICONA  TOleUIChangeIcon;
  62.  
  63. typedef tagOLEUICONVERTA *POleUIConvert;
  64.  
  65. typedef tagOLEUICONVERTA  TOleUIConvert;
  66.  
  67. typedef tagOLEUIBUSYA *POleUIBusy;
  68.  
  69. typedef tagOLEUIBUSYA  TOleUIBusy;
  70.  
  71. class __declspec(delphiclass) iOleUIObjInfo;
  72. class __declspec(pascalimplementation) iOleUIObjInfo : public Ole2::IUnknown
  73. {
  74.     typedef Ole2::IUnknown inherited;
  75.     
  76. public:
  77.     virtual long __stdcall GetObjectInfo(long dwObject, long &dwObjSize, char * &lpszLabel, char * &lpszType
  78.         , char * &lpszShortType, char * &lpszLocation) = 0;
  79.     virtual long __stdcall GetConvertInfo(long dwObject, GUID &ClassID, Word &wFormat, GUID &ConvertDefaultClassID
  80.         , Ole2::PGUID &lpClsidExclude, long &cClsidExclude) = 0;
  81.     virtual long __stdcall ConvertObject(long dwObject, const GUID &clsidNew) = 0;
  82.     virtual long __stdcall GetViewInfo(long dwObject, int &hMetaPict, long &dvAspect, int &nCurrentScale
  83.         ) = 0;
  84.     virtual long __stdcall SetViewInfo(long dwObject, int hMetaPict, long dvAspect, int nCurrentScale, 
  85.         DWord bRelativeToOrig) = 0;
  86. public:
  87.     /* TObject.Create */ __fastcall iOleUIObjInfo(void) : Ole2::IUnknown() { }
  88.     /* TObject.Destroy */ __fastcall virtual ~iOleUIObjInfo(void) { }
  89.     
  90. };
  91.  
  92. class __declspec(delphiclass) iOleUILinkInfo;
  93. class __declspec(pascalimplementation) iOleUILinkInfo : public iOleUILinkContainer
  94. {
  95.     typedef iOleUILinkContainer inherited;
  96.     
  97. public:
  98.     virtual long __stdcall GetLastUpdate(long dwLink, FILETIME &LastUpdate) = 0;
  99. public:
  100.     /* TObject.Create */ __fastcall iOleUILinkInfo(void) : Oledlg::iOleUILinkContainer() { }
  101.     /* TObject.Destroy */ __fastcall virtual ~iOleUILinkInfo(void) { }
  102.     
  103. };
  104.  
  105. typedef tagOLEUIGNRLPROPSA *POleUIGnrlProps;
  106.  
  107. typedef tagOLEUIGNRLPROPSA  TOleUIGnrlProps;
  108.  
  109. typedef tagOLEUIVIEWPROPSA *POleUIViewProps;
  110.  
  111. typedef tagOLEUIVIEWPROPSA  TOleUIViewProps;
  112.  
  113. typedef tagOLEUILINKPROPSA *POleUILinkProps;
  114.  
  115. typedef tagOLEUILINKPROPSA  TOleUILinkProps;
  116.  
  117. typedef tagOLEUIOBJECTPROPSA *POleUIObjectProps;
  118.  
  119. typedef tagOLEUIOBJECTPROPSA  TOleUIObjectProps;
  120.  
  121. //-- var, const, procedure ---------------------------------------------------
  122.  
  123. }    /* namespace Oledlg */
  124.  
  125. #pragma warn .par
  126. #pragma warn .hid 
  127. #pragma warn .inl
  128.  
  129. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  130. using namespace Oledlg;
  131. #endif
  132. //-- end unit ----------------------------------------------------------------
  133. #endif    // OleDlg
  134.