| commit | e3332128b0de2df9fcd2ab69b302f1d9ba43effb | [log] [tgz] |
|---|---|---|
| author | Alexandre Julliard <julliard@winehq.org> | Thu Jun 08 01:00:16 2000 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Thu Jun 08 01:00:16 2000 +0000 |
| tree | 23c2d63827dded4cd12f9a608bb537af2bc132e8 | |
| parent | 0f45f1cc308617c4c33c87c316f3ca9846897449 [diff] |
Use FILE_SHARE_READ to open the file in GetBinaryTypeA.
diff --git a/loader/module.c b/loader/module.c index 0b324ba..a55837a 100644 --- a/loader/module.c +++ b/loader/module.c
@@ -607,7 +607,7 @@ /* Open the file indicated by lpApplicationName for reading. */ - hfile = CreateFileA( lpApplicationName, GENERIC_READ, 0, + hfile = CreateFileA( lpApplicationName, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, -1 ); if ( hfile == INVALID_HANDLE_VALUE ) return FALSE;