What is the “atom” data type?

前端 未结 4 809
星月不相逢
星月不相逢 2021-02-01 16:57

I have encountered the ATOM type in the Win32api and also in the Acrobat API there is ASAtom.

As far as I can tell, atoms are keys for a hash table usually

4条回答
  •  南旧
    南旧 (楼主)
    2021-02-01 17:42

    ATOM is a 16-bit Windows handle-like primitive. It's value is completely opaque to user-mode. It is not a pointer or an index.

    typedef unsigned short ATOM;

提交回复
热议问题