ReactOS  0.4.14-dev-1233-gf5658fd
nodetype.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _NODE_TYPE_CODE_AND_SIZE_NO_REFCOUNT
 
struct  _NODE_TYPE_CODE_AND_SIZE
 

Macros

#define NodeType(Ptr)   (*((PNODE_TYPE_CODE)(Ptr)))
 
#define ZeroAndInitializeNodeType(Node, Type, Size)
 
#define RDBSS_STORAGE_NTC(x)   (0xec00 + (x))
 
#define RDBSS_NTC_STORAGE_TYPE_UNKNOWN   ((NODE_TYPE_CODE)0xec00)
 
#define RDBSS_NTC_STORAGE_TYPE_DIRECTORY   ((NODE_TYPE_CODE)0xec02)
 
#define RDBSS_NTC_STORAGE_TYPE_FILE   ((NODE_TYPE_CODE)0xec03)
 
#define RDBSS_NTC_OPENTARGETDIR_FCB   ((NODE_TYPE_CODE)0xecff)
 
#define RDBSS_NTC_IPC_SHARE   ((NODE_TYPE_CODE)0xecfe)
 
#define RDBSS_NTC_MAILSLOT   ((NODE_TYPE_CODE)0xecfd)
 
#define RDBSS_NTC_SPOOLFILE   ((NODE_TYPE_CODE)0xecfc)
 
#define RDBSS_NTC_SRVCALL   ((NODE_TYPE_CODE)0xeb10)
 
#define RDBSS_NTC_NETROOT   ((NODE_TYPE_CODE)0xeb11)
 
#define RDBSS_NTC_V_NETROOT   ((NODE_TYPE_CODE)0xeb12)
 
#define RDBSS_NTC_VOLUME_FCB   ((NODE_TYPE_CODE)0xeb1f)
 
#define RDBSS_NTC_SRVOPEN   ((NODE_TYPE_CODE)0xeb1c)
 
#define RDBSS_NTC_INTERNAL_SRVOPEN   ((NODE_TYPE_CODE)0xeb1d)
 
#define RDBSS_NTC_DEVICE_FCB   ((NODE_TYPE_CODE)0xeb9a)
 
#define RDBSS_NTC_DATA_HEADER   ((NODE_TYPE_CODE)0xeb00)
 
#define RDBSS_NTC_VCB   ((NODE_TYPE_CODE)0xeb01)
 
#define RDBSS_NTC_FOBX   ((NODE_TYPE_CODE)0xeb07)
 
#define RDBSS_NTC_RX_CONTEXT   ((NODE_TYPE_CODE)0xeb08)
 
#define RDBSS_NTC_PREFIX_TABLE   ((NODE_TYPE_CODE)0xeb0d)
 
#define RDBSS_NTC_PREFIX_ENTRY   ((NODE_TYPE_CODE)0xeb0e)
 
#define RDBSS_NTC_FCB_TABLE   ((NODE_TYPE_CODE)0xeb09)
 
#define RDBSS_NTC_FCB_TABLE_ENTRY   ((NODE_TYPE_CODE)0xeb0a)
 
#define RDBSS_NTC_NONPAGED_FCB   ((NODE_TYPE_CODE)0xebfd)
 
#define RDBSS_NTC_MINIRDR_DISPATCH   ((NODE_TYPE_CODE)0xebff)
 
#define RDBSS_NTC_FCB   RDBSS_NTC_STORAGE_TYPE_FILE
 
#define NodeTypeIsFcb(FCB)   ((((NodeType(FCB) & 0xff00) == RDBSS_NTC_STORAGE_TYPE_UNKNOWN)) || ((NodeType(FCB) & 0xfff0) == 0xeb90))
 
#define RX_SCAVENGER_MASK   (0x1000)
 
#define RDBSS_FILE_SYSTEM   RDR_FILE_SYSTEM
 
#define RxBugCheck(A, B, C)   KeBugCheckEx(RDBSS_FILE_SYSTEM, BugCheckFileId | ((ULONG)(__LINE__)), A, B, C)
 

Typedefs

typedef USHORT NODE_TYPE_CODE
 
typedef NODE_TYPE_CODEPNODE_TYPE_CODE
 
typedef CSHORT NODE_BYTE_SIZE
 
typedef struct _NODE_TYPE_CODE_AND_SIZE_NO_REFCOUNT NODE_TYPE_CODE_AND_SIZE_NO_REFCOUNT
 
typedef struct _NODE_TYPE_CODE_AND_SIZE NODE_TYPE_CODE_AND_SIZE
 
typedef struct _NODE_TYPE_CODE_AND_SIZEPNODE_TYPE_AND_SIZE
 
typedef enum _RX_FILE_TYPE RX_FILE_TYPE
 
typedef enum _RDBSS_BUG_CHECK_CODES RDBSS_BUG_CHECK_CODES
 

Enumerations

enum  _RX_FILE_TYPE { FileTypeNotYetKnown = 0, FileTypeDirectory = 2, FileTypeFile = 3 }
 
