Beruflich Dokumente
Kultur Dokumente
uint8_t
uint16_t
uint32_t
uint64_t
typedef
typedef
typedef
typedef
int8_t
int16_t
int32_t
int64_t
u8;
u16;
u32;
u64;
s8;
s16;
s32;
s64;
/*
* Clusters are signed 64-bit values on NTFS volumes. We define two types, LCN
* and VCN, to allow for type checking and better code readability.
*/
typedef s64 VCN;
typedef sle64 leVCN;
typedef s64 LCN;
typedef sle64 leLCN;
/*
* The NTFS journal $LogFile uses log sequence numbers which are signed 64-bit
* values. We define our own type LSN, to allow for type checking and better
* code readability.
*/
typedef s64 LSN;
typedef sle64 leLSN;
/*
* Cygwin has a collision between our BOOL and <windef.h>'s
* As long as this file will be included after <windows.h> were fine.
*/
#ifndef _WINDEF_H
/**
* enum BOOL - These are just to make the code more readable...
*/
typedef enum {
#ifndef FALSE
FALSE = 0,
#endif
#ifndef NO
NO = 0,
#endif
#ifndef ZERO
ZERO = 0,
#endif
#ifndef TRUE
TRUE = 1,
#endif
#ifndef YES
YES = 1,
#endif
#ifndef ONE
ONE = 1,
#endif
} BOOL;
#endif /* defined _WINDEF_H */
/**
* enum IGNORE_CASE_BOOL */
typedef enum {
CASE_SENSITIVE = 0,
IGNORE_CASE = 1,
} IGNORE_CASE_BOOL;
#define
#define
#define
#define
#define
STATUS_OK
STATUS_ERROR
STATUS_RESIDENT_ATTRIBUTE_FILLED_MFT
STATUS_KEEP_SEARCHING
STATUS_NOT_FOUND
(0)
(-1)
(-2)
(-3)
(-4)
/*
*
Force alignment in a struct if required by processor
*/
union ALIGNMENT {
u64 u64align;
void *ptralign;
} ;
#endif /* defined _NTFS_TYPES_H */