public static void AdjustGameDifficultyLevel(bool IncreaseDifficulty)
{
IntPtr ExoAppWindow = GetExoAppWindow();
IntPtr DifficultySlider = GetExoAppDifficultySliderWindow(ExoAppWindow);
//
// Fake a SB_LINE[UP|DOWN] and SB_ENDSCROLL pair of notifications
// to the parent window. The actual scroll bar position is not
// used (and, indeed, the scroll bar has a legal range of 0 - 0),
//
SendMessage(ExoAppWindow,
WM_VSCROLL,
(IntPtr)(IncreaseDifficulty == true ? SB_LINEUP : SB_LINEDOWN),
DifficultySlider);
SendMessage(ExoAppWindow, WM_VSCROLL, (IntPtr)SB_ENDSCROLL, DifficultySlider);
}