ole2.pp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. interface
  14. uses
  15. windows;
  16. type
  17. IUnknown = class
  18. public
  19. function QueryInterface(const iid: TIID; var obj): HResult; virtual; {$ifndef VER0_99_10}stdcall;{$endif} abstract;
  20. function AddRef: Longint; virtual; {$ifndef VER0_99_10}stdcall;{$endif} abstract;
  21. function Release: Longint; virtual; {$ifndef VER0_99_10}stdcall;{$endif} abstract;
  22. end;
  23. implementation
  24. end.
  25. {
  26. $Log$
  27. Revision 1.2 1999-03-30 17:00:25 peter
  28. * fixes for 0.99.10
  29. Revision 1.1 1999/03/22 22:12:51 florian
  30. + addition and changes to compile the direct draw unit
  31. of Erik Ungerer (with -dv2com and indirect disabled)
  32. }