[NTOS:OB] ObQueryDeviceMapInformation(): Fix annotations

This commit is contained in:
Serge Gautherie 2020-11-12 01:22:46 +01:00 committed by George Bișoc
parent f1689cdcea
commit 5d89643311
2 changed files with 7 additions and 6 deletions

View file

@ -299,9 +299,9 @@ ObpSetHandleAttributes(
NTSTATUS NTSTATUS
NTAPI NTAPI
ObQueryDeviceMapInformation( ObQueryDeviceMapInformation(
IN PEPROCESS Process, _In_opt_ PEPROCESS Process,
OUT PPROCESS_DEVICEMAP_INFORMATION DeviceMapInfo, _Out_ PPROCESS_DEVICEMAP_INFORMATION DeviceMapInfo,
IN ULONG Flags _In_ ULONG Flags
); );
// //

View file

@ -536,9 +536,10 @@ ObInheritDeviceMap(IN PEPROCESS Parent,
NTSTATUS NTSTATUS
NTAPI NTAPI
ObQueryDeviceMapInformation(IN PEPROCESS Process, ObQueryDeviceMapInformation(
IN PPROCESS_DEVICEMAP_INFORMATION DeviceMapInfo, _In_opt_ PEPROCESS Process,
IN ULONG Flags) _Out_ PPROCESS_DEVICEMAP_INFORMATION DeviceMapInfo,
_In_ ULONG Flags)
{ {
PDEVICE_MAP DeviceMap = NULL, GlobalDeviceMap; PDEVICE_MAP DeviceMap = NULL, GlobalDeviceMap;
BOOLEAN Dereference; BOOLEAN Dereference;