mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[SDK] Properly define IsFTPartition so that it doesn't match Unix partition type
CORE-16499
This commit is contained in:
parent
887200703c
commit
0a0e6a9f07
1 changed files with 7 additions and 2 deletions
|
@ -239,8 +239,13 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#define IsFTPartition( PartitionType ) \
|
||||
(((PartitionType) & PARTITION_NTFT) && \
|
||||
IsRecognizedPartition(PartitionType))
|
||||
(((PartitionType) & PARTITION_NTFT) && (((PartitionType) & ~0xC0) == PARTITION_FAT_12)) || \
|
||||
(((PartitionType) & PARTITION_NTFT) && (((PartitionType) & ~0xC0) == PARTITION_HUGE)) || \
|
||||
(((PartitionType) & PARTITION_NTFT) && (((PartitionType) & ~0xC0) == PARTITION_IFS)) || \
|
||||
(((PartitionType) & PARTITION_NTFT) && (((PartitionType) & ~0xC0) == PARTITION_FAT32)) || \
|
||||
(((PartitionType) & PARTITION_NTFT) && (((PartitionType) & ~0xC0) == PARTITION_FAT32_XINT13)) || \
|
||||
(((PartitionType) & PARTITION_NTFT) && (((PartitionType) & ~0xC0) == PARTITION_XINT13))
|
||||
|
||||
|
||||
#define IsContainerPartition(PartitionType) \
|
||||
(((PartitionType) == PARTITION_EXTENDED) || \
|
||||
|
|
Loading…
Reference in a new issue