1
0
mirror of https://github.com/nefarius/WDF-Utils.git synced 2024-09-07 22:42:32 +02:00

Fixed SAL annotations

This commit is contained in:
Benjamin Höglinger-Stelzer 2023-06-18 11:25:03 +02:00
parent bf2043d018
commit 35ca954827

View File

@ -75,7 +75,7 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
NTSTATUS
FindDriverBaseAddress(
_In_ STRING ModuleName,
_Inout_ PVOID* ModuleBase
_Inout_opt_ PVOID* ModuleBase
);
_Success_(return == STATUS_SUCCESS)
@ -85,7 +85,7 @@ NTSTATUS
FindExportedFunctionAddress(
_In_ PVOID ModuleBase,
_In_ STRING FunctionName,
_Inout_ PVOID* FunctionAddress
_Inout_opt_ PVOID* FunctionAddress
);
```
@ -105,7 +105,7 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
NTSTATUS
FindDriverBaseAddress(
_In_ STRING ModuleName,
_Inout_ PVOID* ModuleBase
_Inout_opt_ PVOID* ModuleBase
)
{
ULONG bufferSize = 0;
@ -186,7 +186,7 @@ NTSTATUS
FindExportedFunctionAddress(
_In_ PVOID ModuleBase,
_In_ STRING FunctionName,
_Inout_ PVOID* FunctionAddress
_Inout_opt_ PVOID* FunctionAddress
)
{
NTSTATUS status = STATUS_NOT_FOUND;