Share via


MEVT_EVENTTYPE macro

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

Syntax

BYTE MEVT_EVENTTYPE(
   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_EVENTTYPE macro is defined as follows:

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

Requirements

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 Macros