REASSIGN_BLOCKS_EX structure (ntdddisk.h)
The REASSIGN_BLOCKS_EX structure is used in conjunction with the IOCTL_DISK_REASSIGN_BLOCKS_EX request to instruct a disk device to reassign the block numbers of the indicated bad blocks to good blocks.
Syntax
typedef struct _REASSIGN_BLOCKS_EX {
USHORT Reserved;
USHORT Count;
LARGE_INTEGER BlockNumber[1];
} REASSIGN_BLOCKS_EX, *PREASSIGN_BLOCKS_EX;
Members
Reserved
Reserved for system use.
Count
Contains the number of blocks in the array pointed to by BlockNumber to reassign.
BlockNumber[1]
Contains an array of block numbers corresponding to damaged blocks. These numbers will be reassigned to good blocks taken from the device's spare block pool.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 8. |
Header | ntdddisk.h (include Ntdddisk.h) |