Hi,
I work in Linux. In Linux with stat function, we can extract the permissions of a file.
Similarly how can we extract the permissions of a file in windows.
_stat function in msdn states that permission bits are set in the stat buffer. But it does not give how to extract them.
http://msdn.microsoft.com/en-us/library/14h5k7ff%28VS.71%29.aspx