FindAtom

  ATOM FindAtom(lpszString)    
  LPCTSTR lpszString; /* address of string to find */

The FindAtom function searches the local atom table for the specified character string and retrieves the atom associated with that string.

Parameters

lpszString

Points to the null-terminated character string to search for.

Return Value

The return value identifies the atom associated with the given string if the function is successful. Otherwise, (if the string is not in the table) the return value is zero.

Comments

The FindAtom function may be used as either a wide-character function (where text arguments must use Unicode) or an ANSI function (where text arguments must use characters from the Windows 3.x character set installed).

See Also

AddAtom, DeleteAtom, GetAtomName, GlobalAddAtom, GlobalDeleteAtom, GlobalFindAtom, GlobalGetAtomName, InitAtomTable