ole2.pp 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. This file is part of the Free Pascal run time library.
  3. Copyright (c) 1999-2000 by the Free Pascal development team.
  4. Implemtents some stuff of OLE2, tries to be Delphi compatible
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. unit ole2;
  12. {$Mode ObjFpc}
  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.