static void Key_Get_BoolPair_true(CKey &key, LPCTSTR name, CBoolPair &b) { b.Val = true; b.Def = (key.GetValue_IfOk(name, b.Val) == ERROR_SUCCESS); }