AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

mmioSeek

The mmioSeek function changes the current file position in a file opened by using the mmioOpen function.

VB4-32,5,6
Declare Function mmioSeek Lib "winmm.dll" Alias "mmioSeek" (ByVal hmmio As Long, ByVal lOffset As Long, ByVal iOrigin As Long) As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Winmm

Parameter Information
· hmmio
File handle of the file to seek in.

· lOffset
Offset to change the file position.

· iOrigin
Flags indicating how the offset specified by lOffset is interpreted. The following values are defined:
SEEK_CUR
Seeks to lOffset bytes from the current file position.
SEEK_END
Seeks to lOffset bytes from the end of the file.
SEEK_SET
Seeks to lOffset bytes from the beginning of the file.

Return Values
Returns the new file position, in bytes, relative to the beginning of the file. If there is an error, the return value is - 1.

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/