我一直在尝试使用netapi32.dll,但结果好坏参半。以下按预期工作typeSERVER_INFO_101struct{PlatformIDuint32Name*uint16VersionMajoruint32VersionMinoruint32Typeuint32Comment*uint16}funcNetServerGetInfo(){info:=&SERVER_INFO_101{}ret,_,err:=procNetServerGetInfo.Call(0,101,uintptr(unsafe.Pointer(&info)))ifret!=0{log.Fatal(err)}s