Return actual result on error.

This commit is contained in:
Robert Reif 2004-12-20 17:09:12 +00:00 committed by Alexandre Julliard
parent 3bb7f70f6b
commit 6ca75f8bb7
1 changed files with 4 additions and 4 deletions

View File

@ -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)