LPSTR MAKEINTATOM(wInteger) |
This macro creates an integer atom that represents a character string of decimal digits.
Integer atoms created by this macro can be added to the atom table using the AddAtom function.
wInteger
Specifies the numeric value to be made into an integer atom.
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 LPSTR, the return value cannot be used as a string pointer, except when passing it to atom-management functions that require an LPSTR parameter.
The DeleteAtom function always succeeds for integer atoms, even though it does nothing. The string returned by the GetAtomName function for an integer atom will be the a null-terminated string where the first character is a pound sign ('#') and the remaining characters are the WORD used in the MAKEINTATOM macro.
AddAtom, DeleteAtom, GetAtomName