Explorar o código

Use symbolic const E_NOINTERFACE instead of raw value $80004002

git-svn-id: trunk@4934 -
chrivers %!s(int64=19) %!d(string=hai) anos
pai
achega
4bb1d117d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/inc/objpas.inc

+ 1 - 1
rtl/inc/objpas.inc

@@ -679,7 +679,7 @@
          if getinterface(iid,obj) then
            result:=0
          else
-           result:=longint($80004002);
+           result:=longint(E_NOINTERFACE);
       end;
 
     function TInterfacedObject._AddRef : longint;stdcall;