Go to file
Andrew Schwartzmeyer d60bfe0376 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
host added hostutil.h, added tests for hostutil, added more cmdline options to PS host 2015-07-30 16:53:35 +02:00
impl Use icu for Unicode conversion and fix lpnSize 2015-08-04 14:16:49 -07:00
tests Rename userName in test to expectedUsername 2015-08-03 13:00:34 -07:00
CMakeLists.txt Link ps against icu instead of scxcore 2015-08-04 14:14:07 -07:00
main.cpp initial commit 2015-03-05 14:58:25 -08:00