C language function:GetFileSecurity sample codes

Search sample code in the internet.It is the result.


TITLE : How to Check Access Rights | Ruminations
if (!::GetFileSecurity( folderName, OWNER_SECURITY_INFORMATION | GROUP_SECURITY_INFORMATION.......
http://blog.aaronballman.com/2011/08/how-to-check-access-rights/


TITLE : How to Check Access Rights | Ruminations
if (security && ::GetFileSecurity( folderName, OWNER_SECURITY_INFORMATION | GROUP_SECURITY_INFORMATION.......
http://blog.aaronballman.com/2011/08/how-to-check-access-rights/
TITLE : How to Check Access Rights | Ruminations
I have found the solution: The function GetNamedSecurityInfo() (instead of GetFileSecurity()) is my friend c. with the parameter SE_LMSHARE as 2nd parameter c ;-).......
http://blog.aaronballman.com/2011/08/how-to-check-access-rights/
search Google

https://www.google.com/#q=GetFileSecurity