[Wine-patches] [eterhack 09/24] ntoskrnl.exe: Add stub for IoUnregisterPlugPlayNotification.
Alexander Morozov
=?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Мар 4 12:25:18 MSK 2009
---
dlls/ntoskrnl.exe/ntoskrnl.c | 10 ++++++++++
dlls/ntoskrnl.exe/ntoskrnl.exe.spec | 2 +-
include/ddk/wdm.h | 1 +
3 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index a95bac0..18fc88d 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -1650,6 +1650,16 @@ NTSTATUS WINAPI IoRegisterPlugPlayNotification( IO_NOTIFICATION_EVENT_CATEGORY
/***********************************************************************
+ * IoUnregisterPlugPlayNotification (NTOSKRNL.EXE.@)
+ */
+NTSTATUS WINAPI IoUnregisterPlugPlayNotification( PVOID NotificationEntry )
+{
+ FIXME( "stub: %p\n", NotificationEntry );
+ return STATUS_SUCCESS;
+}
+
+
+/***********************************************************************
* IoRegisterShutdownNotification (NTOSKRNL.EXE.@)
*/
NTSTATUS WINAPI IoRegisterShutdownNotification( PDEVICE_OBJECT obj )
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
index 402e2ad..339f3c0 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec
@@ -469,7 +469,7 @@
@ stub IoThreadToProcess
@ stub IoUnregisterFileSystem
@ stub IoUnregisterFsRegistrationChange
-@ stub IoUnregisterPlugPlayNotification
+@ stdcall IoUnregisterPlugPlayNotification(ptr)
@ stub IoUnregisterShutdownNotification
@ stub IoUpdateShareAccess
@ stub IoValidateDeviceIoControlAccess
diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h
index f6c192d..62db346 100644
--- a/include/ddk/wdm.h
+++ b/include/ddk/wdm.h
@@ -1145,6 +1145,7 @@ PDEVICE_OBJECT WINAPI IoGetRelatedDeviceObject(PFILE_OBJECT);
void WINAPI IoInitializeIrp(IRP*,USHORT,CCHAR);
void WINAPI IoInvalidateDeviceRelations(PDEVICE_OBJECT,DEVICE_RELATION_TYPE);
NTSTATUS WINAPI IoRegisterPlugPlayNotification(IO_NOTIFICATION_EVENT_CATEGORY,ULONG,PVOID,PDRIVER_OBJECT,PDRIVER_NOTIFICATION_CALLBACK_ROUTINE,PVOID,PVOID*);
+NTSTATUS WINAPI IoUnregisterPlugPlayNotification(PVOID);
void WINAPI IoWriteErrorLogEntry(PVOID);
NTSTATUS WINAPI KeDelayExecutionThread(KPROCESSOR_MODE,BOOLEAN,PLARGE_INTEGER);
--
1.6.1.3.GIT
Подробная информация о списке рассылки Wine-patches