Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>deleteatom()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DeleteAtom()
Delete an atom from the application's atom table
------------------------------------------------------------------------------

Syntax
DeleteAtom( <hAtom> )   -->   nCode

Arguments
<hAtom> is the handle of the atom to be deleted.

Returns
If successful, this function returns zero (0).  Otherwise,
<hAtom> is returned.
WARNING: these return values are probably not what you would
expect.

Description
This function decrements the reference count in the
application's private atom table maintained by Windows (the
AddAtom() function increments the count).  If the reference
count drops to zero (0), the atom is removed from the table.

Example
// remove an atom from the table
do while DeleteAtom( hAtom ) == 0
     // keep looping until failure, at which point the atom must
     // have finally gone
enddo


See Also: AddAtom() FindAtom() GetAtomName()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson