summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-12-18 14:04:55 +0000
committermidipix <writeonce@midipix.org>2017-12-18 15:35:30 -0500
commit0cc26dcf1cdc8e4f9b6a14033571cc941e921ab4 (patch)
tree0c186c7e5e6a8569821ff6d396d706855663aecb /src/internal
parentc6d46cf97304d829fba6085544aab577be3c6249 (diff)
downloadpemagine-0cc26dcf1cdc8e4f9b6a14033571cc941e921ab4.tar.bz2
pemagine-0cc26dcf1cdc8e4f9b6a14033571cc941e921ab4.tar.xz
pe_open_image_from_addr(): use pe_get_ldr_entry_from_addr() as the backend.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/pe_os.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/internal/pe_os.h b/src/internal/pe_os.h
index 1544e44..11e334b 100644
--- a/src/internal/pe_os.h
+++ b/src/internal/pe_os.h
@@ -13,6 +13,7 @@
#define OS_STATUS_COULD_NOT_INTERPRET (int32_t)0xC00000B9
#define OS_STATUS_NOT_SUPPORTED (int32_t)0xC00000BB
#define OS_STATUS_NAME_TOO_LONG (int32_t)0xC0000106
+#define OS_STATUS_BUFFER_TOO_SMALL (int32_t)0xC0000023
#define OS_STATUS_INTERNAL_ERROR (int32_t)0xC00000E5
#define OS_STATUS_BAD_FILE_TYPE (int32_t)0xC0000903
#define OS_STATUS_OBJECT_NAME_NOT_FOUND (int32_t)0xC0000034
@@ -133,15 +134,6 @@ typedef int32_t __stdcall os_zw_query_object(
__out uint32_t * returned_length __optional);
-typedef int32_t __stdcall os_zw_query_virtual_memory(
- __in void * hprocess,
- __in void * base_address,
- __in int mem_info_class,
- __out void * mem_info,
- __in size_t mem_info_length,
- __out uint32_t * returned_length __optional);
-
-
typedef int32_t __stdcall os_zw_read_virtual_memory(
__in void * hprocess,
__in void * base_address,