summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-09-08 23:39:40 -0400
committermidipix <writeonce@midipix.org>2017-09-08 23:39:40 -0400
commit808b639bb894cd36381715e603e067a5725c1760 (patch)
tree469930f0cb03e5a6f1b13e9d36a6baa57f17ab33 /include
parent47f21a54cf74e2ec0fc7aa7e3ee06ab5087600a6 (diff)
downloadntapi-808b639bb894cd36381715e603e067a5725c1760.tar.bz2
ntapi-808b639bb894cd36381715e603e067a5725c1760.tar.xz
subsystem interfaces: optimized struct _nt_sem_info.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_sem.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/ntapi/nt_sem.h b/include/ntapi/nt_sem.h
index 4b6c79b..fa4cd3e 100644
--- a/include/ntapi/nt_sem.h
+++ b/include/ntapi/nt_sem.h
@@ -22,11 +22,10 @@
/* semaphore info */
typedef struct __attr_ptr_size_aligned__ _nt_sem_info {
void * hport;
- void * hprocess;
- void * hthread;
void * section;
void * section_addr;
size_t section_size;
+ void * hevent;
void * apc_routine;
void * apc_context;
int32_t semkey;
@@ -51,8 +50,8 @@ typedef struct __attr_ptr_size_aligned__ _nt_sem_info {
uint32_t ntattr;
uint32_t ntshare;
uint32_t ntoptions;
+ nt_iosb ntiosb;
nt_iosb * riosb;
- void * hevent[2];
} nt_sem_info;