diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index 1a47f450754..c9871cc4f60 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -611,9 +611,9 @@ void WINAPI IoAcquireCancelSpinLock(PKIRQL irql) /*********************************************************************** * IoReleaseCancelSpinLock (NTOSKRNL.EXE.@) */ -void WINAPI IoReleaseCancelSpinLock(PKIRQL irql) +void WINAPI IoReleaseCancelSpinLock(KIRQL irql) { - FIXME("(%p): stub\n", irql); + FIXME("(%u): stub\n", irql); } diff --git a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec index c94737df344..901f0eeb4bc 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.exe.spec +++ b/dlls/ntoskrnl.exe/ntoskrnl.exe.spec @@ -434,7 +434,7 @@ @ stub IoRegisterLastChanceShutdownNotification @ stdcall IoRegisterPlugPlayNotification(long long ptr ptr ptr ptr ptr) @ stdcall IoRegisterShutdownNotification(ptr) -@ stdcall IoReleaseCancelSpinLock(ptr) +@ stdcall IoReleaseCancelSpinLock(long) @ stub IoReleaseRemoveLockAndWaitEx @ stub IoReleaseRemoveLockEx @ stub IoReleaseVpbSpinLock diff --git a/include/ddk/wdm.h b/include/ddk/wdm.h index b75ef9d56df..834f208cf98 100644 --- a/include/ddk/wdm.h +++ b/include/ddk/wdm.h @@ -1306,6 +1306,7 @@ PDEVICE_OBJECT WINAPI IoGetRelatedDeviceObject(PFILE_OBJECT); void WINAPI IoInitializeIrp(IRP*,USHORT,CCHAR); VOID WINAPI IoInitializeRemoveLockEx(PIO_REMOVE_LOCK,ULONG,ULONG,ULONG,ULONG); void WINAPI IoInvalidateDeviceRelations(PDEVICE_OBJECT,DEVICE_RELATION_TYPE); +void WINAPI IoReleaseCancelSpinLock(KIRQL); NTSTATUS WINAPI IoWMIRegistrationControl(PDEVICE_OBJECT,ULONG); PKTHREAD WINAPI KeGetCurrentThread(void);