31#ifndef IOCTL_UDFFS_BASE
32#define IOCTL_UDFFS_BASE 0x00000911
35#ifndef IOCTL_UDF_DISABLE_DRIVER
36#define IOCTL_UDF_DISABLE_DRIVER CTL_CODE(IOCTL_UDFFS_BASE, 0x0001, METHOD_BUFFERED, FILE_READ_ACCESS)
37#define IOCTL_UDF_ENABLE_DRIVER CTL_CODE(IOCTL_UDFFS_BASE, 0x0002, METHOD_BUFFERED, FILE_READ_ACCESS)
38#define IOCTL_UDF_INVALIDATE_VOLUMES CTL_CODE(IOCTL_UDFFS_BASE, 0x0003, METHOD_BUFFERED, FILE_READ_ACCESS)
39#define IOCTL_UDF_GET_RETRIEVAL_POINTERS CTL_CODE(IOCTL_UDFFS_BASE, 0x0004, METHOD_BUFFERED, FILE_READ_ACCESS)
40#define IOCTL_UDF_GET_FILE_ALLOCATION_MODE CTL_CODE(IOCTL_UDFFS_BASE, 0x0005, METHOD_BUFFERED, FILE_READ_ACCESS)
41#define IOCTL_UDF_SET_FILE_ALLOCATION_MODE CTL_CODE(IOCTL_UDFFS_BASE, 0x0006, METHOD_BUFFERED, FILE_READ_ACCESS)
42#define IOCTL_UDF_LOCK_VOLUME_BY_PID CTL_CODE(IOCTL_UDFFS_BASE, 0x0007, METHOD_BUFFERED, FILE_READ_ACCESS)
43#define IOCTL_UDF_UNLOCK_VOLUME_BY_PID CTL_CODE(IOCTL_UDFFS_BASE, 0x0008, METHOD_BUFFERED, FILE_READ_ACCESS)
44#define IOCTL_UDF_SEND_LICENSE_KEY CTL_CODE(IOCTL_UDFFS_BASE, 0x0009, METHOD_BUFFERED, FILE_READ_ACCESS)
45#define IOCTL_UDF_GET_SPEC_RETRIEVAL_POINTERS CTL_CODE(IOCTL_UDFFS_BASE, 0x000a, METHOD_BUFFERED, FILE_READ_ACCESS)
46#define IOCTL_UDF_GET_VERSION CTL_CODE(IOCTL_UDFFS_BASE, 0x000b, METHOD_BUFFERED, FILE_ANY_ACCESS)
47#define IOCTL_UDF_SET_NOTIFICATION_EVENT CTL_CODE(IOCTL_UDFFS_BASE, 0x000c, METHOD_BUFFERED, FILE_ANY_ACCESS)
48#define IOCTL_UDF_IS_VOLUME_JUST_MOUNTED CTL_CODE(IOCTL_UDFFS_BASE, 0x000d, METHOD_BUFFERED, FILE_ANY_ACCESS)
49#define IOCTL_UDF_REGISTER_AUTOFORMAT CTL_CODE(IOCTL_UDFFS_BASE, 0x000e, METHOD_BUFFERED, FILE_ANY_ACCESS)
50#define IOCTL_UDF_SET_OPTIONS CTL_CODE(IOCTL_UDFFS_BASE, 0x000f, METHOD_BUFFERED, FILE_ANY_ACCESS)
75#define UDF_DOS_FS_NAME L"\\DosDevices\\DwUdf"
76#define UDF_WIN_FS_NAME "\\\\.\\DwUdf"
78#define UDF_ISO_STREAM_NAME "UdfIsoBridgeStructure"
79#define UDF_ISO_STREAM_NAME_W L"UdfIsoBridgeStructure"
81#define UDF_CONFIG_STREAM_NAME "DvdWriteNow.cfg"
82#define UDF_CONFIG_STREAM_NAME_W L"DvdWriteNow.cfg"
84#ifdef FSCTL_GET_RETRIEVAL_POINTERS
86typedef struct _UDF_GET_SPEC_RETRIEVAL_POINTERS_IN {
89} UDF_GET_SPEC_RETRIEVAL_POINTERS_IN, *PUDF_GET_SPEC_RETRIEVAL_POINTERS_IN;
107#define UDF_USER_FS_FLAGS_RO 0x0001
108#define UDF_USER_FS_FLAGS_RAW 0x0002
109#define UDF_USER_FS_FLAGS_OUR_DRIVER 0x0004
110#define UDF_USER_FS_FLAGS_FP 0x0008
111#define UDF_USER_FS_FLAGS_MEDIA_RO 0x0010
112#define UDF_USER_FS_FLAGS_SOFT_RO 0x0020
113#define UDF_USER_FS_FLAGS_HW_RO 0x0040
114#define UDF_USER_FS_FLAGS_MEDIA_DEFECT_RO 0x0080
115#define UDF_USER_FS_FLAGS_PART_RO 0x0100
116#define UDF_USER_FS_FLAGS_NEW_FS_RO 0x0200
120#define UDF_PART_DAMAGED_RW (0x00)
121#define UDF_PART_DAMAGED_RO (0x01)
122#define UDF_PART_DAMAGED_NO (0x02)
132#define UDF_SET_OPTIONS_FLAG_TEMPORARY 0x00
133#define UDF_SET_OPTIONS_FLAG_DISK 0x01
134#define UDF_SET_OPTIONS_FLAG_DRIVE 0x02
135#define UDF_SET_OPTIONS_FLAG_GLOBAL 0x03
136#define UDF_SET_OPTIONS_FLAG_MASK 0x03
struct _UDF_GET_VERSION_OUT::@970 header
struct _UDF_SET_OPTIONS_IN::@971 header
struct _UDF_GET_VERSION_OUT UDF_GET_VERSION_OUT
struct _UDF_GET_FILE_ALLOCATION_MODE_OUT UDF_GET_FILE_ALLOCATION_MODE_OUT
PUDF_LOCK_VOLUME_BY_PID_IN PUDF_UNLOCK_VOLUME_BY_PID_IN
struct _UDF_LOCK_VOLUME_BY_PID_IN UDF_LOCK_VOLUME_BY_PID_IN
struct _UDF_SET_OPTIONS_IN * PUDF_SET_OPTIONS_IN
struct _UDF_GET_FILE_ALLOCATION_MODE_OUT * PUDF_GET_FILE_ALLOCATION_MODE_OUT
PUDF_GET_FILE_ALLOCATION_MODE_OUT PUDF_SET_FILE_ALLOCATION_MODE_IN
struct _UDF_SET_OPTIONS_IN UDF_SET_OPTIONS_IN
struct _UDF_GET_VERSION_OUT * PUDF_GET_VERSION_OUT
UDF_GET_FILE_ALLOCATION_MODE_OUT UDF_SET_FILE_ALLOCATION_MODE_IN
struct _UDF_LOCK_VOLUME_BY_PID_IN * PUDF_LOCK_VOLUME_BY_PID_IN
UDF_LOCK_VOLUME_BY_PID_IN UDF_UNLOCK_VOLUME_BY_PID_IN