BCGControlBar Pro for MFC
BOOL BCGPGLOBAL_DATA::bIsWindows10

Specifies whether the application is running under Windows 10 or later.