Platform SDK: Interprocess Communications

MAKEINTATOM

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

LPTSTR MAKEINTATOM(
  WORD wInteger  // integer to make into atom
);

Parameters

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

Return Values

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

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Winbase.h; include Windows.h.

See Also

Atoms Overview, Atom Macros, AddAtom, DeleteAtom, GetAtomName, GlobalAddAtom, GlobalDeleteAtom, GlobalGetAtomName