23 #define TAG_PARTMGR 'MtrP' 152 if (ioStack->
Parameters.DeviceIoControl.OutputBufferLength <
Size)
154 Irp->IoStatus.Information =
Size;
169 Irp->IoStatus.Information =
Size;
195 #endif // _PARTMGR_H_ UNICODE_STRING VolumeInterfaceName
PDEVICE_OBJECT LowerDevice
struct _FDO_EXTENSION FDO_EXTENSION
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT _In_opt_ PVOID _In_ ULONG _Out_opt_ PVOID _In_ ULONG _In_ BOOLEAN InternalDeviceIoControl
NTSTATUS PartitionHandlePnp(_In_ PDEVICE_OBJECT DeviceObject, _In_ PIRP Irp)
UNICODE_STRING DiskInterfaceName
BOOLEAN RecognizedPartition
PDEVICE_OBJECT PhysicalDiskDO
IN PVOID IN PVOID IN USHORT IN USHORT Size
struct _FDO_EXTENSION::@1272::@1273::@1276 Gpt
_In_ WDFREQUEST _In_ size_t _In_ size_t InputBufferLength
PDEVICE_OBJECT Part0Device
LONG NTAPI KeSetEvent(IN PKEVENT Event, IN KPRIORITY Increment, IN BOOLEAN Wait)
NTSTATUS NTAPI KeWaitForSingleObject(IN PVOID Object, IN KWAIT_REASON WaitReason, IN KPROCESSOR_MODE WaitMode, IN BOOLEAN Alertable, IN PLARGE_INTEGER Timeout OPTIONAL)
struct _PARTITION_EXTENSION::@1277::@1279 Gpt
_In_ WDFREQUEST _In_ size_t OutputBufferLength
_In_ PDEVICE_OBJECT DeviceObject
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
UNICODE_STRING DeviceName
PDEVICE_OBJECT DeviceObject
struct _PARTITION_EXTENSION::@1277::@1280 Mbr
NTSTATUS NTAPI ForwardIrpAndForget(_In_ PDEVICE_OBJECT DeviceObject, _In_ PIRP Irp)
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
NTSTATUS IssueSyncIoControlRequest(_In_ UINT32 IoControlCode, _In_ PDEVICE_OBJECT DeviceObject, _In_ PVOID InputBuffer, _In_ ULONG InputBufferLength, _In_ PVOID OutputBuffer, _In_ ULONG OutputBufferLength, _In_ BOOLEAN InternalDeviceIoControl)
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
PARTITION_STYLE PartitionStyle
FORCEINLINE BOOLEAN VerifyIrpOutBufferSize(_In_ PIRP Irp, _In_ SIZE_T Size)
NTSTATUS PartitionHandleRemove(_In_ PPARTITION_EXTENSION PartExt, _In_ BOOLEAN FinalRemove)
NTSTATUS PartitionHandleDeviceControl(_In_ PDEVICE_OBJECT DeviceObject, _In_ PIRP Irp)
NTSTATUS PartitionCreateDevice(_In_ PDEVICE_OBJECT FDObject, _In_ PPARTITION_INFORMATION_EX PartitionEntry, _In_ UINT32 OnDiskNumber, _In_ PARTITION_STYLE PartitionStyle, _Out_ PDEVICE_OBJECT *PDO)
struct _DISK_GEOMETRY_EX_INTERNAL * PDISK_GEOMETRY_EX_INTERNAL
SINGLE_LIST_ENTRY PartitionList
struct _FDO_EXTENSION * PFDO_EXTENSION
PDEVICE_OBJECT LowerDevice
_In_ WDFREQUEST _In_ size_t _In_ size_t _In_ ULONG IoControlCode
enum _PARTITION_STYLE PARTITION_STYLE
struct _DISK_GEOMETRY_EX_INTERNAL DISK_GEOMETRY_EX_INTERNAL
FORCEINLINE BOOLEAN VerifyIrpInBufferSize(_In_ PIRP Irp, _In_ SIZE_T Size)
FORCEINLINE VOID PartMgrReleaseLayoutLock(_In_ PFDO_EXTENSION FDOExtension)
__drv_aliasesMem FORCEINLINE PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(_In_ PIRP Irp)
UNICODE_STRING PartitionInterfaceName
struct _FDO_EXTENSION::@1272::@1273::@1275 Mbr
PDEVICE_OBJECT DeviceObject
struct _PARTITION_EXTENSION * PPARTITION_EXTENSION
struct _PARTITION_EXTENSION PARTITION_EXTENSION
UINT32 EnumeratedPartitionsTotal
PDRIVE_LAYOUT_INFORMATION_EX LayoutCache
DISK_DETECTION_INFO Detection
DISK_PARTITION_INFO Partition
struct _FDO_EXTENSION::@1272 DiskData
SINGLE_LIST_ENTRY ListEntry
unsigned long long UINT64
struct _NAMED_PIPE_CREATE_PARAMETERS * Parameters
FORCEINLINE VOID PartMgrAcquireLayoutLock(_In_ PFDO_EXTENSION FDOExtension)