win
win copied to clipboard
A Windows API wrapper package for the Go Programming Language
add the getWindowText function, it`s necessary
Is it possible to disable parts of the wrapper for components that don't ship with Server Core installations of Windows, such as the opengl32 component? See https://github.com/influxdata/telegraf/issues/1763 for a reason...
The parameters of Syscall method in syscall package of golang are defined as such: ``` func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) ``` but in the...
Changed NOTIFYICON_VERSION to NOTIFYICON_VERSION_XP and added NOTIFYCON_VERSION_VISTA, added hBalloonIcon to NOTIFYICONDATA for custom balloon icon, changed return type from GetVersion to uint32 (in win docs it its DWORD and DWORD...
Hi there, I get a hwnd from FindWindow but the EnumChildWindows callback doesn't print anything. Am I using it wrong? Thanks. ``` go func main() { var hw win.HWND var...
This fixes #12. However, it seems like some work might be needed for the array family of functions as well, but that seems like it would need a bigger refactor.
``` python #python pseudocode hQuery = win32pdh.OpenQuery() hCounter = win32pdh.AddCounter(hQuery, "\System\Processes") win32pdh.CollectQueryData(hQuery) win32pdh.CollectQueryData(hQuery) _, val = win32pdh.GetFormattedCounterValue(hCounter, win32pdh.PDH_FMT_DOUBLE) print val ``` Code above will get processes count of windows. which...
According to [Using PDH APIs correctly in a localized language](https://support.microsoft.com/kb/287159), in order to support counter names in different localization languages, `PdhLookupPerfNameByIndex` needs to be used to look up the localized...
Is there any documentation? If not, it'd be great to have some documentation.