How to Use IDFEDIT to Create MIDI Instrument Definition Files (134994)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • Microsoft Windows NT Server 3.51
    • Microsoft Windows NT Server 4.0
    • Microsoft Windows NT Workstation 3.51
    • Microsoft Windows NT Workstation 4.0

This article was previously published under Q134994

SUMMARY

Idfedit.exe is a software tool and sample included in the Win32 SDK. You can use it to create MIDI Instrument Definition Files (IDF) for the MIDI Mapper in Windows 95. The Windows 95 MIDI Mapper also supports the Windows version 3.1 Configuration file format (CFG) for backwards compatibility, but Microsoft recommends that any new MIDI Mapper configurations be created using the IDF file format. The Windows NT version 3.51 MIDI Mapper does not yet support the IDF file format, so it still requires the old CFG file format.

MORE INFORMATION

You can use Idfedit to create new IDF files or to edit existing ones. To change values in Definition Data fields, double click the data field, and enter the new data. It is important to note that some of the fields have restrictions on the kind of data they accept. The following table summarizes the required data types for each field:
Field                      Data type
--------------------------------------------------------------------
IDF Version                hexadecimal

IDF Creator                hexadecimal

Manufacturer               ASCII text string

Product Name               ASCII text string

Supports General MIDI      boolean values (expressed as TRUE,
                           FALSE, YES, NO, 1 or 0)

Supports SysEx Messages    boolean values (expressed as TRUE, FALSE,
                           YES, NO, 1 or 0)
				
The remaining fields accept only decimal values.

Other than the source code provided for Idfedit, there is currently no additional source of information about the IDF file format. The sample code is located in the \Mstools\Samples\Mm\Win95\Idfedit directory.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:KB134994