From 030926d2c8da32a09fefd9c5e9ea4478cd0d4780 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 22 Dec 2016 11:58:01 +0200 Subject: __ntapi_tt_statfs(), __ntapi_tt_istat(): added initial \Device\Mup support. --- include/ntapi/nt_istat.h | 1 + include/ntapi/nt_mount.h | 4 ++++ include/ntapi/nt_statfs.h | 1 + 3 files changed, 6 insertions(+) (limited to 'include') diff --git a/include/ntapi/nt_istat.h b/include/ntapi/nt_istat.h index 7ad02a3..497dc72 100644 --- a/include/ntapi/nt_istat.h +++ b/include/ntapi/nt_istat.h @@ -9,6 +9,7 @@ #define NT_ISTAT_DEFAULT 0x00000000 #define NT_ISTAT_COMMON 0x00000001 #define NT_ISTAT_DEV_NAME_COPY 0x00000002 +#define NT_ISTAT_MUP_DEVICE 0x20000000 #define NT_ISTAT_NEW_HANDLE 0x80000000 typedef struct _nt_istat { diff --git a/include/ntapi/nt_mount.h b/include/ntapi/nt_mount.h index 0e0b979..e9b5dae 100644 --- a/include/ntapi/nt_mount.h +++ b/include/ntapi/nt_mount.h @@ -10,6 +10,10 @@ #define __DEVICE_PATH_PREFIX_LEN (8 * sizeof(wchar16_t)) #define __DEVICE_PATH_PREFIX_HASH (0xDA6FA40B) +/* {'\\','D','e','v','i','c','e','\\','M','u','p','\\'} */ +#define __DEVICE_MUP_PREFIX_LEN (12 * sizeof(wchar16_t)) +#define __DEVICE_MUP_PREFIX_HASH (0x0CEBB5F6) + /* {'\\','?','?','\\','V','o','l','u','m','e','{'} */ #define __VOLUME_PATH_PREFIX_LEN (11 * sizeof(wchar16_t)) #define __VOLUME_PATH_PREFIX_HASH (0xFEBA8529) diff --git a/include/ntapi/nt_statfs.h b/include/ntapi/nt_statfs.h index b57b418..9bb5ce1 100644 --- a/include/ntapi/nt_statfs.h +++ b/include/ntapi/nt_statfs.h @@ -10,6 +10,7 @@ #define NT_STATFS_DEV_NAME_COPY (0x00000002) #define NT_STATFS_VOLUME_GUID (0x00000004) #define NT_STATFS_DOS_DRIVE_LETTER NT_STATFS_VOLUME_GUID +#define NT_STATFS_MUP_DEVICE (0x20000000) #define NT_STATFS_NEW_HANDLE (0x80000000) -- cgit v1.2.3