#include <windows.h>
#include <stdlib.h>
#include <ntndk.h>
Go to the source code of this file.
◆ WIN32_NO_STATUS
Definition at line 4 of file load.c.
◆ wmain()
Definition at line 9 of file load.c.
10{
13
15 {
16 wprintf(
L"Usage: load <ServiceName>\n");
17 return 0;
18 }
19
24 L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\%s",
27
31 {
33 return 1;
34 }
35
36 return 0;
37}
static WCHAR ServiceName[]
#define NT_SUCCESS(StatCode)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
NTSTATUS NTAPI NtLoadDriver(IN PUNICODE_STRING DriverServiceName)