ReactOS 0.4.15-dev-8116-gf69e256
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
13typedef struct _MOUNTDEV_UNIQUE_ID {
15 UCHAR UniqueId[1];
17
18typedef 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
30typedef 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_ */
unsigned char BOOLEAN
struct _MOUNTDEV_UNIQUE_ID MOUNTDEV_UNIQUE_ID
struct _MOUNTDEV_STABLE_GUID * PMOUNTDEV_STABLE_GUID
struct _MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT
struct _MOUNTDEV_SUGGESTED_LINK_NAME * PMOUNTDEV_SUGGESTED_LINK_NAME
struct _MOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT * PMOUNTDEV_UNIQUE_ID_CHANGE_NOTIFY_OUTPUT
struct _MOUNTDEV_SUGGESTED_LINK_NAME MOUNTDEV_SUGGESTED_LINK_NAME
struct _MOUNTDEV_UNIQUE_ID * PMOUNTDEV_UNIQUE_ID
struct _MOUNTDEV_STABLE_GUID MOUNTDEV_STABLE_GUID
unsigned short USHORT
Definition: pedump.c:61
USHORT UniqueIdLength
Definition: imports.h:138
UCHAR UniqueId[1]
Definition: imports.h:139
uint32_t ULONG
Definition: typedefs.h:59
unsigned char UCHAR
Definition: xmlstorage.h:181
__wchar_t WCHAR
Definition: xmlstorage.h:180