![Intel Extensible Firmware Interface Скачать руководство пользователя страница 216](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117216.webp)
Extensible Firmware Interface Specification
198
12/12/00
Version 1.02
10.2.5 EFI_FILE.Write()
Summary
Writes data to a file.
EFI_STATUS
(EFIAPI *EFI_FILE_WRITE) (
IN EFI_FILE
*This,
IN OUT UINTN
*BufferSize,
IN VOID
*Buffer
);
Parameters
This
A pointer to the
EFI_FILE
instance that is the file handle to write data
to. Type
EFI_FILE
is defined in Section 10.2.
BufferSize
On input, the size of the
Buffer
. On output, the amount of data
actually written. In both cases, the size is measured in bytes.
Buffer
The buffer of data to write.
Description
The
Write()
function writes the specified number of bytes to the file at the current file position.
The current file position is advanced the actual number of bytes written, which is returned in
BufferSize
. Partial writes only occur when there has been a data error during the write attempt
(such as “file space full”). The file is automatically grown to hold the data if required.
Direct writes to opened directories are not supported.
Status Codes Returned
EFI_SUCCESS
The data was written.
EFI_UNSUPPORT
Writes to open directory files are not supported.
EFI_NO_MEDIA
The device has no medium.
EFI_DEVICE_ERROR
The device reported an error.
EFI_VOLUME_CORRUPTED
The file system structures are corrupted.
EFI_WRITE_PROTECTED
The file or medium is write protected.
EFI_ACCESS_DENIED
The file was opened read only.
EFI_VOLUME_FULL
The volume is full.
Содержание Extensible Firmware Interface
Страница 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Страница 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Страница 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Страница 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Страница 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Страница 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Страница 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Страница 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Страница 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Страница 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Страница 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Страница 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Страница 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Страница 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Страница 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...