FileApi

@extern
object FileApi
class Object
trait Matchable
class Any
FileApi.type

Type members

Types

type Win32FindDataA = Win32FindData[CChar]
type Win32FindDataW = Win32FindData[WChar]

Value members

Concrete methods

def CreateDirectoryA(filename: CString, securityAttributes: Ptr[SecurityAttributes]): Boolean
def CreateDirectoryW(filename: CWString, securityAttributes: Ptr[SecurityAttributes]): Boolean
def CreateFileA(filename: CString, desiredAccess: DWord, shareMode: DWord, securityAttributes: SecurityAttributes, creationDisposition: DWord, flagsAndAttributes: UInt, templateFile: Handle): Handle
def CreateFileW(filename: CWString, desiredAccess: DWord, shareMode: DWord, securityAttributes: SecurityAttributes, creationDisposition: DWord, flagsAndAttributes: UInt, templateFile: Handle): Handle
def DeleteFileA(filename: CString): Boolean
def DeleteFileW(filename: CWString): Boolean
def FindClose(searchHandle: Handle): Boolean
def FindFirstFileA(filename: CString, findFileData: Ptr[Win32FindDataA]): Handle
def FindFirstFileW(filename: CWString, findFileData: Ptr[Win32FindDataW]): Handle
def FindNextFileA(searchHandle: Handle, findFileData: Ptr[Win32FindDataA]): Boolean
def FindNextFileW(searchHandle: Handle, findFileData: Ptr[Win32FindDataW]): Boolean
def GetFileAttributesA(filename: CString): DWord
def GetFileSizeEx(file: Handle, fileSize: Ptr[LargeInteger]): Boolean
def GetFileTime(file: Handle, creationTime: Ptr[FileTime], lastAccessTime: Ptr[FileTime], lastWriteTime: Ptr[FileTime]): Boolean
def GetFinalPathNameByHandleA(handle: Handle, buffer: CString, bufferSize: DWord, flags: DWord): DWord
def GetFinalPathNameByHandleW(handle: Handle, buffer: CWString, bufferSize: DWord, flags: DWord): DWord
def GetFullPathNameA(filename: CString, bufferLength: DWord, buffer: CString, filePart: Ptr[CString]): DWord
def GetFullPathNameW(filename: CWString, bufferLength: DWord, buffer: CWString, filePart: Ptr[CWString]): DWord
def GetLogicalDriveStringsW(bufferLength: DWord, buffer: CWString): DWord
def GetTempFileNameW(pathName: CWString, prefixString: CWString, unique: UInt, tempFileName: CWString): UInt
def GetTempPathA(bufferLength: DWord, buffer: CString): DWord
def GetTempPathW(bufferLength: DWord, buffer: CWString): DWord
def GetVolumePathNameW(filename: CWString, volumePathName: CWString, bufferLength: DWord): Boolean
def LockFile(hfile: Handle, dwFileOffsetLow: DWord, dwFileOffsetHigh: DWord, nNumberOfBytesToLockLow: DWord, nNumberOfBytesToLockHigh: DWord): Boolean
def LockFileEx(hfile: Handle, dwFlags: DWord, dwReserved: DWord, nNumberOfBytesToLockLow: DWord, nNumberOfBytesToLockHigh: DWord, lpOverlapped: Ptr[OVERLAPPED]): Boolean
def ReadFile(fileHandle: Handle, buffer: Ptr[Byte], bytesToRead: DWord, bytesReadPtr: Ptr[DWord], overlapped: Ptr[Byte]): Boolean
def SetFileAttributesA(filename: CString, fileAttributes: DWord): Boolean
def SetFileAttributesW(filename: CWString, fileAttributes: DWord): Boolean
def SetFilePointerEx(file: Handle, distanceToMove: LargeInteger, newFilePointer: Ptr[LargeInteger], moveMethod: DWord): Boolean
def SetFileTime(file: Handle, creationTime: Ptr[FileTime], lastAccessTime: Ptr[FileTime], lastWriteTime: Ptr[FileTime]): Boolean
def UnlockFile(hfile: Handle, dwFileOffsetLow: DWord, dwFileOffsetHigh: DWord, nNumberOfBytesToUnlockLow: DWord, nNumberOfBytesToUnlockHigh: DWord): Boolean
def WriteFile(fileHandle: Handle, buffer: Ptr[Byte], bytesToRead: DWord, bytesWritten: Ptr[DWord], overlapped: Ptr[Byte]): Boolean