ntoskrnl.exe: Add stub for IoRegisterShutdownNotification().

This commit is contained in:
Jim Cameron 2008-08-28 23:36:35 +01:00 committed by Alexandre Julliard
parent 9a4d1d15cf
commit 4f39948f7b
3 changed files with 12 additions and 1 deletions

View File

@ -479,6 +479,16 @@ void WINAPI IoRegisterDriverReinitialization( PDRIVER_OBJECT obj, PDRIVER_REINIT
} }
/***********************************************************************
* IoRegisterShutdownNotification (NTOSKRNL.EXE.@)
*/
NTSTATUS WINAPI IoRegisterShutdownNotification( PDEVICE_OBJECT obj )
{
FIXME( "stub: %p\n", obj );
return STATUS_SUCCESS;
}
/*********************************************************************** /***********************************************************************
* IofCompleteRequest (NTOSKRNL.EXE.@) * IofCompleteRequest (NTOSKRNL.EXE.@)
*/ */

View File

@ -431,7 +431,7 @@
@ stub IoRegisterFsRegistrationChange @ stub IoRegisterFsRegistrationChange
@ stub IoRegisterLastChanceShutdownNotification @ stub IoRegisterLastChanceShutdownNotification
@ stub IoRegisterPlugPlayNotification @ stub IoRegisterPlugPlayNotification
@ stub IoRegisterShutdownNotification @ stdcall IoRegisterShutdownNotification(ptr)
@ stub IoReleaseCancelSpinLock @ stub IoReleaseCancelSpinLock
@ stub IoReleaseRemoveLockAndWaitEx @ stub IoReleaseRemoveLockAndWaitEx
@ stub IoReleaseRemoveLockEx @ stub IoReleaseRemoveLockEx

View File

@ -49,5 +49,6 @@ typedef enum _BUS_DATA_TYPE
typedef VOID (WINAPI *PDRIVER_REINITIALIZE)(PDRIVER_OBJECT,PVOID,ULONG); typedef VOID (WINAPI *PDRIVER_REINITIALIZE)(PDRIVER_OBJECT,PVOID,ULONG);
void WINAPI IoRegisterDriverReinitialization(PDRIVER_OBJECT,PDRIVER_REINITIALIZE,PVOID); void WINAPI IoRegisterDriverReinitialization(PDRIVER_OBJECT,PDRIVER_REINITIALIZE,PVOID);
NTSTATUS WINAPI IoRegisterShutdownNotification(PDEVICE_OBJECT);
#endif #endif