enum  _RDBSS_BUG_CHECK_CODES {
  RDBSS_BUG_CHECK_FCBSTRUC = 0xfcb00000, RDBSS_BUG_CHECK_CACHESUP = 0xca550000, RDBSS_BUG_CHECK_CLEANUP = 0xc1ee0000, RDBSS_BUG_CHECK_CLOSE = 0xc10e0000,
  RDBSS_BUG_CHECK_NTEXCEPT = 0xbaad0000
}
 

Macro Definition Documentation

◆ NodeType

#define NodeType (   Ptr)    (*((PNODE_TYPE_CODE)(Ptr)))

Definition at line 10 of file nodetype.h.

◆ NodeTypeIsFcb

#define NodeTypeIsFcb (   FCB)    ((((NodeType(FCB) & 0xff00) == RDBSS_NTC_STORAGE_TYPE_UNKNOWN)) || ((NodeType(FCB) & 0xfff0) == 0xeb90))

Definition at line 68 of file nodetype.h.

◆ RDBSS_FILE_SYSTEM

#define RDBSS_FILE_SYSTEM   RDR_FILE_SYSTEM

Definition at line 84 of file nodetype.h.

◆ RDBSS_NTC_DATA_HEADER

#define RDBSS_NTC_DATA_HEADER   ((NODE_TYPE_CODE)0xeb00)

Definition at line 55 of file nodetype.h.

◆ RDBSS_NTC_DEVICE_FCB

#define RDBSS_NTC_DEVICE_FCB   ((NODE_TYPE_CODE)0xeb9a)

Definition at line 54 of file nodetype.h.

◆ RDBSS_NTC_FCB

#define RDBSS_NTC_FCB   RDBSS_NTC_STORAGE_TYPE_FILE

Definition at line 66 of file nodetype.h.

◆ RDBSS_NTC_FCB_TABLE

#define RDBSS_NTC_FCB_TABLE   ((NODE_TYPE_CODE)0xeb09)

Definition at line 61 of file nodetype.h.

◆ RDBSS_NTC_FCB_TABLE_ENTRY

#define RDBSS_NTC_FCB_TABLE_ENTRY   ((NODE_TYPE_CODE)0xeb0a)

Definition at line 62 of file nodetype.h.

◆ RDBSS_NTC_FOBX

#define RDBSS_NTC_FOBX   ((NODE_TYPE_CODE)0xeb07)

Definition at line 57 of file nodetype.h.

◆ RDBSS_NTC_INTERNAL_SRVOPEN

#define RDBSS_NTC_INTERNAL_SRVOPEN   ((NODE_TYPE_CODE)0xeb1d)

Definition at line 53 of file nodetype.h.

◆ RDBSS_NTC_IPC_SHARE

#define RDBSS_NTC_IPC_SHARE   ((NODE_TYPE_CODE)0xecfe)

Definition at line 45 of file nodetype.h.

◆ RDBSS_NTC_MAILSLOT

#define RDBSS_NTC_MAILSLOT   ((NODE_TYPE_CODE)0xecfd)

Definition at line 46 of file nodetype.h.

◆ RDBSS_NTC_MINIRDR_DISPATCH

#define RDBSS_NTC_MINIRDR_DISPATCH   ((NODE_TYPE_CODE)0xebff)

Definition at line 64 of file nodetype.h.

◆ RDBSS_NTC_NETROOT

#define RDBSS_NTC_NETROOT   ((NODE_TYPE_CODE)0xeb11)

Definition at line 49 of file nodetype.h.

◆ RDBSS_NTC_NONPAGED_FCB

#define RDBSS_NTC_NONPAGED_FCB   ((NODE_TYPE_CODE)0xebfd)

Definition at line 63 of file nodetype.h.

◆ RDBSS_NTC_OPENTARGETDIR_FCB

#define RDBSS_NTC_OPENTARGETDIR_FCB   ((NODE_TYPE_CODE)0xecff)

Definition at line 44 of file nodetype.h.

◆ RDBSS_NTC_PREFIX_ENTRY

#define RDBSS_NTC_PREFIX_ENTRY   ((NODE_TYPE_CODE)0xeb0e)

Definition at line 60 of file nodetype.h.

◆ RDBSS_NTC_PREFIX_TABLE

#define RDBSS_NTC_PREFIX_TABLE   ((NODE_TYPE_CODE)0xeb0d)

Definition at line 59 of file nodetype.h.

◆ RDBSS_NTC_RX_CONTEXT

#define RDBSS_NTC_RX_CONTEXT   ((NODE_TYPE_CODE)0xeb08)

Definition at line 58 of file nodetype.h.

◆ RDBSS_NTC_SPOOLFILE

#define RDBSS_NTC_SPOOLFILE   ((NODE_TYPE_CODE)0xecfc)

Definition at line 47 of file nodetype.h.

◆ RDBSS_NTC_SRVCALL

