MM_RenameObject

This changes the name of an object.

Local Servers:Blocking
NetWare Server: 5.x
Platform:NLM
Service:Media Manager

Syntax

  LONG MM_RenameObject ( 
     OBID   objectID, 
     BYTE  *name ); 
  
  

Parameters

objectID
The OBID of the object to be renamed.
name
The new, null-terminated name for the object. Only the first MM_MAX_OBJECT_STRING_LEN - 1 characters are significant.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

0x00000001

MM_INVALID_OBJECT

0x00000004

MM_MEMORY_ALLOCATION_ERROR

0x00000016

MM_PARAMETER_ERROR

Remarks

This API will not modify the label given to an object through the MM_LABEL_FUNCTIONS IO function.

See Also

IO Function Operations