|
|
| version 1.6, 2005/02/09 20:11:36 | version 1.7, 2005/03/02 04:28:09 |
|---|---|
| Line 4 | Line 4 |
| #include "dosio.h" | #include "dosio.h" |
| #include "commng.h" | #include "commng.h" |
| #include "dialogs.h" | #include "dialogs.h" |
| #if defined(MT32SOUND_DLL) | |
| #include "mt32snd.h" | |
| #endif | |
| const OEMCHAR str_nc[] = OEMTEXT("N/C"); | const OEMCHAR str_nc[] = OEMTEXT("N/C"); |
| Line 184 void dlgs_setlistmidiout(HWND hWnd, UINT | Line 187 void dlgs_setlistmidiout(HWND hWnd, UINT |
| } | } |
| num++; | num++; |
| #endif | #endif |
| #if defined(MT32SOUND_DLL) | |
| if (mt32sound_isenable()) { | |
| SendMessage(wnd, CB_INSERTSTRING, (WPARAM)num, | |
| (LPARAM)cmmidi_mt32sound); | |
| if (!milstr_cmp(defname, cmmidi_mt32sound)) { | |
| defcur = num; | |
| } | |
| num++; | |
| } | |
| #endif | |
| for (i=0; i<devs; i++) { | for (i=0; i<devs; i++) { |
| if (midiOutGetDevCaps(i, &moc, sizeof(moc)) == MMSYSERR_NOERROR) { | if (midiOutGetDevCaps(i, &moc, sizeof(moc)) == MMSYSERR_NOERROR) { |
| SendMessage(wnd, CB_INSERTSTRING, | SendMessage(wnd, CB_INSERTSTRING, |