Update README.md

merge-requests/1/head
_xeroxz 4 years ago
parent 8104aed8ee
commit b7b8ca242e

@ -60,7 +60,6 @@ drv::kmemcpy_t _kmemcpy =
##### drv::kalloc_t - MSREXEC Example ##### drv::kalloc_t - MSREXEC Example
***NOTE***: When using MSREXEC be aware that `vdm::msrexec_ctx::exec` returns void. This requires a programmer to make a nested lambda in order to obtain a result. ***NOTE***: When using MSREXEC be aware that `vdm::msrexec_ctx::exec` returns void. This requires a programmer to make a nested lambda in order to obtain a result.
```cpp ```cpp
@ -85,6 +84,8 @@ drv::kalloc_t _kalloc = [&](std::size_t size) -> void*
##### drv::kmemcpy_t - MSREXEC Example ##### drv::kmemcpy_t - MSREXEC Example
***NOTE***: When using MSREXEC be aware that `vdm::msrexec_ctx::exec` returns void. This requires a programmer to make a nested lambda in order to obtain a result.
```cpp ```cpp
drv::kmemcpy_t _kmemcpy = drv::kmemcpy_t _kmemcpy =
[&](void* dest, const void* src, std::size_t size) -> void* [&](void* dest, const void* src, std::size_t size) -> void*

Loading…
Cancel
Save