Lines Matching refs:Handle
36 This function will retrieve the information about the file for the handle
42 @param FileHandle The file handle of the file for which information is
96 This function sets the information about the file for the opened handle
99 @param[in] FileHandle The file handle of the file for which information
151 @param FileHandle the opened file handle
226 Close an open file handle.
228 This function closes a specified file handle. All "dirty" cached file data is
229 flushed to the device, and the file is closed. In all cases the handle is
232 @param FileHandle the file handle to close.
234 @retval EFI_SUCCESS the file handle was closed sucessfully.
256 Delete a file and close the handle
258 This function closes and deletes a file. In all cases the file handle is closed.
260 returned, but the handle is still closed.
262 @param FileHandle the file handle to delete
265 @retval EFI_WARN_DELETE_FAILURE the handle was closed, but the file was not
291 This function sets the current file position for the handle to the position
299 @param FileHandle The file handle on which the position is being set
327 This function retrieves the current file position for the file handle. For
332 @param FileHandle The open file handle on which to get the position.
360 @param FileHandle The file handle on which to flush data
386 Function to determine if a given handle is a directory handle.
391 @param[in] DirHandle Handle to open file.
440 This function takes an open directory handle and gets information from the
449 @param[in] DirHandle The file handle of the directory to search.
526 @param[in] DirHandle The file handle of the directory.
581 @param[in] FileHandle The file handle from which size is retrieved.
629 @param[in] FileHandle The file handle whose size is to be changed.
776 if Handle is NULL, return EFI_INVALID_PARAMETER
778 @param[in] Handle Handle to the Directory or File to create path to.
783 @retval EFI_INVALID_PARAMETER Handle was NULL.
790 IN CONST EFI_FILE_HANDLE Handle,
805 if (FullFileName == NULL || Handle == NULL) {
812 Status = Handle->Open(Handle, &CurrentHandle, L".", EFI_FILE_MODE_READ, 0);
864 FileHandleIsDirectory(Handle) == EFI_NOT_FOUND
887 @param[in] Handle FileHandle to read from.
897 IN EFI_FILE_HANDLE Handle,
908 Status = FileHandleReadLine(Handle, RetVal, &Size, FALSE, Ascii);
911 Status = FileHandleReadLine(Handle, RetVal, &Size, FALSE, Ascii);
929 @param[in] Handle FileHandle to read from.
943 @retval EFI_INVALID_PARAMETER Handle was NULL.
952 IN EFI_FILE_HANDLE Handle,
967 if (Handle == NULL
978 Status = FileHandleGetSize (Handle, &FileSize);
986 FileHandleGetPosition(Handle, &OriginalFilePosition);
989 Status = FileHandleRead(Handle, &CharSize, &CharBuffer);
995 FileHandleSetPosition(Handle, OriginalFilePosition);
1007 Status = FileHandleRead(Handle, &CharSize, &CharBuffer);
1040 FileHandleSetPosition(Handle, OriginalFilePosition);
1060 @param[in] Handle FileHandle to write to.
1066 @retval EFI_INVALID_PARAMETER Handle is NULL.
1075 IN EFI_FILE_HANDLE Handle,
1093 if (Handle == NULL) {
1100 Status = FileHandleGetPosition(Handle, &OriginalFilePosition);
1105 Status = FileHandleSetPosition(Handle, 0);
1110 Status = FileHandleGetSize(Handle, &FileSize);
1119 Status = FileHandleRead (Handle, &CharSize, &CharBuffer);
1128 Status = FileHandleSetPosition(Handle, OriginalFilePosition);
1148 Status = FileHandleWrite(Handle, &Size, AsciiBuffer);
1154 Status = FileHandleWrite(Handle, &Size, "\r\n");
1157 Status = FileHandleSetPosition (Handle, sizeof(CHAR16));
1163 Status = FileHandleWrite(Handle, &Size, Buffer);
1168 Status = FileHandleWrite(Handle, &Size, L"\r\n");
1180 @param[in] Handle the file handle for the file to write to
1192 IN EFI_FILE_HANDLE Handle,
1219 Status = FileHandleWriteLine(Handle, Buffer);
1233 If Handle is NULL, then return False.
1235 @param[in] Handle the file handle
1243 IN EFI_FILE_HANDLE Handle
1250 if (Handle == NULL) {
1254 FileHandleGetPosition(Handle, &Pos);
1255 Info = FileHandleGetInfo (Handle);
1261 FileHandleSetPosition(Handle, Pos);