MM_UnregisterObject

Used to remove an object from Media Manager database. All resources that had been allocated to the object are released.

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

Syntax

  LONG MM_UnregisterObject (  
     HNDL   objectHandle,  
     LONG   reason ); 
  
  

Parameters

objectHandle
Handle of the object to be unregistered.
reason
The reason the object is being unregistered. This is the same reason code that will be passed to the reservation alert routine of any reservation associated with the object being unregistered.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

The object was successfully registered.

0x0000020A

MM_INVALID_HANDLE

objectHandle is invalid.

See Also

Alert Reasons