Return TRUE if dark mode is currently active.
C
BOOL SftDarkMode_IsActive(void);
None.
TRUE if dark mode is currently in effect, FALSE otherwise.
The returned value reflects the cached dark-mode state established at SftDarkMode_Init time and updated automatically by SftDarkMode_HandleDialogMessage when WM_SETTINGCHANGE / ImmersiveColorSet is delivered to a dialog or window that routes through the helper.
Use IsActive to drive application-side rendering decisions - choosing icon variants, picking GDI brush handles, deciding which color overrides to push into Softel vdm controls' SFT*_CONTROL structures, and so on.
The state can also be overridden programmatically through SftDarkMode_SetActive. After SetActive, IsActive returns the override value rather than the system setting.