mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Remove dead code
svn path=/trunk/; revision=42540
This commit is contained in:
parent
945b08e99d
commit
3e5c0bc6aa
2 changed files with 0 additions and 37 deletions
|
@ -144,41 +144,6 @@ VOID FsSetFilePointer(PFILE FileHandle, ULONG NewFilePointer)
|
|||
//
|
||||
}
|
||||
|
||||
ULONG FsGetFilePointer(PFILE FileHandle)
|
||||
{
|
||||
ULONG FileId = (ULONG)FileHandle;
|
||||
FILEINFORMATION Information;
|
||||
LONG ret;
|
||||
|
||||
//
|
||||
// Query file informations
|
||||
//
|
||||
ret = ArcGetFileInformation(FileId, &Information);
|
||||
|
||||
//
|
||||
// Check for error
|
||||
//
|
||||
if (ret != ESUCCESS || Information.CurrentAddress.HighPart != 0)
|
||||
return 0;
|
||||
|
||||
//
|
||||
// Return file pointer position
|
||||
//
|
||||
return Information.CurrentAddress.LowPart;
|
||||
}
|
||||
|
||||
BOOLEAN FsIsEndOfFile(PFILE FileHandle)
|
||||
{
|
||||
if (FsGetFilePointer(FileHandle) >= FsGetFileSize(FileHandle))
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* FsGetNumPathParts()
|
||||
* This function parses a path in the form of dir1\dir2\file1.ext
|
||||
|
|
|
@ -54,8 +54,6 @@ VOID FsCloseFile(PFILE FileHandle);
|
|||
BOOLEAN FsReadFile(PFILE FileHandle, ULONG BytesToRead, ULONG* BytesRead, PVOID Buffer);
|
||||
ULONG FsGetFileSize(PFILE FileHandle);
|
||||
VOID FsSetFilePointer(PFILE FileHandle, ULONG NewFilePointer);
|
||||
ULONG FsGetFilePointer(PFILE FileHandle);
|
||||
BOOLEAN FsIsEndOfFile(PFILE FileHandle);
|
||||
ULONG FsGetNumPathParts(PCSTR Path);
|
||||
VOID FsGetFirstNameFromPath(PCHAR Buffer, PCSTR Path);
|
||||
|
||||
|
|
Loading…
Reference in a new issue