ReactOS 0.4.16-dev-329-g9223134
mountmgr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _MOUNTMGR_CREATE_POINT_INPUT
 
struct  _MOUNTMGR_MOUNT_POINT
 
struct  _MOUNTMGR_MOUNT_POINTS
 
struct  _MOUNTMGR_DRIVE_LETTER_TARGET
 
struct  _MOUNTMGR_DRIVE_LETTER_INFORMATION
 
struct  _MOUNTMGR_VOLUME_MOUNT_POINT
 
struct  _MOUNTMGR_CHANGE_NOTIFY_INFO
 
struct  _MOUNTMGR_TARGET_NAME
 
struct  _MOUNTDEV_NAME
 
struct  _MOUNTMGR_VOLUME_PATHS
 
struct  _MOUNTMGR_QUERY_AUTO_MOUNT
 
struct  _MOUNTMGR_SET_AUTO_MOUNT
 

Macros

#define MOUNTMGR_DEVICE_NAME   L"\\Device\\MountPointManager"
 
#define MOUNTMGR_DOS_DEVICE_NAME   L"\\\\.\\MountPointManager"
 
#define MOUNTMGRCONTROLTYPE   ((ULONG)'m')
 
#define MOUNTDEVCONTROLTYPE   ((ULONG)'M')
 
#define IOCTL_MOUNTMGR_CREATE_POINT    CTL_CODE(MOUNTMGRCONTROLTYPE, 0, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_MOUNTMGR_DELETE_POINTS    CTL_CODE(MOUNTMGRCONTROLTYPE, 1, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_MOUNTMGR_QUERY_POINTS    CTL_CODE(MOUNTMGRCONTROLTYPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_MOUNTMGR_DELETE_POINTS_DBONLY    CTL_CODE(MOUNTMGRCONTROLTYPE, 3, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_MOUNTMGR_NEXT_DRIVE_LETTER    CTL_CODE(MOUNTMGRCONTROLTYPE, 4, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_MOUNTMGR_AUTO_DL_ASSIGNMENTS    CTL_CODE(MOUNTMGRCONTROLTYPE, 5, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED    CTL_CODE(MOUNTMGRCONTROLTYPE, 6, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_DELETED    CTL_CODE(MOUNTMGRCONTROLTYPE, 7, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_MOUNTMGR_CHANGE_NOTIFY    CTL_CODE(MOUNTMGRCONTROLTYPE, 8, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_MOUNTMGR_KEEP_LINKS_WHEN_OFFLINE    CTL_CODE(MOUNTMGRCONTROLTYPE, 9, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_MOUNTMGR_CHECK_UNPROCESSED_VOLUMES    CTL_CODE(MOUNTMGRCONTROLTYPE, 10, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_MOUNTMGR_VOLUME_ARRIVAL_NOTIFICATION    CTL_CODE(MOUNTMGRCONTROLTYPE, 11, METHOD_BUFFERED, FILE_READ_ACCESS)
 
#define IOCTL_MOUNTDEV_QUERY_DEVICE_NAME    CTL_CODE(MOUNTDEVCONTROLTYPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define MOUNTMGR_IS_DRIVE_LETTER(s)
 
#define MOUNTMGR_IS_VOLUME_NAME(s)
 
#define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATH    CTL_CODE(MOUNTMGRCONTROLTYPE, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATHS    CTL_CODE(MOUNTMGRCONTROLTYPE, 13, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define MOUNTMGR_IS_DOS_VOLUME_NAME(s)    (MOUNTMGR_IS_VOLUME_NAME(s) && (s)->Length == 96 && (s)->Buffer[1] == '\\')
 
#define MOUNTMGR_IS_DOS_VOLUME_NAME_WB(s)    (MOUNTMGR_IS_VOLUME_NAME(s) && (s)->Length == 98 && (s)->Buffer[1] == '\\')
 
#define MOUNTMGR_IS_NT_VOLUME_NAME(s)    ( MOUNTMGR_IS_VOLUME_NAME(s) && (s)->Length == 96 && (s)->Buffer[1] == '?')
 
#define MOUNTMGR_IS_NT_VOLUME_NAME_WB(s)    (MOUNTMGR_IS_VOLUME_NAME(s) && (s)->Length == 98 && (s)->Buffer[1] == '?')
 
