int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
WCHAR wszMachineName[128];
SystemParametersInfo(SPI_GETOEMINFO, sizeof(wszMachineName),
&wszMachineName, 0);
WCHAR tst[500];
wsprintf(tst,L"<%s>",wszMachineName);
MessageBox(NULL,tst,wszMachineName,MB_OK);
return 0;
}