Commit dd29a1f6 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

wineoss: Move MIDM_GETNUMDEVS to the unixlib.

parent 0cd1affc
...@@ -605,8 +605,6 @@ DWORD WINAPI OSS_midMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser, ...@@ -605,8 +605,6 @@ DWORD WINAPI OSS_midMessage(UINT wDevID, UINT wMsg, DWORD_PTR dwUser,
return midClose(wDevID); return midClose(wDevID);
case MIDM_ADDBUFFER: case MIDM_ADDBUFFER:
return midAddBuffer(wDevID, (LPMIDIHDR)dwParam1, dwParam2); return midAddBuffer(wDevID, (LPMIDIHDR)dwParam1, dwParam2);
case MIDM_GETNUMDEVS:
return MIDM_NumDevs;
case MIDM_RESET: case MIDM_RESET:
return midReset(wDevID); return midReset(wDevID);
case MIDM_START: case MIDM_START:
......
...@@ -1217,6 +1217,9 @@ NTSTATUS midi_in_message(void *args) ...@@ -1217,6 +1217,9 @@ NTSTATUS midi_in_message(void *args)
case MIDM_GETDEVCAPS: case MIDM_GETDEVCAPS:
*params->err = midi_in_get_devcaps(params->dev_id, (MIDIINCAPSW *)params->param_1, params->param_2); *params->err = midi_in_get_devcaps(params->dev_id, (MIDIINCAPSW *)params->param_1, params->param_2);
break; break;
case MIDM_GETNUMDEVS:
*params->err = num_srcs;
break;
default: default:
TRACE("Unsupported message\n"); TRACE("Unsupported message\n");
*params->err = MMSYSERR_NOTSUPPORTED; *params->err = MMSYSERR_NOTSUPPORTED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment