int
main()
{
	CONSOLE_SCREEN_BUFFER_INFO info;
	COORD pos;
	HANDLE conout;
	long len;
	wchar_t c;

	
	conout = CreateFileW(L, GENERIC_READ | GENERIC_WRITE,
	    FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING,
	    0, NULL);
	if (conout == INVALID_HANDLE_VALUE)
		return 1;

	
	if (GetConsoleScreenBufferInfo(conout, &info) == 0)
		return 1;

	
	pos.X = info.srWindow.Left + 3;  
	pos.Y = info.srWindow.Top  + 6;  
	if (ReadConsoleOutputCharacterW(conout, &c, 1, pos, &len) == 0 ||
	    len <= 0)
		return 1;

	wprintf(L, c);
	return 0;
}