Unit 'utility' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

RemNamedObject

Remove a named object.

Declaration

Source position: utility.pas line 368

procedure RemNamedObject(

  Obj: pNamedObject;

  Msg: pointer

);

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: 2021-07-30