using ansi version of winapi functions instead wide char