Re: IoReadPartitionTableEx
- From: "Maxim S. Shatskih" <maxim@xxxxxxxxxxxxxxxx>
- Date: Thu, 11 Oct 2007 07:23:16 +0400
actually perform the media reads themselves, then what is the point of them
sending IOCTLs? If on the other hand they are nothing but wrappers for
IOCTLs
No.
IoReadPartitionTable(Ex) is the function which really reads the partition table
sectors from the disk by handicrafted MJ_READ IRPs (and possibly some IOCTLs),
then parses the MBR or GPT on-disk data and fills the
DRIVE_LAYOUT_INFORMATION(_EX), which is the universal format of the partition
table data.
The reason for existence of this functions is to remove the MBR/GPT parsing
code from Disk.sys to the kernel (actually the HAL due to some very old reasons
of NT3 times).
--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@xxxxxxxxxxxxxxxx
http://www.storagecraft.com
.
- References:
- Re: IoReadPartitionTableEx
- From: Doron Holan [MSFT]
- Re: IoReadPartitionTableEx
- From: Doron Holan [MSFT]
- Re: IoReadPartitionTableEx
- From: Maxim
- Re: IoReadPartitionTableEx
- Prev by Date: Re: Windows XP & non-paged pool
- Next by Date: Re: How to implement a Ioctl request which need to wait for a whil
- Previous by thread: Re: IoReadPartitionTableEx
- Index(es):
Relevant Pages
|