Movatterモバイル変換


[0]ホーム

URL:


wsc

package
v1.92.3Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License:BSD-3-ClauseImports:6Imported by:0

Details

Repository

github.com/tailscale/tailscale

Links

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

typeIWSCProductListABI

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

func (*IWSCProductListABI)GetCount

func (abi *IWSCProductListABI) GetCount() (valint32, errerror)

func (*IWSCProductListABI)GetItem

func (abi *IWSCProductListABI) GetItem(indexuint32) (valWscProduct, errerror)

func (*IWSCProductListABI)Initialize

func (abi *IWSCProductListABI) Initialize(providerWSC_SECURITY_PROVIDER) (errerror)

typeIWscProductABI

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

func (*IWscProductABI)GetProductGuid

func (abi *IWscProductABI) GetProductGuid() (pValstring, errerror)

func (*IWscProductABI)GetProductIsDefault

func (abi *IWscProductABI) GetProductIsDefault() (pValbool, errerror)

func (*IWscProductABI)GetProductName

func (abi *IWscProductABI) GetProductName() (pValstring, errerror)

func (*IWscProductABI)GetProductState

func (abi *IWscProductABI) GetProductState() (valWSC_SECURITY_PRODUCT_STATE, errerror)

func (*IWscProductABI)GetProductStateTimestamp

func (abi *IWscProductABI) GetProductStateTimestamp() (pValstring, errerror)

func (*IWscProductABI)GetRemediationPath

func (abi *IWscProductABI) GetRemediationPath() (pValstring, errerror)

func (*IWscProductABI)GetSignatureStatus

func (abi *IWscProductABI) GetSignatureStatus() (valWSC_SECURITY_SIGNATURE_STATUS, errerror)

typeSECURITY_PRODUCT_TYPE

type SECURITY_PRODUCT_TYPEint32

typeWSCProductList

type WSCProductList struct {com.GenericObject[IWSCProductListABI]}

func (WSCProductList)GetCount

func (oWSCProductList) GetCount() (valint32, errerror)

func (WSCProductList)GetItem

func (oWSCProductList) GetItem(indexuint32) (valWscProduct, errerror)

func (WSCProductList)IID

func (oWSCProductList) IID() *com.IID

func (WSCProductList)Initialize

func (oWSCProductList) Initialize(providerWSC_SECURITY_PROVIDER) (errerror)

func (WSCProductList)Make

func (WSCProductList)UnsafeUnwrap

func (oWSCProductList) UnsafeUnwrap() *IWSCProductListABI

typeWSC_SECURITY_PRODUCT_STATE

type WSC_SECURITY_PRODUCT_STATEint32

typeWSC_SECURITY_PROVIDER

type WSC_SECURITY_PROVIDERint32

typeWSC_SECURITY_SIGNATURE_STATUS

type WSC_SECURITY_SIGNATURE_STATUSint32

typeWscProduct

type WscProduct struct {com.GenericObject[IWscProductABI]}

func (WscProduct)GetProductGuid

func (oWscProduct) GetProductGuid() (pValstring, errerror)

func (WscProduct)GetProductIsDefault

func (oWscProduct) GetProductIsDefault() (pValbool, errerror)

func (WscProduct)GetProductName

func (oWscProduct) GetProductName() (pValstring, errerror)

func (WscProduct)GetProductState

func (oWscProduct) GetProductState() (valWSC_SECURITY_PRODUCT_STATE, errerror)

func (WscProduct)GetProductStateTimestamp

func (oWscProduct) GetProductStateTimestamp() (pValstring, errerror)

func (WscProduct)GetRemediationPath

func (oWscProduct) GetRemediationPath() (pValstring, errerror)

func (WscProduct)GetSignatureStatus

func (oWscProduct) GetSignatureStatus() (valWSC_SECURITY_SIGNATURE_STATUS, errerror)

func (WscProduct)IID

func (oWscProduct) IID() *com.IID

func (WscProduct)Make

func (WscProduct)MakeFromKnownABI

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

func (WscProduct)UnsafeUnwrap

func (oWscProduct) UnsafeUnwrap() *IWscProductABI

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp