摘要: s 阅读全文
posted @ 2020-01-15 19:02 papering 阅读(189) 评论(0) 推荐(0) 编辑
摘要: package main import ( "fmt" "log" "syscall" "unsafe" ) var ( user32 = syscall.MustLoadDLL("user32.dll") procEnumWindows = user32.MustFindProc("EnumWin 阅读全文
posted @ 2020-01-15 17:35 papering 阅读(511) 评论(0) 推荐(0) 编辑
摘要: Golang调用windows下的dll动态库中的函数 package main import ( "fmt" "syscall" "time" "unsafe" ) const ( MB_OK = 0x00000000 MB_OKCANCEL = 0x00000001 MB_ABORTRETRYI 阅读全文
posted @ 2020-01-15 12:14 papering 阅读(1385) 评论(0) 推荐(0) 编辑
摘要: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowpos https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winus 阅读全文
posted @ 2020-01-15 11:45 papering 阅读(2038) 评论(0) 推荐(0) 编辑