http://bugs.winehq.org/show_bug.cgi?id=21156
Jeff L lats@yless4u.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lats@yless4u.com.au
--- Comment #27 from Jeff L lats@yless4u.com.au 2010-06-16 08:28:07 --- An observation - if ((h1 = CreateFileW(source, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, + if ((h1 = CreateFileW(source, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, 0)) == INVALID_HANDLE_VALUE) according to MSDN the file sharing flags refer to subsequent attempts to open the file. Given this is an open_existing, they should not affect this CreateFileW call.