The MAKEINTATOM macro creates an integer atom that represents a character string of decimal digits.
The return value is a pointer to the atom created for the given integer.
Although the return value of the MAKEINTATOM macro is cast as an LPTSTR value, it cannot be used as a string pointer except when it is passed to atom-management functions that require an LPTSTR argument.
The DeleteAtom and GlobalDeleteAtom functions always succeed for integer atoms, even though they do nothing. The string returned by the GetAtomName and GlobalGetAtomName functions for an integer atom is a null-terminated string in which the first character is a pound sign (#) and the remaining characters are the decimal digits used in the MAKEINTATOM macro.
The MAKEINTATOM macro is defined as follows:
#define MAKEINTATOM(i) (LPTSTR) ((DWORD) ((WORD) (i)))