Re: [PATCH v2 0/1] MR3854: winmm: Avoid use of hardcoded return values.
2 Oct
2023
2 Oct
'23
3:45 a.m.
Yes, currently MCI_MapMsgAtoW returns a tri-state. -1 = Memory allocation error 0 = No unmap required 1 = Unmap required. Since MCI_UnmapMsgAtoW handles all the cases where MCI_MapMsgAtoW allocates memory. Why not just call MCI_UnmapMsgAtoW to do its thing in all cases? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3854#note_47342
802
Age (days ago)
802
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alistair Leslie-Hughes (@alesliehughes)