ADD: THeaderData flags

This commit is contained in:
Alexander Koblov 2017-07-10 13:22:14 +00:00
commit 6b39b7bdd5
2 changed files with 6 additions and 0 deletions

View file

@ -71,6 +71,9 @@
#define PK_CRYPTOPT_MASTERPASS_SET 1 // The user already has a master password defined
/* tHeaderData Flags */
#define RHDF_ENCRYPTED 0x04 // File encrypted with password
typedef struct {
char ArcName[260];
char FileName[260];

View file

@ -83,6 +83,9 @@ const {Error codes returned to calling application}
PK_CRYPTOPT_MASTERPASS_SET = 1; // The user already has a master password defined
{ THeaderData Flags }
RHDF_ENCRYPTED = $04; { File encrypted with password }
type
{ Unsigned integer with pointer size }
TArcHandle = {$IFDEF CPU64}QWord{$ELSE}LongWord{$ENDIF};