Re: kernel32: Skip the screen buffer tests if codepage 866 is notavailable

2008-04-19 Thread James Hawkins
On Sun, Apr 20, 2008 at 1:10 AM, Dmitry Timoshkov <[EMAIL PROTECTED]> wrote: > "James Hawkins" <[EMAIL PROTECTED]> wrote: > > > > +res = RegOpenKeyA(HKEY_LOCAL_MACHINE, > > + > "System\\CurrentControlSet\\Control\\Nls\\CodePage", &hkey); > > +if (res == ERROR_SUCCESS) > > +{ > > +

Re: kernel32: Skip the screen buffer tests if codepage 866 is notavailable

2008-04-19 Thread Dmitry Timoshkov
"James Hawkins" <[EMAIL PROTECTED]> wrote: > +res = RegOpenKeyA(HKEY_LOCAL_MACHINE, > + "System\\CurrentControlSet\\Control\\Nls\\CodePage", > &hkey); > +if (res == ERROR_SUCCESS) > +{ > +len = 20; > +res = RegQueryValueExA(HKEY_LOCAL_MACHINE, "866