ReactOS  0.4.14-dev-49-gfb4591c
mup.h
Go to the documentation of this file.
1 #ifndef _MUP_PCH_
2 #define _MUP_PCH_
3 
4 #include <wdm.h>
5 #include <ntifs.h>
6 #include <pseh/pseh2.h>
7 #include <ndk/muptypes.h>
8 #include <section_attribs.h>
9 
10 #define ROUND_UP(N, S) ((((N) + (S) - 1) / (S)) * (S))
11 #define IO_METHOD_FROM_CTL_CODE(C) (C & 0x00000003)
12 
13 #define TAG_MUP ' puM'
14 
15 #define FILE_SIMPLE_RIGHTS_MASK (FILE_ALL_ACCESS & ~STANDARD_RIGHTS_REQUIRED &~ SYNCHRONIZE)
16 
17 #define NODE_TYPE_VCB 0x1
18 #define NODE_TYPE_UNC 0x2
19 #define NODE_TYPE_PFX 0x3
20 #define NODE_TYPE_FCB 0x4
21 #define NODE_TYPE_CCB 0x5
22 #define NODE_TYPE_MIC 0x6
23 #define NODE_TYPE_MQC 0x8
24 
25 #define NODE_STATUS_HEALTHY 0x1
26 #define NODE_STATUS_CLEANUP 0x2
27 
28 typedef struct _MUP_VCB
29 {
35 } MUP_VCB, *PMUP_VCB;
36 
37 typedef struct _MUP_FCB
38 {
45 } MUP_FCB, *PMUP_FCB;
46 
47 typedef struct _MUP_CCB
48 {
57 } MUP_CCB, *PMUP_CCB;
58 
59 typedef struct _MUP_MIC
60 {
69 } MUP_MIC, *PMUP_MIC;
70 
71 typedef struct _MUP_UNC
72 {
85 } MUP_UNC, *PMUP_UNC;
86 
87 typedef struct _MUP_PFX
88 {
103 } MUP_PFX, *PMUP_PFX;
104 
105 typedef struct _MUP_MQC
106 {
119 } MUP_MQC, *PMUP_MQC;
120 
121 typedef struct _FORWARDED_IO_CONTEXT
122 {
129 
130 typedef struct _QUERY_PATH_CONTEXT
131 {
138 
139 #include "dfs.h"
140 
141 #endif /* _MUP_PCH_ */
BOOLEAN ExternalAlloc
Definition: mup.h:98
ULONG NodeType
Definition: mup.h:39
LONG NodeReferences
Definition: mup.h:109
struct _MUP_FCB * PMUP_FCB
ULONG ProviderOrder
Definition: mup.h:82
ULONG NodeSize
Definition: mup.h:110
BOOLEAN InTable
Definition: mup.h:99
WORK_QUEUE_ITEM WorkQueueItem
Definition: mup.h:125
PFILE_OBJECT FileObject
Definition: mup.h:43
PFILE_OBJECT FileObject
Definition: mup.h:56
struct _QUERY_PATH_CONTEXT QUERY_PATH_CONTEXT
PIRP Irp
Definition: mup.h:65
LIST_ENTRY ProviderListEntry
Definition: mup.h:77
LARGE_INTEGER ValidityTimeout
Definition: mup.h:96
Definition: mup.h:59
struct _MUP_UNC MUP_UNC
LONG NodeReferences
Definition: mup.h:75
ULONG NodeStatus
Definition: mup.h:62
LONG NodeReferences
Definition: mup.h:41
struct _QUERY_PATH_CONTEXT * PQUERY_PATH_CONTEXT
LONG NTSTATUS
Definition: precomp.h:26
ULONG NodeStatus
Definition: mup.h:50
struct _MUP_MQC MUP_MQC
struct _MUP_VCB MUP_VCB
NTSTATUS LastSuccess
Definition: mup.h:66
ULONG NodeSize
Definition: mup.h:42
LONG NodeReferences
Definition: mup.h:51
struct _MUP_MIC * PMUP_MIC
PMUP_FCB Fcb
Definition: mup.h:53
LIST_ENTRY QueryPathListEntry
Definition: mup.h:135
PDEVICE_OBJECT DeviceObject
Definition: mup.h:80
ULONG NodeType
Definition: mup.h:30
UNICODE_PREFIX_TABLE_ENTRY PrefixTableEntry
Definition: mup.h:93
HANDLE DeviceHandle
Definition: mup.h:79
ULONG NodeStatus
Definition: mup.h:31
LONG NodeReferences
Definition: mup.h:91
BOOLEAN Registered
Definition: mup.h:84
LONG NodeReferences
Definition: mup.h:63
Definition: mup.h:28
struct _MUP_FCB MUP_FCB
PMUP_PFX Prefix
Definition: mup.h:115
struct _MUP_UNC * PMUP_UNC
UNICODE_STRING DeviceName
Definition: mup.h:78
struct _MUP_CCB * PMUP_CCB
LIST_ENTRY CcbListEntry
Definition: mup.h:54
long LONG
Definition: pedump.c:60
struct _MUP_PFX MUP_PFX
Definition: rtltypes.h:617
PQUERY_PATH_REQUEST QueryPathRequest
Definition: mup.h:134
ULONG NodeType
Definition: mup.h:61
struct _MUP_VCB * PMUP_VCB
PDEVICE_OBJECT DeviceObject
Definition: mup.h:126
unsigned char BOOLEAN
LIST_ENTRY QueryPathList
Definition: mup.h:117
PMUP_UNC UncProvider
Definition: mup.h:133
ULONG Reserved
Definition: mup.h:95
PIRP Irp
Definition: mup.h:111
Definition: mup.h:37
Definition: mup.h:47
ULONG NodeSize
Definition: mup.h:64
BOOLEAN Padding
Definition: mup.h:101
ULONG NodeStatus
Definition: mup.h:40
struct _MUP_MQC * PMUP_MQC
ULONG NodeSize
Definition: mup.h:52
Definition: mup.h:105
PMUP_FCB Fcb
Definition: mup.h:68
ULONG NodeType
Definition: mup.h:107
ULONG NodeType
Definition: mup.h:89
PFILE_OBJECT FileObject
Definition: mup.h:112
ERESOURCE QueryPathListLock
Definition: mup.h:114
PFILE_OBJECT FileObject
Definition: mup.h:81
PMUP_MIC MasterIoContext
Definition: mup.h:124
NTSTATUS LastFailed
Definition: mup.h:67
LIST_ENTRY MQCListEntry
Definition: mup.h:118
Definition: mup.h:71
* PFILE_OBJECT
Definition: iotypes.h:1955
ULONG NodeType
Definition: mup.h:49
Definition: mup.h:87
NTSTATUS LatestStatus
Definition: mup.h:116
LONG NodeReferences
Definition: mup.h:32
Definition: typedefs.h:117
ULONG NodeStatus
Definition: mup.h:108
PMUP_UNC UncProvider
Definition: mup.h:97
PMUP_UNC LatestProvider
Definition: mup.h:113
struct _FORWARDED_IO_CONTEXT FORWARDED_IO_CONTEXT
ULONG NodeSize
Definition: mup.h:92
ULONG NodeSize
Definition: mup.h:33
BOOLEAN MailslotsSupported
Definition: mup.h:83
struct _FORWARDED_IO_CONTEXT * PFORWARDED_IO_CONTEXT
UNICODE_STRING AcceptedPrefix
Definition: mup.h:94
struct _MUP_PFX * PMUP_PFX
ULONG NodeSize
Definition: mup.h:76
PDEVICE_OBJECT DeviceObject
Definition: mup.h:55
PMUP_MQC MasterQueryContext
Definition: mup.h:132
SHARE_ACCESS ShareAccess
Definition: mup.h:34
struct _MUP_MIC MUP_MIC
struct _MUP_CCB MUP_CCB
ULONG ERESOURCE
Definition: env_spec_w32.h:594
ULONG NodeStatus
Definition: mup.h:74
unsigned int ULONG
Definition: retypes.h:1
ULONG NodeStatus
Definition: mup.h:90
LIST_ENTRY PrefixListEntry
Definition: mup.h:102
BOOLEAN KeepExtraRef
Definition: mup.h:100
LIST_ENTRY CcbList
Definition: mup.h:44
ULONG NodeType
Definition: mup.h:73
PMUP_CCB Ccb
Definition: mup.h:123