summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-18 08:23:06 +0000
committermidipix <writeonce@midipix.org>2018-06-18 19:12:57 -0400
commitf2a7d3374eb54d654633aa11178b8883d09d41fd (patch)
treeb21038a0a932dd5b3910d4aa4240ab91206430bd
parentf5c1c6223c27b465db8d2be203b255909155db74 (diff)
downloadntapi-f2a7d3374eb54d654633aa11178b8883d09d41fd.tar.bz2
ntapi-f2a7d3374eb54d654633aa11178b8883d09d41fd.tar.xz
pty interfaces: struct _nt_pty_inherit_info: simplify definition, remove union.
-rw-r--r--include/ntapi/nt_tty.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/include/ntapi/nt_tty.h b/include/ntapi/nt_tty.h
index 04fb804..b574ce2 100644
--- a/include/ntapi/nt_tty.h
+++ b/include/ntapi/nt_tty.h
@@ -301,17 +301,10 @@ typedef struct __attr_ptr_size_aligned__ _nt_pty_inherit_info {
void * hpty;
nt_guid guid;
nt_luid luid;
-
- union {
- struct {
- uint32_t access;
- uint32_t flags;
- uint32_t share;
- uint32_t options;
- };
-
- uintptr_t any[4];
- };
+ uint32_t access;
+ uint32_t flags;
+ uint32_t share;
+ uint32_t options;
} nt_pty_inherit_info;
typedef struct __attr_ptr_size_aligned__ _nt_tty_session_info {