#define IOCTL_MOUNTMGR_SCRUB_REGISTRY    CTL_CODE(MOUNTMGRCONTROLTYPE, 14, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_MOUNTMGR_QUERY_AUTO_MOUNT    CTL_CODE(MOUNTMGRCONTROLTYPE, 15, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_MOUNTMGR_SET_AUTO_MOUNT    CTL_CODE(MOUNTMGRCONTROLTYPE, 16, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_MOUNTMGR_BOOT_DL_ASSIGNMENT    CTL_CODE(MOUNTMGRCONTROLTYPE, 17, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_MOUNTMGR_TRACELOG_CACHE    CTL_CODE(MOUNTMGRCONTROLTYPE, 18, METHOD_BUFFERED, FILE_READ_ACCESS)
 

Typedefs

typedef struct _MOUNTMGR_CREATE_POINT_INPUT MOUNTMGR_CREATE_POINT_INPUT
 
typedef struct _MOUNTMGR_CREATE_POINT_INPUTPMOUNTMGR_CREATE_POINT_INPUT
 
typedef struct _MOUNTMGR_MOUNT_POINT MOUNTMGR_MOUNT_POINT
 
typedef struct _MOUNTMGR_MOUNT_POINTPMOUNTMGR_MOUNT_POINT
 
typedef struct _MOUNTMGR_MOUNT_POINTS MOUNTMGR_MOUNT_POINTS
 
typedef struct _MOUNTMGR_MOUNT_POINTSPMOUNTMGR_MOUNT_POINTS
 
typedef struct _MOUNTMGR_DRIVE_LETTER_TARGET MOUNTMGR_DRIVE_LETTER_TARGET
 
typedef struct _MOUNTMGR_DRIVE_LETTER_TARGETPMOUNTMGR_DRIVE_LETTER_TARGET
 
typedef struct _MOUNTMGR_DRIVE_LETTER_INFORMATION MOUNTMGR_DRIVE_LETTER_INFORMATION
 
typedef struct _MOUNTMGR_DRIVE_LETTER_INFORMATIONPMOUNTMGR_DRIVE_LETTER_INFORMATION
 
typedef struct _MOUNTMGR_VOLUME_MOUNT_POINT MOUNTMGR_VOLUME_MOUNT_POINT
 
typedef struct _MOUNTMGR_VOLUME_MOUNT_POINTPMOUNTMGR_VOLUME_MOUNT_POINT
 
typedef struct _MOUNTMGR_CHANGE_NOTIFY_INFO MOUNTMGR_CHANGE_NOTIFY_INFO
 
typedef struct _MOUNTMGR_CHANGE_NOTIFY_INFOPMOUNTMGR_CHANGE_NOTIFY_INFO
 
typedef struct _MOUNTMGR_TARGET_NAME MOUNTMGR_TARGET_NAME
 
typedef struct _MOUNTMGR_TARGET_NAMEPMOUNTMGR_TARGET_NAME
 
typedef struct _MOUNTDEV_NAME MOUNTDEV_NAME
 
typedef struct _MOUNTDEV_NAMEPMOUNTDEV_NAME
 
typedef struct _MOUNTMGR_VOLUME_PATHS MOUNTMGR_VOLUME_PATHS
 
typedef struct _MOUNTMGR_VOLUME_PATHSPMOUNTMGR_VOLUME_PATHS
 
typedef enum _MOUNTMGR_AUTO_MOUNT_STATE MOUNTMGR_AUTO_MOUNT_STATE
 
typedef struct _MOUNTMGR_QUERY_AUTO_MOUNT MOUNTMGR_QUERY_AUTO_MOUNT
 
typedef struct _MOUNTMGR_QUERY_AUTO_MOUNTPMOUNTMGR_QUERY_AUTO_MOUNT
 
typedef struct _MOUNTMGR_SET_AUTO_MOUNT MOUNTMGR_SET_AUTO_MOUNT
 
typedef struct _MOUNTMGR_SET_AUTO_MOUNTPMOUNTMGR_SET_AUTO_MOUNT
 

Enumerations

enum  _MOUNTMGR_AUTO_MOUNT_STATE { Disabled = 0 , Enabled }
 

Macro Definition Documentation

◆ IOCTL_MOUNTDEV_QUERY_DEVICE_NAME

#define IOCTL_MOUNTDEV_QUERY_DEVICE_NAME    CTL_CODE(MOUNTDEVCONTROLTYPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 70 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_AUTO_DL_ASSIGNMENTS

#define IOCTL_MOUNTMGR_AUTO_DL_ASSIGNMENTS    CTL_CODE(MOUNTMGRCONTROLTYPE, 5, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 55 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_BOOT_DL_ASSIGNMENT

#define IOCTL_MOUNTMGR_BOOT_DL_ASSIGNMENT    CTL_CODE(MOUNTMGRCONTROLTYPE, 17, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 194 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_CHANGE_NOTIFY

