[Wine-patches] [3/6] [eter-2.0.0] ntoskrnl.exe: Add IoReportResourceForDetection stub. (eterbug #8744)
Dmitry Timoshkov
dtimoshkov на etersoft.ru
Пн Окт 15 06:56:49 MSK 2012
---
dlls/ntoskrnl.exe/ntoskrnl.c | 13 +++++++++++++
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 707beeb..8d4a6d1 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -2163,6 +2163,19 @@ NTSTATUS WINAPI IoReportResourceUsage(PUNICODE_STRING name, PDRIVER_OBJECT drv_o
/***********************************************************************
+ * IoReportResourceForDetection (NTOSKRNL.EXE.@)
+ */
+NTSTATUS WINAPI IoReportResourceForDetection(PDRIVER_OBJECT drv_obj,
+ PCM_RESOURCE_LIST drv_list, ULONG drv_size, PDEVICE_OBJECT dev_obj,
+ PCM_RESOURCE_LIST dev_list, ULONG dev_size, PBOOLEAN detected)
+{
+ FIXME("(%p %p %u %p %p %u %p) stub\n", drv_obj, drv_list, drv_size,
+ dev_obj, dev_list, dev_size, detected);
+ return STATUS_NOT_IMPLEMENTED;
+}
+
+
+/***********************************************************************
* IoCompleteRequest (NTOSKRNL.EXE.@)
*/
VOID WINAPI IoCompleteRequest( IRP *irp, UCHAR priority_boost )
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index 504b77d..2fec1c1 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -439,7 +439,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
--
1.7.12.3
Подробная информация о списке рассылки Wine-patches