Aug. 24, 2026
6:03 p.m.
On Mon Aug 24 17:59:56 2026 +0000, Nikolay Sivov wrote:
If we do this, it should be consistent between two cases. Now for first path it won't return error code, and for second one it will. IMO it's more natural to keep whatever stream method returns. We could also just make sure we return S_FALSE if it succeeds with fewer bytes read than requested. I just don't feel like we'd ever want to pass through a successful hr in the case where we read an unknown but non-zero number of bytes because we didn't pass in a variable to accept the amount.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/11730#note_149726