Commit 096000df authored by Alexandre Julliard's avatar Alexandre Julliard

kernel: Set the overlapped structure status in ReadDirectoryChanges.

parent c0ca7172
......@@ -150,6 +150,8 @@ BOOL WINAPI ReadDirectoryChangesW( HANDLE handle, LPVOID buffer, DWORD len, BOOL
}
else if (!overlapped)
WaitForSingleObject( event, INFINITE );
else
overlapped->Internal = STATUS_PENDING;
if (!overlapped)
CloseHandle( event );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment