It's the number of elements.
If you look at a more recent version of the MSDN documentation (remove the (v=vs.80)
portion of the URL you cited), it says:
numberOfElements
: Size of buffer in characters.
(And "characters" means logical characters (code units, actually), not char
s.)
Generally the "wide" versions of Windows functions use character counts, not byte sizes.