driver

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Load(sysPath string) (ok bool)
	Unload() (ok bool)
}

func New

func New() Interface

type Object

type Object struct {
	Status uint32

	DeviceName string
	// contains filtered or unexported fields
}

func NewObject

func NewObject() *Object

func (*Object) DeleteService

func (o *Object) DeleteService() (ok bool)

func (*Object) Load

func (o *Object) Load(sysPath string) (ok bool)

func (*Object) QueryService

func (o *Object) QueryService() (ok bool)

func (*Object) SetManager

func (o *Object) SetManager() (ok bool)

func (*Object) SetService

func (o *Object) SetService() (ok bool)

func (*Object) StartService

func (o *Object) StartService() (ok bool)

func (*Object) StopService

func (o *Object) StopService() (ok bool)

func (*Object) Unload

func (o *Object) Unload() (ok bool)

Jump to

Keyboard shortcuts

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