diff options
author | midipix <writeonce@midipix.org> | 2018-06-16 22:25:29 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-06-16 18:35:55 -0400 |
commit | e62c29643298bda31ab5f1111eed11862f7324bc (patch) | |
tree | f44dc14f94ae390cc6df2b0f8e0a195f754ff21e /src/pty/ntapi_pty_fd.c | |
parent | c4fe1edd2cc367994ea57a0ab8f3e870db9e6bec (diff) | |
download | ntapi-e62c29643298bda31ab5f1111eed11862f7324bc.tar.bz2 ntapi-e62c29643298bda31ab5f1111eed11862f7324bc.tar.xz |
pty query: client-side interfaces: revised and extended for api consistency.
Diffstat (limited to 'src/pty/ntapi_pty_fd.c')
-rw-r--r-- | src/pty/ntapi_pty_fd.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/pty/ntapi_pty_fd.c b/src/pty/ntapi_pty_fd.c index 8d21fd0..45a58ff 100644 --- a/src/pty/ntapi_pty_fd.c +++ b/src/pty/ntapi_pty_fd.c @@ -280,15 +280,11 @@ int32_t __stdcall __ntapi_pty_inherit( nt_pty_inherit_info inherit; nt_pty * ctx; - inherit.any[0] = client_info->any[0]; - inherit.any[1] = client_info->any[1]; - inherit.any[2] = client_info->any[2]; - inherit.any[3] = client_info->any[3]; - - if ((status = __ntapi_pty_query( + if ((status = __ntapi_pty_xquery( hport,&iosb, &inherit,sizeof(inherit), - NT_PTY_INHERIT_INFORMATION))) + NT_PTY_INHERIT_INFORMATION, + client_info))) return status; /* control block */ |