Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

MMIOM_SEEK message

The MMIOM_SEEK message is sent to an I/O procedure by the mmioSeek function to request that the current file position be moved.



MMIOM_SEEK 
lParam1 = (LPARAM) lNewFilePos 
lParam2 = (LPARAM) lChangeFlag 


Parameters

lNewFilePos

New file position. The meaning of this value is dependent on the flag specified inlChangeFlag.

lChangeFlag

Flag specifying how the file position is changed. The following values are defined:

SEEK_CURMove the file position to be lNewFilePos bytes from the current position. lNewFilePos can be positive or negative.
SEEK_ENDMove the file position to be lNewFilePos bytes from the end of the file.
SEEK_SETMove the file position to be lNewFilePos bytes from the beginning of the file.

 

Return Value

Returns the new file position. If there is an error, the return value is –1.

Remarks

The I/O procedure is responsible for maintaining the current file position in the lDiskOffset member of the MMIOINFO structure.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.