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:
parent
bf2043d018
commit
35ca954827
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user