1
0
mirror of https://github.com/nefarius/WDF-Utils.git synced 2024-10-18 07:05:29 +02:00
This commit is contained in:
Benjamin Höglinger-Stelzer 2023-06-17 20:15:50 +02:00
parent 667502c7df
commit 3ba72ddeed

View File

@ -82,7 +82,7 @@ _Success_(return == STATUS_SUCCESS)
_Must_inspect_result_
_IRQL_requires_max_(PASSIVE_LEVEL)
NTSTATUS
FundExportedFunctionAddress(
FindExportedFunctionAddress(
_In_ PVOID ModuleBase,
_In_ STRING FunctionName,
_Inout_ PVOID* FunctionAddress
@ -183,7 +183,7 @@ _Success_(return == STATUS_SUCCESS)
_Must_inspect_result_
_IRQL_requires_max_(PASSIVE_LEVEL)
NTSTATUS
FundExportedFunctionAddress(
FindExportedFunctionAddress(
_In_ PVOID ModuleBase,
_In_ STRING FunctionName,
_Inout_ PVOID* FunctionAddress
@ -259,7 +259,7 @@ PVOID driverBaseAddress = NULL, functionAddress = NULL;
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"
}