GetOverlappedResult.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

GetOverlappedResult (KERNEL32.@)

SYNOPSIS

BOOL GetOverlappedResult
 (
  HANDLE       hFile,
  LPOVERLAPPED lpOverlapped,
  LPDWORD      lpTransferred,
  BOOL         bWait
 )

DESCRIPTION

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 ?.

RETURNS

TRUE on success FALSE on failure.

If successful (and relevant) lpTransferred will hold the number of bytes transferred during the async operation.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/kernel32/file.c".

Debug channel "file".