Thanks for pointing me in the right direction, Norbert!
By looking at the function used with Perl, I did some
guesswork - and it turned out to be a very simple thing:
package main
import (
ole "github.com/go-ole/go-ole"
"github.com/go-ole/go-ole/oleutil"
)
func main() {
ole.CoInitialize(0)
unknown, _ := oleutil.CreateObject("Shell.Application")
shell, _ := unknown.QueryInterface(ole.IID_IDispatch)
oleutil.CallMethod(shell, "MinimizeAll")
}
Again, thanks a lot