syscallRegEnumValue
var root win.HKEY
rootpath,_ := syscall.UTF16PtrFromString("HARDWARE\\DEVICEMAP\\SERIALCOMM")
fmt.Println(win.RegOpenKeyEx(win.HKEY_LOCAL_MACHINE,rootpath,win.KEY_READ,&root))

var name_length uint32 = 72
var name *uint16
var key_type uint32
var lpData *byte
var lpDataLength uint32 = 72
var zero_uint uint32 = 0
fmt.Println(win.RegEnumValue(root,zero_uint,name,&name_length,nil,&key_type,lpData,&lpDataLength))

win.RegCloseKey(root)
RegEnumValue

有没有人有任何想法可以为此指出正确的方向?