MAKEINTATOM (Compact 2013)
3/28/2014
This macro converts the specified atom into a string so that an application can pass the atom to functions that accept either atoms or strings.
Syntax
LPTSTR MAKEINTATOM(
WORD wInteger
);
Parameters
- wInteger
[in] WORD that specifies the numeric value that you want to convert into a string. This parameter can be either an integer atom or a string atom.
Return Value
The return value is a pointer to a string generated by performing casts on the integer atom.
Remarks
Although the return value of the MAKEINTATOM macro is cast as an LPTSTR value, you cannot use the value as a string pointer except when you pass the value to atom-management functions that require an LPTSTR argument.
The MAKEINTATOM macro is defined as follows.
#define MAKEINTATOM(i) (LPTSTR)((DWORD)((WORD)(i)))
Requirements
Header |
windows.h |