Efi_file.close(), Close() – Intel Extensible Firmware Interface User Manual

Page 384

Advertising
background image

Extensible Firmware Interface Specification

11-24

12/01/02

Version 1.10

EFI_FILE.Close()

Summary

Closes a specified file handle.

Prototype

EFI_STATUS
(EFIAPI *EFI_FILE_CLOSE) (
IN

EFI_FILE

*This

);

Parameters

This

A pointer to the

EFI_FILE

instance that is the file handle to close. See

the type

EFI_FILE

protocol description.

Description

The

Close()

function closes a specified file handle. All “dirty” cached file data is flushed to the

device, and the file is closed. In all cases the handle is closed.

Status Codes Returned

EFI_SUCCESS

The file was closed.

Advertising