(int, buffer, int) = BackupRead(hFile, NumberOfBytesToRead , Buffer , bAbort , bProcessSecurity , lpContext )

Reads streams of data from a file


hFile : PyHANDLE

File handle opened by CreateFile

NumberOfBytesToRead : int

Number of bytes to be read from file

Buffer : buffer

Writeable buffer object that receives data read

bAbort : int

If true, ends read operation and frees backup context

bProcessSecurity : int

Indicates whether file's ACL stream should be read

lpContext : int

Pass 0 on first call, then pass back value returned from last call thereafter


Returns number of bytes read, data buffer, and context pointer for next operation If Buffer is None, a new buffer will be created of size NbrOfBytesToRead that can be passed back in subsequent calls