Can the code be less restrictive with the sharing mode when it extracting archives?
Why does it need exclusive read access if it is just extracting archives and not writing it?
Can below change be considered as improvement?
Existing: lpdwShareMode = FILE_SHARE_READ;
Proposed: lpdwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE;
What issue are you facing? I can only assume if you only need read access it does not make a point to specify shared writing?
Where do you experience a issue?
Can the code be less restrictive with the sharing mode when it extracting archives? Why does it need exclusive read access if it is just extracting archives and not writing it?
Can below change be considered as improvement? Existing: lpdwShareMode = FILE_SHARE_READ; Proposed: lpdwShareMode = FILE_SHARE_READ | FILE_SHARE_WRITE;
Function affected: win32_translate_open_mode