MM_VOLUME_RETURN_PARTITION_MAPPING

Requests the file system application to return all of the volume segments that it recognizes on the specified logical partition.

Parameters

Parameters to MM_ObjectControl for this operation are as follows:

objectID
The OBID of the file system application to return the partition mapping information.
operation
Set to MM_VOLUME_RETURN_PARTITION_MAPPING.
parameter1
The OBID of the Logical Partition.
parameter2
Set to zero.
parameter3
Set to zero.
bufferLength
The number of elements in the LogicalPartitionMappingElementDef structures array that the application has made available.
buffer
A pointer to a LogicalPartitionMappingInfo structure.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

0x0000020B

MM_BUFFER_TOO_SMALL

The number of provided array elements was not enough to receive all of the LogicalPartitionMappingElementDef structures. If this return value is returned, the file system application will place a value in the numberOfElements field of the LogicalPartitionMappingInfo structure indicating the actual number of segments that make up the volume. The calling application then knows how many array elements are required and can retry this operation with the proper adjustments made.

Remarks

This information is returned in a LogicalPartitionMappingInfo structure which the application must allocate prior to calling this operation.

The LogicalPartitionMappingElementDef structure describes the volume segment.