blob: 0c1547228aeaeff4ebf86d71860b0071be3726b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef _NT_LDR_H_
#define _NT_LDR_H_
#include "nt_abi.h"
#include "nt_dalist.h"
#include "nt_object.h"
typedef int32_t __stdcall ntapi_ldr_load_dll(
__in wchar16_t * image_path __optional,
__in uint32_t * image_flags __optional,
__in nt_unicode_string * image_name,
__out void ** image_base);
typedef int32_t __stdcall ntapi_ldr_unload_dll(
__in void * image_base);
/* extensions */
typedef int32_t __stdcall ntapi_ldr_load_system_dll(
__in void * hsysdir __optional,
__in wchar16_t * base_name,
__in uint16_t base_name_size,
__in uint32_t * image_flags __optional,
__out void ** image_base);
typedef int __cdecl ntapi_ldr_create_state_snapshot(
__out struct dalist_ex * ldr_state_snapshot);
typedef int __cdecl ntapi_ldr_revert_state_to_snapshot(
__in struct dalist_ex * ldr_state_snapshot);
#endif
|