|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
|
| Header File
| winbase.h
| Unicode
| No
| Platform Notes
| None
|
|
|
MAKEINTATOM
The MAKEINTATOM macro creates an integer atom that represents a character string of decimal
digits.
Integer atoms created by this macro can be added to an atom table by using the AddAtom or GlobalAddAtom function.
LPTSTR MAKEINTATOM(
WORD wInteger
| // integer to make into atom
| );
|
|
Parameters
wInteger
Specifies the numeric value to be made into an integer atom.
Return Values
The return value is a pointer to the atom created for the given integer.
Remarks
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)))
See Also
AddAtom, DeleteAtom, GetAtomName, GlobalAddAtom, GlobalDeleteAtom, GlobalGetAtomName
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|