please dont rip this site Prev Next

BackupSeek info  Overview  Group

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

   );

Parameters

hFile
Identifies the file or directory being backed up. This handle is created by using the CreateFile function.
dwLowBytesToSeek
Specifies the low-order 32 bits of the number of bytes to seek.
dwHighBytesToSeek
Specifies the high-order 32 bits of the number of bytes to seek.
lpdwLowByteSeeked
Pointer to a doubleword that, when the function returns, contains the low-order 32 bits of the number of bytes the function actually seeks.
lpdwHighByteSeeked
Pointer to a doubleword that, when the function returns, contains the high-order 32 bits of the number of bytes the function actually seeks.
lpContext
Pointer to an internal data structure used by the function. This structure must be the same structure that was initialized by the BackupRead function. An application must not touch the contents of this structure.

Return Values

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.

Remarks

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.

See Also

BackupRead, BackupWrite, CreateFile 


file: /Techref/os/win/api/win32/func/src/f03_4.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/14 12:36,
TOP NEW HELP FIND: 
44.211.24.175: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://www.piclist.com/techref/os/win/api/win32/func/src/f03_4.htm"> BackupSeek</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found
- Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .