MEVT_EVENTPARM

The MEVT_EVENTPARM macro retrieves the event parameters or length from the value specified in the dwEvent member of a MIDIEVENT structure.

DWORD MEVT_EVENTPARM(
  DWORD dwEvent  
);

Parameters

dwEvent

Code for the MIDI event and the event parameters or length, as specified in the dwEvent member of the MIDIEVENT structure.

Remarks

The MEVT_EVENTPARM macro is defined as follows:

#define MEVT_EVENTPARM(x) ((DWORD) ((x)&0x00FFFFFFL)) 

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Mmsystem.h; include Windows.h.

See Also

Musical Instrument Digital Interface (MIDI), MIDI Macros, MIDIEVENT