#define INFO_BUFFER_SIZE 32767 TCHAR infoBuf[INFO_BUFFER_SIZE]; DWORD bufCharCount = INFO_BUFFER_SIZE; GetUserName(infoBuf, &bufCharCount);
TCHAR
char
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)