[Bug 47833] New: FindFirstFileExW seems to be missing FILE_OPEN_FOR_BACKUP_INTENT flag to NtOpenFile
WineHQ Bugzilla
wine-bugs at winehq.org
Sun Sep 29 00:12:32 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=47833
Bug ID: 47833
Summary: FindFirstFileExW seems to be missing
FILE_OPEN_FOR_BACKUP_INTENT flag to NtOpenFile
Product: Wine
Version: unspecified
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs at winehq.org
Reporter: qsniyg at mail.com
Distribution: ---
When running USVFS (through ModOrganizer 2), its hooked version of NtOpenFile
checks for the FILE_OPEN_FOR_BACKUP_INTENT flag to see if the function calling
it is FindFirstFileExW.
Under Windows, this apparently works as expected, but wine doesn't pass the
flag, causing USVFS to fail injecting directory listings. Adding the flag
allows USVFS to work properly.
I haven't tested this under windows, so I have no way to verify if the flag
only gets set for some arguments sent to FindFirstFileExW and not others, but
since USVFS has been known to work for many different programs, I would
personally assume that the flag is always set.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list