#define IOCTL_MOUNTMGR_CHANGE_NOTIFY    CTL_CODE(MOUNTMGRCONTROLTYPE, 8, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 61 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_CHECK_UNPROCESSED_VOLUMES

#define IOCTL_MOUNTMGR_CHECK_UNPROCESSED_VOLUMES    CTL_CODE(MOUNTMGRCONTROLTYPE, 10, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 65 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_CREATE_POINT

Definition at line 45 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_DELETE_POINTS

Definition at line 47 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_DELETE_POINTS_DBONLY

#define IOCTL_MOUNTMGR_DELETE_POINTS_DBONLY    CTL_CODE(MOUNTMGRCONTROLTYPE, 3, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 51 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_KEEP_LINKS_WHEN_OFFLINE

#define IOCTL_MOUNTMGR_KEEP_LINKS_WHEN_OFFLINE    CTL_CODE(MOUNTMGRCONTROLTYPE, 9, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 63 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_NEXT_DRIVE_LETTER

#define IOCTL_MOUNTMGR_NEXT_DRIVE_LETTER    CTL_CODE(MOUNTMGRCONTROLTYPE, 4, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 53 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_QUERY_AUTO_MOUNT

#define IOCTL_MOUNTMGR_QUERY_AUTO_MOUNT    CTL_CODE(MOUNTMGRCONTROLTYPE, 15, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 172 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATH

#define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATH    CTL_CODE(MOUNTMGRCONTROLTYPE, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 147 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATHS

#define IOCTL_MOUNTMGR_QUERY_DOS_VOLUME_PATHS    CTL_CODE(MOUNTMGRCONTROLTYPE, 13, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 149 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_QUERY_POINTS

#define IOCTL_MOUNTMGR_QUERY_POINTS    CTL_CODE(MOUNTMGRCONTROLTYPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 49 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_SCRUB_REGISTRY

Definition at line 170 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_SET_AUTO_MOUNT

Definition at line 174 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_TRACELOG_CACHE

#define IOCTL_MOUNTMGR_TRACELOG_CACHE    CTL_CODE(MOUNTMGRCONTROLTYPE, 18, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 196 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_VOLUME_ARRIVAL_NOTIFICATION

#define IOCTL_MOUNTMGR_VOLUME_ARRIVAL_NOTIFICATION    CTL_CODE(MOUNTMGRCONTROLTYPE, 11, METHOD_BUFFERED, FILE_READ_ACCESS)

Definition at line 67 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED

#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_CREATED    CTL_CODE(MOUNTMGRCONTROLTYPE, 6, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 57 of file mountmgr.h.

◆ IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_DELETED

#define IOCTL_MOUNTMGR_VOLUME_MOUNT_POINT_DELETED    CTL_CODE(MOUNTMGRCONTROLTYPE, 7, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 59 of file mountmgr.h.

◆ MOUNTDEVCONTROLTYPE

#define MOUNTDEVCONTROLTYPE   ((ULONG)'M')

Definition at line 39 of file mountmgr.h.

◆ MOUNTMGR_DEVICE_NAME

#define MOUNTMGR_DEVICE_NAME   L"\\Device\\MountPointManager"

Definition at line 36 of file mountmgr.h.

◆ MOUNTMGR_DOS_DEVICE_NAME

#define MOUNTMGR_DOS_DEVICE_NAME   L"\\\\.\\MountPointManager"

Definition at line 37 of file mountmgr.h.

◆ MOUNTMGR_IS_DOS_VOLUME_NAME

#define MOUNTMGR_IS_DOS_VOLUME_NAME (   s)     (MOUNTMGR_IS_VOLUME_NAME(s) && (s)->Length == 96 && (s)->Buffer[1] == '\\')

Definition at line 152 of file mountmgr.h.

◆ MOUNTMGR_IS_DOS_VOLUME_NAME_WB

#define MOUNTMGR_IS_DOS_VOLUME_NAME_WB (   s)     (MOUNTMGR_IS_VOLUME_NAME(s) && (s)->Length == 98 && (s)->Buffer[1] == '\\')

Definition at line 154 of file mountmgr.h.

◆ MOUNTMGR_IS_DRIVE_LETTER

