From f2a7d3374eb54d654633aa11178b8883d09d41fd Mon Sep 17 00:00:00 2001 From: midipix Date: Jun 18 2018 23:12:57 +0000 Subject: pty interfaces: struct _nt_pty_inherit_info: simplify definition, remove union. --- 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 {