Skip to content

Latest commit

 

History

History
162 lines (120 loc) · 4.03 KB

ns-mmeapi-midihdr.md

File metadata and controls

162 lines (120 loc) · 4.03 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:mmeapi.midihdr_tag
MIDIHDR (mmeapi.h)
The MIDIHDR structure defines the header used to identify a MIDI system-exclusive or stream buffer.
*LPMIDIHDR
*NPMIDIHDR
*PMIDIHDR
LPMIDIHDR
LPMIDIHDR structure pointer [Windows Multimedia]
MHDR_DONE
MHDR_INQUEUE
MHDR_ISSTRM
MHDR_PREPARED
MIDIHDR
MIDIHDR structure [Windows Multimedia]
_win32_MIDIHDR_str
midihdr_tag
mmeapi/LPMIDIHDR
mmeapi/MIDIHDR
multimedia.midihdr
multimedia\midihdr.htm
Multimedia
630f0645-555e-4f48-9397-2623a9918b8a
12/05/2018
*LPMIDIHDR, *NPMIDIHDR, *PMIDIHDR, LPMIDIHDR, LPMIDIHDR structure pointer [Windows Multimedia], MHDR_DONE, MHDR_INQUEUE, MHDR_ISSTRM, MHDR_PREPARED, MIDIHDR, MIDIHDR structure [Windows Multimedia], _win32_MIDIHDR_str, midihdr_tag, mmeapi/LPMIDIHDR, mmeapi/MIDIHDR, multimedia.midihdr
mmeapi.h
Windows.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
MIDIHDR, *PMIDIHDR, *NPMIDIHDR, *LPMIDIHDR
19H1
midihdr_tag
mmeapi/midihdr_tag
PMIDIHDR
mmeapi/PMIDIHDR
MIDIHDR
mmeapi/MIDIHDR
c++
APIRef
kbSyntax
HeaderDef
mmeapi.h
MIDIHDR

MIDIHDR structure

-description

The MIDIHDR structure defines the header used to identify a MIDI system-exclusive or stream buffer.

-struct-fields

-field lpData

Pointer to MIDI data.

-field dwBufferLength

Size of the buffer.

-field dwBytesRecorded

Actual amount of data in the buffer. This value should be less than or equal to the value given in the dwBufferLength member.

-field dwUser

Custom user data.

-field dwFlags

Flags giving information about the buffer.

Name Description
MHDR_DONE
Set by the device driver to indicate that it is finished with the buffer and is returning it to the application.
MHDR_INQUEUE
Set by Windows to indicate that the buffer is queued for playback.
MHDR_ISSTRM
Set to indicate that the buffer is a stream buffer.
MHDR_PREPARED
Set by Windows to indicate that the buffer has been prepared by using the midiInPrepareHeader or midiOutPrepareHeader function.

-field lpNext

Reserved; do not use.

-field reserved

Reserved; do not use.

-field dwOffset

Offset into the buffer when a callback is performed. (This callback is generated because the MEVT_F_CALLBACK flag is set in the dwEvent member of the MIDIEVENT structure.) This offset enables an application to determine which event caused the callback.

-field dwReserved

Reserved; do not use.

-see-also

MIDI Structures

MIDIEVENT

Musical Instrument Digital Interface (MIDI)

midiInPrepareHeader

midiOutPrepareHeader