Author: greatlrd Date: Thu Apr 17 16:08:39 2008 New Revision: 33009
URL: http://svn.reactos.org/svn/reactos?rev=33009&view=rev Log: Fix frist issue with ms dxg.sys check if hdc is null or not.
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntd... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/ntddraw/ddraw.c [iso-8859-1] Thu Apr 17 16:08:39 2008 @@ -130,6 +130,12 @@ NTSTATUS Status; PEPROCESS Proc = NULL; INT i=0; + + if (hdc == NULL) + { + DPRINT1("Warning : hdc is NULL\n"); + return 0; + }
/* FIXME get the process data */ /* FIXME this code should be add where the driver being load */