home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / Vcl / ole2.hpp < prev    next >
C/C++ Source or Header  |  2000-02-01  |  6KB  |  305 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) 'OLE2.pas' rev: 5.00
  6.  
  7. #ifndef OLE2HPP
  8. #define OLE2HPP
  9.  
  10. #pragma delphiheader begin
  11. #pragma option push -w-
  12. #pragma option push -Vx
  13. #include <Windows.hpp>    // Pascal unit
  14. #include <SysInit.hpp>    // Pascal unit
  15. #include <System.hpp>    // Pascal unit
  16.  
  17. //-- user supplied -----------------------------------------------------------
  18. #include <ole2.h>
  19.  
  20. namespace Ole2
  21. {
  22. //-- type declarations -------------------------------------------------------
  23. typedef HRESULT TResultList[65536];
  24.  
  25. typedef HRESULT *PResultList;
  26.  
  27. typedef wchar_t TOleChar;
  28.  
  29. typedef wchar_t *POleStr;
  30.  
  31. typedef wchar_t *TOleStrList[65536];
  32.  
  33. typedef wchar_t * *POleStrList;
  34.  
  35. typedef System::Comp Largeint;
  36.  
  37. struct TGUID;
  38. typedef GUID *PGUID;
  39.  
  40. struct TGUID
  41. {
  42.     unsigned D1;
  43.     Word D2;
  44.     Word D3;
  45.     Byte D4[8];
  46. } ;
  47.  
  48. typedef GUID *PIID;
  49.  
  50. typedef GUID  TIID;
  51.  
  52. typedef GUID *PCLSID;
  53.  
  54. typedef GUID  TCLSID;
  55.  
  56. typedef _OBJECTID *PObjectID;
  57.  
  58. typedef _OBJECTID  TObjectID;
  59.  
  60. typedef unsigned TLCID;
  61.  
  62. typedef tagBIND_OPTS *PBindOpts;
  63.  
  64. typedef tagBIND_OPTS  TBindOpts;
  65.  
  66. typedef tagSTATSTG *PStatStg;
  67.  
  68. typedef tagSTATSTG  TStatStg;
  69.  
  70. typedef wchar_t * *TSNB;
  71.  
  72. typedef tagDVTARGETDEVICE *PDVTargetDevice;
  73.  
  74. #pragma pack(push, 1)
  75. struct OLE2__42
  76. {
  77.     
  78. } ;
  79. #pragma pack(pop)
  80.  
  81. typedef tagDVTARGETDEVICE  TDVTargetDevice;
  82.  
  83. typedef Word *PClipFormat;
  84.  
  85. typedef Word TClipFormat;
  86.  
  87. typedef tagFORMATETC *PFormatEtc;
  88.  
  89. typedef tagFORMATETC  TFormatEtc;
  90.  
  91. typedef tagSTATDATA *PStatData;
  92.  
  93. typedef tagSTATDATA  TStatData;
  94.  
  95. typedef tagRemSTGMEDIUM *PRemStgMedium;
  96.  
  97. #pragma pack(push, 1)
  98. struct OLE2__82
  99. {
  100.     
  101. } ;
  102. #pragma pack(pop)
  103.  
  104. typedef tagRemSTGMEDIUM  TRemStgMedium;
  105.  
  106. typedef tagSTGMEDIUM *PStgMedium;
  107.  
  108. typedef tagSTGMEDIUM  TStgMedium;
  109.  
  110. typedef tagINTERFACEINFO *PInterfaceInfo;
  111.  
  112. typedef tagINTERFACEINFO  TInterfaceInfo;
  113.  
  114. typedef int TRpcOleDataRep;
  115.  
  116. typedef tagRPCOLEMESSAGE *PRpcOleMessage;
  117.  
  118. typedef tagRPCOLEMESSAGE  TRpcOleMessage;
  119.  
  120. typedef wchar_t * *PBStr;
  121.  
  122. typedef wchar_t *TBStr;
  123.  
  124. typedef wchar_t *TBStrList[65536];
  125.  
  126. typedef wchar_t * *PBStrList;
  127.  
  128. typedef tagBLOB *PBlob;
  129.  
  130. typedef tagCLIPDATA *PClipData;
  131.  
  132. typedef tagCLIPDATA  TClipData;
  133.  
  134. typedef tagSAFEARRAYBOUND *PSafeArrayBound;
  135.  
  136. typedef tagSAFEARRAYBOUND  TSafeArrayBound;
  137.  
  138. typedef tagSAFEARRAY *PSafeArray;
  139.  
  140. typedef tagSAFEARRAY  TSafeArray;
  141.  
  142. typedef double TOleDate;
  143.  
  144. typedef System::Comp TCurrency;
  145.  
  146. typedef Word TOleBool;
  147.  
  148. typedef Word TVarType;
  149.  
  150. typedef tagVARIANT *PVariantArg;
  151.  
  152. typedef tagVARIANT  TVariantArg;
  153.  
  154. typedef tagVARIANT TVariantArgList[65536];
  155.  
  156. typedef tagVARIANT *PVariantArgList;
  157.  
  158. typedef int TDispID;
  159.  
  160. typedef int TDispIDList[65536];
  161.  
  162. typedef int *PDispIDList;
  163.  
  164. typedef int TMemberID;
  165.  
  166. typedef int TMemberIDList[65536];
  167.  
  168. typedef int *PMemberIDList;
  169.  
  170. typedef int TPropID;
  171.  
  172. typedef int HRefType;
  173.  
  174. typedef int TTypeKind;
  175.  
  176. typedef tagARRAYDESC *PArrayDesc;
  177.  
  178. typedef tagTYPEDESC *PTypeDesc;
  179.  
  180. typedef tagTYPEDESC  TTypeDesc;
  181.  
  182. typedef tagARRAYDESC  TArrayDesc;
  183.  
  184. typedef tagIDLDESC *PIDLDesc;
  185.  
  186. typedef tagIDLDESC  TIDLDesc;
  187.  
  188. typedef tagELEMDESC *PElemDesc;
  189.  
  190. typedef tagELEMDESC  TElemDesc;
  191.  
  192. typedef tagELEMDESC TElemDescList[65536];
  193.  
  194. typedef tagELEMDESC *PElemDescList;
  195.  
  196. typedef tagTYPEATTR *PTypeAttr;
  197.  
  198. typedef tagTYPEATTR  TTypeAttr;
  199.  
  200. typedef tagDISPPARAMS *PDispParams;
  201.  
  202. typedef tagDISPPARAMS  TDispParams;
  203.  
  204. typedef tagEXCEPINFO *PExcepInfo;
  205.  
  206. typedef HRESULT __stdcall (*TFNDeferredFillIn)(PExcepInfo ExInfo);
  207.  
  208. typedef tagEXCEPINFO  TExcepInfo;
  209.  
  210. typedef int TFuncKind;
  211.  
  212. typedef int TInvokeKind;
  213.  
  214. typedef int TCallConv;
  215.  
  216. typedef tagFUNCDESC *PFuncDesc;
  217.  
  218. typedef tagFUNCDESC  TFuncDesc;
  219.  
  220. typedef int TVarKind;
  221.  
  222. typedef tagVARDESC *PVarDesc;
  223.  
  224. typedef tagVARDESC  TVarDesc;
  225.  
  226. typedef int TDescKind;
  227.  
  228. typedef tagBINDPTR *PBindPtr;
  229.  
  230. typedef tagBINDPTR  TBindPtr;
  231.  
  232. typedef int TSysKind;
  233.  
  234. typedef tagTLIBATTR *PTLibAttr;
  235.  
  236. typedef tagTLIBATTR  TTLibAttr;
  237.  
  238. typedef ITypeInfo* TTypeInfoList[65536];
  239.  
  240. typedef ITypeInfo* *PTypeInfoList;
  241.  
  242. typedef tagPARAMDATA *PParamData;
  243.  
  244. typedef tagPARAMDATA  TParamData;
  245.  
  246. typedef tagPARAMDATA TParamDataList[65536];
  247.  
  248. typedef tagPARAMDATA *PParamDataList;
  249.  
  250. typedef tagMETHODDATA *PMethodData;
  251.  
  252. typedef tagMETHODDATA  TMethodData;
  253.  
  254. typedef tagMETHODDATA TMethodDataList[65536];
  255.  
  256. typedef tagMETHODDATA *PMethodDataList;
  257.  
  258. typedef tagINTERFACEDATA *PInterfaceData;
  259.  
  260. typedef tagINTERFACEDATA  TInterfaceData;
  261.  
  262. typedef tagOBJECTDESCRIPTOR *PObjectDescriptor;
  263.  
  264. typedef tagOBJECTDESCRIPTOR  TObjectDescriptor;
  265.  
  266. typedef tagOBJECTDESCRIPTOR *PLinkSrcDescriptor;
  267.  
  268. typedef tagOBJECTDESCRIPTOR  TLinkSrcDescriptor;
  269.  
  270. typedef tagOIFI *POleInPlaceFrameInfo;
  271.  
  272. typedef tagOIFI  TOleInPlaceFrameInfo;
  273.  
  274. typedef tagOleMenuGroupWidths *POleMenuGroupWidths;
  275.  
  276. typedef tagOleMenuGroupWidths  TOleMenuGroupWidths;
  277.  
  278. typedef BOOL __stdcall (*TContinueFunc)(int dwContinue);
  279.  
  280. typedef tagOLEVERB *POleVerb;
  281.  
  282. typedef tagOLEVERB  TOleVerb;
  283.  
  284. typedef HRESULT __stdcall (*TDLLGetClassObject)(const GUID &clsid, const GUID &iid, void *pv);
  285.  
  286. typedef HRESULT __stdcall (*TDLLCanUnloadNow)(void);
  287.  
  288. //-- var, const, procedure ---------------------------------------------------
  289. extern PACKAGE bool __fastcall Succeeded(HRESULT Res);
  290. extern PACKAGE bool __fastcall Failed(HRESULT Res);
  291. extern PACKAGE int __fastcall ResultCode(HRESULT Res);
  292. extern PACKAGE int __fastcall ResultFacility(HRESULT Res);
  293. extern PACKAGE int __fastcall ResultSeverity(HRESULT Res);
  294.  
  295. }    /* namespace Ole2 */
  296. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  297. using namespace Ole2;
  298. #endif
  299. #pragma option pop    // -w-
  300. #pragma option pop    // -Vx
  301.  
  302. #pragma delphiheader end.
  303. //-- end unit ----------------------------------------------------------------
  304. #endif    // OLE2
  305.