[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
	RemNamedObject -- remove a named object. (V39)

   SYNOPSIS
	RemNamedObject(object, message);
	               A0      A1

	VOID RemNamedObject(struct NamedObject *, struct Message *);

   FUNCTION
	This function will post a request to release the object
	from whatever NameSpace it is in.  It will reply the message
	when the object is fully removed.  The message.mn_Node.ln_Name
	field will contain the object pointer or NULL if the object
	was removed by another process.

	This function will effectively do a ReleaseNamedObject()
	thus you must have "found" the object first.

   INPUTS
	object - the object to remove: Must be a valid NamedObject.
	message - message to ReplyMsg() (must be supplied)

   RESULT
	The message is replied with the ln_Name field either being
	the object or NULL. If it contains the object, the object
	is completely removed.

   SEE ALSO
	AttemptRemNamedObject(), AddNamedObject(), ReleaseNamedObject()