diff options
author | midipix <writeonce@midipix.org> | 2017-01-26 04:49:10 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-01-26 23:56:45 -0500 |
commit | 7cd4117bbe6a97ca13ff81c2ff2a165268bdeb55 (patch) | |
tree | ab2a200480d7e65a4f2239cd024729e8c8e066b3 /src/internal | |
parent | e13223465ce70e387991ecb424f3ac34e7f4d974 (diff) | |
download | pemagine-7cd4117bbe6a97ca13ff81c2ff2a165268bdeb55.tar.bz2 pemagine-7cd4117bbe6a97ca13ff81c2ff2a165268bdeb55.tar.xz |
ldso: added pe_get_framework_runtime_data().
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/pe_os.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/internal/pe_os.h b/src/internal/pe_os.h index f8a787a..d0dc903 100644 --- a/src/internal/pe_os.h +++ b/src/internal/pe_os.h @@ -3,6 +3,12 @@ #include <pemagine/pe_structs.h> +#define OS_STATUS_SUCCESS 0x00000000 +#define OS_STATUS_INVALID_PARAMETER 0xC000000D +#define OS_STATUS_ILLEGAL_CHARACTER 0xC0000161 +#define OS_STATUS_NO_MATCH 0xC0000272 +#define OS_STATUS_INVALID_ADDRESS 0xC0000141 +#define OS_STATUS_CONTEXT_MISMATCH 0xC0000719 #define OS_STATUS_INTERNAL_ERROR 0xC00000E5 #define OS_STATUS_BAD_FILE_TYPE 0xC0000903 #define OS_STATUS_OBJECT_NAME_NOT_FOUND 0xC0000034 @@ -124,6 +130,14 @@ typedef int32_t __stdcall os_zw_query_virtual_memory( __out uint32_t * returned_length __optional); +typedef int32_t __stdcall os_zw_read_virtual_memory( + __in void * hprocess, + __in void * base_address, + __out char * buffer, + __in size_t buffer_length, + __out size_t * bytes_written); + + typedef int32_t __stdcall os_zw_open_file( __out void ** hfile, __in uint32_t desired_access, |