reactos/dll
Hermès Bélusca-Maïto dbe4abab4f
[KBSWITCH][INPUT.CPL] Correctly do the input language indicator.
Addendum to commits 5f4bb73e and c6ccb92b.

- GetLocaleInfo() returns an int, not a bool: makes it clear in the test.

- No need to use StringCchCopy() to just initialize two chars to the
  same value.

- The question about the test in https://github.com/reactos/reactos/pull/4723#discussion_r981331634
  was meant to discover that CreateDIBSection() was unnecessary, since
  the very original code (before commit 0991cedc) did not use it and was
  working fine in that regard. The simple fix was to use GetDC(NULL).

- Use SM_CXSMICON/SM_CYSMICON metrics for the KBSWITCH indicator as well.

- Override the font size obtained from SPI_GETICONTITLELOGFONT with a
  known one (allows to get a correct indicator even if the user font
  is very large).

- Do the initialization in such a way that in case SPI_GETICONTITLELOGFONT
  or CreateFontIndirect fails, we always fall back to the default stock
  font that is ensured to always exist.

- Initialize *all* the fields of the IconInfo structure.
2022-09-29 04:06:17 +02:00
..
3rdparty [CMAKE] Do not use USE_CLANG_CL variable in CMake scripts 2022-05-27 01:37:37 +03:00
apisets [GDI32_VISTA] Move D3DKMT functions out of gdi32. CORE-17433 2022-01-01 12:42:04 -05:00
appcompat [ACLAYERS] Fix RtlGetVersion 2022-09-25 19:33:51 +02:00
cpl [KBSWITCH][INPUT.CPL] Correctly do the input language indicator. 2022-09-29 04:06:17 +02:00
directx [DDRAW] Handle DDLOCK_WRITEONLY in wined3dmapflags_from_ddrawmapflags() CORE-18378 (#4713) 2022-09-18 20:53:30 +02:00
keyboard [KEYBOARD][BOOTDATA][TOOLS] Rename keyboard layout files (#4596) 2022-08-06 08:03:46 +09:00
nls [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
np [REACTOS] Explicitly link against pseh & include pseh headers in a few places 2021-04-28 13:10:23 +02:00
ntdll [RTL] Implement dynamic function tables for x64 2022-06-25 21:45:47 +02:00
opengl [CMAKE] Elimitate the use of GCC and CLANG variables 2022-05-27 01:37:34 +03:00
shellext [BTRFS][UBTRFS][SHELLBTRFS] Upgrade to 1.8.1 (#4729) 2022-09-28 18:08:10 +02:00
win32 [DNSAPI] DNSRSLVR_HANDLE_bind(): Demote 1 DPRINT1() (#4733) 2022-09-28 22:38:35 +03:00
CMakeLists.txt [APISETS] Add the initial set of auto-generated files. 2018-04-07 14:50:59 +02:00