MM_POOL_RETURN_PARTITION_MAPPING

Returns the pool (see Pools) that is associated with the specified logical partition.

Version:NetWare 6.x

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_POOL_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 pool. The calling application then knows how many array elements are required and can retry this operation with the proper adjustments made.

Remarks

Since the pool takes up the entire logical partition, there is only one pool associated with any given partition.

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

The LogicalPartitionMappingElementDef structure describes the volume segment.