The MEVT_EVENTTYPE macro retrieves the event type from the value specified in the dwEvent member of a MIDIEVENT structure.
BYTE MEVT_EVENTTYPE(
DWORD dwEvent
);
The MEVT_EVENTTYPE macro is defined as follows:
#define MEVT_EVENTTYPE(x) ((BYTE) (((x)>>24)&0xFF))
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Musical Instrument Digital Interface (MIDI) Overview, MIDI Macros, MIDIEVENT