mirror of https://github.com/FreeRDP/FreeRDP
commit
358289fb51
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
#include <winpr/crt.h>
|
#include <winpr/crt.h>
|
||||||
#include <winpr/synch.h>
|
#include <winpr/synch.h>
|
||||||
|
#include <winpr/string.h>
|
||||||
#include <winpr/path.h>
|
#include <winpr/path.h>
|
||||||
#include <winpr/winsock.h>
|
#include <winpr/winsock.h>
|
||||||
|
|
||||||
|
|
|
@ -376,7 +376,7 @@ int SetEventFileDescriptor(HANDLE hEvent, int FileDescriptor, ULONG mode)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
event = (WINPR_EVENT*) Object;
|
event = (WINPR_EVENT*) Object;
|
||||||
event->bAttached = FALSE;
|
event->bAttached = TRUE;
|
||||||
event->Mode = mode;
|
event->Mode = mode;
|
||||||
event->pipe_fd[0] = FileDescriptor;
|
event->pipe_fd[0] = FileDescriptor;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue