GlobalFindAtom

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

The GlobalFindAtom function searches the system atom table for the specified character string and retrieves the global atom associated with that string.

Parameters

lpszString

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

Return Value

The return value identifies the global 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 GlobalFindAtom 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, FindAtom, GetAtomName, GlobalAddAtom, GlobalDeleteAtom, GlobalGetAtomName, InitAtomTable