摘要:
package main import "syscall" import "unsafe" func main() { var hand uintptr = uintptr(0) var operator uintptr = uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr("open"))) var fpath uintptr = uin... 阅读全文
摘要:
package main import ( "fmt" "strconv" "syscall" "unsafe" ) type ulong int32 type ulong_ptr uintptr type PROCESSENTRY32 struct { dwSize ulong cntUsage ulong th32Proce... 阅读全文
摘要:
输出结果: 开机时长:27h3m55.042s 当前用户:saryli@saryli-PC 当前系统:windows 系统版本:6.1 (7601) BIOS Date: 04/08/14 13:08:33 Ver: 04.06.05 Motherboard: Z97 GAMING 5 (MS-79 阅读全文