#include "fs_rec.h"
#include <debug.h>
#include "udfs.h"
Go to the source code of this file.
◆ NDEBUG
◆ FsRecIsUdfsVolume()
Definition at line 23 of file udfs.c.
25{
31
33 for (
i = 0;
i < 16;
i++)
34 {
39 (
PVOID *)&VolumeStructDesc,
41 {
42 break;
43 }
44
45 if (!
strncmp((
const char*)VolumeStructDesc->Ident,
48 {
50 }
51
52 if (!
strncmp((
const char*)VolumeStructDesc->Ident,
55 {
58 }
59
60 if (!
strncmp((
const char*)VolumeStructDesc->Ident,
63 {
66 }
67
68 if (!
strncmp((
const char*)VolumeStructDesc->Ident,
71 {
73 }
74
75 if (!
strncmp((
const char*)VolumeStructDesc->Ident,
78 {
80 }
81
82 if (!
strncmp((
const char*)VolumeStructDesc->Ident,
85 {
87 }
88
89 if (!
strncmp((
const char*)VolumeStructDesc->Ident,
92 {
94 }
95
97 }
98
99 if (VolumeStructDesc)
102}
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
BOOLEAN NTAPI FsRecReadBlock(IN PDEVICE_OBJECT DeviceObject, IN PLARGE_INTEGER Offset, IN ULONG Length, IN ULONG SectorSize, IN OUT PVOID *Buffer, OUT PBOOLEAN DeviceError OPTIONAL)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_In_ ULONG _In_ ULONG Offset
_In_ PDEVICE_OBJECT DeviceObject
Referenced by FsRecUdfsFsControl().
◆ FsRecUdfsFsControl()
Definition at line 106 of file udfs.c.
108{
114
115
117 switch (
Stack->MinorFunction)
118 {
120
121
123
124
125 MountDevice =
Stack->Parameters.MountVolume.DeviceObject;
127 {
128
130 {
131
133 }
134 }
135
136 break;
137
139
140
142 L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\Udfs");
143 break;
144
145 default:
146
147
149 }
150
151
153}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
BOOLEAN NTAPI FsRecGetDeviceSectorSize(IN PDEVICE_OBJECT DeviceObject, OUT PULONG SectorSize)
NTSTATUS NTAPI FsRecLoadFileSystem(IN PDEVICE_OBJECT DeviceObject, IN PWCHAR DriverServiceName)
#define STATUS_FS_DRIVER_REQUIRED
#define STATUS_INVALID_DEVICE_REQUEST
#define STATUS_UNRECOGNIZED_VOLUME
BOOLEAN NTAPI FsRecIsUdfsVolume(IN PDEVICE_OBJECT DeviceObject, IN ULONG SectorSize)
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack
#define IRP_MN_LOAD_FILE_SYSTEM
#define IRP_MN_MOUNT_VOLUME
Referenced by FsRecFsControl().