summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-01-28 05:15:30 +0000
committermidipix <writeonce@midipix.org>2017-01-28 00:26:01 -0500
commit77cbd46254c491fb56d863494b9102217f297252 (patch)
tree532a057079f66403057d49c6ed29519f4baf10b7 /src/internal
parent7cd4117bbe6a97ca13ff81c2ff2a165268bdeb55 (diff)
downloadpemagine-77cbd46254c491fb56d863494b9102217f297252.tar.bz2
pemagine-77cbd46254c491fb56d863494b9102217f297252.tar.xz
ldso: added pe_find_framework_loader().
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/pe_os.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/internal/pe_os.h b/src/internal/pe_os.h
index d0dc903..ad26de4 100644
--- a/src/internal/pe_os.h
+++ b/src/internal/pe_os.h
@@ -9,11 +9,17 @@
#define OS_STATUS_NO_MATCH 0xC0000272
#define OS_STATUS_INVALID_ADDRESS 0xC0000141
#define OS_STATUS_CONTEXT_MISMATCH 0xC0000719
+#define OS_STATUS_COULD_NOT_INTERPRET 0xC00000B9
+#define OS_STATUS_NAME_TOO_LONG 0xC0000106
#define OS_STATUS_INTERNAL_ERROR 0xC00000E5
#define OS_STATUS_BAD_FILE_TYPE 0xC0000903
#define OS_STATUS_OBJECT_NAME_NOT_FOUND 0xC0000034
+#define OS_STATUS_OBJECT_PATH_NOT_FOUND 0xC000003A
#define OS_STATUS_MORE_PROCESSING_REQUIRED 0xC0000016
+#define OS_OBJ_INHERIT 0x00000002
+#define OS_OBJ_CASE_INSENSITIVE 0x00000040
+
#define OS_SEC_SYNCHRONIZE 0x00100000
#define OS_FILE_READ_ACCESS 0x00000001
#define OS_FILE_READ_ATTRIBUTES 0x00000080
@@ -113,6 +119,10 @@ struct os_peb {
};
+typedef int32_t __stdcall os_zw_close(
+ __in void * handle);
+
+
typedef int32_t __stdcall os_zw_query_object(
__in void * handle,
__in int obj_info_class,