Minor fixup
This commit is contained in:
parent
c7675a704c
commit
59b66d327b
@ -34,6 +34,7 @@ Built for and tested on **Windows 10 version 1507 (or newer) x64/ARM64**. 32-Bit
|
||||
- Add the `include` directory to your project's headers search path.
|
||||
- `#include <Domito.h>` wherever required.
|
||||
- Link against the resulting `Domito.lib` file for your desired architecture.
|
||||
- Link against `cng.lib` for the CNG BCrypt APIs.
|
||||
- Done!
|
||||
|
||||
## Sources & 3rd party credits
|
||||
|
@ -13,9 +13,11 @@
|
||||
//
|
||||
// Library initialization tasks. Call once in your DriverEntry
|
||||
//
|
||||
_Success_(return == STATUS_SUCCESS)
|
||||
_Must_inspect_result_
|
||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||
EXTERN_C
|
||||
void
|
||||
NTSTATUS
|
||||
DomitoInit();
|
||||
|
||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||
|
@ -17,8 +17,11 @@ static STRING G_FN_CiGetCertPublisherName = RTL_CONSTANT_STRING("CiGetCertPublis
|
||||
static STRING G_FN_CiSetTrustedOriginClaimId = RTL_CONSTANT_STRING("CiSetTrustedOriginClaimId");
|
||||
static STRING G_FN_CiValidateFileObject = RTL_CONSTANT_STRING("CiValidateFileObject");
|
||||
|
||||
|
||||
_Success_(return == STATUS_SUCCESS)
|
||||
_Must_inspect_result_
|
||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||
void
|
||||
NTSTATUS
|
||||
DomitoInit()
|
||||
{
|
||||
const STRING ciModuleName = RTL_CONSTANT_STRING("\\SystemRoot\\system32\\CI.dll");
|
||||
@ -56,6 +59,8 @@ DomitoInit()
|
||||
G_CI.CiValidateFileObject = (t_CiValidateFileObject)functionAddress;
|
||||
}
|
||||
}
|
||||
|
||||
return STATUS_SUCCESS; // TODO: unused currently
|
||||
}
|
||||
|
||||
_IRQL_requires_max_(PASSIVE_LEVEL)
|
||||
|
Loading…
Reference in New Issue
Block a user