mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTOSKRNL_VISTA] IoQueueWorkItemEx: Pass new context for the queue (#6276)
Passing parameter-provided context results in missing WorkerRoutine and WorkItem when callback is executed.
This commit is contained in:
parent
2f2167abb0
commit
8d1beca119
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ IoQueueWorkItemEx(
|
|||
newContext->WorkItemRoutineEx = WorkerRoutine;
|
||||
newContext->Context = Context;
|
||||
|
||||
IoQueueWorkItem(IoWorkItem, IopWorkItemExCallback, QueueType, Context);
|
||||
IoQueueWorkItem(IoWorkItem, IopWorkItemExCallback, QueueType, newContext);
|
||||
}
|
||||
|
||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||
|
|
Loading…
Reference in a new issue