wlanapi

package module
v0.0.0-...-ebcff93 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

go-wlanapi

Go wrapper around the Windows WLAN API

Documentation

Index

Constants

View Source
const (
	MAX_INDEX = 1000
	S_OK      = 0
)

Variables

This section is empty.

Functions

func CloseHandle

func CloseHandle(handle *windows.Handle) (err error)

func OpenHandle

func OpenHandle() (handle *windows.Handle, err error)

Types

type DOT11_SSID

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

type Manager

type Manager struct {
	InterfaceName string
	// contains filtered or unexported fields
}

func (*Manager) Initialize

func (m *Manager) Initialize() (err error)

type WLAN_AVAILABLE_NETWORK

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

type WLAN_AVAILABLE_NETWORK_LIST

type WLAN_AVAILABLE_NETWORK_LIST struct {
	Network [MAX_INDEX + 1]WLAN_AVAILABLE_NETWORK
	// contains filtered or unexported fields
}

type WLAN_BSS_ENTRY

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

type WLAN_BSS_LIST

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

type WLAN_INTERFACE_INFO

type WLAN_INTERFACE_INFO struct {
	InterfaceGuid syscall.GUID
	// contains filtered or unexported fields
}

type WLAN_INTERFACE_INFO_LIST

type WLAN_INTERFACE_INFO_LIST struct {
	InterfaceInfo [MAX_INDEX + 1]WLAN_INTERFACE_INFO
	// contains filtered or unexported fields
}

func EnumInterfaces

func EnumInterfaces(handle *windows.Handle) (interfaceInfoList *WLAN_INTERFACE_INFO_LIST, err error)

type WLAN_PROFILE_INFO

type WLAN_PROFILE_INFO struct {
	ProfileName uint8
	Flags       uint32
}

type WLAN_PROFILE_INFO_LIST

type WLAN_PROFILE_INFO_LIST struct {
	NumberOfItems uint32
	Index         uint32
	ProfileInfo   WLAN_PROFILE_INFO
}

type WLAN_RATE_SET

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

Jump to

Keyboard shortcuts

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