Index   Commented   Search   About

Stream Buffer Format

The lpData member of the MIDIHDR structure points to a stream buffer, and the dwBufferLength member specifies the actual size of this buffer. The dwBytesRecorded member of MIDIHDR specifies the number of bytes in the buffer that are actually used by the MIDI events; this value must be less than or equal to the value specified by dwBufferLength.

Each of the MIDI events in the stream buffer is specified by a MIDIEVENT structure, which contains the time for the event, a stream identifier, an event code, and, when appropriate, parameters for the event. Each of these MIDIEVENT structures must begin on a doubleword boundary. If necessary, pad bytes must be added to the end of the structure to ensure that the next one starts on a doubleword boundary.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun