ReactOS  0.4.14-dev-49-gfb4591c
common.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  EXT2_STAT_ARRAY_V1
 
union  EXT2_STAT_ARRAY_V2
 
struct  _EXT2_PERF_STATISTICS_V1
 
struct  _EXT2_PERF_STATISTICS_V2
 
struct  _EXT2_VOLUME_PROPERTY
 
struct  _EXT2_VOLUME_PROPERTY2
 
struct  _EXT2_VOLUME_PROPERTY3
 
struct  _EXT2_VOLUME_PROPERTY_VERSION
 
struct  _EXT2_QUERY_PERFSTAT
 
struct  _EXT2_MOUNT_POINT
 

Macros

#define IOCTL_APP_VOLUME_PROPERTY   CTL_CODE(FILE_DEVICE_UNKNOWN, 2000, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_APP_QUERY_PERFSTAT   CTL_CODE(FILE_DEVICE_UNKNOWN, 2001, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_APP_MOUNT_POINT   CTL_CODE(FILE_DEVICE_UNKNOWN, 2002, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define PS_IRP_CONTEXT   0x00
 
#define PS_VCB   0x01
 
#define PS_FCB   0x02
 
#define PS_CCB   0x03
 
#define PS_MCB   0x04
 
#define PS_EXTENT   0x05
 
#define PS_RW_CONTEXT   0x06
 
#define PS_VPB   0x07
 
#define PS_FILE_NAME   0x08
 
#define PS_MCB_NAME   0x09
 
#define PS_INODE_NAME   0x0A
 
#define PS_DIR_ENTRY   0x0B
 
#define PS_DIR_PATTERN   0x0C
 
#define PS_DISK_EVENT   0x0D
 
#define PS_DISK_BUFFER   0x0E
 
#define PS_BLOCK_DATA   0x0F
 
#define PS_EXT2_INODE   0x10
 
#define PS_DENTRY   0x11
 
#define PS_BUFF_HEAD   0x12
 
#define PS_MAX_TYPE_V1   (0x10)
 
#define PS_MAX_TYPE_V2   (0x30)
 
#define EXT2_PERF_STAT_MAGIC   '2SPE'
 
#define EXT2_PERF_STAT_VER2   2
 
#define EXT2_VOLUME_PROPERTY_MAGIC   'EVPM'
 
#define EXT2_FLAG_VP_SET_GLOBAL   0x00000001
 
#define APP_CMD_QUERY_VERSION   0x00000000 /* with global flag set */
 
#define APP_CMD_QUERY_CODEPAGES   0x00000001
 
#define APP_CMD_QUERY_PROPERTY   0x00000002
 
#define APP_CMD_SET_PROPERTY   0x00000003
 
#define APP_CMD_QUERY_PROPERTY2   0x00000004
 
#define APP_CMD_SET_PROPERTY2   0x00000005
 
#define APP_CMD_QUERY_PROPERTY3   0x00000006
 
#define APP_CMD_SET_PROPERTY3   0x00000007
 
#define CODEPAGE_MAXLEN   0x20
 
#define HIDINGPAT_LEN   0x20
 
#define EXT2_VPROP3_AUTOMOUNT   (1ULL << 0)
 
#define EXT2_VPROP3_USERIDS   (1ULL << 1)
 
#define EXT2_QUERY_PERFSTAT_MAGIC   'EVPM'
 
#define EXT2_QUERY_PERFSTAT_VER2   0x8000000
 
#define EXT2_QUERY_PERFSTAT_SZV1   (FIELD_OFFSET(EXT2_QUERY_PERFSTAT, PerfStatV1) + sizeof(EXT2_PERF_STATISTICS_V1))
 
#define EXT2_QUERY_PERFSTAT_SZV2   (FIELD_OFFSET(EXT2_QUERY_PERFSTAT, PerfStatV1) + sizeof(EXT2_PERF_STATISTICS_V2))
 
#define EXT2_APP_MOUNTPOINT_MAGIC   'EAMM'
 
#define APP_CMD_ADD_DOS_SYMLINK   0x00000001
 
#define APP_CMD_DEL_DOS_SYMLINK   0x00000002
 

Typedefs

typedef struct _EXT2_PERF_STATISTICS_V1 EXT2_PERF_STATISTICS_V1
 
typedef struct _EXT2_PERF_STATISTICS_V1PEXT2_PERF_STATISTICS_V1
 
typedef struct _EXT2_PERF_STATISTICS_V2 EXT2_PERF_STATISTICS_V2
 
typedef struct _EXT2_PERF_STATISTICS_V2PEXT2_PERF_STATISTICS_V2
 
typedef struct _EXT2_VOLUME_PROPERTY EXT2_VOLUME_PROPERTY
 
