win
win copied to clipboard
A Windows API wrapper package for the Go Programming Language
Recently I experienced a crash in my lxn/walk based program on two different machines running Windows 10. ``` Exception 0xc0000005 0x0 0xc042135d20 0x7ffc2cba3f76 PC=0x7ffc2cba3f76 signal arrived during external code execution...
Implements OpenPrinter and ClosePrinter from winspool.h
why it return TTM_ADDTOOL failed when I SendMessage to system
```go hwnd := win.FindWindow(nil, syscall.StringToUTF16Ptr("someApp")) // I want to kill hwnd, how? ```
## Could you merge these functions? var ( moduser32 = syscall.NewLazyDLL("user32.dll") procWaitForInputIdle = moduser32.NewProc("WaitForInputIdle") proGetWindowModuleFileName = moduser32.NewProc("GetWindowModuleFileNameW") ) // WaitForInputIdle waits until the specified process has finished processing its initial...
  i found some code like this ,but i don't known how to use it. `SetClassLong(hwnd,GCL_HICON,(LONG)LoadIcon(hinstance, IDI_ICON ));`
Hi, It seems like https://msdn.microsoft.com/en-us/library/dd145091(v=vs.85).aspx (SetTextAlign) is missing from the gdi32 stuff. Can I make a PR to add it ? Best,
I am working on building a pdh exporter for prometheus. Currently when my application initiates it calls the win.PdhValidatePath() function approximately 3000 times. Most of the calls succeed, however, some...
Can't find that function https://msdn.microsoft.com/ru-ru/library/windows/desktop/ms647985%28v=vs.85%29.aspx