mirror of
https://github.com/reactos/reactos.git
synced 2024-09-08 11:50:08 +00:00
NtQueueApcThread always inserts a umode apc
svn path=/trunk/; revision=13580
This commit is contained in:
parent
f4c9f96205
commit
b24437e1ae
|
@ -548,14 +548,14 @@ NtQueueApcThread(HANDLE ThreadHandle,
|
|||
return(STATUS_NO_MEMORY);
|
||||
}
|
||||
|
||||
/* Initialize and Queue */
|
||||
/* Initialize and Queue a user mode apc (always!) */
|
||||
KeInitializeApc(Apc,
|
||||
&Thread->Tcb,
|
||||
OriginalApcEnvironment,
|
||||
KiFreeApcRoutine,
|
||||
NULL,
|
||||
ApcRoutine,
|
||||
PreviousMode,
|
||||
UserMode,
|
||||
NormalContext);
|
||||
if (!KeInsertQueueApc(Apc, SystemArgument1, SystemArgument2, IO_NO_INCREMENT)) {
|
||||
Status = STATUS_UNSUCCESSFUL;
|
||||
|
|
Loading…
Reference in a new issue