mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 07:09:23 +02:00
Use symbolic const E_NOINTERFACE instead of raw value $80004002
git-svn-id: trunk@4934 -
This commit is contained in:
parent
12c76ca1ce
commit
4bb1d117d6
@ -679,7 +679,7 @@
|
|||||||
if getinterface(iid,obj) then
|
if getinterface(iid,obj) then
|
||||||
result:=0
|
result:=0
|
||||||
else
|
else
|
||||||
result:=longint($80004002);
|
result:=longint(E_NOINTERFACE);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TInterfacedObject._AddRef : longint;stdcall;
|
function TInterfacedObject._AddRef : longint;stdcall;
|
||||||
|
Loading…
Reference in New Issue
Block a user