Export (0) Print
Expand All

SHRINK_VOLUME_INFORMATION structure

Specifies the volume shrink operation to perform.

Syntax


typedef struct _SHRINK_VOLUME_INFORMATION {
  SHRINK_VOLUME_REQUEST_TYPES ShrinkRequestType;
  DWORDLONG                   Flags;
  LONGLONG                    NewNumberOfSectors;
} SHRINK_VOLUME_INFORMATION, *PSHRINK_VOLUME_INFORMATION;

Members

ShrinkRequestType

Indicates the operation to perform. The valid values are as follows.

ValueMeaning
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.

 

Flags

This member must be zero.

NewNumberOfSectors

The 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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WinIoCtl.h (include Windows.h)

See also

FSCTL_SHRINK_VOLUME

 

 

Community Additions

ADD
Show:
© 2014 Microsoft