FileApi
@extern
object FileApi
Type members
Types
type ByHandleFileInformation = CStruct10[DWord, FileTimeStruct, FileTimeStruct, FileTimeStruct, DWord, DWord, DWord, DWord, DWord, DWord]
Value members
Concrete methods
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 GetFileInformationByHandle(file: Handle, fileInformation: Ptr[ByHandleFileInformation]): Boolean
def GetFinalPathNameByHandleA(handle: Handle, buffer: CString, bufferSize: DWord, flags: DWord): DWord
def GetFullPathNameA(filename: CString, bufferLength: DWord, buffer: CString, filePart: Ptr[CString]): DWord
def GetTempFileNameW(pathName: CWString, prefixString: CWString, unique: UInt, tempFileName: CWString): UInt
def LockFileEx(hfile: Handle, dwFlags: DWord, dwReserved: DWord, nNumberOfBytesToLockLow: DWord, nNumberOfBytesToLockHigh: DWord, lpOverlapped: Ptr[OVERLAPPED]): Boolean
def SetFilePointerEx(file: Handle, distanceToMove: LargeInteger, newFilePointer: Ptr[LargeInteger], moveMethod: DWord): Boolean