https://git.reactos.org/?p=reactos.git;a=commitdiff;h=999345a4feaae1e74533c…
commit 999345a4feaae1e74533c96fa2cdfa1bce50ec5f
Author: Dmitry Borisov <di.sean(a)protonmail.com>
AuthorDate: Wed May 12 20:15:42 2021 +0600
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Wed May 19 20:14:29 2021 +0200
[XDK] Update the prototype of IO_COMPLETION_ROUTINE
---
sdk/include/xdk/iotypes.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sdk/include/xdk/iotypes.h b/sdk/include/xdk/iotypes.h
index a8a2d8d601e..4a00f1137cf 100644
--- a/sdk/include/xdk/iotypes.h
+++ b/sdk/include/xdk/iotypes.h
@@ -2826,11 +2826,12 @@ typedef enum _IO_PAGING_PRIORITY {
_Function_class_(IO_COMPLETION_ROUTINE)
_IRQL_requires_same_
+_IRQL_requires_max_(DISPATCH_LEVEL)
typedef NTSTATUS
(NTAPI IO_COMPLETION_ROUTINE)(
_In_ struct _DEVICE_OBJECT *DeviceObject,
_In_ struct _IRP *Irp,
- _In_opt_ PVOID Context);
+ _In_reads_opt_(_Inexpressible_("varies")) PVOID Context);
typedef IO_COMPLETION_ROUTINE *PIO_COMPLETION_ROUTINE;
_Function_class_(IO_DPC_ROUTINE)