summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/ntddmup.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /public/sdk/inc/ntddmup.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'public/sdk/inc/ntddmup.h')
-rw-r--r--public/sdk/inc/ntddmup.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/public/sdk/inc/ntddmup.h b/public/sdk/inc/ntddmup.h
new file mode 100644
index 000000000..c0d335283
--- /dev/null
+++ b/public/sdk/inc/ntddmup.h
@@ -0,0 +1,67 @@
+/*++ BUILD Version: 0001 // Increent this if a change has global effects
+
+Copyright (c) 1990-1993 Microsoft Corporation
+
+Module Name:
+
+ ntddmup.h
+
+Abstract:
+
+ This is the include file that defines all constants and types for
+ accessing the Multiple UNC prodiver system device.
+
+Author:
+
+ Manny Weiser (mannyw) 27-Dec-1991
+
+Revision History:
+
+--*/
+
+//
+// Device Name - this string is the name of the device. It is the name
+// that should be passed to NtOpenFile when accessing the device.
+//
+//
+
+#define DD_MUP_DEVICE_NAME L"\\Device\\Mup"
+
+//
+// NtFsControlFile FsControlCode values for this device.
+//
+
+#define FSCTL_MUP_REGISTER_UNC_PROVIDER CTL_CODE(FILE_DEVICE_MULTI_UNC_PROVIDER, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
+
+//
+// Fs control parameter blocks.
+//
+
+typedef struct _REDIRECTOR_REGISTRATION {
+ ULONG DeviceNameOffset;
+ ULONG DeviceNameLength;
+ ULONG ShortNameOffset;
+ ULONG ShortNameLength;
+ BOOLEAN MailslotsSupported;
+ // PWCH DeviceName[];
+ // PWCH ShortName[];
+} REDIRECTOR_REGISTRATION, *PREDIRECTOR_REGISTRATION;
+
+
+//!!! Move to redir
+//
+// NtDeviceIoControlFile calls to the redirector
+//
+
+#define IOCTL_REDIR_QUERY_PATH CTL_CODE(FILE_DEVICE_NETWORK_FILE_SYSTEM, 99, METHOD_NEITHER, FILE_ANY_ACCESS)
+
+typedef struct _QUERY_PATH_REQUEST {
+ ULONG PathNameLength;
+ PIO_SECURITY_CONTEXT SecurityContext;
+ WCHAR FilePathName[1];
+} QUERY_PATH_REQUEST, *PQUERY_PATH_REQUEST;
+
+typedef struct _QUERY_PATH_RESPONSE {
+ ULONG LengthAccepted;
+} QUERY_PATH_RESPONSE, *PQUERY_PATH_RESPONSE;
+