mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[NTOS:PNPMGR] Mark IopReportTargetDeviceChangeAsyncWorker as stdcall and remove the PWORKER_THREAD_ROUTINE cast. CORE-11799
svn path=/trunk/; revision=72128
This commit is contained in:
parent
88b195195f
commit
b7565d1023
1 changed files with 2 additions and 1 deletions
|
@ -108,6 +108,7 @@ IopGetInterfaceTypeString(INTERFACE_TYPE IfType)
|
|||
}
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
IopReportTargetDeviceChangeAsyncWorker(PVOID Context)
|
||||
{
|
||||
PINTERNAL_WORK_QUEUE_ITEM Item;
|
||||
|
@ -509,7 +510,7 @@ IoReportTargetDeviceChangeAsynchronous(IN PDEVICE_OBJECT PhysicalDeviceObject,
|
|||
Item->PhysicalDeviceObject = PhysicalDeviceObject;
|
||||
Item->Callback = Callback;
|
||||
Item->Context = Context;
|
||||
ExInitializeWorkItem(&(Item->WorkItem), (PWORKER_THREAD_ROUTINE)IopReportTargetDeviceChangeAsyncWorker, Item);
|
||||
ExInitializeWorkItem(&(Item->WorkItem), IopReportTargetDeviceChangeAsyncWorker, Item);
|
||||
|
||||
/* Finally, queue the item, our work here is done */
|
||||
ExQueueWorkItem(&(Item->WorkItem), DelayedWorkQueue);
|
||||
|
|
Loading…
Reference in a new issue