23#define TAG_PARTMGR 'MtrP'
152 if (ioStack->
Parameters.DeviceIoControl.OutputBufferLength <
Size)
154 Irp->IoStatus.Information =
Size;
169 Irp->IoStatus.Information =
Size;
unsigned long long UINT64
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeSetEvent(pEvt, foo, foo2)
DRIVER_DISPATCH ForwardIrpAndForget
enum _PARTITION_STYLE PARTITION_STYLE
NTSTATUS PartitionHandleRemove(_In_ PPARTITION_EXTENSION PartExt, _In_ BOOLEAN FinalRemove)
struct _DISK_GEOMETRY_EX_INTERNAL * PDISK_GEOMETRY_EX_INTERNAL
NTSTATUS PartitionHandleDeviceControl(_In_ PDEVICE_OBJECT DeviceObject, _In_ PIRP Irp)
struct _FDO_EXTENSION * PFDO_EXTENSION
struct _DISK_GEOMETRY_EX_INTERNAL DISK_GEOMETRY_EX_INTERNAL
struct _PARTITION_EXTENSION * PPARTITION_EXTENSION
FORCEINLINE VOID PartMgrReleaseLayoutLock(_In_ PFDO_EXTENSION FDOExtension)
NTSTATUS PartitionHandlePnp(_In_ PDEVICE_OBJECT DeviceObject, _In_ PIRP Irp)
struct _PARTITION_EXTENSION PARTITION_EXTENSION
FORCEINLINE VOID PartMgrAcquireLayoutLock(_In_ PFDO_EXTENSION FDOExtension)
FORCEINLINE BOOLEAN VerifyIrpInBufferSize(_In_ PIRP Irp, _In_ SIZE_T Size)
NTSTATUS IssueSyncIoControlRequest(_In_ UINT32 IoControlCode, _In_ PDEVICE_OBJECT DeviceObject, _In_ PVOID InputBuffer, _In_ ULONG InputBufferLength, _In_ PVOID OutputBuffer, _In_ ULONG OutputBufferLength, _In_ BOOLEAN InternalDeviceIoControl)
struct _FDO_EXTENSION FDO_EXTENSION
FORCEINLINE BOOLEAN VerifyIrpOutBufferSize(_In_ PIRP Irp, _In_ SIZE_T Size)
NTSTATUS PartitionCreateDevice(_In_ PDEVICE_OBJECT FDObject, _In_ PPARTITION_INFORMATION_EX PartitionEntry, _In_ UINT32 OnDiskNumber, _In_ PARTITION_STYLE PartitionStyle, _Out_ PDEVICE_OBJECT *PDO)
DISK_PARTITION_INFO Partition
DISK_DETECTION_INFO Detection
PARTITION_STYLE PartitionStyle
struct _FDO_EXTENSION::@1296::@1297::@1300 Gpt
SINGLE_LIST_ENTRY PartitionList
PDRIVE_LAYOUT_INFORMATION_EX LayoutCache
PDEVICE_OBJECT PhysicalDiskDO
struct _FDO_EXTENSION::@1296 DiskData
struct _FDO_EXTENSION::@1296::@1297::@1299 Mbr
PDEVICE_OBJECT DeviceObject
PDEVICE_OBJECT LowerDevice
UNICODE_STRING DiskInterfaceName
UINT32 EnumeratedPartitionsTotal
struct _NAMED_PIPE_CREATE_PARAMETERS * Parameters
struct _PARTITION_EXTENSION::@1301::@1304 Mbr
UNICODE_STRING VolumeInterfaceName
struct _PARTITION_EXTENSION::@1301::@1303 Gpt
PDEVICE_OBJECT LowerDevice
BOOLEAN RecognizedPartition
PDEVICE_OBJECT Part0Device
SINGLE_LIST_ENTRY ListEntry
UNICODE_STRING DeviceName
UNICODE_STRING PartitionInterfaceName
PDEVICE_OBJECT DeviceObject
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_In_ WDFREQUEST _In_ size_t _In_ size_t _In_ ULONG IoControlCode
_In_ WDFREQUEST _In_ size_t OutputBufferLength
_In_ WDFREQUEST _In_ size_t _In_ size_t InputBufferLength
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
__drv_aliasesMem FORCEINLINE PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(_In_ PIRP Irp)
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT _In_opt_ PVOID _In_ ULONG _Out_opt_ PVOID _In_ ULONG _In_ BOOLEAN InternalDeviceIoControl