Michael Stefaniuc (@mstefani) commented about dlls/dmime/segment.c:
> + case FOURCC_LIST: {
> + FIXME("Skipping LIST tag\n");
> + break;
> + }
> + case mmioFOURCC('I','S','F','T'): {
> + FIXME("Skipping ISFT tag\n");
> + break;
> + }
> + case mmioFOURCC('f','a','c','t'): {
> + FIXME("Skipping fact tag\n");
> + break;
> + }
> + }
> + }
> +
> + return S_OK;
The stream_next_chunk() in the while loop can fail too and you'll need to return that failure too.
S_FALSE indicates "no more chunks".
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2029#note_22348
Michael Stefaniuc (@mstefani) commented about dlls/dmime/segment.c:
>
> if (riff.type == DMUS_FOURCC_SEGMENT_FORM)
> hr = parse_segment_form(This, stream, &riff);
> - else {
> - FIXME("WAVE form loading not implemented\n");
> - hr = S_OK;
> - }
> + else
Please check that the RIFF has the proper type and add an else for the error case.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2029#note_22346
--
v5: tests: Test entry point semantics on function declarations.
tests: Add more tests for early return from the entry point.
tests: Add some tests for early return from user-defined functions.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/65
This informs the compiler that no code will ever run after an assertion
failure (unless NDEBUG is defined), which increases accuracy of compiler
warnings and static analyses.
--
v5: include/msvcrt: Add noreturn attribute to _assert.
include: Add noreturn attribute to RtlRaiseStatus.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2051
This series implements kernelbase.EnumProcessModulesEx().
This series:
- implements EnumProcessModulesEx()
- ensure it passes a bunch of new tests
- fix GetModuleBaseName, GetModuleFileNameEx, GetModuleInformation()
to cope with HMODULES returned from EnumProcessModulesEx().
Notes: as EnumProcessModules() doesn't return the same list as Windows
on a Wow64 setup, and that there's no use of EnumProcessModulesEx()
in Wine code, this first series will implement EnumProcessModulesEx()
and if accepted, it will be followed by a second serie which, firstly,
adapt all places in Wine code with bad expectations on
EnumProcessModules(), and secondly reimlement EnumProcessModules()
using EnumProcessModulesEx().
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2064