ReactOS 0.4.16-dev-470-g91b8923
|
#include <ntddk.h>
#include <ntifs.h>
#include <ntdddisk.h>
#include <ntddcdrm.h>
#include <pseh/pseh2.h>
#include <debug.h>
#include "vcdioctl.h"
Go to the source code of this file.
Classes | |
struct | _DEVICE_EXTENSION |
Macros | |
#define | NDEBUG |
#define | TOC_DATA_TRACK 0x04 |
#define | TOC_LAST_TRACK 0xaa |
#define | DEFAULT_STRING_SIZE 50 |
Typedefs | |
typedef struct _DEVICE_EXTENSION | DEVICE_EXTENSION |
typedef struct _DEVICE_EXTENSION * | PDEVICE_EXTENSION |
Variables | |
FAST_MUTEX | ViMutex |
ULONG | ViDevicesCount |
typedef struct _DEVICE_EXTENSION DEVICE_EXTENSION |
typedef struct _DEVICE_EXTENSION * PDEVICE_EXTENSION |
NTSTATUS NTAPI DriverEntry | ( | PDRIVER_OBJECT | DriverObject, |
PUNICODE_STRING | RegistryPath | ||
) |
Definition at line 1198 of file vcdrom.c.
NTSTATUS NTAPI VcdDeviceControl | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 1081 of file vcdrom.c.
Referenced by DriverEntry().
NTSTATUS NTAPI VcdHandle | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 121 of file vcdrom.c.
Referenced by DriverEntry().
NTSTATUS NTAPI VcdRead | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 539 of file vcdrom.c.
Referenced by DriverEntry().
VOID NTAPI VcdUnload | ( | PDRIVER_OBJECT | DriverObject | ) |
Definition at line 159 of file vcdrom.c.
Referenced by DriverEntry().
NTSTATUS ViAllocateUnicodeString | ( | USHORT | BufferLength, |
PUNICODE_STRING | UnicodeString | ||
) |
Definition at line 71 of file vcdrom.c.
Referenced by DriverEntry(), ViCreateDriveLetter(), ViMountImage(), and ViRemountMedia().
NTSTATUS ViCheckVerify | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 714 of file vcdrom.c.
Referenced by VcdDeviceControl().
NTSTATUS ViCreateDevice | ( | PDRIVER_OBJECT | DriverObject, |
PIRP | Irp | ||
) |
Definition at line 653 of file vcdrom.c.
Referenced by VcdDeviceControl().
VOID ViCreateDriveAndMountImage | ( | PDRIVER_OBJECT | DriverObject, |
WCHAR | Letter, | ||
LPCWSTR | ImagePath | ||
) |
Definition at line 417 of file vcdrom.c.
Referenced by ViLoadImagesFromRegistry().
NTSTATUS ViCreateDriveLetter | ( | PDRIVER_OBJECT | DriverObject, |
WCHAR | Letter, | ||
WCHAR * | EffectiveLetter, | ||
PDEVICE_OBJECT * | DeviceObject | ||
) |
Definition at line 186 of file vcdrom.c.
Referenced by ViCreateDevice(), and ViCreateDriveAndMountImage().
NTSTATUS ViDeleteDevice | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 131 of file vcdrom.c.
Referenced by VcdDeviceControl(), and VcdUnload().
NTSTATUS ViEjectMedia | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 1023 of file vcdrom.c.
Referenced by VcdDeviceControl().
NTSTATUS ViEnumerateDrives | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 955 of file vcdrom.c.
Referenced by VcdDeviceControl().
VOID ViFillInTrackData | ( | PTRACK_DATA | TrackData, |
UCHAR | Control, | ||
UCHAR | Adr, | ||
UCHAR | TrackNumber, | ||
ULONG | Address | ||
) |
Definition at line 785 of file vcdrom.c.
Referenced by ViGetLastSession(), ViReadToc(), and ViReadTocEx().
VOID ViFreeUnicodeString | ( | PUNICODE_STRING | UnicodeString | ) |
Definition at line 92 of file vcdrom.c.
Referenced by ViCreateDriveLetter(), ViDeleteDevice(), ViMountImage(), and ViRemountMedia().
NTSTATUS ViGetDriveGeometry | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 675 of file vcdrom.c.
Referenced by VcdDeviceControl().
NTSTATUS ViGetImagePath | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 995 of file vcdrom.c.
Referenced by VcdDeviceControl().
NTSTATUS ViGetLastSession | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 914 of file vcdrom.c.
Referenced by VcdDeviceControl().
VOID ViInitializeDeviceExtension | ( | PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 52 of file vcdrom.c.
Referenced by DriverEntry(), and ViCreateDriveLetter().
NTSTATUS ViIssueMountImage | ( | PDEVICE_OBJECT | DeviceObject, |
PUNICODE_STRING | Image, | ||
PIRP | Irp | ||
) |
Definition at line 753 of file vcdrom.c.
Referenced by VcdDeviceControl(), and ViRemountMedia().
VOID ViLoadImagesFromRegistry | ( | PDRIVER_OBJECT | DriverObject, |
LPCWSTR | RegistryPath | ||
) |
Definition at line 434 of file vcdrom.c.
Referenced by DriverEntry().
NTSTATUS ViMountImage | ( | PDEVICE_OBJECT | DeviceObject, |
PUNICODE_STRING | Image | ||
) |
Definition at line 326 of file vcdrom.c.
Referenced by ViCreateDriveAndMountImage(), and ViIssueMountImage().
NTSTATUS ViReadFile | ( | PFILE_OBJECT | File, |
PMDL | Mdl, | ||
PLARGE_INTEGER | Offset, | ||
PKEVENT | Event, | ||
ULONG | Length, | ||
PIO_STATUS_BLOCK | IoStatusBlock | ||
) |
Definition at line 497 of file vcdrom.c.
Referenced by VcdRead().
NTSTATUS ViReadToc | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 797 of file vcdrom.c.
Referenced by VcdDeviceControl().
NTSTATUS ViReadTocEx | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 839 of file vcdrom.c.
Referenced by VcdDeviceControl().
NTSTATUS ViRemountMedia | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 1048 of file vcdrom.c.
Referenced by VcdDeviceControl().
Definition at line 109 of file vcdrom.c.
Referenced by VcdDeviceControl(), VcdHandle(), VcdRead(), ViCheckVerify(), ViCreateDevice(), ViDeleteDevice(), ViEjectMedia(), ViEnumerateDrives(), ViGetDriveGeometry(), ViGetImagePath(), ViGetLastSession(), ViIssueMountImage(), ViReadToc(), ViReadTocEx(), and ViRemountMedia().
NTSTATUS ViVerifyVolume | ( | PDEVICE_OBJECT | DeviceObject, |
PIRP | Irp | ||
) |
Definition at line 483 of file vcdrom.c.
Referenced by VcdRead(), ViGetDriveGeometry(), ViGetLastSession(), ViReadToc(), and ViReadTocEx().
ULONG ViDevicesCount |
Definition at line 49 of file vcdrom.c.
Referenced by ViCreateDriveLetter().
FAST_MUTEX ViMutex |
Definition at line 48 of file vcdrom.c.
Referenced by DriverEntry(), and ViCreateDriveLetter().