函数参考


_WinAPI_BackupSeek

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

#Include <WinAPIEx.au3>
_WinAPI_BackupSeek ( $hFile, $iSeek, ByRef $iBytes, ByRef $pContext )

参数

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

返回值

成功: 返回 1.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

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

相关

详情参考

在MSDN中搜索