From 6c28503ec354c5ff192ed1492761a77178bc7bee Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 30 Jul 2017 21:21:21 +0000 Subject: __ntapi_tty_create_session(): use the proper 'server ready' event type. --- src/tty/ntapi_tty_create_session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tty/ntapi_tty_create_session.c b/src/tty/ntapi_tty_create_session.c index ac08ce4..3fa8657 100644 --- a/src/tty/ntapi_tty_create_session.c +++ b/src/tty/ntapi_tty_create_session.c @@ -165,7 +165,7 @@ int32_t __stdcall __ntapi_tty_create_session( if ((status = __ntapi->tt_create_private_event( &ssattr.hserver, - NT_SYNCHRONIZATION_EVENT, + NT_NOTIFICATION_EVENT, NT_EVENT_NOT_SIGNALED))) return status; -- cgit v1.2.3