This function returns the handle of the system atom table.
#define INCL_WINATOM /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HATOMTBL hatomtblAtomTbl; /* System atom-table handle. */ hatomtblAtomTbl = WinQuerySystemAtomTable();