Nov. 9, 2023
1:30 p.m.
Would you prefer using InterlockedIncrement in AddRef instead of using the CS lock?
Yes, it's good practice to always use interlocked functions for COM refcounts. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4002#note_51698