Delphi. WinAPI. Получение дескриптора безопасности файла

Получение дескриптора безопасности файла

Способ №1

function ConvertSecurityDescriptorToStringSecurityDescriptor_( SecurityDescriptor: PSECURITY_DESCRIPTOR; RequestedStringSDRevision: DWORD; SecurityInformation: SECURITY_INFORMATION; StringSecurityDescriptor: PPChar; StringSecurityDescriptorLen: PCardinal ): Boolean; stdcall; external ‘ADVAPI32.DLL’ name {$IFDEF USEUNICODE}’ConvertSecurityDescriptorToStringSecurityDescriptorW'{$ELSE}

Читать на сайте автора.