Versions in this module Expand all Collapse all v2 v2.42.2 Mar 11, 2023 Changes in this version + const S_FALSE — windows/amd64 + var DefaultClient = &Client — windows/amd64 + var ErrInvalidEntityType = errors.New("wmi: invalid entity type") — windows/amd64 + var ErrNilCreateObject = errors.New("wmi: create object returned nil") — windows/amd64 + func CreateQuery(src interface{}, where string) string — windows/amd64 + func Query(query string, dst interface{}, connectServerArgs ...interface{}) error — windows/amd64 + func QueryNamespace(query string, dst interface{}, namespace string) error — windows/amd64 + type Client struct — windows/amd64 + AllowMissingFields bool + NonePtrZero bool + PtrNil bool + SWbemServicesClient *SWbemServices + func (c *Client) Query(query string, dst interface{}, connectServerArgs ...interface{}) error + type ErrFieldMismatch struct — windows/amd64 + FieldName string + Reason string + StructType reflect.Type + func (e *ErrFieldMismatch) Error() string + type SWbemServices struct — windows/amd64 + func InitializeSWbemServices(c *Client, connectServerArgs ...interface{}) (*SWbemServices, error) + func (s *SWbemServices) Close() error + func (s *SWbemServices) Query(query string, dst interface{}, connectServerArgs ...interface{}) error