should the REG_EXPAND_SZ type also be used for 8.3 short names such as C:\Progra~1?
Limpar não!
REG_EXPAND_SZ
A null-terminated string that contains unexpanded references to environment variables (for example, "%PATH%"). It will be a Unicode or ANSI string depending on whether you use the Unicode or ANSI functions.
Você pode procurar "C:\Progra~1"
no Registro (regedit) e encontrará muitas REG_SZ
entradas.