mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
NtQueueApcThread always inserts a umode apc
svn path=/trunk/; revision=13580
This commit is contained in:
parent
f4c9f96205
commit
b24437e1ae
1 changed files with 2 additions and 2 deletions
|
@ -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