Compartir a través de


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( );

Parameters

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

Return Value

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

Remarks

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

Requirements

Header: atlfile.h

See Also

Reference

CAtlFile Class

Other Resources

CAtlFile Members