ReactOS  0.4.13-dev-259-g5ca9c9c
mountdev.h
Go to the documentation of this file.
1 #ifndef _MOUNTDEV_
2 #define _MOUNTDEV_
3 
4 #include <mountmgr.h>
5 
6 #if (NTDDI_VERSION >= NTDDI_WIN2K)
7 
8 #define IOCTL_MOUNTDEV_QUERY_UNIQUE_ID CTL_CODE(MOUNTDEVCONTROLTYPE, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
9 #define IOCTL_MOUNTDEV_QUERY_SUGGESTED_LINK_NAME CTL_CODE(MOUNTDEVCONTROLTYPE, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)
10 #define IOCTL_MOUNTDEV_LINK_CREATED CTL_CODE(MOUNTDEVCONTROLTYPE, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
11 #define IOCTL_MOUNTDEV_LINK_DELETED CTL_CODE(MOUNTDEVCONTROLTYPE, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)
12 
13 typedef struct _MOUNTDEV_UNIQUE_ID {
15  UCHAR UniqueId[1];
17 
18 typedef struct _MOUNTDEV_SUGGESTED_LINK_NAME {
21  WCHAR Name[1];
23 
24 #endif /* (NTDDI_VERSION >= NTDDI_WIN2K) */
25 
26 #if (NTDDI_VERSION >= NTDDI_WINXP)
27 
28 #define IOCTL_MOUNTDEV_QUERY_STABLE_GUID CTL_CODE(MOUNTDEVCONTROLTYPE, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)
29 
30 typedef struct _MOUNTDEV_STABLE_GUID {
33 
34 #endif /* (NTDDI_VERSION >= NTDDI_WINXP) */
35 
36 /* FIXME : These definitions don't exist in the official header : */
37 #define IOCTL_MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY CTL_CODE(MOUNTDEVCONTROLTYPE, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
45 
46 
47 #endif /* _MOUNTDEV_ */
struct _MOUNTDEV_STABLE_GUID * PMOUNTDEV_STABLE_GUID
USHORT UniqueIdLength
Definition: imports.h:138
struct _MOUNTDEV_STABLE_GUID MOUNTDEV_STABLE_GUID
struct _MOUNTDEV_SUGGESTED_LINK_NAME * PMOUNTDEV_SUGGESTED_LINK_NAME
unsigned char BOOLEAN
struct _MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT
struct _MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT * PMOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT
__wchar_t WCHAR
Definition: xmlstorage.h:180
unsigned char UCHAR
Definition: xmlstorage.h:181
struct _MOUNTDEV_UNIQUE_ID * PMOUNTDEV_UNIQUE_ID
unsigned short USHORT
Definition: pedump.c:61
unsigned int ULONG
Definition: retypes.h:1
struct _MOUNTDEV_SUGGESTED_LINK_NAME MOUNTDEV_SUGGESTED_LINK_NAME
struct _MOUNTDEV_UNIQUE_ID MOUNTDEV_UNIQUE_ID
UCHAR UniqueId[1]
Definition: imports.h:139