Commit 6ca75f8b authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

Return actual result on error.

parent 3bb7f70f
......@@ -270,8 +270,8 @@ error:
WARN("ret = WAVERR_BADFORMAT\n");
return WAVERR_BADFORMAT;
}
WARN("ret = MMSYSERR_ERROR\n");
return MMSYSERR_ERROR;
WARN("ret = 0x%08lx\n", res);
return res;
}
static DWORD wodClose(WAVEMAPDATA* wom)
......@@ -781,8 +781,8 @@ error:
WARN("ret = WAVERR_BADFORMAT\n");
return WAVERR_BADFORMAT;
}
WARN("ret = MMSYSERR_ERROR\n");
return MMSYSERR_ERROR;
WARN("ret = 0x%08lx\n", res);
return res;
}
static DWORD widClose(WAVEMAPDATA* wim)
......
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