Documentation of kernel API

This commit is contained in:
Kyle J Cardoza 2024-07-09 00:23:28 -04:00
parent d10a1ceea4
commit 3d67440817
1 changed files with 20 additions and 0 deletions

View File

@ -390,3 +390,23 @@ Argument Structure:
This call attempts to move or rename the specified `source` file to `dest`. On success, 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 `C` will contain `STATUS_OK`. On error, `C` will contain a negative value indicating the
specific error. 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.