X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FDiskIo.h;h=77517cb672747bab9efff10298ac19f5e9726f2b;hb=34860f7a069641fb9e14077c01605215aae68a9b;hp=75978d18bff840ede8468262585e40c8bbd9df63;hpb=44717a398fddc4df1f4aeaa70bcd7a043187ed34;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/DiskIo.h b/MdePkg/Include/Protocol/DiskIo.h index 75978d18bf..77517cb672 100644 --- a/MdePkg/Include/Protocol/DiskIo.h +++ b/MdePkg/Include/Protocol/DiskIo.h @@ -64,13 +64,13 @@ EFI_STATUS ); /** - Read BufferSize bytes from Offset into Buffer. + Writes a specified number of bytes to a device. - @param This Protocol instance pointer. - @param MediaId Id of the media, changes every time the media is replaced. - @param Offset The starting byte offset to read from - @param BufferSize Size of Buffer - @param Buffer Buffer containing read data + @param This Indicates a pointer to the calling context. + @param MediaId ID of the medium to be written. + @param Offset The starting byte offset on the logical block I/O device to write. + @param BufferSize The size in bytes of Buffer. The number of bytes to write to the device. + @param Buffer A pointer to the buffer containing the data to be written. @retval EFI_SUCCESS The data was written correctly to the device. @retval EFI_WRITE_PROTECTED The device can not be written to.