The following are access right values:
C Value
Delphi Value
Value Name
0x0001
$0001
AR_READ
0x0002
$0002
AR_WRITE
AR_READ_ONLY
AR_WRITE_ONLY
0x0004
$0004
AR_DENY_READ
0x0008
$0008
AR_DENY_WRITE
0x0010
$0010
AR_COMPATIBILITY
0x0040
$0040
AR_WRITE_THROUGH
0x0100
$0100
AR_OPEN_COMPRESSED
AR_OPEN_COMPRESSED cannot be used with NWAFPOpenFileFork since this function only accepts an 8-bit constant for the accessMode parameter.