ole2.pp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 1999-2000 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 2002-09-07 16:01:29 peter
  29. * old logs removed and tabs fixed
  30. }