Andrew Schwartzmeyer 052ecc801d Use icu for Unicode conversion and fix lpnSize
A careful reading of the GetUserName documentation and Windows Data
Types says that lpnSize is "the number of TCHARs copied to the
buffer...including the terminating null character," and a TCHAR in this
environment is a CHAR because we assume UNICODE is always defined for
CoreCLR. A CHAR is a byte. So lpSize is number of bytes, not number of
UTF-16 characters as we previously believed.
2015-08-04 14:16:49 -07:00
2015-08-03 12:58:59 -07:00
2015-08-03 12:58:59 -07:00
S
Description
No description provided
MIT
110 MiB
0 Stars 1 Watchers 0 Forks
Languages
C# 82.3%
PowerShell 16.8%
Roff 0.6%
Shell 0.2%