Reference

RetreiveFileSecurity(3w)

NAME

RetreiveFileSecurity (SETUPAPI.@)

SYNOPSIS

DWORD RetreiveFileSecurity
(
LPCWSTR lpFileName,
PSECURITY_DESCRIPTOR* pSecurityDescriptor
)

DESCRIPTION

Retrieve the security descriptor that is associated with the given file.

PARAMS

lpFileName [In] Name of the file.

RETURNS

Success: ERROR_SUCCESS

Failure: other

IMPLEMENTATION

Declared in "setupapi.h".

Implemented in "dlls/setupapi/misc.c".

Debug channel "setupapi".

History