mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 08:16:34 +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);
|
return(STATUS_NO_MEMORY);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize and Queue */
|
/* Initialize and Queue a user mode apc (always!) */
|
||||||
KeInitializeApc(Apc,
|
KeInitializeApc(Apc,
|
||||||
&Thread->Tcb,
|
&Thread->Tcb,
|
||||||
OriginalApcEnvironment,
|
OriginalApcEnvironment,
|
||||||
KiFreeApcRoutine,
|
KiFreeApcRoutine,
|
||||||
NULL,
|
NULL,
|
||||||
ApcRoutine,
|
ApcRoutine,
|
||||||
PreviousMode,
|
UserMode,
|
||||||
NormalContext);
|
NormalContext);
|
||||||
if (!KeInsertQueueApc(Apc, SystemArgument1, SystemArgument2, IO_NO_INCREMENT)) {
|
if (!KeInsertQueueApc(Apc, SystemArgument1, SystemArgument2, IO_NO_INCREMENT)) {
|
||||||
Status = STATUS_UNSUCCESSFUL;
|
Status = STATUS_UNSUCCESSFUL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue