mirror of
https://github.com/nefarius/WDF-Utils.git
synced 2024-11-24 07:54:53 +01:00
Fixed SAL annotations
This commit is contained in:
parent
bf2043d018
commit
35ca954827
@ -75,7 +75,7 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
|
|||||||
NTSTATUS
|
NTSTATUS
|
||||||
FindDriverBaseAddress(
|
FindDriverBaseAddress(
|
||||||
_In_ STRING ModuleName,
|
_In_ STRING ModuleName,
|
||||||
_Inout_ PVOID* ModuleBase
|
_Inout_opt_ PVOID* ModuleBase
|
||||||
);
|
);
|
||||||
|
|
||||||
_Success_(return == STATUS_SUCCESS)
|
_Success_(return == STATUS_SUCCESS)
|
||||||
@ -85,7 +85,7 @@ NTSTATUS
|
|||||||
FindExportedFunctionAddress(
|
FindExportedFunctionAddress(
|
||||||
_In_ PVOID ModuleBase,
|
_In_ PVOID ModuleBase,
|
||||||
_In_ STRING FunctionName,
|
_In_ STRING FunctionName,
|
||||||
_Inout_ PVOID* FunctionAddress
|
_Inout_opt_ PVOID* FunctionAddress
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
|
|||||||
NTSTATUS
|
NTSTATUS
|
||||||
FindDriverBaseAddress(
|
FindDriverBaseAddress(
|
||||||
_In_ STRING ModuleName,
|
_In_ STRING ModuleName,
|
||||||
_Inout_ PVOID* ModuleBase
|
_Inout_opt_ PVOID* ModuleBase
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
ULONG bufferSize = 0;
|
ULONG bufferSize = 0;
|
||||||
@ -186,7 +186,7 @@ NTSTATUS
|
|||||||
FindExportedFunctionAddress(
|
FindExportedFunctionAddress(
|
||||||
_In_ PVOID ModuleBase,
|
_In_ PVOID ModuleBase,
|
||||||
_In_ STRING FunctionName,
|
_In_ STRING FunctionName,
|
||||||
_Inout_ PVOID* FunctionAddress
|
_Inout_opt_ PVOID* FunctionAddress
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
NTSTATUS status = STATUS_NOT_FOUND;
|
NTSTATUS status = STATUS_NOT_FOUND;
|
||||||
|
Loading…
Reference in New Issue
Block a user