ReactOS 0.4.15-dev-7897-g78dc504
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
28typedef struct _MUP_VCB
29{
36
37typedef struct _MUP_FCB
38{
46
47typedef struct _MUP_CCB
48{
58
59typedef struct _MUP_MIC
60{
70
71typedef struct _MUP_UNC
72{
86
87typedef struct _MUP_PFX
88{
104
105typedef struct _MUP_MQC
106{
120
122{
129
131{
138
139#include "dfs.h"
140
141#endif /* _MUP_PCH_ */
unsigned char BOOLEAN
LONG NTSTATUS
Definition: precomp.h:26
ULONG ERESOURCE
Definition: env_spec_w32.h:594
struct _QUERY_PATH_CONTEXT QUERY_PATH_CONTEXT
struct _QUERY_PATH_CONTEXT * PQUERY_PATH_CONTEXT
struct _MUP_MQC * PMUP_MQC
struct _MUP_VCB * PMUP_VCB
struct _FORWARDED_IO_CONTEXT * PFORWARDED_IO_CONTEXT
struct _MUP_FCB * PMUP_FCB
struct _MUP_CCB * PMUP_CCB
struct _FORWARDED_IO_CONTEXT FORWARDED_IO_CONTEXT
struct _MUP_UNC MUP_UNC
struct _MUP_UNC * PMUP_UNC
struct _MUP_PFX MUP_PFX
struct _MUP_VCB MUP_VCB
struct _MUP_CCB MUP_CCB
struct _MUP_MIC * PMUP_MIC
struct _MUP_PFX * PMUP_PFX
struct _MUP_MIC MUP_MIC
struct _MUP_FCB MUP_FCB
struct _MUP_MQC MUP_MQC
long LONG
Definition: pedump.c:60
PMUP_CCB Ccb
Definition: mup.h:123
WORK_QUEUE_ITEM WorkQueueItem
Definition: mup.h:125
PMUP_MIC MasterIoContext
Definition: mup.h:124
PDEVICE_OBJECT DeviceObject
Definition: mup.h:126
Definition: typedefs.h:120
Definition: mup.h:48
LONG NodeReferences
Definition: mup.h:51
PDEVICE_OBJECT DeviceObject
Definition: mup.h:55
LIST_ENTRY CcbListEntry
Definition: mup.h:54
ULONG NodeStatus
Definition: mup.h:50
PMUP_FCB Fcb
Definition: mup.h:53
ULONG NodeSize
Definition: mup.h:52
PFILE_OBJECT FileObject
Definition: mup.h:56
ULONG NodeType
Definition: mup.h:49
Definition: mup.h:38
ULONG NodeType
Definition: mup.h:39
LONG NodeReferences
Definition: mup.h:41
ULONG NodeSize
Definition: mup.h:42
PFILE_OBJECT FileObject
Definition: mup.h:43
ULONG NodeStatus
Definition: mup.h:40
LIST_ENTRY CcbList
Definition: mup.h:44
Definition: mup.h:60
ULONG NodeSize
Definition: mup.h:64
LONG NodeReferences
Definition: mup.h:63
ULONG NodeStatus
Definition: mup.h:62
PIRP Irp
Definition: mup.h:65
PMUP_FCB Fcb
Definition: mup.h:68
ULONG NodeType
Definition: mup.h:61
NTSTATUS LastFailed
Definition: mup.h:67
NTSTATUS LastSuccess
Definition: mup.h:66
Definition: mup.h:106
LONG NodeReferences
Definition: mup.h:109
PFILE_OBJECT FileObject
Definition: mup.h:112
PMUP_UNC LatestProvider
Definition: mup.h:113
ULONG NodeSize
Definition: mup.h:110
NTSTATUS LatestStatus
Definition: mup.h:116
PMUP_PFX Prefix
Definition: mup.h:115
PIRP Irp
Definition: mup.h:111
LIST_ENTRY MQCListEntry
Definition: mup.h:118
LIST_ENTRY QueryPathList
Definition: mup.h:117
ULONG NodeType
Definition: mup.h:107
ERESOURCE QueryPathListLock
Definition: mup.h:114
ULONG NodeStatus
Definition: mup.h:108
Definition: mup.h:88
ULONG Reserved
Definition: mup.h:95
PMUP_UNC UncProvider
Definition: mup.h:97
LIST_ENTRY PrefixListEntry
Definition: mup.h:102
UNICODE_STRING AcceptedPrefix
Definition: mup.h:94
BOOLEAN Padding
Definition: mup.h:101
ULONG NodeStatus
Definition: mup.h:90
UNICODE_PREFIX_TABLE_ENTRY PrefixTableEntry
Definition: mup.h:93
BOOLEAN InTable
Definition: mup.h:99
LONG NodeReferences
Definition: mup.h:91
BOOLEAN ExternalAlloc
Definition: mup.h:98
ULONG NodeSize
Definition: mup.h:92
ULONG NodeType
Definition: mup.h:89
LARGE_INTEGER ValidityTimeout
Definition: mup.h:96
BOOLEAN KeepExtraRef
Definition: mup.h:100
Definition: mup.h:72
LIST_ENTRY ProviderListEntry
Definition: mup.h:77
HANDLE DeviceHandle
Definition: mup.h:79
BOOLEAN Registered
Definition: mup.h:84
PFILE_OBJECT FileObject
Definition: mup.h:81
BOOLEAN MailslotsSupported
Definition: mup.h:83
LONG NodeReferences
Definition: mup.h:75
PDEVICE_OBJECT DeviceObject
Definition: mup.h:80
ULONG NodeStatus
Definition: mup.h:74
ULONG NodeType
Definition: mup.h:73
ULONG NodeSize
Definition: mup.h:76
UNICODE_STRING DeviceName
Definition: mup.h:78
ULONG ProviderOrder
Definition: mup.h:82
Definition: mup.h:29
ULONG NodeType
Definition: mup.h:30
ULONG NodeStatus
Definition: mup.h:31
LONG NodeReferences
Definition: mup.h:32
SHARE_ACCESS ShareAccess
Definition: mup.h:34
ULONG NodeSize
Definition: mup.h:33
PMUP_UNC UncProvider
Definition: mup.h:133
PMUP_MQC MasterQueryContext
Definition: mup.h:132
PQUERY_PATH_REQUEST QueryPathRequest
Definition: mup.h:134
LIST_ENTRY QueryPathListEntry
Definition: mup.h:135
Definition: rtltypes.h:627
uint32_t ULONG
Definition: typedefs.h:59
* PFILE_OBJECT
Definition: iotypes.h:1998