diff options
author | midipix <writeonce@midipix.org> | 2018-06-17 06:57:41 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-06-17 06:57:41 -0400 |
commit | ab99f6b4ae8529f6ffc4cbdafd3e24581adb0fbd (patch) | |
tree | 179ab70be9f8a299b8d740f0865b2a028a88b906 /src/daemon | |
parent | e67d6f0cd55e8b0cd84d3a7e3a196fca6f5595c2 (diff) | |
download | ptycon-ab99f6b4ae8529f6ffc4cbdafd3e24581adb0fbd.tar.bz2 ptycon-ab99f6b4ae8529f6ffc4cbdafd3e24581adb0fbd.tar.xz |
framework api's: follow ntapi's pre-alpha update of struct _nt_tty_msg_info.
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/ptyc_daemon_connect.c | 2 | ||||
-rw-r--r-- | src/daemon/ptyc_daemon_loop.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/daemon/ptyc_daemon_connect.c b/src/daemon/ptyc_daemon_connect.c index d5c9171..8e61d42 100644 --- a/src/daemon/ptyc_daemon_connect.c +++ b/src/daemon/ptyc_daemon_connect.c @@ -15,7 +15,7 @@ int32_t __stdcall ptyc_daemon_connect(nt_tty_port_msg * msg) { void * hport = 0; - msg->ttyinfo.reserved = 0; + msg->ttyinfo.exarg = 0; ntapi->zw_accept_connect_port( &hport, diff --git a/src/daemon/ptyc_daemon_loop.c b/src/daemon/ptyc_daemon_loop.c index 932983e..2dcbbac 100644 --- a/src/daemon/ptyc_daemon_loop.c +++ b/src/daemon/ptyc_daemon_loop.c @@ -80,7 +80,7 @@ int32_t __stdcall ptyc_daemon_loop(void * ctx) reply->header.msg_type = NT_LPC_REPLY; if ((opcode >= PTYC_DAEMON_OPCODE_BASE) && (opcode < PTYC_DAEMON_OPCODE_CAP)) { - reply->ttyinfo.reserved = (void *)request->header.client_id.process_id; + reply->ttyinfo.exarg = (void *)request->header.client_id.process_id; opcode -= PTYC_DAEMON_OPCODE_BASE; if (ptyc_daemon_vtbl[opcode]) @@ -88,14 +88,14 @@ int32_t __stdcall ptyc_daemon_loop(void * ctx) else reply->ttyinfo.status = NT_STATUS_NOT_IMPLEMENTED; } else { - reply->ttyinfo.reserved = NT_INVALID_HANDLE_VALUE; + reply->ttyinfo.exarg = NT_INVALID_HANDLE_VALUE; reply->ttyinfo.status = NT_STATUS_LPC_INVALID_CONNECTION_USAGE; } ntapi->tt_aligned_block_memset( request,0,sizeof(*request)); - reply = reply->ttyinfo.reserved + reply = reply->ttyinfo.exarg ? &outbuf : 0; if (!reply) |