a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 utility.library
  AddNamedObject
  AllocNamedObjectA
  AllocateTagItems
  Amiga2Date
  ApplyTagChanges
  AttemptRemNamedObject
  CallHookPkt
  CheckDate
  CloneTagItems
  Date2Amiga
  FilterTagChanges
  FilterTagItems
  FindNamedObject
  FindTagItem
  FreeNamedObject
  FreeTagItems
  GetTagData
  GetUniqueID
  MapTags
  NamedObjectName
  NextTagItem
  PackBoolTags
  PackStructureTags
  RefreshTagItemClones
  ReleaseNamedObject
  RemNamedObject
  SDivMod32
  SMult32
  SMult64
  Stricmp
  Strnicmp
  TagInArray
  ToLower
  ToUpper
  UDivMod32
  UMult32
  UMult64
  UnpackStructureTags
Include
GuruMeditation
Docs » Autodocs » utility.library » AttemptRemNamedObject

NAME

	AttemptRemNamedObject -- attempt to remove a named object. (V39)

SYNOPSIS

	result = AttemptRemNamedObject(object);
D0 A0
LONG AttemptRemNamedObject(struct NamedObject *);

FUNCTION

	Attempts to remove an object from whatever NameSpace it's in.
You must have found the object first (in order to get a use count)
before trying to remove it. If the object is in use or is
in the process of being removed, this function will return
a failure code. If the object is fully removed, the object will
then be available to be FreeNamedObject().

INPUTS

	object - the object to attempt to remove  The object must be valid

RESULT

	success - FALSE if object is still in use (somewhere)
TRUE if object was removed

SEE ALSO

RemNamedObject(), AddNamedObject(), ReleaseNamedObject()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Rebels

AFL
TSL
SNT
RBS

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se