#define MOUNTMGR_IS_DRIVE_LETTER (   s)
Value:
((s)->Length == 28 && (s)->Buffer[0] == '\\' && (s)->Buffer[1] == 'D' && \
(s)->Buffer[2] == 'o' && (s)->Buffer[3] == 's' && (s)->Buffer[4] == 'D' && \
(s)->Buffer[5] == 'e' && (s)->Buffer[6] == 'v' && (s)->Buffer[7] == 'i' && \
(s)->Buffer[8] == 'c' && (s)->Buffer[9] == 'e' && (s)->Buffer[10] == 's' && \
(s)->Buffer[11] == '\\' && (s)->Buffer[12] >= 'A' && \
(s)->Buffer[12] <= 'Z' && (s)->Buffer[13] == ':')
Definition: bufpool.h:45
GLdouble s
Definition: gl.h:2039
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102

Definition at line 73 of file mountmgr.h.

◆ MOUNTMGR_IS_NT_VOLUME_NAME

#define MOUNTMGR_IS_NT_VOLUME_NAME (   s)     ( MOUNTMGR_IS_VOLUME_NAME(s) && (s)->Length == 96 && (s)->Buffer[1] == '?')

Definition at line 156 of file mountmgr.h.

◆ MOUNTMGR_IS_NT_VOLUME_NAME_WB

#define MOUNTMGR_IS_NT_VOLUME_NAME_WB (   s)     (MOUNTMGR_IS_VOLUME_NAME(s) && (s)->Length == 98 && (s)->Buffer[1] == '?')

Definition at line 158 of file mountmgr.h.

◆ MOUNTMGR_IS_VOLUME_NAME

#define MOUNTMGR_IS_VOLUME_NAME (   s)
Value:
(((s)->Length == 96 || ((s)->Length == 98 && (s)->Buffer[48] == '\\')) && \
(s)->Buffer[0] == '\\'&& ((s)->Buffer[1] == '?' || (s)->Buffer[1] == '\\') && \
(s)->Buffer[2] == '?' && (s)->Buffer[3] == '\\' && (s)->Buffer[4] == 'V' && \
(s)->Buffer[5] == 'o' && (s)->Buffer[6] == 'l' && (s)->Buffer[7] == 'u' && \
(s)->Buffer[8] == 'm' && (s)->Buffer[9] == 'e' && (s)->Buffer[10] == '{' && \
(s)->Buffer[19] == '-' && (s)->Buffer[24] == '-' && (s)->Buffer[29] == '-' && \
(s)->Buffer[34] == '-' && (s)->Buffer[47] == '}')

Definition at line 81 of file mountmgr.h.

◆ MOUNTMGRCONTROLTYPE

#define MOUNTMGRCONTROLTYPE   ((ULONG)'m')

Definition at line 38 of file mountmgr.h.

Typedef Documentation

◆ MOUNTDEV_NAME

◆ MOUNTMGR_AUTO_MOUNT_STATE

◆ MOUNTMGR_CHANGE_NOTIFY_INFO

◆ MOUNTMGR_CREATE_POINT_INPUT

◆ MOUNTMGR_DRIVE_LETTER_INFORMATION

◆ MOUNTMGR_DRIVE_LETTER_TARGET

◆ MOUNTMGR_MOUNT_POINT

◆ MOUNTMGR_MOUNT_POINTS

◆ MOUNTMGR_QUERY_AUTO_MOUNT

◆ MOUNTMGR_SET_AUTO_MOUNT

◆ MOUNTMGR_TARGET_NAME

◆ MOUNTMGR_VOLUME_MOUNT_POINT

◆ MOUNTMGR_VOLUME_PATHS

◆ PMOUNTDEV_NAME

◆ PMOUNTMGR_CHANGE_NOTIFY_INFO

◆ PMOUNTMGR_CREATE_POINT_INPUT

◆ PMOUNTMGR_DRIVE_LETTER_INFORMATION

◆ PMOUNTMGR_DRIVE_LETTER_TARGET

◆ PMOUNTMGR_MOUNT_POINT

◆ PMOUNTMGR_MOUNT_POINTS

◆ PMOUNTMGR_QUERY_AUTO_MOUNT

◆ PMOUNTMGR_SET_AUTO_MOUNT

◆ PMOUNTMGR_TARGET_NAME

◆ PMOUNTMGR_VOLUME_MOUNT_POINT

◆ PMOUNTMGR_VOLUME_PATHS

Enumeration Type Documentation

◆ _MOUNTMGR_AUTO_MOUNT_STATE

Enumerator
Disabled 
Enabled 

Definition at line 177 of file mountmgr.h.

177 {
178 Disabled = 0,
179 Enabled
@ Enabled
Definition: mountmgr.h:179
@ Disabled
Definition: mountmgr.h:178
enum _MOUNTMGR_AUTO_MOUNT_STATE MOUNTMGR_AUTO_MOUNT_STATE