[ros-dev] Re: [ros-svn] [hbirr] 17912: The share disposition isn't
necessary for FILE_READ_ATTRIBUTES.
w3seek at reactos.com
Wed Sep 21 14:44:26 CEST 2005
hbirr at svn.reactos.com wrote:
> The share disposition isn't necessary for FILE_READ_ATTRIBUTES.
Actually this prevents opening the file during the operation. A better
candidate for GetFileAttributesEx is NtQueryFullAttributesFile which
accepts a OBJECT_ATTRIBUTES structure instead of a handle, so there's no
need to even open the file at all.
More information about the Ros-dev