benilla-re systems structs docs

s_getStringTypeW

global · crt

Address
0x8824a0 · 4 bytes, up to 0x8824a3
Type
void *
Meaning
Holds GetStringTypeW, bound from kernel32.dll by its first call (0x4156bd); 0x413ed3 calls it
Confidence
verified, proof one
Finding
net/who#who-filter-decoding

Finding: Who filter decoding in net: who

The copy is read as UTF-8, one code point at a time. A code point goes to the token as every byte the decoder read, so a broken sequence takes the byte that broke it, a space after a lone lead byte included, and a NUL inside a sequence ends the scan. White space is iswspace of the code point's low 16 bits: 0x09 to 0x0d and the space from the C table, nothing from 0x80 to 0xff (so not U+00A0), and from 0x100 on what Windows' GetStringTypeW says, such as U+3000. The overlong C0 A0 and U+10020 are spaces too.

The derivation is in the doc.