|
@@ -2,13 +2,16 @@
|
|
|
// Use of this source code is governed by a BSD-style
|
|
// Use of this source code is governed by a BSD-style
|
|
|
// license that can be found in the LICENSE file.
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
|
|
+// +build windows
|
|
|
|
|
+
|
|
|
package winnet
|
|
package winnet
|
|
|
|
|
|
|
|
import (
|
|
import (
|
|
|
"fmt"
|
|
"fmt"
|
|
|
|
|
+ "unsafe"
|
|
|
|
|
+
|
|
|
"github.com/go-ole/go-ole"
|
|
"github.com/go-ole/go-ole"
|
|
|
"github.com/go-ole/go-ole/oleutil"
|
|
"github.com/go-ole/go-ole/oleutil"
|
|
|
- "unsafe"
|
|
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
const CLSID_NetworkListManager = "{DCB00C01-570F-4A9B-8D69-199FDBA5723B}"
|
|
const CLSID_NetworkListManager = "{DCB00C01-570F-4A9B-8D69-199FDBA5723B}"
|