The FindAtom function searches the local atom table for the specified character string and retrieves the atom associated with that string.
ATOM FindAtom(
LPCTSTR lpString // pointer to string to find
);
If the function succeeds, the return value is the atom associated with the given string.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Even though the system preserves the case of a string in an atom table, the search performed by the FindAtom function is not case sensitive.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winbase.h.
Import Library: Use kernel32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Atoms Overview, Atom Functions, AddAtom, DeleteAtom, GlobalAddAtom, GlobalDeleteAtom, GlobalFindAtom