NtDeleteAtom - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTEXAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)

/**
 * The NtDeleteAtom routine decrements the reference count of an atom and
 * removes it from the system atom table when the count reaches zero.
 *
 * \param Atom The atom identifier to delete.
 * \return NTSTATUS Successful or errant status.
 * \remarks If the atom is still referenced elsewhere, it is not removed until
 * its reference count reaches zero.
 * \see https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-deleteatom
 */
NTSYSCALLAPI
NTSTATUS
NTAPI
NtDeleteAtom(
    _In_ RTL_ATOM Atom
    );

#endif
#endif

View code on GitHub
#ifndef _NTZWAPI_H

NTSYSCALLAPI
NTSTATUS
NTAPI
ZwDeleteAtom(
    _In_ RTL_ATOM Atom
    );

#endif

View code on GitHub

NtDoc

No description available.

NTinternals.net (undocumented.ntinternals.net)

Function NtDeleteAtom remove Atom from Global Atom Table. If Atom's reference counter is greater then 1, function decrements this counter, but Atom stayed in Global Atom Table.

Atom

Atom identifier.

Documented by

See also