The BackupSeek function seeks forward in a data stream initially accessed by using the BackupRead or BackupWrite function.
BOOL BackupSeek(
HANDLE hFile, |
// handle to open file |
DWORD dwLowBytesToSeek, |
// low-order 32 bits of number of bytes |
DWORD dwHighBytesToSeek, |
// high-order 32 bits of number of bytes |
LPDWORD lpdwLowByteSeeked, |
// pointer to number of bytes function seeks |
LPDWORD lpdwHighByteSeeked, |
// pointer to number of bytes function seeks |
LPVOID *lpContext |
//pointer to internal context information |
); |
If the function could seek the requested amount, the function returns nonzero.
If the function could not seek the requested amount, the function returns zero. To get extended error information, call GetLastError.
Applications use the BackUpSeek function to skip portions of a data stream that cause errors. This function does not seek across stream headers. If an application attempts to seek past the end of a substream, the function fails, the lpdwLowByteSeeked and lpdwHighByteSeeked parameters indicate the actual number of bytes the function seeks, and the file position is placed at the start of the next stream header.
BackupRead, BackupWrite, CreateFile
file: /Techref/os/win/api/win32/func/src/f03_4.htm, 4KB, , updated: 2000/4/7 12:19, local time: 2024/9/3 23:55,
18.116.81.174:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/os/win/api/win32/func/src/f03_4.htm"> BackupSeek</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.