MM_VOLUME_EXPAND

Expands a volume’s capacity by adding a volume segment.

Parameters

Parameters to MM_ObjectControl for this operation are as follows:

objectID
The OBID of the file system application expected to expand the volume.
operation
Set to MM_VOLUME_EXPAND.
parameter1
The OBID of the logical partition on which exists the volume segment to be added to an existing volume.
parameter2
The zero-based starting sector, relative to the first sector of the logical partition, defining the beginning of the new volume segment.
parameter3
The number of sectors that make up the capacity of the volume segment.
bufferLength
Length, in bytes, of the volume name, not including the null.
buffer
The null-terminated name of the volume to be expanded.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

0x00000008

MM_OBJECT_NOT_FOUND

The file system cannot identify the volume, by the given name, as one under the file system’s responsibility.