Jump to content

MM_MCIPOSITIONCHANGE

From EDM2
Revision as of 03:05, 26 November 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:MM_MCIPOSITIONCHANGE}} This message notifies an application of the current media position. ==Syntax== <PRE> MsgParam1 USHORT usUserParameter; User-specified parameter.: USHORT usDeviceID; Device ID.: MsgParam2 ULONG ulMMtime; Media position.: </PRE> ==Parameters== ;''usUserParameter'' (USHORT) - input :User parameter specified in the MCI_POSITION_PARMS structure when position advise notification was requested. ;''usD...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message notifies an application of the current media position.

Syntax

MsgParam1
USHORT usUserParameter; /* User-specified parameter. */
USHORT usDeviceID;      /* Device ID. */

MsgParam2
ULONG ulMMtime;         /* Media position. */

Parameters

usUserParameter (USHORT) - input
User parameter specified in the MCI_POSITION_PARMS structure when position advise notification was requested.
usDeviceID (USHORT) - input
Device ID.
ulMMtime (ULONG) - input
Media position in **MMTIME** units.

Returns

rc (BOOL) - return
Success indicator.
TRUE: Successful completion.
FALSE: Error occurred. (Note: The return value is typically ignored for this posted message.)

Remarks

This message is generated only periodically during a recording or playback operation if the MCI_SET_POSITION_ADVISE message has been sent to the device to enable position advise notifications. This message is posted to the window handle that was specified on the MCI_SET_POSITION_ADVISE message.

Default Processing

The default window procedure does not expect to receive this message and therefore takes no action on it, other than to set rc to the default value of FALSE.