This function returns an atom name associated with an atom.

#define INCL_WINATOM /* Or use INCL_WIN, INCL_PM, */
#include <os2.h>

HATOMTBL    hatomtblAtomTbl;  /*  Atom-table handle. */
ATOM        atom;             /*  Identifies the character string to be retrieved. */
PSZ         pszBuffer;        /*  Buffer to receive the character string. */
ULONG       ulBufferMax;      /*  Buffer size in bytes. */
ULONG       ulretlen;         /*  Length of retrieved character string. */

ulretlen = WinQueryAtomName(hatomtblAtomTbl,
             atom, pszBuffer, ulBufferMax);


[Back] [Next]