There are sample programs here demonstrating COBOL calling the Windows API: supportline.microfocus.com/.../GUIsampleprograms.aspx
Look at GetEnvironment, key_status, auto-min-win, and flash-window. While they do not connect with any of those you mention you'll see how to load the dll and call methods.
Hello Doug, these sample programs are at least 12 years old. Isn't time to put some new sample programs for Acucobol on the website? That would give us, the Acucobol developers, the idea that Acucobol is still alive.....