ole2.pp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1999 by the Free Pascal development team.
  5. Implemtents some stuff of OLE2, tries to be Delphi compatible
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. unit ole2;
  13. {$Mode ObjFpc}
  14. interface
  15. uses
  16. windows;
  17. type
  18. IUnknown = class
  19. public
  20. function QueryInterface(const iid: TIID; var obj): HResult; virtual; {$ifndef VER0_99_10}stdcall;{$endif} abstract;
  21. function AddRef: Longint; virtual; {$ifndef VER0_99_10}stdcall;{$endif} abstract;
  22. function Release: Longint; virtual; {$ifndef VER0_99_10}stdcall;{$endif} abstract;
  23. end;
  24. implementation
  25. end.
  26. {
  27. $Log$
  28. Revision 1.3 1999-05-13 21:54:29 peter
  29. * objpas fixes
  30. Revision 1.2 1999/03/30 17:00:25 peter
  31. * fixes for 0.99.10
  32. Revision 1.1 1999/03/22 22:12:51 florian
  33. + addition and changes to compile the direct draw unit
  34. of Erik Ungerer (with -dv2com and indirect disabled)
  35. }