Reference

SetFileSecurityW(3w)

NAME

SetFileSecurityW (ADVAPI32.@)

SYNOPSIS

BOOL SetFileSecurityW
(
LPCWSTR lpFileName,
SECURITY_INFORMATION RequestedInformation,
PSECURITY_DESCRIPTOR pSecurityDescriptor
)

DESCRIPTION

Sets the security of a file or directory.

PARAMS

lpFileName []

RequestedInformation []

pSecurityDescriptor [].

RETURNS

Success: TRUE.

Failure: FALSE.

IMPLEMENTATION

Declared in "winbase.h".

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

Debug channel "advapi".

History