issues
search
bugst
/
go-serial
A cross-platform serial library for go-lang.
BSD 3-Clause "New" or "Revised" License
619
stars
189
forks
source link
completed retrievePortDetailsFromDevInfo
#40
Closed
giacomoberlin
closed
4 years ago
giacomoberlin
commented
6 years ago
fixed prototype setupDiGetDeviceRegistryProperty in the comment in retrievePortDetailsFromDevInfo:
updated call to setupDiGetDeviceRegistryProperty with the same style used elsewhere (first get the reqSize, then call)
use of generic variable names, in case the function is extended to fetch other values than spdrpFriendlyName (or spdrpDeviceDesc)
re-enabled the assignment of details.Product
cmaglie
commented
4 years ago
manually merged, thanks!