iwbemrefreshingservices

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IWbemRefreshingServices interface identifier 2c9273e0-1dc3-11d3-b364-00105a1f8177
	RefreshingServicesIID = &dcom.IID{Data1: 0x2c9273e0, Data2: 0x1dc3, Data3: 0x11d3, Data4: []byte{0xb3, 0x64, 0x00, 0x10, 0x5a, 0x1f, 0x81, 0x77}}
	// Syntax UUID
	RefreshingServicesSyntaxUUID = &uuid.UUID{TimeLow: 0x2c9273e0, TimeMid: 0x1dc3, TimeHiAndVersion: 0x11d3, ClockSeqHiAndReserved: 0xb3, ClockSeqLow: 0x64, Node: [6]uint8{0x0, 0x10, 0x5a, 0x1f, 0x81, 0x77}}
	// Syntax ID
	RefreshingServicesSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: RefreshingServicesSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/wmi"
)

Functions

func NewRefreshingServicesServerHandle

func NewRefreshingServicesServerHandle(o RefreshingServicesServer) dcerpc.ServerHandle

func RefreshingServicesServerHandle

func RefreshingServicesServerHandle(ctx context.Context, o RefreshingServicesServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)

func RegisterRefreshingServicesServer

func RegisterRefreshingServicesServer(conn dcerpc.Conn, o RefreshingServicesServer, opts ...dcerpc.Option)

Types

type AddEnumToRefresherRequest

type AddEnumToRefresherRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pRefresherId: MUST be a pointer to the _WBEM_REFRESHER_ID structure, as specified
	// in section 2.2.21, which identifies the client that is requesting refreshing services.
	// This parameter MUST NOT be NULL.
	RefresherID *wmi.RefresherID `idl:"name:pRefresherId" json:"refresher_id"`
	// wszClass: MUST be a string that MUST contain the enumeration CIM class name. This
	// parameter MUST NOT be NULL.
	Class string `idl:"name:wszClass;string" json:"class"`
	// lFlags: This parameter is not used, and its value SHOULD be 0x0.
	Flags int32 `idl:"name:lFlags" json:"flags"`
	// pContext: MUST be a pointer to an IWbemContext interface object, which MUST contain
	// additional information for the server refresher. If pContext is NULL, the parameter
	// is ignored.
	Context *wmi.Context `idl:"name:pContext" json:"context"`
	// dwClientRefrVersion: MUST be the version of the client refresher. This value SHOULD<66>
	// be 0x2. The server MUST allow all client versions.
	ClientRefresherVersion uint32 `idl:"name:dwClientRefrVersion" json:"client_refresher_version"`
}

AddEnumToRefresherRequest structure represents the AddEnumToRefresher operation request

func (*AddEnumToRefresherRequest) MarshalNDR

func (o *AddEnumToRefresherRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*AddEnumToRefresherRequest) UnmarshalNDR

func (o *AddEnumToRefresherRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type AddEnumToRefresherResponse

type AddEnumToRefresherResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pInfo: MUST be an output parameter that returns a _WBEM_REFRESH_INFO structure, as
	// specified in section 2.2.20, which MUST contain refresher information about the CIM
	// instance in wszPath. This parameter MUST NOT be NULL.
	Info *wmi.RefreshInfo `idl:"name:pInfo" json:"info"`
	// pdwSvrRefrVersion: MUST be an output parameter, which MUST be the version of the
	// server refresher. The value of this parameter SHOULD be 0x1.
	ServerRefresherVersion uint32 `idl:"name:pdwSvrRefrVersion" json:"server_refresher_version"`
	// Return: The AddEnumToRefresher return value.
	Return int32 `idl:"name:Return" json:"return"`
}

AddEnumToRefresherResponse structure represents the AddEnumToRefresher operation response

func (*AddEnumToRefresherResponse) MarshalNDR

func (o *AddEnumToRefresherResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*AddEnumToRefresherResponse) UnmarshalNDR

func (o *AddEnumToRefresherResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type AddObjectToRefresherByTemplateRequest

type AddObjectToRefresherByTemplateRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pRefresherId: MUST be a pointer to the _WBEM_REFRESHER_ID structure, as specified
	// in section 2.2.21, which identifies the client that is requesting refreshing services.
	// This parameter MUST NOT be NULL.
	RefresherID *wmi.RefresherID `idl:"name:pRefresherId" json:"refresher_id"`
	// pTemplate: MUST be a pointer to an IWbemClassObject interface CIM instance that MUST
	// be a template for the CIM instances to be refreshed by the refresher. This parameter
	// MUST NOT be NULL.
	Template *wmi.ClassObject `idl:"name:pTemplate" json:"template"`
	// lFlags: This parameter is not used, and its value SHOULD be 0x0.
	Flags int32 `idl:"name:lFlags" json:"flags"`
	// pContext: MUST be a pointer to an IWbemContext interface object, which MUST contain
	// additional information for the server refresher. If pContext is NULL, the parameter
	// MUST be ignored.
	Context *wmi.Context `idl:"name:pContext" json:"context"`
	// dwClientRefrVersion: MUST be the version of the client refresher. This value SHOULD<65>
	// be 0x2. The server MUST allow all client versions.
	ClientRefresherVersion uint32 `idl:"name:dwClientRefrVersion" json:"client_refresher_version"`
}

AddObjectToRefresherByTemplateRequest structure represents the AddObjectToRefresherByTemplate operation request

func (*AddObjectToRefresherByTemplateRequest) MarshalNDR

func (*AddObjectToRefresherByTemplateRequest) UnmarshalNDR

type AddObjectToRefresherByTemplateResponse

type AddObjectToRefresherByTemplateResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pInfo: MUST be an output parameter that returns a _WBEM_REFRESH_INFO structure, as
	// specified in section 2.2.20, which MUST contain refresher information about the CIM
	// instance in wszPath. This parameter MUST NOT be NULL.
	Info *wmi.RefreshInfo `idl:"name:pInfo" json:"info"`
	// pdwSvrRefrVersion: MUST be an output parameter that MUST be the version of the server
	// refresher. The value of this parameter SHOULD be 0x1.
	ServerRefresherVersion uint32 `idl:"name:pdwSvrRefrVersion" json:"server_refresher_version"`
	// Return: The AddObjectToRefresherByTemplate return value.
	Return int32 `idl:"name:Return" json:"return"`
}

AddObjectToRefresherByTemplateResponse structure represents the AddObjectToRefresherByTemplate operation response

func (*AddObjectToRefresherByTemplateResponse) MarshalNDR

func (*AddObjectToRefresherByTemplateResponse) UnmarshalNDR

type AddObjectToRefresherRequest

type AddObjectToRefresherRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pRefresherId: MUST be a pointer to the _WBEM_REFRESHER_ID structure, as specified
	// in section 2.2.21, which identifies the client that is requesting refreshing services.
	// This parameter MUST NOT be NULL.
	RefresherID *wmi.RefresherID `idl:"name:pRefresherId" json:"refresher_id"`
	// wszPath: MUST be a string that MUST contain the CIM path of the CIM instance. This
	// parameter MUST NOT be NULL.
	Path string `idl:"name:wszPath;string" json:"path"`
	// lFlags: This parameter is not used, and its value SHOULD be 0x0.
	Flags int32 `idl:"name:lFlags" json:"flags"`
	// pContext: MUST be a pointer to an IWbemContext interface object, which MUST contain
	// additional information for the server refresher. If pContext is NULL, the parameter
	// MUST be ignored.
	Context *wmi.Context `idl:"name:pContext" json:"context"`
	// dwClientRefrVersion: MUST be the version of the client refresher. This value SHOULD<64>
	// be 0x2. The server MUST allow all client versions.
	ClientRefresherVersion uint32 `idl:"name:dwClientRefrVersion" json:"client_refresher_version"`
}

AddObjectToRefresherRequest structure represents the AddObjectToRefresher operation request

func (*AddObjectToRefresherRequest) MarshalNDR

func (*AddObjectToRefresherRequest) UnmarshalNDR

