#ifndef _NTIOAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
NtLoadDriver(
_In_ PUNICODE_STRING DriverServiceName
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwLoadDriver(
_In_ PUNICODE_STRING DriverServiceName
);
View code on GitHub
This function is documented in Windows Driver Kit.
Registry path in system format. Path must begin with "\registry\machine\SYSTEM\CurrentControlSet\Services\..." where "..." is driver symbolic name.
Key must have at least 2 values:
Privilege: SeLoadDriverPrivilege