summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--general/toaster/toastDrv/kmdf/toastmon/toastmon.H8
-rw-r--r--general/toaster/toastDrv/kmdf/toastmon/wmi.c4
2 files changed, 7 insertions, 5 deletions
diff --git a/general/toaster/toastDrv/kmdf/toastmon/toastmon.H b/general/toaster/toastDrv/kmdf/toastmon/toastmon.H
index 68b6fdce..c35ab591 100644
--- a/general/toaster/toastDrv/kmdf/toastmon/toastmon.H
+++ b/general/toaster/toastDrv/kmdf/toastmon/toastmon.H
@@ -83,22 +83,22 @@ Toastmon_OpenDevice(
NTSTATUS
ToastMon_PostReadRequests(
- WDFIOTARGET IoTarget
+ _In_ WDFIOTARGET IoTarget
);
NTSTATUS
ToastMon_PostWriteRequests(
- WDFIOTARGET IoTarget
+ _In_ WDFIOTARGET IoTarget
);
NTSTATUS
RegisterForWMINotification(
- PDEVICE_EXTENSION DeviceExt
+ _Inout_ PDEVICE_EXTENSION DeviceExt
);
VOID
UnregisterForWMINotification(
- PDEVICE_EXTENSION DeviceExt
+ _Inout_ PDEVICE_EXTENSION DeviceExt
);
NTSTATUS
diff --git a/general/toaster/toastDrv/kmdf/toastmon/wmi.c b/general/toaster/toastDrv/kmdf/toastmon/wmi.c
index eb0e8e70..28424712 100644
--- a/general/toaster/toastDrv/kmdf/toastmon/wmi.c
+++ b/general/toaster/toastDrv/kmdf/toastmon/wmi.c
@@ -35,6 +35,7 @@ Environment:
#pragma alloc_text(PAGE, WmiNotificationCallback)
#endif
+_Use_decl_annotations_
NTSTATUS
RegisterForWMINotification(
PDEVICE_EXTENSION DeviceExt
@@ -82,7 +83,7 @@ RegisterForWMINotification(
return status;
}
-
+_Use_decl_annotations_
VOID
UnregisterForWMINotification(
PDEVICE_EXTENSION DeviceExt
@@ -146,6 +147,7 @@ Return Value:
return status;
}
+_Use_decl_annotations_
VOID
WmiNotificationCallback(
PVOID Wnode,