Поделиться через


CAtlFile::GetOverlappedResult

Call this method to get the results of an overlapped operation on the file.

HRESULT GetOverlappedResult(
   LPOVERLAPPED pOverlapped,
   DWORD& dwBytesTransferred,
   BOOL bWait 
) throw( );

Параметры

  • pOverlapped
    The overlapped structure. See lpOverlapped in GetOverlappedResult in the Windows SDK.

  • dwBytesTransferred
    The bytes transferred. See lpNumberOfBytesTransferred in GetOverlappedResult.

  • bWait
    The wait option. See bWait in GetOverlappedResult.

Возвращаемое значение

Returns S_OK on success, or an error HRESULT on failure.

Заметки

Calls GetOverlappedResult to get the results of an overlapped operation on the file.

Требования

Header: atlfile.h

См. также

Основные понятия

CAtlFile Class

CAtlFile Members