GetFileSecurityA (ADVAPI32.@)
BOOL GetFileSecurityA ( LPCSTR lpFileName, SECURITY_INFORMATION RequestedInformation, PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength, LPDWORD lpnLengthNeeded )
Obtains Specified information about the security of a file or directory.
lpFileName | [In] | Name of the file to get information for. |
RequestedInformation | [In] | SE_ flags from "winnt.h". |
pSecurityDescriptor | [Out] | Destination for security information. |
nLength | [In] | Length of pSecurityDescriptor. |
lpnLengthNeeded | [Out] | Destination for length of returned security information. |
Success: TRUE. pSecurityDescriptor contains the requested information.
Failure: FALSE. lpnLengthNeeded contains the required space to return the info.
The information returned is constrained by the callers access rights and privileges.
Declared in "include/winbase.h". gitlab.winehq.org/wine/wine/blob/master/include/winbase.h
Implemented in "dlls/advapi32/security.c". gitlab.winehq.org/wine/wine/blob/master/dlls/advapi32/security.c
Debug channel "advapi".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.