Browse Source

Use symbolic const E_NOINTERFACE instead of raw value $80004002

git-svn-id: trunk@4934 -
chrivers 19 years ago
parent
commit
4bb1d117d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/inc/objpas.inc

+ 1 - 1
rtl/inc/objpas.inc

@@ -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;