You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dwDesiredAccess parameter can be zero, allowing the application to query file attributes without accessing the file if the application is running with adequate security settings. This is useful to test for the existence of a file without opening it for read and/or write access, or to obtain other statistics about the file or directory.
For example, currently, I get an error trying to get info for C:\Users\Administrator\AppData\Local\Microsoft\Windows\UsrClass.dat file:
Os{code:32,kind:Uncategorized,message:"The process cannot access the file because it is being used by another process.",},
The text was updated successfully, but these errors were encountered:
dfaust
added a commit
to dfaust/notify
that referenced
this issue
Sep 15, 2024
As an improvement to the
file-id
crate, I would propose change:notify/file-id/src/lib.rs
Line 195 in 128bf62
to:
From https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea#files:
For example, currently, I get an error trying to get info for
C:\Users\Administrator\AppData\Local\Microsoft\Windows\UsrClass.dat
file:The text was updated successfully, but these errors were encountered: