30 Nov
2021
30 Nov
'21
7:14 a.m.
On 11/30/21 1:26 PM, Jacek Caban <jacek(a)codeweavers.com> wrote:
Also preserve last error.
FWIW I think I had similar problems with my nulldrv patches, and the last error reset comes from CreateMutex. If you plan on using ntdll functions directly (or if you don't, using them would), it should not be necessary to save and restore last error.