summaryrefslogtreecommitdiffhomepage
path: root/src/pty/ntapi_pty_set.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pty/ntapi_pty_set.c')
-rw-r--r--src/pty/ntapi_pty_set.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pty/ntapi_pty_set.c b/src/pty/ntapi_pty_set.c
index 1543e7c..fee34b8 100644
--- a/src/pty/ntapi_pty_set.c
+++ b/src/pty/ntapi_pty_set.c
@@ -26,6 +26,8 @@ int32_t __stdcall __ntapi_pty_set(
return NT_STATUS_INVALID_INFO_CLASS;
else if (pty_info_class == NT_PTY_BASIC_INFORMATION)
return NT_STATUS_NOT_IMPLEMENTED;
+ else if (pty_info_class == NT_PTY_INHERIT_INFORMATION)
+ return NT_STATUS_INVALID_INFO_CLASS;
else if ((pty_info_class == NT_PTY_CLIENT_INFORMATION) && (pty_info_length != sizeof(nt_pty_client_info)))
return NT_STATUS_INVALID_PARAMETER;