This function creates a private empty atom table.

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

ULONG       ulInitial;        /*  Initial bytes. */
ULONG       ulBuckets;        /*  Size of the hash table. */
HATOMTBL    hatomtblAtomTbl;  /*  Atom-table handle. */

hatomtblAtomTbl = WinCreateAtomTable(ulInitial,
                    ulBuckets);


[Back] [Next]