MM_LABEL_FUNCTIONS

Causes the Media Manager either to stamp or to remove identification information on activated media by causing Media Manager to call the registered label or unlabel operation.

Parameters

handle
The handle of an object related to the media being labeled.
function
Set to MM_LABEL_FUNCTIONS.
parameter1
Indicates the operation to perform:

0 = label media

1 = unlabel media

parameter2
The NovellĀ® assigned number of the identification function code used to label the information on the media.
parameter3
Reserved. Set to zero.
bufferLen
The number of bytes in the label name.
buffer
Pointer to a null-terminated length preceded string. The total bytes in the name must not exceed 64, including the length byte and the null-terminator byte.
returnParameter
Not used.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

Remarks

The database is updated to reflect the correct identity of the media. The media ID is derived from the object handle passed.

See Also

MM_RegisterObject