Package EOorg.EOeolang.EOsys.Win32
Interface WinNT
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
WinNT.HANDLE
Handle to an object.-
Nested classes/interfaces inherited from interface EOorg.EOeolang.EOsys.Win32.BaseTSD
BaseTSD.ULONG_PTR
-
Nested classes/interfaces inherited from interface EOorg.EOeolang.EOsys.Win32.WinBase
WinBase.OVERLAPPED, WinBase.SECURITY_ATTRIBUTES
-
Nested classes/interfaces inherited from interface EOorg.EOeolang.EOsys.Win32.WinDef
WinDef.DWORD, WinDef.WORD
-
-
Field Summary
Fields Modifier and Type Field Description static int
CREATE_ALWAYS
This flag determines how a file should be handled if it already exists or doesn't exist when you attempt to create or open it.static int
FILE_ATTRIBUTE_NORMAL
This flag specifies the file's attributes.static int
GENERIC_READ
This flag grants read access to the file or resource.static int
GENERIC_WRITE
This flag specifies the desired access to the file.static int
OPEN_EXISTING
The OPEN_EXISTING flag tells the CreateFile function to open the file only if it already exists.-
Fields inherited from interface EOorg.EOeolang.EOsys.Win32.WinBase
INVALID_HANDLE_VALUE
-
-
-
-
Field Detail
-
FILE_ATTRIBUTE_NORMAL
static final int FILE_ATTRIBUTE_NORMAL
This flag specifies the file's attributes. FILE_ATTRIBUTE_NORMAL indicates that the file does not have any special attributes. Value: 0x80 (or 128 in decimal) Behavior: The file is a standard file with no special attributes, such as hidden, system, or read-only.- See Also:
- Constant Field Values
-
CREATE_ALWAYS
static final int CREATE_ALWAYS
This flag determines how a file should be handled if it already exists or doesn't exist when you attempt to create or open it. Behavior: If the file already exists, it will be overwritten (truncated to zero length). If the file does not exist, it will be created.- See Also:
- Constant Field Values
-
OPEN_EXISTING
static final int OPEN_EXISTING
The OPEN_EXISTING flag tells the CreateFile function to open the file only if it already exists. If the file doesn't exist, the function fails, and an error is returned (typically ERROR_FILE_NOT_FOUND).- See Also:
- Constant Field Values
-
GENERIC_WRITE
static final int GENERIC_WRITE
This flag specifies the desired access to the file. GENERIC_WRITE allows for writing data to the file. Value: 0x40000000 (or 1073741824 in decimal) The file can be written to, meaning you can modify its contents. This flag grants the ability to write data, append data, or modify file attributes.- See Also:
- Constant Field Values
-
GENERIC_READ
static final int GENERIC_READ
This flag grants read access to the file or resource. When you specify GENERIC_READ, the handle you obtain will allow you to read the contents of the file or resource. Value: 0x80000000- See Also:
- Constant Field Values
-
-