#include "fs_rec.h"
#include <debug.h>
#include <pshpack1.h>
#include <poppack.h>
Go to the source code of this file.
◆ NDEBUG
◆ FATX_BOOT_SECTOR
◆ PFATX_BOOT_SECTOR
◆ FsRecFatxFsControl()
Definition at line 66 of file fatx.c.
68{
77
78
80 switch (
Stack->MinorFunction)
81 {
83
84
86
87
88 MountDevice =
Stack->Parameters.MountVolume.DeviceObject;
90 {
91
94 512,
97 &DeviceError))
98 {
99
101 {
102
104 }
105 }
106
107
109 }
110
111 break;
112
114
115
117 L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\vfatfs");
118 break;
119
120 default:
121
122
124 }
125
126
128}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
BOOLEAN NTAPI FsRecIsFatxVolume(IN PFATX_BOOT_SECTOR BootSector)
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)
BOOLEAN NTAPI FsRecGetDeviceSectorSize(IN PDEVICE_OBJECT DeviceObject, OUT PULONG SectorSize)
NTSTATUS NTAPI FsRecLoadFileSystem(IN PDEVICE_OBJECT DeviceObject, IN PWCHAR DriverServiceName)
_In_ ULONG _In_ ULONG Offset
#define STATUS_FS_DRIVER_REQUIRED
#define STATUS_INVALID_DEVICE_REQUEST
#define STATUS_UNRECOGNIZED_VOLUME
_In_ PDEVICE_OBJECT DeviceObject
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack
#define IRP_MN_LOAD_FILE_SYSTEM
#define IRP_MN_MOUNT_VOLUME
Referenced by FsRecFsControl().
◆ FsRecIsFatxVolume()
Definition at line 33 of file fatx.c.
34{
36
38
43 {
44
46 }
55 {
56
58 }
59
60
62}
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Referenced by FsRecFatxFsControl().