A couple of days ago I wanted to read the Active Protection Sensor bundled in a ThinkPad by accessing Sensor64.dll under Go 1.6.2. So, after several hours diving in the interwebs/Godocs I came to this issue [0] which suggests the "x/sys/windows" [1] package instead the "syscall" one if you want to load a Windows system DLL.
Note: I'm a total newbie at Go and Windows API so every bit of abstraction was a bless to me.
Note: I'm a total newbie at Go and Windows API so every bit of abstraction was a bless to me.
[0] https://github.com/golang/go/issues/14959 [1] https://github.com/golang/sys/tree/master/windows