2 Oct
2023
2 Oct
'23
8: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