REASSIGN_BLOCKS

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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winioctl.h.

See Also

Device Input and Output Overview, Device Input and Output Structures, DeviceIoControl, IOCTL_DISK_REASSIGN_BLOCKS