Documentation of kernel API
This commit is contained in:
parent
d10a1ceea4
commit
3d67440817
|
@ -390,3 +390,23 @@ Argument Structure:
|
|||
This call attempts to move or rename the specified `source` file to `dest`. On success,
|
||||
`C` will contain `STATUS_OK`. On error, `C` will contain a negative value indicating the
|
||||
specific error.
|
||||
|
||||
# `0x16`: Set File Attributes
|
||||
|
||||
Arguments:
|
||||
- `C`: `0x16`
|
||||
- `X`: File handle
|
||||
- `Y`: File attribute bitmask
|
||||
|
||||
Return Values:
|
||||
- `C`: Status code
|
||||
|
||||
This call alters the file attributes of the specified file. The `Y` register should
|
||||
contain the result of a bitwise OR operation on any or all of the following values:
|
||||
|
||||
- `FILE_READ_ONLY`
|
||||
- `FILE_HIDDEN`
|
||||
- `FILE_SYSTEM`
|
||||
- `FILE_ARCHIVE`
|
||||
|
||||
Passing `0x0000` in the `Y` register will clear all attributes.
|
Loading…
Reference in New Issue