typedef struct midievent_tag { DWORD dwDeltaTime; DWORD dwStreamID; DWORD dwEvent; DWORD dwParms[1]; } MIDIEVENT;