Integer Atoms
Integer atoms differ from string atoms in the following ways:
-
The values of integer atoms are in the range 0x0001 through 0xBFFF. The values of integer atoms and string atoms do not overlap, so both types of atoms can be used in the same block of code.
-
The string representation of an integer atom is #dddd, where the values represented by dddd are decimal digits. Leading zeros are ignored.
-
There is no reference count or storage overhead associated with an integer atom.
Several Win32 functions accept either string or integer atoms as parameters. When passing an integer atom to these functions, an application must use the MAKEINTATOM macro to create the atom.