From: Austin English Subject: [PATCH] ntoskrnl.exe: add IoReportResourceForDetection stub Message-Id: Date: Tue, 21 Mar 2017 13:32:38 -0500 CC: Sebastian Lackner For https://bugs.winehq.org/show_bug.cgi?id=42651 -- -Austin GPG: 14FB D7EA A041 937B From 2fe6db33ff95104436fc43a694185c22c9969450 Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 21 Mar 2017 13:31:19 -0500 Subject: [PATCH] ntoskrnl.exe: add IoReportResourceForDetection stub Signed-off-by: Austin English --- dlls/ntoskrnl.exe/ntoskrnl.c | 12 ++++++++++++ dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index f022f4c..d7c91a8 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -3227,3 +3227,15 @@ void WINAPI KeReleaseInStackQueuedSpinLock( KLOCK_QUEUE_HANDLE *handle ) { FIXME( "stub: %p\n", handle); } + +/*********************************************************************** + * IoReportResourceForDetection (NTOSKRNL.EXE.@) + */ +NTSTATUS WINAPI IoReportResourceForDetection(PDRIVER_OBJECT driverobject, PCM_RESOURCE_LIST driverlist, + ULONG driverlistsize, PDEVICE_OBJECT deviceobject, PCM_RESOURCE_LIST devicelist, + ULONG devicelistsize, PBOOLEAN conflict) +{ + FIXME( "stub: %p %p %u %p %p %u %p\n", driverobject, driverlist, driverlistsize, deviceobject, devicelist, + devicelistsize, conflict ); + return STATUS_UNSUCCESSFUL; +} diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec index 7cd5146..25649c9 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec @@ -441,7 +441,7 @@ @ stub IoRemoveShareAccess @ stub IoReportDetectedDevice @ stub IoReportHalResourceUsage -@ stub IoReportResourceForDetection +@ stdcall IoReportResourceForDetection(ptr ptr long ptr ptr long ptr) @ stdcall IoReportResourceUsage(ptr ptr ptr long ptr ptr long long ptr) @ stub IoReportTargetDeviceChange @ stub IoReportTargetDeviceChangeAsynchronous -- 2.10.2