func (o *AddObjectToRefresherRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type AddObjectToRefresherResponse

type AddObjectToRefresherResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pInfo: MUST be an output parameter that MUST return a _WBEM_REFRESH_INFO structure,
	// as specified in section 2.2.20, which MUST contain refresher information about the
	// CIM instance in wszPath. It MUST NOT be NULL.
	Info *wmi.RefreshInfo `idl:"name:pInfo" json:"info"`
	// pdwSvrRefrVersion: MUST be an output parameter that MUST be the version of the server
	// refresher. The value of this parameter SHOULD be 0x1.
	ServerRefresherVersion uint32 `idl:"name:pdwSvrRefrVersion" json:"server_refresher_version"`
	// Return: The AddObjectToRefresher return value.
	Return int32 `idl:"name:Return" json:"return"`
}

AddObjectToRefresherResponse structure represents the AddObjectToRefresher operation response

func (*AddObjectToRefresherResponse) MarshalNDR

func (*AddObjectToRefresherResponse) UnmarshalNDR

func (o *AddObjectToRefresherResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetRemoteRefresherRequest

type GetRemoteRefresherRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pRefresherId: MUST be a pointer to the _WBEM_REFRESHER_ID structure, as specified
	// in section 2.2.21, that identifies the client that is requesting refreshing services.
	// This parameter MUST NOT be NULL.
	RefresherID *wmi.RefresherID `idl:"name:pRefresherId" json:"refresher_id"`
	// lFlags: This parameter is not used, and its value SHOULD be 0x0.
	Flags int32 `idl:"name:lFlags" json:"flags"`
	// dwClientRefrVersion: MUST be the version of the client refresher. This value SHOULD<69>
	// be 0x2. The server MUST allow all client versions.
	ClientRefresherVersion uint32 `idl:"name:dwClientRefrVersion" json:"client_refresher_version"`
}

GetRemoteRefresherRequest structure represents the GetRemoteRefresher operation request

func (*GetRemoteRefresherRequest) MarshalNDR

func (o *GetRemoteRefresherRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetRemoteRefresherRequest) UnmarshalNDR

func (o *GetRemoteRefresherRequest) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type GetRemoteRefresherResponse

type GetRemoteRefresherResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppRemRefresher: MUST be a pointer to an IWbemRemoteRefresher interface pointer that
	// the client can use to call the IWbemRemoteRefresher::RemoteRefresh method to refresh
	// CIM instances and enumerations. This parameter MUST NOT be NULL.
	RemoteRefresher *wmi.RemoteRefresher `idl:"name:ppRemRefresher" json:"remote_refresher"`
	// pGuid: MUST be an output parameter that MUST be a pointer to a GUID value that MUST
	// identify the returned refresher object. This parameter MUST NOT be NULL.
	GUID *dtyp.GUID `idl:"name:pGuid" json:"guid"`
	// pdwSvrRefrVersion: MUST be an output parameter that MUST be the version of the server
	// refresher. The value of this parameter SHOULD be 0x1.
	ServerRefresherVersion uint32 `idl:"name:pdwSvrRefrVersion" json:"server_refresher_version"`
	// Return: The GetRemoteRefresher return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetRemoteRefresherResponse structure represents the GetRemoteRefresher operation response

func (*GetRemoteRefresherResponse) MarshalNDR

func (o *GetRemoteRefresherResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetRemoteRefresherResponse) UnmarshalNDR

func (o *GetRemoteRefresherResponse) UnmarshalNDR(ctx context.Context, r ndr.Reader) error

type ReconnectRemoteRefresherRequest

type ReconnectRemoteRefresherRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pRefresherId: MUST be a pointer to the _WBEM_REFRESHER_ID structure, as specified
	// in section 2.2.21, which identifies the client that is requesting refresh services.
	// This parameter MUST NOT be NULL.
	RefresherID *wmi.RefresherID `idl:"name:pRefresherId" json:"refresher_id"`
	// lFlags: This parameter is not used, and its value SHOULD be 0x0.
	Flags int32 `idl:"name:lFlags" json:"flags"`
	// lNumObjects: MUST be the number of CIM instances that are contained in the apReconnectInfo
	// array.
	ObjectsLength int32 `idl:"name:lNumObjects" json:"objects_length"`
	// dwClientRefrVersion: MUST be the version of the client refresher. This value SHOULD<70>
	// be 0x2. The server MUST allow all client versions.
	ClientRefresherVersion uint32 `idl:"name:dwClientRefrVersion" json:"client_refresher_version"`
	// apReconnectInfo: MUST be a pointer to the _WBEM_RECONNECT_INFO structure array (specified
	// in section 2.2.22) that contains a type and a CIM path to the refresher objects.
	// This parameter MUST NOT be NULL.
	ReconnectInfo []*wmi.ReconnectInfo `idl:"name:apReconnectInfo;size_is:(lNumObjects)" json:"reconnect_info"`
	// apReconnectResults: MUST be a pointer to the _WBEM_RECONNECT_RESULTS structure array,
	// which MUST contain the identifier for each CIM instance and enumeration, and the
	// success or failure status of the reconnection. This parameter MUST NOT be NULL.
	ReconnectResults []*wmi.ReconnectResults `idl:"name:apReconnectResults;size_is:(lNumObjects)" json:"reconnect_results"`
}

ReconnectRemoteRefresherRequest structure represents the ReconnectRemoteRefresher operation request

func (*ReconnectRemoteRefresherRequest) MarshalNDR

func (*ReconnectRemoteRefresherRequest) UnmarshalNDR

type ReconnectRemoteRefresherResponse

type ReconnectRemoteRefresherResponse struct {
	// XXX: lNumObjects is an implicit input depedency for output parameters
	ObjectsLength int32 `idl:"name:lNumObjects" json:"objects_length"`

	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// apReconnectResults: MUST be a pointer to the _WBEM_RECONNECT_RESULTS structure array,
	// which MUST contain the identifier for each CIM instance and enumeration, and the
	// success or failure status of the reconnection. This parameter MUST NOT be NULL.
	ReconnectResults []*wmi.ReconnectResults `idl:"name:apReconnectResults;size_is:(lNumObjects)" json:"reconnect_results"`
	// pdwSvrRefrVersion: MUST be an output parameter that is the version of the server
	// refresher. This value SHOULD be 0x1.
	ServerRefresherVersion uint32 `idl:"name:pdwSvrRefrVersion" json:"server_refresher_version"`
	// Return: The ReconnectRemoteRefresher return value.
	Return int32 `idl:"name:Return" json:"return"`
}

ReconnectRemoteRefresherResponse structure represents the ReconnectRemoteRefresher operation response

func (*ReconnectRemoteRefresherResponse) MarshalNDR

func (*ReconnectRemoteRefresherResponse) UnmarshalNDR

type RefreshingServicesClient

type RefreshingServicesClient interface {

	// IUnknown retrieval method.
	Unknown() iunknown.UnknownClient

	// The IWbemRefreshingServices::AddObjectToRefresher method MUST add a CIM instance,
	// which is identified by its CIM path, to the list of CIM instances that can be refreshed.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. The server MUST return WBEM_S_NO_ERROR (specified in section
	// 2.2.11) to indicate the successful completion of the method.
	AddObjectToRefresher(context.Context, *AddObjectToRefresherRequest, ...dcerpc.CallOption) (*AddObjectToRefresherResponse, error)

	// The IWbemRefreshingServices::AddObjectToRefresherByTemplate method MUST add a CIM
	// instance, which is identified by its CIM object instance, to the list of CIM instances
	// to be refreshed.
	//
	// The AddObjectToRefresherByTemplate method opnum equals 4.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. The server MUST return WBEM_S_NO_ERROR (specified in section
	// 2.2.11) to indicate the successful completion of the method.
	AddObjectToRefresherByTemplate(context.Context, *AddObjectToRefresherByTemplateRequest, ...dcerpc.CallOption) (*AddObjectToRefresherByTemplateResponse, error)

	// The IWbemRefreshingServices::AddEnumToRefresher method MUST add all CIM instances
	// that are identified by the CIM class name to the list of CIM instances to be refreshed.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. The server MUST return WBEM_S_NO_ERROR (specified in section
	// 2.2.11) to indicate the successful completion of the method.
	AddEnumToRefresher(context.Context, *AddEnumToRefresherRequest, ...dcerpc.CallOption) (*AddEnumToRefresherResponse, error)

	// The IWbemRefreshingServices::RemoveObjectFromRefresher method MUST remove a CIM instance,
	// which is identified by its CIM path, from the list of CIM instances that can be refreshed.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. If there are no failures, the server MUST always return WBEM_E_NOT_AVAILABLE.<68>
	RemoveObjectFromRefresher(context.Context, *RemoveObjectFromRefresherRequest, ...dcerpc.CallOption) (*RemoveObjectFromRefresherResponse, error)

	// The IWbemRefreshingServices::GetRemoteRefresher method MUST return an IWbemRemoteRefresher
	// interface pointer. This pointer is needed by the client to refresh objects and enumerations.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. The server MUST return WBEM_S_NO_ERROR (specified in section
	// 2.2.11) to indicate the successful completion of the method.
	//
	// In case of failure, the server MUST return an HRESULT whose S (severity) bit is set
	// as specified in [MS-ERREF] section 2.1. The actual HRESULT value is implementation
	// dependent.
	GetRemoteRefresher(context.Context, *GetRemoteRefresherRequest, ...dcerpc.CallOption) (*GetRemoteRefresherResponse, error)

	// The IWbemRefreshingServices::ReconnectRemoteRefresher method MUST restore a set of
	// CIM instances and enumerations that are passed in apReconnectInfo to a refresher.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. The server MUST return WBEM_S_NO_ERROR, as specified in section
	// 2.2.11, to indicate the successful completion of the method.
	ReconnectRemoteRefresher(context.Context, *ReconnectRemoteRefresherRequest, ...dcerpc.CallOption) (*ReconnectRemoteRefresherResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error

	// Conn returns the client connection (unsafe)
	Conn() dcerpc.Conn

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) RefreshingServicesClient
}

IWbemRefreshingServices interface.

func NewRefreshingServicesClient

func NewRefreshingServicesClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (RefreshingServicesClient, error)

type RefreshingServicesServer

type RefreshingServicesServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The IWbemRefreshingServices::AddObjectToRefresher method MUST add a CIM instance,
	// which is identified by its CIM path, to the list of CIM instances that can be refreshed.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. The server MUST return WBEM_S_NO_ERROR (specified in section
	// 2.2.11) to indicate the successful completion of the method.
	AddObjectToRefresher(context.Context, *AddObjectToRefresherRequest) (*AddObjectToRefresherResponse, error)

	// The IWbemRefreshingServices::AddObjectToRefresherByTemplate method MUST add a CIM
	// instance, which is identified by its CIM object instance, to the list of CIM instances
	// to be refreshed.
	//
	// The AddObjectToRefresherByTemplate method opnum equals 4.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. The server MUST return WBEM_S_NO_ERROR (specified in section
	// 2.2.11) to indicate the successful completion of the method.
	AddObjectToRefresherByTemplate(context.Context, *AddObjectToRefresherByTemplateRequest) (*AddObjectToRefresherByTemplateResponse, error)

	// The IWbemRefreshingServices::AddEnumToRefresher method MUST add all CIM instances
	// that are identified by the CIM class name to the list of CIM instances to be refreshed.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. The server MUST return WBEM_S_NO_ERROR (specified in section
	// 2.2.11) to indicate the successful completion of the method.
	AddEnumToRefresher(context.Context, *AddEnumToRefresherRequest) (*AddEnumToRefresherResponse, error)

	// The IWbemRefreshingServices::RemoveObjectFromRefresher method MUST remove a CIM instance,
	// which is identified by its CIM path, from the list of CIM instances that can be refreshed.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. If there are no failures, the server MUST always return WBEM_E_NOT_AVAILABLE.<68>
	RemoveObjectFromRefresher(context.Context, *RemoveObjectFromRefresherRequest) (*RemoveObjectFromRefresherResponse, error)

	// The IWbemRefreshingServices::GetRemoteRefresher method MUST return an IWbemRemoteRefresher
	// interface pointer. This pointer is needed by the client to refresh objects and enumerations.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. The server MUST return WBEM_S_NO_ERROR (specified in section
	// 2.2.11) to indicate the successful completion of the method.
	//
	// In case of failure, the server MUST return an HRESULT whose S (severity) bit is set
	// as specified in [MS-ERREF] section 2.1. The actual HRESULT value is implementation
	// dependent.
	GetRemoteRefresher(context.Context, *GetRemoteRefresherRequest) (*GetRemoteRefresherResponse, error)

	// The IWbemRefreshingServices::ReconnectRemoteRefresher method MUST restore a set of
	// CIM instances and enumerations that are passed in apReconnectInfo to a refresher.
	//
	// Return Values: This method MUST return an HRESULT value that MUST indicate the status
	// of the method call. The server MUST return WBEM_S_NO_ERROR, as specified in section
	// 2.2.11, to indicate the successful completion of the method.
	ReconnectRemoteRefresher(context.Context, *ReconnectRemoteRefresherRequest) (*ReconnectRemoteRefresherResponse, error)
}

