winnet

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const CLSID_NetworkListManager = "{DCB00C01-570F-4A9B-8D69-199FDBA5723B}"

Variables

View Source
var IID_INetwork = ole.NewGUID("{8A40A45D-055C-4B62-ABD7-6D613E2CEAEC}")
View Source
var IID_INetworkConnection = ole.NewGUID("{DCB00005-570F-4A9B-8D69-199FDBA5723B}")

Functions

This section is empty.

Types

type ConnectionList

type ConnectionList []*INetworkConnection

func (ConnectionList) Release

func (cl ConnectionList) Release()

type INetwork

type INetwork struct {
	ole.IDispatch
}

func (*INetwork) GetCategory

func (n *INetwork) GetCategory() (int32, error)

func (*INetwork) GetName

func (n *INetwork) GetName() (string, error)

func (*INetwork) SetCategory

func (n *INetwork) SetCategory(v uint32) error

type INetworkConnection

type INetworkConnection struct {
	ole.IDispatch
}

func (*INetworkConnection) GetNetwork

func (v *INetworkConnection) GetNetwork() (*INetwork, error)

func (*INetworkConnection) VTable

type INetworkConnectionVtbl

type INetworkConnectionVtbl struct {
	ole.IDispatchVtbl
	GetNetwork                uintptr
	Get_IsConnectedToInternet uintptr
	Get_IsConnected           uintptr
	GetConnectivity           uintptr
	GetConnectionId           uintptr
	GetAdapterId              uintptr
	GetDomainType             uintptr
}

type NetworkListManager

type NetworkListManager struct {
	// contains filtered or unexported fields
}

func NewNetworkListManager

func NewNetworkListManager(c *ole.Connection) (*NetworkListManager, error)

func (*NetworkListManager) GetNetworkConnections

func (m *NetworkListManager) GetNetworkConnections() (ConnectionList, error)

func (*NetworkListManager) Release

func (m *NetworkListManager) Release()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL