Documentation ¶
Index ¶
- Variables
- func NewRemoteRefresherServerHandle(o RemoteRefresherServer) dcerpc.ServerHandle
- func RegisterRemoteRefresherServer(conn dcerpc.Conn, o RemoteRefresherServer, opts ...dcerpc.Option)
- func RemoteRefresherServerHandle(ctx context.Context, o RemoteRefresherServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type RemoteRefreshRequest
- type RemoteRefreshResponse
- type RemoteRefresherClient
- type RemoteRefresherServer
- type StopRefreshingRequest
- type StopRefreshingResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IWbemRemoteRefresher interface identifier f1e9c5b2-f59b-11d2-b362-00105a1f8177 RemoteRefresherIID = &dcom.IID{Data1: 0xf1e9c5b2, Data2: 0xf59b, Data3: 0x11d2, Data4: []byte{0xb3, 0x62, 0x00, 0x10, 0x5a, 0x1f, 0x81, 0x77}} // Syntax UUID RemoteRefresherSyntaxUUID = &uuid.UUID{TimeLow: 0xf1e9c5b2, TimeMid: 0xf59b, TimeHiAndVersion: 0x11d2, ClockSeqHiAndReserved: 0xb3, ClockSeqLow: 0x62, Node: [6]uint8{0x0, 0x10, 0x5a, 0x1f, 0x81, 0x77}} // Syntax ID RemoteRefresherSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: RemoteRefresherSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/wmi"
)
Functions ¶
func NewRemoteRefresherServerHandle ¶
func NewRemoteRefresherServerHandle(o RemoteRefresherServer) dcerpc.ServerHandle
func RegisterRemoteRefresherServer ¶
func RegisterRemoteRefresherServer(conn dcerpc.Conn, o RemoteRefresherServer, opts ...dcerpc.Option)
Types ¶
type RemoteRefreshRequest ¶
type RemoteRefreshRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // lFlags: This parameter is not used, and its value MUST be 0x0. Flags int32 `idl:"name:lFlags" json:"flags"` }
RemoteRefreshRequest structure represents the RemoteRefresh operation request
func (*RemoteRefreshRequest) MarshalNDR ¶
func (*RemoteRefreshRequest) UnmarshalNDR ¶
type RemoteRefreshResponse ¶
type RemoteRefreshResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // plNumObjects: If successful, plNumObjects MUST be a pointer to the number of CIM // instances and enumerations that the method returns. It MUST NOT be NULL. ObjectsLength int32 `idl:"name:plNumObjects" json:"objects_length"` // paObjects: If successful, paObjects MUST be a pointer to an array of WBEM_REFRESHED_OBJECT // objects specified in section 2.2.15. The array MUST contain CIM instances and enumerations. // It MUST NOT be NULL. Objects []*wmi.RefreshedObject `idl:"name:paObjects;size_is:(, plNumObjects)" json:"objects"` // Return: The RemoteRefresh return value. Return int32 `idl:"name:Return" json:"return"` }
RemoteRefreshResponse structure represents the RemoteRefresh operation response
func (*RemoteRefreshResponse) MarshalNDR ¶
func (*RemoteRefreshResponse) UnmarshalNDR ¶
type RemoteRefresherClient ¶
type RemoteRefresherClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The IWbemRemoteRefresher::RemoteRefresh method MUST return the updated collection // of CIM instances and enumerations previously configured by the IWbemRefreshingServices // interface pointer. // // 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. // // The IWbemRemoteRefresher::RemoteRefresh method MUST be called on the IWbemRemoteRefresher // interface pointer returned as a member of the _WBEM_REFRESH_INFO structure from IWbemRefreshingServices // methods or on the interface returned by IWbemRefreshingServices::GetRemoteRefresher // method invocation. RemoteRefresh(context.Context, *RemoteRefreshRequest, ...dcerpc.CallOption) (*RemoteRefreshResponse, error) // The IWbemRemoteRefresher::StopRefreshing method MUST remove a set of CIM instances // or enumerations from the collection previously configured by the IWbemRefreshingServices // interface pointer. // // Return Values: This method MUST return an HRESULT value that MUST indicate the status // of the method call. In case of success, the server MUST return WBEM_S_NO_ERROR (as // specified in section 2.2.11) to indicate the successful completion of the method. // // The IWbemRemoteRefresher::StopRefreshing method MUST be called on the IWbemRemoteRefresher // interface pointer that is returned as a member of the _WBEM_REFRESH_INFO structure // from the methods of the IWbemRefreshingServices interface or on the interface that // is returned by the IWbemRefreshingServices::GetRemoteRefresher method invocation. StopRefreshing(context.Context, *StopRefreshingRequest, ...dcerpc.CallOption) (*StopRefreshingResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) RemoteRefresherClient }
IWbemRemoteRefresher interface.
type RemoteRefresherServer ¶
type RemoteRefresherServer interface { // IUnknown base class. iunknown.UnknownServer // The IWbemRemoteRefresher::RemoteRefresh method MUST return the updated collection // of CIM instances and enumerations previously configured by the IWbemRefreshingServices // interface pointer. // // 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. // // The IWbemRemoteRefresher::RemoteRefresh method MUST be called on the IWbemRemoteRefresher // interface pointer returned as a member of the _WBEM_REFRESH_INFO structure from IWbemRefreshingServices // methods or on the interface returned by IWbemRefreshingServices::GetRemoteRefresher // method invocation. RemoteRefresh(context.Context, *RemoteRefreshRequest) (*RemoteRefreshResponse, error) // The IWbemRemoteRefresher::StopRefreshing method MUST remove a set of CIM instances // or enumerations from the collection previously configured by the IWbemRefreshingServices // interface pointer. // // Return Values: This method MUST return an HRESULT value that MUST indicate the status // of the method call. In case of success, the server MUST return WBEM_S_NO_ERROR (as // specified in section 2.2.11) to indicate the successful completion of the method. // // The IWbemRemoteRefresher::StopRefreshing method MUST be called on the IWbemRemoteRefresher // interface pointer that is returned as a member of the _WBEM_REFRESH_INFO structure // from the methods of the IWbemRefreshingServices interface or on the interface that // is returned by the IWbemRefreshingServices::GetRemoteRefresher method invocation. StopRefreshing(context.Context, *StopRefreshingRequest) (*StopRefreshingResponse, error) }
IWbemRemoteRefresher server interface.
type StopRefreshingRequest ¶
type StopRefreshingRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // lNumIds: MUST be the number of identifiers in the array of object identifiers in // the aplIds parameter. IDsLength int32 `idl:"name:lNumIds" json:"ids_length"` // aplIds: MUST be an array of object identifiers that MUST identify the CIM instances // and enumerations to stop refreshing. The object identifier is the m_lCancelId member // from the _WBEM_REFRESH_INFO structure that is specified in section 2.2.20 and MUST // be obtained from a previous call to the IWbemRefreshingServices::AddObjectToRefresher, // IWbemRefreshingServices::AddObjectToRefresherByTemplate, or IWbemRefreshingServices::AddEnumToRefresher // method specified in section 3.1.4.12. IDs []int32 `idl:"name:aplIds;size_is:(lNumIds)" json:"ids"` // lFlags: This parameter is not used, and its value MUST be 0x0. Flags int32 `idl:"name:lFlags" json:"flags"` }
StopRefreshingRequest structure represents the StopRefreshing operation request
func (*StopRefreshingRequest) MarshalNDR ¶
func (*StopRefreshingRequest) UnmarshalNDR ¶
type StopRefreshingResponse ¶
type StopRefreshingResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // Return: The StopRefreshing return value. Return int32 `idl:"name:Return" json:"return"` }
StopRefreshingResponse structure represents the StopRefreshing operation response
func (*StopRefreshingResponse) MarshalNDR ¶
func (*StopRefreshingResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.