Update README.md

This commit is contained in:
Benjamin Höglinger-Stelzer 2023-07-03 23:08:56 +02:00
parent 99656409ca
commit 22a09441ab

View File

@ -32,6 +32,8 @@ Built for and tested on **Windows 10 version 1507 (or newer) x64/ARM64**. 32-Bit
## How to use
- Add the `include` directory to your project's headers search path.
- To make your life easier I recommend setting an environment variable named `DOMITO_INC_PATH` to `...\Domito\include` absolute path and...
- ...in your project add `$(DOMITO_INC_PATH);` to "Additional Include Directories".
- Add includes (preferably in the provided order):
```c
#include <ntddk.h>
@ -41,6 +43,8 @@ Built for and tested on **Windows 10 version 1507 (or newer) x64/ARM64**. 32-Bit
```
- Call `DomitoInit()` in your `DriverEntry` once to bootstrap internals.
- Link against the resulting `Domito.lib` file for your desired architecture.
- To make your life easier I recommend setting an environment variable named `DOMITO_LIB_PATH` to `...\Domito\lib` absolute path and...
- ...in your project add `$(DOMITO_LIB_PATH)\$(DDKPlatform)\$(Configuration)\Domito.lib;$(DOMITO_LIB_PATH)\$(DDKPlatform)\ci.lib;` to "Additional Dependencies".
- Link against the provided `ci.lib` for the Code Integrity convenience functions.
- Link against `cng.lib` for the CNG BCrypt APIs.
- Done!