home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / Vcl / olectl.hpp < prev    next >
C/C++ Source or Header  |  2000-02-01  |  3KB  |  126 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1999 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'OleCtl.pas' rev: 5.00
  6.  
  7. #ifndef OleCtlHPP
  8. #define OleCtlHPP
  9.  
  10. #pragma delphiheader begin
  11. #pragma option push -w-
  12. #pragma option push -Vx
  13. #include <OLE2.hpp>    // Pascal unit
  14. #include <Messages.hpp>    // Pascal unit
  15. #include <Windows.hpp>    // Pascal unit
  16. #include <SysInit.hpp>    // Pascal unit
  17. #include <System.hpp>    // Pascal unit
  18.  
  19. //-- user supplied -----------------------------------------------------------
  20.  
  21. #include <ocidl.h>
  22. #include <olectl.h>
  23.  
  24.  
  25. namespace Olectl
  26. {
  27. //-- type declarations -------------------------------------------------------
  28. typedef tagTEXTMETRICW *PTextMetricOle;
  29.  
  30. typedef tagTEXTMETRICW  TTextMetricOle;
  31.  
  32. typedef int TOleColor;
  33.  
  34. #pragma option push -b-
  35. enum OLE_TRISTATE { triUnchecked, triChecked, triGray };
  36. #pragma option pop
  37.  
  38. typedef HRESULT __stdcall (*TDLLRegisterServer)(void);
  39.  
  40. typedef HRESULT __stdcall (*TDLLUnregisterServer)(void);
  41.  
  42. typedef tagPOINTFX *PPointF;
  43.  
  44. typedef tagPOINTFX  TPointF;
  45.  
  46. typedef tagCONTROLINFO *PControlInfo;
  47.  
  48. typedef tagCONTROLINFO  TControlInfo;
  49.  
  50. typedef tagCONNECTDATA *PConnectData;
  51.  
  52. typedef tagCONNECTDATA  TConnectData;
  53.  
  54. typedef tagLICINFO *PLicInfo;
  55.  
  56. typedef tagLICINFO  TLicInfo;
  57.  
  58. typedef GUID TGUIDList[65536];
  59.  
  60. typedef GUID *PGUIDList;
  61.  
  62. struct TCAGUID
  63. {
  64.     int cElems;
  65.     GUID *pElems;
  66. } ;
  67.  
  68. typedef TCAGUID *PCAGUID;
  69.  
  70. struct TCAPOleStr;
  71. typedef TCAPOleStr *PCAPOleStr;
  72.  
  73. struct TCAPOleStr
  74. {
  75.     int cElems;
  76.     wchar_t * *pElems;
  77. } ;
  78.  
  79. typedef int TLongintList[65536];
  80.  
  81. typedef int *PLongintList;
  82.  
  83. struct TCALongint
  84. {
  85.     int cElems;
  86.     int *pElems;
  87. } ;
  88.  
  89. typedef TCALongint *PCALongint;
  90.  
  91. typedef tagOCPFIPARAMS *POCPFIParams;
  92.  
  93. typedef tagOCPFIPARAMS  TOCPFIParams;
  94.  
  95. typedef tagPROPPAGEINFO *PPropPageInfo;
  96.  
  97. typedef tagPROPPAGEINFO  TPropPageInfo;
  98.  
  99. typedef tagFONTDESC *PFontDesc;
  100.  
  101. typedef tagFONTDESC  TFontDesc;
  102.  
  103. typedef tagPICTDESC *PPictDesc;
  104.  
  105. typedef tagPICTDESC  TPictDesc;
  106.  
  107. //-- var, const, procedure ---------------------------------------------------
  108. extern PACKAGE GUID CLSID_CFontPropPage;
  109. extern PACKAGE GUID CLSID_CColorPropPage;
  110. extern PACKAGE GUID CLSID_CPicturePropPage;
  111. extern PACKAGE GUID CLSID_PersistPropset;
  112. extern PACKAGE GUID CLSID_ConvertVBX;
  113. extern PACKAGE GUID CLSID_StdFont;
  114. extern PACKAGE GUID CLSID_StdPicture;
  115.  
  116. }    /* namespace Olectl */
  117. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  118. using namespace Olectl;
  119. #endif
  120. #pragma option pop    // -w-
  121. #pragma option pop    // -Vx
  122.  
  123. #pragma delphiheader end.
  124. //-- end unit ----------------------------------------------------------------
  125. #endif    // OleCtl
  126.