Prev Next

REASSIGN_BLOCKS info  Overview  Group

The REASSIGN_BLOCKS structure provides disk-block reassignment data. It is a variable-length structure whose last member is an array of block numbers to be reassigned.

typedef struct _REASSIGN_BLOCKS { 

    WORD   Reserved; 

    WORD   Count; 

    DWORD BlockNumber[1]; 

} REASSIGN_BLOCKS ; 

 

Members

Reserved
This member is reserved. Do not use it. Set it to zero.
Count
Specifies the number of blocks to be reassigned. This is the number of elements that are in the BlockNumber member array.
BlockNumber
An array of Count block numbers, one for each block to be reassigned.

Remarks

The DeviceIoControl function uses a REASSIGN_BLOCKS structure as input to an IOCTL_DISK_REASSIGN_BLOCKS device input and output control operation.

See Also

DeviceIoControl, IOCTL_DISK_REASSIGN_BLOCKS