typedef struct _EXT2_VOLUME_PROPERTYPEXT2_VOLUME_PROPERTY
 
typedef struct _EXT2_VOLUME_PROPERTY2 EXT2_VOLUME_PROPERTY2
 
typedef struct _EXT2_VOLUME_PROPERTY2PEXT2_VOLUME_PROPERTY2
 
typedef struct _EXT2_VOLUME_PROPERTY3 EXT2_VOLUME_PROPERTY3
 
typedef struct _EXT2_VOLUME_PROPERTY3PEXT2_VOLUME_PROPERTY3
 
typedef struct _EXT2_VOLUME_PROPERTY_VERSION EXT2_VOLUME_PROPERTY_VERSION
 
typedef struct _EXT2_VOLUME_PROPERTY_VERSIONPEXT2_VOLUME_PROPERTY_VERSION
 
typedef struct _EXT2_QUERY_PERFSTAT EXT2_QUERY_PERFSTAT
 
typedef struct _EXT2_QUERY_PERFSTATPEXT2_QUERY_PERFSTAT
 
typedef struct _EXT2_MOUNT_POINT EXT2_MOUNT_POINT
 
typedef struct _EXT2_MOUNT_POINTPEXT2_MOUNT_POINT
 

Macro Definition Documentation

◆ APP_CMD_ADD_DOS_SYMLINK

#define APP_CMD_ADD_DOS_SYMLINK   0x00000001

Definition at line 257 of file common.h.

◆ APP_CMD_DEL_DOS_SYMLINK

#define APP_CMD_DEL_DOS_SYMLINK   0x00000002

Definition at line 258 of file common.h.

◆ APP_CMD_QUERY_CODEPAGES

#define APP_CMD_QUERY_CODEPAGES   0x00000001

Definition at line 151 of file common.h.

◆ APP_CMD_QUERY_PROPERTY

#define APP_CMD_QUERY_PROPERTY   0x00000002

Definition at line 152 of file common.h.

◆ APP_CMD_QUERY_PROPERTY2

#define APP_CMD_QUERY_PROPERTY2   0x00000004

Definition at line 154 of file common.h.

◆ APP_CMD_QUERY_PROPERTY3

#define APP_CMD_QUERY_PROPERTY3   0x00000006

Definition at line 156 of file common.h.

◆ APP_CMD_QUERY_VERSION

#define APP_CMD_QUERY_VERSION   0x00000000 /* with global flag set */

Definition at line 150 of file common.h.

◆ APP_CMD_SET_PROPERTY

#define APP_CMD_SET_PROPERTY   0x00000003

Definition at line 153 of file common.h.

◆ APP_CMD_SET_PROPERTY2

#define APP_CMD_SET_PROPERTY2   0x00000005

Definition at line 155 of file common.h.

◆ APP_CMD_SET_PROPERTY3

#define APP_CMD_SET_PROPERTY3   0x00000007

Definition at line 157 of file common.h.

◆ CODEPAGE_MAXLEN

#define CODEPAGE_MAXLEN   0x20

Definition at line 159 of file common.h.

◆ EXT2_APP_MOUNTPOINT_MAGIC

#define EXT2_APP_MOUNTPOINT_MAGIC   'EAMM'

Definition at line 247 of file common.h.

◆ EXT2_FLAG_VP_SET_GLOBAL

#define EXT2_FLAG_VP_SET_GLOBAL   0x00000001

Definition at line 148 of file common.h.

◆ EXT2_PERF_STAT_MAGIC

#define EXT2_PERF_STAT_MAGIC   '2SPE'

Definition at line 115 of file common.h.

◆ EXT2_PERF_STAT_VER2

#define EXT2_PERF_STAT_VER2   2

Definition at line 116 of file common.h.

◆ EXT2_QUERY_PERFSTAT_MAGIC

#define EXT2_QUERY_PERFSTAT_MAGIC   'EVPM'

Definition at line 230 of file common.h.

◆ EXT2_QUERY_PERFSTAT_SZV1

#define EXT2_QUERY_PERFSTAT_SZV1   (FIELD_OFFSET(EXT2_QUERY_PERFSTAT, PerfStatV1) + sizeof(EXT2_PERF_STATISTICS_V1))

Definition at line 243 of file common.h.

◆ EXT2_QUERY_PERFSTAT_SZV2

#define EXT2_QUERY_PERFSTAT_SZV2   (FIELD_OFFSET(EXT2_QUERY_PERFSTAT, PerfStatV1) + sizeof(EXT2_PERF_STATISTICS_V2))

Definition at line 244 of file common.h.

◆ EXT2_QUERY_PERFSTAT_VER2

#define EXT2_QUERY_PERFSTAT_VER2   0x8000000

