Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MAKEINTATOM macro

Converts the specified atom into a string, so it can be passed to functions which accept either atoms or strings.

Syntax


LPTSTR MAKEINTATOM(
   WORD wInteger
);

Parameters

wInteger

The numeric value to be made into an integer atom. This parameter can be either an integer atom or a string atom.

Return value

The return value is an integer atom cast to a string pointer.

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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winbase.h (include Windows.h)

See also

Reference
AddAtom
DeleteAtom
GetAtomName
GlobalAddAtom
GlobalDeleteAtom
GlobalGetAtomName

 

 

Community Additions

Show:
© 2017 Microsoft