28 Jan
2026
28 Jan
'26
6:42 p.m.
Both unsafe and safe versions are fastcall? in wine the fast lock (safe version) is winapi (stdcall) for safe and fastcall for unsafe
All of the fast mutex and guarded mutex functions are fastcall according to NT headers. The import libraries agree. However, the distinction only matters on i386, and ExAcquireFastMutex/ExReleaseFastMutex don't exist on i386.
also what about KeInitializeGuardedMutex?
Also should be fastcall. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2044#note_128295