28 Oct
2025
28 Oct
'25
11:16 p.m.
Esme Povirk (@madewokherd) commented about dlls/twain_32/dsm_ctrl.c:
+ return GlobalLock(_handle); +} + + +/** + * Callback function used in TW_ENTRYPOINT as defined by the TWAIN Group + * @param _handle Handle created by DSM_MemAllocate that shall now be + * unlocked to allow the memory handler to move it to + * different addresses, + */ +static void PASCAL _DSM_MemUnlock(TW_HANDLE _handle) +{ + GlobalUnlock(_handle); +} + +/// Structure with pointers being transfered in DG_CONTROL / DAT_ENTRYPOINT / MSG_SET to the data source C++ style comments (starting with //) are not allowed in Wine.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9217#note_119927