ATOM_BASIC_INFORMATION - 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 ATOM_BASIC_INFORMATION structure contains basic information about an Atom.
 */
typedef struct _ATOM_BASIC_INFORMATION
{
    USHORT UsageCount;   // The number of times the atom is referenced.
    USHORT Flags;        // Flags associated with the atom. */
    USHORT NameLength;   // Length, in bytes, of the atom's name.
    _Field_size_bytes_(NameLength) WCHAR Name[1]; // The atom's name (not null-terminated).
} ATOM_BASIC_INFORMATION, *PATOM_BASIC_INFORMATION;

#endif
#endif

View code on GitHub

NtDoc

No description available.

NTinternals.net (undocumented.ntinternals.net)

ATOM_BASIC_INFORMATION structure is returned as a result of call NtQueryInformationAtom with AtomBasicInformation information class.

UsageCount

Internal Atom counter state. This value increments at every NtAddAtom call for current Atom, and it's decremented on every NtDeleteAtom function call.

Flags

(?), Only lowest bit is used.

NameLength

Size of Name array, in bytes.

Name[1]

Atom name.

Documented by

See also