mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-02 20:15:52 +02:00
50 lines
1.3 KiB
ObjectPascal
50 lines
1.3 KiB
ObjectPascal
{
|
|
$Id$
|
|
This file is part of the Free Pascal run time library.
|
|
Copyright (c) 1999 by the Free Pascal development team.
|
|
|
|
Implemtents some stuff of OLE2, tries to be Delphi compatible
|
|
|
|
See the file COPYING.FPC, included in this distribution,
|
|
for details about the copyright.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
**********************************************************************}
|
|
unit ole2;
|
|
|
|
{$Mode ObjFpc}
|
|
|
|
interface
|
|
|
|
uses
|
|
windows;
|
|
|
|
type
|
|
IUnknown = class
|
|
public
|
|
function QueryInterface(const iid: TIID; var obj): HResult; virtual; {$ifndef VER0_99_10}stdcall;{$endif} abstract;
|
|
function AddRef: Longint; virtual; {$ifndef VER0_99_10}stdcall;{$endif} abstract;
|
|
function Release: Longint; virtual; {$ifndef VER0_99_10}stdcall;{$endif} abstract;
|
|
end;
|
|
|
|
implementation
|
|
|
|
end.
|
|
{
|
|
$Log$
|
|
Revision 1.3 1999-05-13 21:54:29 peter
|
|
* objpas fixes
|
|
|
|
Revision 1.2 1999/03/30 17:00:25 peter
|
|
* fixes for 0.99.10
|
|
|
|
Revision 1.1 1999/03/22 22:12:51 florian
|
|
+ addition and changes to compile the direct draw unit
|
|
of Erik Ungerer (with -dv2com and indirect disabled)
|
|
|
|
}
|
|
|