Rediger

Del via


MOM_POSITIONCB message

The MOM_POSITION message is sent when an MEVT_F_CALLBACK event is reached in the MIDI output stream.

Parameters

dwParam1

A pointer to a MIDIHDR structure identifying the input buffer.

dwParam2

Not used.

Return Value

This message does not return a value.

Remarks

Playback of the stream buffer continues even while the callback function is executing. Any events after the MEVT_F_CALLBACK event in the buffer will be scheduled and sent on time regardless of how much time is spent in the callback function.

If position callbacks are being generated more quickly than your application can process them, the dwOffset member of the MIDIHDR structure might refer to an event your application has not yet processed.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Mmsystem.h (include Windows.h)

See also

MIDI Messages