wsc

package
v1.78.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package wsc provides access to the Windows Security Center API.

Index

Constants

View Source
const (
	WSC_SECURITY_PRODUCT_STATE_ON      = WSC_SECURITY_PRODUCT_STATE(0)
	WSC_SECURITY_PRODUCT_STATE_OFF     = WSC_SECURITY_PRODUCT_STATE(1)
	WSC_SECURITY_PRODUCT_STATE_SNOOZED = WSC_SECURITY_PRODUCT_STATE(2)
	WSC_SECURITY_PRODUCT_STATE_EXPIRED = WSC_SECURITY_PRODUCT_STATE(3)
)
View Source
const (
	WSC_SECURITY_PRODUCT_OUT_OF_DATE = WSC_SECURITY_SIGNATURE_STATUS(0)
	WSC_SECURITY_PRODUCT_UP_TO_DATE  = WSC_SECURITY_SIGNATURE_STATUS(1)
)
View Source
const (
	WSC_SECURITY_PROVIDER_FIREWALL             = WSC_SECURITY_PROVIDER(1)
	WSC_SECURITY_PROVIDER_AUTOUPDATE_SETTINGS  = WSC_SECURITY_PROVIDER(2)
	WSC_SECURITY_PROVIDER_ANTIVIRUS            = WSC_SECURITY_PROVIDER(4)
	WSC_SECURITY_PROVIDER_ANTISPYWARE          = WSC_SECURITY_PROVIDER(8)
	WSC_SECURITY_PROVIDER_INTERNET_SETTINGS    = WSC_SECURITY_PROVIDER(16)
	WSC_SECURITY_PROVIDER_USER_ACCOUNT_CONTROL = WSC_SECURITY_PROVIDER(32)
	WSC_SECURITY_PROVIDER_SERVICE              = WSC_SECURITY_PROVIDER(64)
	WSC_SECURITY_PROVIDER_NONE                 = WSC_SECURITY_PROVIDER(0)
	WSC_SECURITY_PROVIDER_ALL                  = WSC_SECURITY_PROVIDER(127)
)
View Source
const (
	SECURITY_PRODUCT_TYPE_ANTIVIRUS   = SECURITY_PRODUCT_TYPE(0)
	SECURITY_PRODUCT_TYPE_FIREWALL    = SECURITY_PRODUCT_TYPE(1)
	SECURITY_PRODUCT_TYPE_ANTISPYWARE = SECURITY_PRODUCT_TYPE(2)
)

Variables

View Source
var (
	IID_IWSCProductList = &com.IID{0x722A338C, 0x6E8E, 0x4E72, [8]byte{0xAC, 0x27, 0x14, 0x17, 0xFB, 0x0C, 0x81, 0xC2}}
	IID_IWscProduct     = &com.IID{0x8C38232E, 0x3A45, 0x4A27, [8]byte{0x92, 0xB0, 0x1A, 0x16, 0xA9, 0x75, 0xF6, 0x69}}
)
View Source
var (
	CLSID_WSCProductList = &com.CLSID{0x17072F7B, 0x9ABE, 0x4A74, [8]byte{0xA2, 0x61, 0x1E, 0xB7, 0x6B, 0x55, 0x10, 0x7A}}
)

Functions

This section is empty.

Types

type IWSCProductListABI

type IWSCProductListABI struct {
	com.IUnknownABI // Technically IDispatch, but we're bypassing all of that atm
}

func (*IWSCProductListABI) GetCount

func (abi *IWSCProductListABI) GetCount() (val int32, err error)

func (*IWSCProductListABI) GetItem

func (abi *IWSCProductListABI) GetItem(index uint32) (val WscProduct, err error)

func (*IWSCProductListABI) Initialize

func (abi *IWSCProductListABI) Initialize(provider WSC_SECURITY_PROVIDER) (err error)

type IWscProductABI

type IWscProductABI struct {
	com.IUnknownABI // Technically IDispatch, but we're bypassing all of that atm
}

func (*IWscProductABI) GetProductGuid

func (abi *IWscProductABI) GetProductGuid() (pVal string, err error)

func (*IWscProductABI) GetProductIsDefault

func (abi *IWscProductABI) GetProductIsDefault() (pVal bool, err error)

func (*IWscProductABI) GetProductName

func (abi *IWscProductABI) GetProductName() (pVal string, err error)

func (*IWscProductABI) GetProductState

func (abi *IWscProductABI) GetProductState() (val WSC_SECURITY_PRODUCT_STATE, err error)

func (*IWscProductABI) GetProductStateTimestamp

func (abi *IWscProductABI) GetProductStateTimestamp() (pVal string, err error)

func (*IWscProductABI) GetRemediationPath

func (abi *IWscProductABI) GetRemediationPath() (pVal string, err error)

func (*IWscProductABI) GetSignatureStatus

func (abi *IWscProductABI) GetSignatureStatus() (val WSC_SECURITY_SIGNATURE_STATUS, err error)

type SECURITY_PRODUCT_TYPE

type SECURITY_PRODUCT_TYPE int32

type WSCProductList

type WSCProductList struct {
	com.GenericObject[IWSCProductListABI]
}

func (WSCProductList) GetCount

func (o WSCProductList) GetCount() (val int32, err error)

func (WSCProductList) GetItem

func (o WSCProductList) GetItem(index uint32) (val WscProduct, err error)

func (WSCProductList) IID

func (o WSCProductList) IID() *com.IID

func (WSCProductList) Initialize

func (o WSCProductList) Initialize(provider WSC_SECURITY_PROVIDER) (err error)

func (WSCProductList) Make

func (o WSCProductList) Make(r com.ABIReceiver) any

func (WSCProductList) UnsafeUnwrap

func (o WSCProductList) UnsafeUnwrap() *IWSCProductListABI

type WSC_SECURITY_PRODUCT_STATE

type WSC_SECURITY_PRODUCT_STATE int32

type WSC_SECURITY_PROVIDER

type WSC_SECURITY_PROVIDER int32

type WSC_SECURITY_SIGNATURE_STATUS

type WSC_SECURITY_SIGNATURE_STATUS int32

type WscProduct

type WscProduct struct {
	com.GenericObject[IWscProductABI]
}

func (WscProduct) GetProductGuid

func (o WscProduct) GetProductGuid() (pVal string, err error)

func (WscProduct) GetProductIsDefault

func (o WscProduct) GetProductIsDefault() (pVal bool, err error)

func (WscProduct) GetProductName

func (o WscProduct) GetProductName() (pVal string, err error)

func (WscProduct) GetProductState

func (o WscProduct) GetProductState() (val WSC_SECURITY_PRODUCT_STATE, err error)

func (WscProduct) GetProductStateTimestamp

func (o WscProduct) GetProductStateTimestamp() (pVal string, err error)

func (WscProduct) GetRemediationPath

func (o WscProduct) GetRemediationPath() (pVal string, err error)

func (WscProduct) GetSignatureStatus

func (o WscProduct) GetSignatureStatus() (val WSC_SECURITY_SIGNATURE_STATUS, err error)

func (WscProduct) IID

func (o WscProduct) IID() *com.IID

func (WscProduct) Make

func (o WscProduct) Make(r com.ABIReceiver) any

func (WscProduct) MakeFromKnownABI

func (o WscProduct) MakeFromKnownABI(r **IWscProductABI) WscProduct

func (WscProduct) UnsafeUnwrap

func (o WscProduct) UnsafeUnwrap() *IWscProductABI

Jump to

Keyboard shortcuts

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