win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinQueryAtomUsage (1.2)
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