mirror of
https://github.com/reactos/reactos.git
synced 2025-05-22 02:25:18 +00:00
Fix frist issue with ms dxg.sys
check if hdc is null or not. svn path=/trunk/; revision=33009
This commit is contained in:
parent
359d4d352b
commit
6b9e9dfb11
1 changed files with 6 additions and 0 deletions
|
@ -130,6 +130,12 @@ NtGdiDdCreateDirectDrawObject(HDC hdc)
|
|||
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 */
|
||||
|
|
Loading…
Reference in a new issue