mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:25:52 +00:00
parent
46af179093
commit
39980608f8
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ PsConvertToGuiThread(VOID)
|
||||||
/* Validate the previous mode */
|
/* Validate the previous mode */
|
||||||
if (KeGetPreviousMode() == KernelMode) return STATUS_INVALID_PARAMETER;
|
if (KeGetPreviousMode() == KernelMode) return STATUS_INVALID_PARAMETER;
|
||||||
|
|
||||||
|
/* If no win32k, crashes later */
|
||||||
|
ASSERT(PspW32ProcessCallout != NULL);
|
||||||
|
|
||||||
/* Make sure win32k is here */
|
/* Make sure win32k is here */
|
||||||
if (!PspW32ProcessCallout) return STATUS_ACCESS_DENIED;
|
if (!PspW32ProcessCallout) return STATUS_ACCESS_DENIED;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue