wsc
package v1.92.3
Go to latest Published: Dec 16, 2025 License:BSD-3-Clause
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:6 Opens a new window with list of imports.
Imported by:0 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Rendered for windows/amd64
Overview¶
Package wsc provides access to the Windows Security Center API.
Index¶
- Constants
- Variables
- type IWSCProductListABI
- type IWscProductABI
- func (abi *IWscProductABI) GetProductGuid() (pVal string, err error)
- func (abi *IWscProductABI) GetProductIsDefault() (pVal bool, err error)
- func (abi *IWscProductABI) GetProductName() (pVal string, err error)
- func (abi *IWscProductABI) GetProductState() (val WSC_SECURITY_PRODUCT_STATE, err error)
- func (abi *IWscProductABI) GetProductStateTimestamp() (pVal string, err error)
- func (abi *IWscProductABI) GetRemediationPath() (pVal string, err error)
- func (abi *IWscProductABI) GetSignatureStatus() (val WSC_SECURITY_SIGNATURE_STATUS, err error)
- type SECURITY_PRODUCT_TYPE
- type WSCProductList
- func (o WSCProductList) GetCount() (val int32, err error)
- func (o WSCProductList) GetItem(index uint32) (val WscProduct, err error)
- func (o WSCProductList) IID() *com.IID
- func (o WSCProductList) Initialize(provider WSC_SECURITY_PROVIDER) (err error)
- func (o WSCProductList) Make(r com.ABIReceiver) any
- func (o WSCProductList) UnsafeUnwrap() *IWSCProductListABI
- type WSC_SECURITY_PRODUCT_STATE
- type WSC_SECURITY_PROVIDER
- type WSC_SECURITY_SIGNATURE_STATUS
- type WscProduct
- func (o WscProduct) GetProductGuid() (pVal string, err error)
- func (o WscProduct) GetProductIsDefault() (pVal bool, err error)
- func (o WscProduct) GetProductName() (pVal string, err error)
- func (o WscProduct) GetProductState() (val WSC_SECURITY_PRODUCT_STATE, err error)
- func (o WscProduct) GetProductStateTimestamp() (pVal string, err error)
- func (o WscProduct) GetRemediationPath() (pVal string, err error)
- func (o WscProduct) GetSignatureStatus() (val WSC_SECURITY_SIGNATURE_STATUS, err error)
- func (o WscProduct) IID() *com.IID
- func (o WscProduct) Make(r com.ABIReceiver) any
- func (o WscProduct) MakeFromKnownABI(r **IWscProductABI) WscProduct
- func (o WscProduct) UnsafeUnwrap() *IWscProductABI
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 (oWSCProductList) Make(rcom.ABIReceiver)any
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 (oWscProduct) Make(rcom.ABIReceiver)any
func (WscProduct)MakeFromKnownABI¶
func (oWscProduct) MakeFromKnownABI(r **IWscProductABI)WscProduct
func (WscProduct)UnsafeUnwrap¶
func (oWscProduct) UnsafeUnwrap() *IWscProductABI
Click to show internal directories.
Click to hide internal directories.