ole: replace go-ole with native COM bindings (#2551)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-08 19:15:23 +02:00
committed by GitHub
parent ee1c895a22
commit b6d75ffb71
19 changed files with 2049 additions and 332 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ import (
"encoding/binary"
"fmt"
"github.com/go-ole/go-ole"
"golang.org/x/sys/windows"
)
// MIB_TCPROW_OWNER_PID structure for IPv4.
@@ -120,7 +120,7 @@ const (
type MIB_IF_ROW2 struct {
InterfaceLuid uint64
InterfaceIndex uint32
InterfaceGuid ole.GUID
InterfaceGuid windows.GUID
Alias [IF_MAX_STRING_SIZE + 1]uint16
Description [IF_MAX_STRING_SIZE + 1]uint16
PhysicalAddressLength uint32