I think GlobalHandle() does the right thing here because it should succeed if the buffer is allocated by GlobalAlloc(GMEM_FIXED) or HeapAlloc(). Therefore, dsound needs to be fixed.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48635 Signed-off-by: Akihiro Sagawa sagawa.aki@gmail.com --- dlls/dsound/buffer.c | 16 +++++----------- dlls/dsound/tests/dsound.c | 6 ++++++ 2 files changed, 11 insertions(+), 11 deletions(-)
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=65773
Your paranoid android.
=== w864 (64 bit report) ===
Report validation errors: dsound:dsound crashed (c0000374)
=== w1064v1507 (64 bit report) ===
Report validation errors: dsound:dsound crashed (c0000374)
=== w1064v1809 (64 bit report) ===
Report validation errors: dsound:dsound crashed (c0000374)