---
name: "GetFileSecurityW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GetFileSecurityW"
---

# GetFileSecurityW(3w)

## NAME

**GetFileSecurityW** (ADVAPI32.@)

## SYNOPSIS

BOOL GetFileSecurityW\
  (\
   LPCWSTR              *lpFileName*,\
   SECURITY\_INFORMATION *RequestedInformation*,\
   PSECURITY\_DESCRIPTOR *pSecurityDescriptor*,\
   DWORD                *nLength*,\
   LPDWORD              *lpnLengthNeeded*\
  )

## DESCRIPTION

See **[GetFileSecurityA(3w)](/GetFileSecurityA/3w.md)**.

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/advapi32/security.c"**.

Debug channel **"advapi"**.
