I've tried to implement a program which controls if the name of the user logged into the computer and the user who ran a program is the same, but I think I've done something wrong. The name of the usernamed logged works, but not the one to get the user who ran the program.

```
#include <Windows.h>
#include <iostream>
#include <stdlib.h>
#include <Lmcons.h>
#include <tchar.h>
#include <stdio.h>
#define INFO_BUFFER_SIZE 32767
using namespace std;
void Test() {
  WCHAR  UsernameSSR[INFO_BUFFER_SIZE];
  TCHAR  UsernameWindows[INFO_BUFFER_SIZE];
  DWORD  bufCharCountWindows = INFO_BUFFER_SIZE;
  DWORD  bufCharCountSSR = INFO_BUFFER_SIZE;
  GetUserName(UsernameWindows, &bufCharCountWindows); 
  GetUserNameW(UsernameSSR, &bufCharCountSSR);
  cout << UsernameWindows << " and " << UsernameSSR;
  return;
}

```