Searches the local atom table for the specified character string and retrieves the atom associated with that string.
ATOM FindAtomA( LPCSTR lpString );
The character string for which to search.
Alternatively, you can use an integer atom that has been converted using the MAKEINTATOM macro. See Remarks for more information.
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.
If lpString was created by the MAKEINTATOM macro, the low-order word must be in the range 0x0001 through 0xBFFF. If the low-order word is not in this range, the function fails.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||winbase.h (include Windows.h)|