diff options
author | midipix <writeonce@midipix.org> | 2019-05-13 08:54:51 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-05-13 06:03:42 -0400 |
commit | ccc0f92d334fa45eb37b0f08eed0bb52be022bf4 (patch) | |
tree | 16d3205764c71f059e09e5cc3f7a1c56f480dc97 /include | |
parent | 02f5840eafe76cbd0d109f8c074f5db037dd6c06 (diff) | |
download | ntapi-ccc0f92d334fa45eb37b0f08eed0bb52be022bf4.tar.bz2 ntapi-ccc0f92d334fa45eb37b0f08eed0bb52be022bf4.tar.xz |
tty API: defined enum _nt_tty_log_info_type, struct _nt_tty_log_msg.
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_tty.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/ntapi/nt_tty.h b/include/ntapi/nt_tty.h index 9be8e8e..fc4702a 100644 --- a/include/ntapi/nt_tty.h +++ b/include/ntapi/nt_tty.h @@ -172,6 +172,16 @@ typedef enum _nt_pty_info_class { } nt_pty_info_class; +typedef enum _nt_tty_log_info_type { + NT_TTY_LOG_INFO_BINARY_DATA, + NT_TTY_LOG_INFO_STRING_DATA, + NT_TTY_LOG_INFO_INTEGER_ARRAY, + NT_TTY_LOG_INFO_POINTER_ARRAY, + NT_TTY_LOG_INFO_EXCEPTION_RECORD, + NT_TTY_LOG_INFO_CAP, +} nt_tty_log_info_type; + + /* client process registration flags */ #define NT_TTY_INHERIT_HANDLES 0x0001 @@ -262,6 +272,12 @@ typedef struct __attr_ptr_size_aligned__ _nt_tty_sigctl_info { } nt_tty_sigctl_info; +typedef struct __attr_ptr_size_aligned__ _nt_tty_log_info { + int32_t type; + uint32_t data[0x30]; +} nt_tty_log_info; + + typedef struct __attr_ptr_size_aligned__ _nt_pty_fd_info { void * hpty; void * section; @@ -450,6 +466,15 @@ typedef struct __attr_ptr_size_aligned__ _nt_tty_transfer_msg { } nt_tty_transfer_msg; +typedef struct __attr_ptr_size_aligned__ _nt_tty_log_msg { + nt_port_message header; + struct { + nt_tty_msg_info ttyinfo; + nt_tty_log_info loginfo; + } data; +} nt_tty_log_msg; + + typedef struct __attr_ptr_size_aligned__ _nt_pty_fd_msg { nt_port_message header; struct { @@ -523,6 +548,7 @@ typedef struct __attr_ptr_size_aligned__ _nt_tty_port_msg { nt_tty_sigctl_info ctlinfo; nt_tty_ipc_info ipcinfo; nt_tty_sync_info syncinfo; + nt_tty_log_info loginfo; nt_user_process_info pidinfo; nt_tty_transfer_info transferinfo; nt_pty_fd_info fdinfo; |