Definition at line 231 of file common.h.

◆ EXT2_VOLUME_PROPERTY_MAGIC

#define EXT2_VOLUME_PROPERTY_MAGIC   'EVPM'

Definition at line 146 of file common.h.

◆ EXT2_VPROP3_AUTOMOUNT

#define EXT2_VPROP3_AUTOMOUNT   (1ULL << 0)

Definition at line 199 of file common.h.

◆ EXT2_VPROP3_USERIDS

#define EXT2_VPROP3_USERIDS   (1ULL << 1)

Definition at line 200 of file common.h.

◆ HIDINGPAT_LEN

#define HIDINGPAT_LEN   0x20

Definition at line 160 of file common.h.

◆ IOCTL_APP_MOUNT_POINT

#define IOCTL_APP_MOUNT_POINT   CTL_CODE(FILE_DEVICE_UNKNOWN, 2002, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 11 of file common.h.

◆ IOCTL_APP_QUERY_PERFSTAT

#define IOCTL_APP_QUERY_PERFSTAT   CTL_CODE(FILE_DEVICE_UNKNOWN, 2001, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 8 of file common.h.

◆ IOCTL_APP_VOLUME_PROPERTY

#define IOCTL_APP_VOLUME_PROPERTY   CTL_CODE(FILE_DEVICE_UNKNOWN, 2000, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 5 of file common.h.

◆ PS_BLOCK_DATA

#define PS_BLOCK_DATA   0x0F

Definition at line 31 of file common.h.

◆ PS_BUFF_HEAD

#define PS_BUFF_HEAD   0x12

Definition at line 35 of file common.h.

◆ PS_CCB

#define PS_CCB   0x03

Definition at line 19 of file common.h.

◆ PS_DENTRY

#define PS_DENTRY   0x11

Definition at line 34 of file common.h.

◆ PS_DIR_ENTRY

#define PS_DIR_ENTRY   0x0B

Definition at line 27 of file common.h.

◆ PS_DIR_PATTERN

#define PS_DIR_PATTERN   0x0C

Definition at line 28 of file common.h.

◆ PS_DISK_BUFFER

#define PS_DISK_BUFFER   0x0E

Definition at line 30 of file common.h.

◆ PS_DISK_EVENT

#define PS_DISK_EVENT   0x0D

Definition at line 29 of file common.h.

◆ PS_EXT2_INODE

#define PS_EXT2_INODE   0x10

Definition at line 33 of file common.h.

◆ PS_EXTENT

#define PS_EXTENT   0x05

Definition at line 21 of file common.h.

◆ PS_FCB

#define PS_FCB   0x02

Definition at line 18 of file common.h.

◆ PS_FILE_NAME

#define PS_FILE_NAME   0x08

Definition at line 24 of file common.h.

◆ PS_INODE_NAME

#define PS_INODE_NAME   0x0A

Definition at line 26 of file common.h.

◆ PS_IRP_CONTEXT

#define PS_IRP_CONTEXT   0x00

Definition at line 16 of file common.h.

◆ PS_MAX_TYPE_V1

#define PS_MAX_TYPE_V1   (0x10)

Definition at line 37 of file common.h.

◆ PS_MAX_TYPE_V2

#define PS_MAX_TYPE_V2   (0x30)

Definition at line 38 of file common.h.

◆ PS_MCB

#define PS_MCB   0x04

Definition at line 20 of file common.h.

◆ PS_MCB_NAME

#define PS_MCB_NAME   0x09

Definition at line 25 of file common.h.

◆ PS_RW_CONTEXT

#define PS_RW_CONTEXT   0x06

Definition at line 22 of file common.h.

◆ PS_VCB

#define PS_VCB   0x01

Definition at line 17 of file common.h.

◆ PS_VPB

#define PS_VPB   0x07

Definition at line 23 of file common.h.

Typedef Documentation

◆ EXT2_MOUNT_POINT

◆ EXT2_PERF_STATISTICS_V1

◆ EXT2_PERF_STATISTICS_V2

◆ EXT2_QUERY_PERFSTAT

◆ EXT2_VOLUME_PROPERTY

◆ EXT2_VOLUME_PROPERTY2

◆ EXT2_VOLUME_PROPERTY3

◆ EXT2_VOLUME_PROPERTY_VERSION

◆ PEXT2_MOUNT_POINT

◆ PEXT2_PERF_STATISTICS_V1

◆ PEXT2_PERF_STATISTICS_V2

◆ PEXT2_QUERY_PERFSTAT

◆ PEXT2_VOLUME_PROPERTY

◆ PEXT2_VOLUME_PROPERTY2

◆ PEXT2_VOLUME_PROPERTY3

◆ PEXT2_VOLUME_PROPERTY_VERSION