◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous► ──────────────────────────────────────────────────────────────────────────── #define INCL_WINATOM USHORT WinQueryAtomUsage(hAtomTbl, atom) HATOMTBL hAtomTbl; /* handle of the atom table */ ATOM atom; /* atom */ The WinQueryAtomUsage function returns the number of times an atom has been used. Parameter Description ──────────────────────────────────────────────────────────────────────────── hAtomTbl Identifies an atom table. This handle must have been created by a previous call to the WinCreateAtomTable function. atom Specifies the atom whose use count is to be returned. Return Value The return value is the use count of the atom. It is 0xFFFF for integer atoms. If the atom table or atom is invalid, then the return value is zero. See Also WinAddAtom, WinCreateAtomTable ♦