https://bugs.winehq.org/show_bug.cgi?id=44953
--- Comment #8 from Andrew Eikum aeikum@codeweavers.com --- (In reply to Louis Lenders from comment #7)
Created attachment 61163 [details] test dwParam1=invalid handle and with dwParam2 = 0
If I adjust test and call exactly what Adobe Elemnts does (dwParam1=-1 en dwParam2=0), it seems like all windowsversions return MMSYSERR_INVALPARAM; it dowsn`t crash at least
This test passes on all windowsversions. So maybe we could just a check for this, that would fix this bug
That seems reasonable. Probably Windows returns early with failure if either is NULL, so Windows never writes to the invalid -1 pointer.