EFI_FILE_SET_INFO

Sets information about a file.

@param File A pointer to the EFI_FILE_PROTOCOL instance that is the file handle the information is for. @param InformationType The type identifier for the information being set. @param BufferSize The size, in bytes, of Buffer. @param Buffer A pointer to the data buffer to write. The buffer's type is indicated by InformationType.

@retval EFI_SUCCESS The information was set. @retval EFI_UNSUPPORTED The InformationType is not known. @retval EFI_NO_MEDIA The device has no medium. @retval EFI_DEVICE_ERROR The device reported an error. @retval EFI_VOLUME_CORRUPTED The file system structures are corrupted. @retval EFI_WRITE_PROTECTED InformationType is EFI_FILE_INFO_ID and the media is read-only. @retval EFI_WRITE_PROTECTED InformationType is EFI_FILE_PROTOCOL_SYSTEM_INFO_ID and the media is read only. @retval EFI_WRITE_PROTECTED InformationType is EFI_FILE_SYSTEM_VOLUME_LABEL_ID and the media is read-only. @retval EFI_ACCESS_DENIED An attempt is made to change the name of a file to a file that is already present. @retval EFI_ACCESS_DENIED An attempt is being made to change the EFI_FILE_DIRECTORY Attribute. @retval EFI_ACCESS_DENIED An attempt is being made to change the size of a directory. @retval EFI_ACCESS_DENIED InformationType is EFI_FILE_INFO_ID and the file was opened read-only and an attempt is being made to modify a field other than Attribute. @retval EFI_VOLUME_FULL The volume is full. @retval EFI_BAD_BUFFER_SIZE BufferSize is smaller than the size of the type indicated by InformationType.

extern (C)
alias EFI_FILE_SET_INFO = EFI_STATUS function @nogc nothrow

Meta