[GDI32/WIN32K]
[reactos.git] / reactos / win32ss / gdi / ntgdi / dcobjs.c
index 656c6dc..6b9c265 100644 (file)
@@ -461,7 +461,6 @@ NtGdiGetDCObject(HDC hDC, INT ObjectType)
 
     if(!(pdc = DC_LockDc(hDC)))
     {
-        EngSetLastError(ERROR_INVALID_HANDLE);
         return NULL;
     }
     pdcattr = pdc->pdcattr;