// winioctl.h
typedef struct _SHRINK_VOLUME_INFORMATION {
SHRINK_VOLUME_REQUEST_TYPES ShrinkRequestType;
DWORDLONG Flags;
LONGLONG NewNumberOfSectors;
} SHRINK_VOLUME_INFORMATION, *PSHRINK_VOLUME_INFORMATION;
View the official Win32 API referenceNo description available.
Specifies the volume shrink operation to perform.
ShrinkRequestTypeIndicates the operation to perform. The valid values are as follows.
| Value | Meaning |
|---|---|
| ShrinkPrepare | Volume should perform any steps necessary to prepare for a shrink operation. |
| ShrinkCommit | Volume should commit the shrink operation changes. |
| ShrinkAbort | Volume should terminate the shrink operation. |
FlagsThis member must be zero.
NewNumberOfSectorsThe number of sectors that should be in the shrunken volume. Used only when the ShrinkRequestType member is ShrinkPrepare, otherwise this member should be initialized to zero.