MEVT_EVENTTYPE macro (mmeapi.h)

The MEVT_EVENTTYPE macro retrieves the event type from the value specified in the dwEvent member of a MIDIEVENT structure.

Syntax

void MEVT_EVENTTYPE(
   x
);

Parameters

x

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

Return value

None

Remarks

The MEVT_EVENTTYPE macro is defined as follows:


#define MEVT_EVENTTYPE(x) ((BYTE) (((x)>>24)&0xFF)) 

Requirements

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

See also

MIDI Macros