mirror of
https://github.com/nefarius/WDF-Utils.git
synced 2024-11-23 23:44:54 +01:00
Typo fix
This commit is contained in:
parent
667502c7df
commit
3ba72ddeed
@ -82,7 +82,7 @@ _Success_(return == STATUS_SUCCESS)
|
|||||||
_Must_inspect_result_
|
_Must_inspect_result_
|
||||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
FundExportedFunctionAddress(
|
FindExportedFunctionAddress(
|
||||||
_In_ PVOID ModuleBase,
|
_In_ PVOID ModuleBase,
|
||||||
_In_ STRING FunctionName,
|
_In_ STRING FunctionName,
|
||||||
_Inout_ PVOID* FunctionAddress
|
_Inout_ PVOID* FunctionAddress
|
||||||
@ -183,7 +183,7 @@ _Success_(return == STATUS_SUCCESS)
|
|||||||
_Must_inspect_result_
|
_Must_inspect_result_
|
||||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
FundExportedFunctionAddress(
|
FindExportedFunctionAddress(
|
||||||
_In_ PVOID ModuleBase,
|
_In_ PVOID ModuleBase,
|
||||||
_In_ STRING FunctionName,
|
_In_ STRING FunctionName,
|
||||||
_Inout_ PVOID* FunctionAddress
|
_Inout_ PVOID* FunctionAddress
|
||||||
@ -259,7 +259,7 @@ PVOID driverBaseAddress = NULL, functionAddress = NULL;
|
|||||||
|
|
||||||
if (NT_SUCCESS(FindDriverBaseAddress(targetModuleName, &driverBaseAddress)))
|
if (NT_SUCCESS(FindDriverBaseAddress(targetModuleName, &driverBaseAddress)))
|
||||||
{
|
{
|
||||||
if (NT_SUCCESS(FundExportedFunctionAddress(driverBaseAddress, functionName, &functionAddress)))
|
if (NT_SUCCESS(FindExportedFunctionAddress(driverBaseAddress, functionName, &functionAddress)))
|
||||||
{
|
{
|
||||||
// Found imp_WppRecorderReplay, you can now safely call "functionAddress"
|
// Found imp_WppRecorderReplay, you can now safely call "functionAddress"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user