MM_POOL_CREATE

Creates a pool (see Pools).

Version:NetWare 6.x

Parameters

Parameters to MM_ObjectControl for this operation are as follows:

objectID
The OBID of the file system application expected to create the pool. This must be the same file system application from which the default VolumeConfigElementList was obtained.
operation
Set to MM_POOL_CREATE.
parameter1
The OBID of the logical partition on which the pool is to be created.
parameter2
Set to zero.
parameter3
Set to zero.
bufferLength
Set to zero.
buffer
The token found in the VolumeConfigElementList structure that identifies the instance of the VolumeConfigElementList structure given to the application.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

0x00000001

MM_INVALID_OBJECT

Invalid logical partition ID

0xFFFFFFFF

MM_FAILURE

Invalid pool name

Remarks

A default VolumeConfigElementList structure is obtained from a file system application by the MM_VOLUME_RETURN_CONFIG_DIALOG operation and then modified to include the pool name in the first element.

The pool uses all the logical partition space so that the pool size is equivalent to the size of the logical partition.