IWbemRefreshingServices server interface.

type RemoveObjectFromRefresherRequest

type RemoveObjectFromRefresherRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pRefresherId: MUST be a pointer to the _WBEM_REFRESHER_ID structure, as specified
	// in section 2.2.21, that identifies the client that is requesting refreshing services.
	// This parameter MUST NOT be NULL.
	RefresherID *wmi.RefresherID `idl:"name:pRefresherId" json:"refresher_id"`
	// lId: This parameter MUST be an identifier to the object that is being removed. This
	// parameter MUST NOT be NULL.
	ID int32 `idl:"name:lId" json:"id"`
	// lFlags: This parameter is not used, and its value SHOULD be 0x0.
	Flags int32 `idl:"name:lFlags" json:"flags"`
	// dwClientRefrVersion: MUST be the version of the client refresher. This value SHOULD<67>
	// be 0x2. The server MUST allow all client versions.
	ClientRefresherVersion uint32 `idl:"name:dwClientRefrVersion" json:"client_refresher_version"`
}

RemoveObjectFromRefresherRequest structure represents the RemoveObjectFromRefresher operation request

func (*RemoveObjectFromRefresherRequest) MarshalNDR

func (*RemoveObjectFromRefresherRequest) UnmarshalNDR

type RemoveObjectFromRefresherResponse

type RemoveObjectFromRefresherResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pdwSvrRefrVersion: MUST be an output parameter, which MUST be the version of the
	// server refresher. This value SHOULD be 0x1.
	ServerRefresherVersion uint32 `idl:"name:pdwSvrRefrVersion" json:"server_refresher_version"`
	// Return: The RemoveObjectFromRefresher return value.
	Return int32 `idl:"name:Return" json:"return"`
}

RemoveObjectFromRefresherResponse structure represents the RemoveObjectFromRefresher operation response

func (*RemoveObjectFromRefresherResponse) MarshalNDR

func (*RemoveObjectFromRefresherResponse) UnmarshalNDR

type UnimplementedRefreshingServicesServer added in v1.1.5

type UnimplementedRefreshingServicesServer struct {
	iunknown.UnimplementedUnknownServer
}

Unimplemented IWbemRefreshingServices

func (UnimplementedRefreshingServicesServer) AddEnumToRefresher added in v1.1.5

func (UnimplementedRefreshingServicesServer) AddObjectToRefresher added in v1.1.5

func (UnimplementedRefreshingServicesServer) AddObjectToRefresherByTemplate added in v1.1.5

func (UnimplementedRefreshingServicesServer) GetRemoteRefresher added in v1.1.5

func (UnimplementedRefreshingServicesServer) ReconnectRemoteRefresher added in v1.1.5

func (UnimplementedRefreshingServicesServer) RemoveObjectFromRefresher added in v1.1.5

Jump to

Keyboard shortcuts

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