FS:OpenFile: Difference between revisions

Neimod (talk | contribs)
m Reverted edits by Neimod (talk) to last revision by Yellows8
Neimod (talk | contribs)
No edit summary
Line 9: Line 9:
|-
|-
| 1
| 1
| Usually zero?
| Transaction (usually 0)
|-
|-
| 2
| 2
Line 24: Line 24:
|-
|-
| 6
| 6
| Openflags
| OpenFlags
|-
|-
| 7
| 7
| Usually zero?
| Attributes (usually 0)
|-
|-
| 8
| 8
Line 52: Line 52:
|}
|}


=Openflags=
=OpenFlags=
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 68: Line 68:
|}
|}


=LowPath Types=
= Attributes =
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
LowPath.Type
Flag
!  Description
!  Description
|-
|-
| 2
| 0x00000001
| ExeFS file path, first u32 in the LowPath.data buffer is an ID while the rest is the 8-byte filename
| Is Read-Only
|-
| 0x00000100
| Is Archive
|-
| 0x00010000
| Is Hidden
|-
| 0x01000000
| Is Directory
|}
 
=LowPath=
{| class="wikitable" border="1"
|-
!  Type
!  Description
|-
| 0 (INVALID)
| Specifies an invalid path.
|-
| 1 (EMPTY)
| Specifies an empty path.
|-
| 2 (BINARY)
| Specifies a binary path, which is non-text based.
|-
|-
| 3
| 3 (CHAR)
| Path char*
| Specifies a text based path with a 8-bit byte per character.
|-
|-
| 4
| 4 (WCHAR)
| Path wchar_t*
| Specifies a text based path with a 16-bit short per character.
|}
|}