#define RDBSS_NTC_SRVCALL   ((NODE_TYPE_CODE)0xeb10)

Definition at line 48 of file nodetype.h.

◆ RDBSS_NTC_SRVOPEN

#define RDBSS_NTC_SRVOPEN   ((NODE_TYPE_CODE)0xeb1c)

Definition at line 52 of file nodetype.h.

◆ RDBSS_NTC_STORAGE_TYPE_DIRECTORY

#define RDBSS_NTC_STORAGE_TYPE_DIRECTORY   ((NODE_TYPE_CODE)0xec02)

Definition at line 42 of file nodetype.h.

◆ RDBSS_NTC_STORAGE_TYPE_FILE

#define RDBSS_NTC_STORAGE_TYPE_FILE   ((NODE_TYPE_CODE)0xec03)

Definition at line 43 of file nodetype.h.

◆ RDBSS_NTC_STORAGE_TYPE_UNKNOWN

#define RDBSS_NTC_STORAGE_TYPE_UNKNOWN   ((NODE_TYPE_CODE)0xec00)

Definition at line 41 of file nodetype.h.

◆ RDBSS_NTC_V_NETROOT

#define RDBSS_NTC_V_NETROOT   ((NODE_TYPE_CODE)0xeb12)

Definition at line 50 of file nodetype.h.

◆ RDBSS_NTC_VCB

#define RDBSS_NTC_VCB   ((NODE_TYPE_CODE)0xeb01)

Definition at line 56 of file nodetype.h.

◆ RDBSS_NTC_VOLUME_FCB

#define RDBSS_NTC_VOLUME_FCB   ((NODE_TYPE_CODE)0xeb1f)

Definition at line 51 of file nodetype.h.

◆ RDBSS_STORAGE_NTC

#define RDBSS_STORAGE_NTC (   x)    (0xec00 + (x))

Definition at line 32 of file nodetype.h.

◆ RX_SCAVENGER_MASK

#define RX_SCAVENGER_MASK   (0x1000)

Definition at line 70 of file nodetype.h.

◆ RxBugCheck

#define RxBugCheck (   A,
  B,
  C 
)    KeBugCheckEx(RDBSS_FILE_SYSTEM, BugCheckFileId | ((ULONG)(__LINE__)), A, B, C)

Definition at line 86 of file nodetype.h.

◆ ZeroAndInitializeNodeType

#define ZeroAndInitializeNodeType (   Node,
  Type,
  Size 
)
Value:
{ \
RtlZeroMemory(Node, Size); \
((NODE_TYPE_CODE_AND_SIZE *)(Node))->NodeTypeCode = Type; \
((NODE_TYPE_CODE_AND_SIZE *)(Node))->NodeByteSize = (CSHORT)Size; \
}
Type
Definition: Type.h:6
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
short CSHORT
Definition: umtypes.h:127
Definition: dlist.c:348

Definition at line 25 of file nodetype.h.

Typedef Documentation

◆ NODE_BYTE_SIZE

Definition at line 7 of file nodetype.h.

◆ NODE_TYPE_CODE

Definition at line 5 of file nodetype.h.

◆ NODE_TYPE_CODE_AND_SIZE

◆ NODE_TYPE_CODE_AND_SIZE_NO_REFCOUNT

◆ PNODE_TYPE_AND_SIZE

◆ PNODE_TYPE_CODE

Definition at line 6 of file nodetype.h.

◆ RDBSS_BUG_CHECK_CODES

◆ RX_FILE_TYPE

Enumeration Type Documentation

◆ _RDBSS_BUG_CHECK_CODES

Enumerator
RDBSS_BUG_CHECK_FCBSTRUC 
RDBSS_BUG_CHECK_CACHESUP 
RDBSS_BUG_CHECK_CLEANUP 
RDBSS_BUG_CHECK_CLOSE 
RDBSS_BUG_CHECK_NTEXCEPT 

Definition at line 72 of file nodetype.h.

73 {
74  RDBSS_BUG_CHECK_FCBSTRUC = 0xfcb00000,
75  RDBSS_BUG_CHECK_CACHESUP = 0xca550000,
76  RDBSS_BUG_CHECK_CLEANUP = 0xc1ee0000,
77  RDBSS_BUG_CHECK_CLOSE = 0xc10e0000,
78  RDBSS_BUG_CHECK_NTEXCEPT = 0xbaad0000,
79 #ifdef __REACTOS__
80  RDBSS_BUG_CHECK_ASSERT = 0xa55a0000,
81 #endif
enum _RDBSS_BUG_CHECK_CODES RDBSS_BUG_CHECK_CODES

◆ _RX_FILE_TYPE

Enumerator
FileTypeNotYetKnown 
FileTypeDirectory 
FileTypeFile 

Definition at line 34 of file nodetype.h.

35 {
38  FileTypeFile = 3
39 } RX_FILE_TYPE;
enum _RX_FILE_TYPE RX_FILE_TYPE