def setFileSecurity(
        self,
        fileName,
        securityInformation,
        securityDescriptor,
        lengthSecurityDescriptorBuffer,
        dokanFileInfo,
    ):
        """Set security attributes of a file.

        :param fileName: name of file to set security for
        :type fileName: ctypes.c_wchar_p
        :param securityInformation: new security information
        :type securityInformation: PSECURITY_INFORMATION
        :param securityDescriptor: newsecurity descriptor
        :type securityDescriptor: PSECURITY_DESCRIPTOR
        :param lengthSecurityDescriptorBuffer: length of descriptor buffer
        :type lengthSecurityDescriptorBuffer: ctypes.c_ulong
        :param dokanFileInfo: used by Dokan
        :type dokanFileInfo: PDOKAN_FILE_INFO
        :return: error code
        :rtype: ctypes.c_int

        """
        return self.operations('setFileSecurity', fileName)
def setFileSecurity ( self , fileName , securityInformation , securityDescriptor , lengthSecurityDescriptorBuffer , dokanFileInfo , ) : return self . operations ( 'setFileSecurity' , fileName )
Set security attributes of a file.

        :param fileName: name of file to set security for
        :type fileName: ctypes.c_wchar_p
        :param securityInformation: new security information
        :type securityInformation: PSECURITY_INFORMATION
        :param securityDescriptor: newsecurity descriptor
        :type securityDescriptor: PSECURITY_DESCRIPTOR
        :param lengthSecurityDescriptorBuffer: length of descriptor buffer
        :type lengthSecurityDescriptorBuffer: ctypes.c_ulong
        :param dokanFileInfo: used by Dokan
        :type dokanFileInfo: PDOKAN_FILE_INFO
        :return: error code
        :rtype: ctypes.c_int