Go to the source code of this file.
◆ NPFS_BUGCHECK_FILE_ID
◆ NpCommonQueryVolumeInformation()
Definition at line 134 of file volinfo.c.
136{
144
146 Buffer =
Irp->AssociatedIrp.SystemBuffer;
149
151
152 switch (InfoClass)
153 {
156 break;
159 break;
162 break;
165 break;
168 break;
169 default:
171 break;
172 }
173
177}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
#define STATUS_NOT_SUPPORTED
@ FileFsDeviceInformation
@ FileFsAttributeInformation
@ FileFsVolumeInformation
enum _FSINFOCLASS FS_INFORMATION_CLASS
NTSTATUS NTAPI NpQueryFsAttributeInfo(IN PVOID Buffer, IN OUT PULONG Length)
NTSTATUS NTAPI NpQueryFsSizeInfo(IN PVOID Buffer, IN OUT PULONG Length)
NTSTATUS NTAPI NpQueryFsDeviceInfo(IN PVOID Buffer, IN OUT PULONG Length)
NTSTATUS NTAPI NpQueryFsFullSizeInfo(IN PVOID Buffer, IN OUT PULONG Length)
NTSTATUS NTAPI NpQueryFsVolumeInfo(IN PVOID Buffer, IN OUT PULONG Length)
_In_ ULONG _In_ ULONG _In_ ULONG Length
#define FileFsFullSizeInformation
struct _IO_STACK_LOCATION::@3978::@3991 QueryVolume
union _IO_STACK_LOCATION::@1579 Parameters
#define RtlZeroMemory(Destination, Length)
Referenced by NpFsdQueryVolumeInformation().
◆ NpFsdQueryVolumeInformation()
Definition at line 181 of file volinfo.c.
183{
187
190
192
195
197 {
200 }
201
204}
FORCEINLINE VOID NpReleaseVcb(VOID)
FORCEINLINE VOID NpAcquireSharedVcb(VOID)
#define FsRtlEnterFileSystem
#define FsRtlExitFileSystem
NTSTATUS NTAPI NpCommonQueryVolumeInformation(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
#define IoCompleteRequest
_In_ PDEVICE_OBJECT DeviceObject
#define IO_NAMED_PIPE_INCREMENT
Referenced by DriverEntry().
◆ NpQueryFsAttributeInfo()
Definition at line 86 of file volinfo.c.
88{
93
95 if (NameLength < 8)
96 {
99 }
100 else
101 {
103 NameLength = 8;
105 }
106
111
114}
#define FILE_CASE_PRESERVED_NAMES
#define STATUS_BUFFER_OVERFLOW
#define RtlCopyMemory(Destination, Source, Length)
Referenced by NpCommonQueryVolumeInformation().
◆ NpQueryFsDeviceInfo()
◆ NpQueryFsFullSizeInfo()
◆ NpQueryFsSizeInfo()
◆ NpQueryFsVolumeInfo()