23#define TAG_PARTMGR 'MtrP'
55#define DMIO_ID_SIGNATURE (*(ULONGLONG*)"DMIO:ID:")
179 Irp->IoStatus.Information =
Size;
194 Irp->IoStatus.Information =
Size;
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
unsigned long long UINT64
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeSetEvent(pEvt, foo, foo2)
DRIVER_DISPATCH ForwardIrpAndForget
#define RTL_FIELD_SIZE(type, field)
enum _PARTITION_STYLE PARTITION_STYLE
union _BASIC_VOLUME_UNIQUE_ID BASIC_VOLUME_UNIQUE_ID
NTSTATUS PartitionHandleRemove(_In_ PPARTITION_EXTENSION PartExt, _In_ BOOLEAN FinalRemove)
struct _DISK_GEOMETRY_EX_INTERNAL * PDISK_GEOMETRY_EX_INTERNAL
union _BASIC_VOLUME_UNIQUE_ID * PBASIC_VOLUME_UNIQUE_ID
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
SINGLE_LIST_ENTRY PartitionList
PDRIVE_LAYOUT_INFORMATION_EX LayoutCache
struct _FDO_EXTENSION::@1329::@1330::@1332 Mbr
PDEVICE_OBJECT PhysicalDiskDO
struct _FDO_EXTENSION::@1329 DiskData
PDEVICE_OBJECT DeviceObject
PDEVICE_OBJECT LowerDevice
UNICODE_STRING DiskInterfaceName
UINT32 EnumeratedPartitionsTotal
struct _FDO_EXTENSION::@1329::@1330::@1333 Gpt
struct _IO_STACK_LOCATION::@1579::@1580 DeviceIoControl
union _IO_STACK_LOCATION::@1579 Parameters
UNICODE_STRING VolumeInterfaceName
struct _PARTITION_EXTENSION::@1334::@1337 Mbr
PDEVICE_OBJECT LowerDevice
struct _PARTITION_EXTENSION::@1334::@1336 Gpt
BOOLEAN RecognizedPartition
PDEVICE_OBJECT Part0Device
SINGLE_LIST_ENTRY ListEntry
UNICODE_STRING DeviceName
UNICODE_STRING PartitionInterfaceName
PDEVICE_OBJECT DeviceObject
struct _BASIC_VOLUME_UNIQUE_ID::@1327 Mbr
struct _BASIC_VOLUME_UNIQUE_ID::@1328 Gpt
_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
_Must_inspect_result_ __drv_aliasesMem _In_ PDEVICE_OBJECT _In_opt_ PVOID _In_ ULONG _Out_opt_ PVOID _In_ ULONG _In_ BOOLEAN InternalDeviceIoControl