summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-01-29 01:48:24 +0000
committermidipix <writeonce@midipix.org>2017-01-28 21:54:01 -0500
commitdd1a85ac7ce0c3e2aa16243c73a9aaae7da384fb (patch)
treeae6c61035a6af4dcdb6c320c18d579f498362799 /src/internal
parent3a475bed2393e3c5d4782ede3fc6549f2e38ce26 (diff)
downloadpemagine-dd1a85ac7ce0c3e2aa16243c73a9aaae7da384fb.tar.bz2
pemagine-dd1a85ac7ce0c3e2aa16243c73a9aaae7da384fb.tar.xz
ldso: added pe_terminate_current_process().
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/pe_os.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/internal/pe_os.h b/src/internal/pe_os.h
index ba7da0e..449433e 100644
--- a/src/internal/pe_os.h
+++ b/src/internal/pe_os.h
@@ -158,10 +158,16 @@ typedef int32_t __stdcall os_zw_open_file(
__in uint32_t share_access,
__in uint32_t open_options);
+
typedef int32_t __stdcall os_ldr_load_dll(
__in wchar16_t * image_path __optional,
__in uint32_t * image_flags __optional,
__in struct pe_unicode_str * image_name,
__out void ** image_base);
+
+typedef int32_t __stdcall os_zw_terminate_process(
+ __in void * hprocess,
+ __in int32_t status);
+
#endif