scala
.
scalanative
.
windows
FileApi
Related Doc:
package windows
object
FileApi
Annotations
@extern
()
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
FileApi
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
type
ByHandleFileInformation
=
CStruct10
[
DWord
,
FileTimeStruct
,
FileTimeStruct
,
FileTimeStruct
,
DWord
,
DWord
,
DWord
,
DWord
,
DWord
,
DWord
]
type
Win32FindDataA
=
CStruct13
[
DWord
,
FileTimeStruct
,
FileTimeStruct
,
FileTimeStruct
,
DWord
,
DWord
,
DWord
,
DWord
,
FileName
[
CChar
],
AlternateFileName
[
CChar
],
DWord
,
DWord
,
Word
]
type
Win32FindDataW
=
CStruct13
[
DWord
,
FileTimeStruct
,
FileTimeStruct
,
FileTimeStruct
,
DWord
,
DWord
,
DWord
,
DWord
,
FileName
[
WChar
],
AlternateFileName
[
WChar
],
DWord
,
DWord
,
Word
]
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
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
FlushFileBuffers
(
handle:
Handle
)
:
Boolean
def
GetFileAttributesA
(
filename:
CString
)
:
DWord
def
GetFileAttributesW
(
filename:
CWString
)
:
DWord
def
GetFileInformationByHandle
(
file:
Handle
,
fileInformation:
Ptr
[
ByHandleFileInformation
]
)
:
Boolean
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
RemoveDirectoryW
(
filename:
CWString
)
:
Boolean
def
SetEndOfFile
(
file:
Handle
)
:
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped