mirror of
https://github.com/nefarius/WDF-Utils.git
synced 2024-11-21 22:44:55 +01:00
Added warning text
This commit is contained in:
parent
35ca954827
commit
718aaf33a3
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
For dynamically calling functions, [`MmGetSystemRoutineAddress`](https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-mmgetsystemroutineaddress) will only work for exports from `NtosKrnl.exe`, but what if you wish to get a pointer to a function of an export driver (a.k.a. kernel DLL)? The following snippet has been tested on Windows 10 version 1507 and upwards.
|
For dynamically calling functions, [`MmGetSystemRoutineAddress`](https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-mmgetsystemroutineaddress) will only work for exports from `NtosKrnl.exe`, but what if you wish to get a pointer to a function of an export driver (a.k.a. kernel DLL)? The following snippet has been tested on Windows 10 version 1507 and upwards.
|
||||||
|
|
||||||
|
**WARNING:** in contrast to `LoadLibrary`s behaviour calling `FindDriverBaseAddress` will **not** load the desired module, if not found! I might add another helper function to achieve this in the future, if need arises.
|
||||||
|
|
||||||
## Header
|
## Header
|
||||||
|
|
||||||
```c
|
```c
|
||||||
|
Loading…
Reference in New Issue
Block a user