MM_POOL_NAMES

Returns a list of pool (see Pools) names that are supported on the system.

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 return the list of pool names.
operation
Set to MM_POOL_NAMES.
parameter1
Set to zero.
parameter2
Set to zero.
parameter3
Set to zero.
bufferLength
Length, in bytes, of the buffer to receive the pool names.
buffer
A pointer to a VolumeNamesDef structure.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

0x0000020B

MM_BUFFER_TOO_SMALL

This indicates that the buffer was not large enough to receive all of the pool names and that the operation should be called again to get the next set of pool names.

Remarks

These names are placed in a buffer pointed to by the names field in the VolumeNamesDef structure.

The list can contain either ASCII or UNICODE strings, but not both.

Each name in the buffer is separated by an appropriate NULL character with the last name being terminated by two NULL characters.

If the given buffer is not large enough to receive all of the pool names, the file system places a value in the token field of the VolumeNamesDef structure that can be used on subsequent calls. Set token to -1 to obtain all the pool names.