[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'utility' (#aros)

RemNamedObject

Remove a named object.

Declaration

Source position: utility.pas line 248

procedure RemNamedObject(

  Object_: PNamedObject;

  Message: PMessage

);

Arguments

Object_

  

The object to remove: Must be a valid NamedObject.

Message

  

Message to ReplyMsg() (must be supplied)

Description

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 TMessage.mn_Node.ln_Name field will contain the object pointer or nil if the object was removed by another process.

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

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

See also

AttemptRemNamedObject

  

Attempt to remove a named object.

AddNamedObject

  

Add a named object to the given namespace.

ReleaseNamedObject

  

Free a named object.


Documentation generated on: 2017-01-10