GetOverlappedResult (KERNEL32.@)
BOOL GetOverlappedResult ( HANDLE hFile, LPOVERLAPPED lpOverlapped, LPDWORD lpTransferred, BOOL bWait )
Check the result of an Asynchronous data transfer from a file.
Parameters HANDLE hFile [In] handle of file to check on. LPOVERLAPPED lpOverlapped [In/Out] pointer to overlapped. LPDWORD lpTransferred [In/Out] number of bytes transferred. BOOL bWait [In] wait for the transfer to complete ?.
TRUE on success FALSE on failure.
If successful (and relevant) lpTransferred will hold the number of bytes transferred during the async operation.
Currently only works for WaitCommEvent, ReadFile, WriteFile with communications ports.
Defined in "winbase.h".
Implemented in "dlls/kernel/file.c". source.winehq.org/source/dlls/kernel/file.c
Debug channel "file".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.