Function Reference


_WinAPI_BackupSeek

Seeks forward in a data stream initially accessed by using the _WinAPI_BackupRead() or _WinAPI_BackupWrite() function

#include <WinAPIFiles.au3>
_WinAPI_BackupSeek ( $hFile, $iSeek, ByRef $iBytes, ByRef $pContext )

Parameters

$hFile Handle to the file or directory.
$iSeek The number of bytes to seek.
$iBytes The number of bytes the function actually seeks.
$pContext A pointer to an internal data structure. This structure must be the same structure that was initialized by the _WinAPI_BackupRead().
An application must not touch the contents of this structure.

Return Value

Success: True.
Failure: False, call _WinAPI_GetLastError() to get extended error information.

Remarks

Applications use the _WinAPI_BackupSeek() to skip portions of a data stream that cause errors.
This function does not seek across stream headers.

Related

_WinAPI_BackupRead

See Also

Search BackupSeek in MSDN Library.