diff options
author | midipix <writeonce@midipix.org> | 2017-01-06 18:27:15 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-01-07 09:02:35 -0500 |
commit | 6336c42970e39d7cc76071a93e7058ba3d8fda3e (patch) | |
tree | fdfb70e2a1fd21e23a0df7e492ceb7feae4d1e26 /src/tty | |
parent | e3e5a218e16e376c4ef18b5f5aba649e5e5063c0 (diff) | |
download | ntapi-6336c42970e39d7cc76071a93e7058ba3d8fda3e.tar.bz2 ntapi-6336c42970e39d7cc76071a93e7058ba3d8fda3e.tar.xz |
framework: process parameters: renamed srv_ready --> hserver.
Diffstat (limited to 'src/tty')
-rw-r--r-- | src/tty/ntapi_tty_create_session.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tty/ntapi_tty_create_session.c b/src/tty/ntapi_tty_create_session.c index 687d182..97e8a22 100644 --- a/src/tty/ntapi_tty_create_session.c +++ b/src/tty/ntapi_tty_create_session.c @@ -171,7 +171,7 @@ int32_t __stdcall __ntapi_tty_create_session( &port_attr.guid); if ((status = __ntapi->tt_create_private_event( - &ssattr.srv_ready, + &ssattr.hserver, NT_SYNCHRONIZATION_EVENT, NT_EVENT_NOT_SIGNALED))) return status; @@ -191,32 +191,32 @@ int32_t __stdcall __ntapi_tty_create_session( params.hsession = htty; if ((status = __ntapi->tt_create_native_process(¶ms))) - return __tty_create_session_return(ssattr.srv_ready,¶ms,status); + return __tty_create_session_return(ssattr.hserver,¶ms,status); __ntapi->zw_wait_for_multiple_objects( 2, - (void *[]){ssattr.srv_ready,params.hprocess}, + (void *[]){ssattr.hserver,params.hprocess}, NT_WAIT_ANY, NT_SYNC_NON_ALERTABLE, 0); if ((status = __ntapi->zw_query_event( - ssattr.srv_ready, + ssattr.hserver, NT_EVENT_BASIC_INFORMATION, &eready, sizeof(eready), &(size_t){0}))) - return __tty_create_session_return(ssattr.srv_ready,¶ms,status); + return __tty_create_session_return(ssattr.hserver,¶ms,status); if (!eready.signal_state) - return __tty_create_session_return(ssattr.srv_ready,¶ms,NT_STATUS_SYSTEM_PROCESS_TERMINATED); + return __tty_create_session_return(ssattr.hserver,¶ms,NT_STATUS_SYSTEM_PROCESS_TERMINATED); /* connect to subsystem */ if ((status = __ntapi->tty_connect( hport, &port_name->base_named_objects[0], NT_SECURITY_IMPERSONATION))) - return __tty_create_session_return(ssattr.srv_ready,¶ms,status); + return __tty_create_session_return(ssattr.hserver,¶ms,status); /* finalize primary session */ if (type == NT_TTY_SESSION_PRIMARY) { @@ -230,5 +230,5 @@ int32_t __stdcall __ntapi_tty_create_session( sizeof(*port_name)); }; - return __tty_create_session_return(ssattr.srv_ready,¶ms,NT_STATUS_SUCCESS); + return __tty_create_session_return(ssattr.hserver,¶ms,NT_STATUS_SUCCESS); } |