iwbemloginhelper

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IWbemLoginHelper interface identifier 541679ab-2e5f-11d3-b34e-00104bcc4b4a
	LoginHelperIID = &dcom.IID{Data1: 0x541679ab, Data2: 0x2e5f, Data3: 0x11d3, Data4: []byte{0xb3, 0x4e, 0x00, 0x10, 0x4b, 0xcc, 0x4b, 0x4a}}
	// Syntax UUID
	LoginHelperSyntaxUUID = &uuid.UUID{TimeLow: 0x541679ab, TimeMid: 0x2e5f, TimeHiAndVersion: 0x11d3, ClockSeqHiAndReserved: 0xb3, ClockSeqLow: 0x4e, Node: [6]uint8{0x0, 0x10, 0x4b, 0xcc, 0x4b, 0x4a}}
	// Syntax ID
	LoginHelperSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: LoginHelperSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/wmi"
)

Functions

func LoginHelperServerHandle

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

func NewLoginHelperServerHandle

func NewLoginHelperServerHandle(o LoginHelperServer) dcerpc.ServerHandle

func RegisterLoginHelperServer

func RegisterLoginHelperServer(conn dcerpc.Conn, o LoginHelperServer, opts ...dcerpc.Option)

Types

type LoginHelperClient

type LoginHelperClient interface {

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

	// The IWbemLoginHelper::SetEvent MUST return WBEM_S_NO_ERROR. The SetEvent method SHOULD
	// NOT perform any action.<57>
	//
	// The opnum of the SetEvent method equals 3.
	//
	// 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.
	//
	// If the method fails, 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.
	SetEvent(context.Context, *SetEventRequest, ...dcerpc.CallOption) (*SetEventResponse, error)

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

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

IWbemLoginHelper interface.

func NewLoginHelperClient

func NewLoginHelperClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (LoginHelperClient, error)

type LoginHelperServer

type LoginHelperServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The IWbemLoginHelper::SetEvent MUST return WBEM_S_NO_ERROR. The SetEvent method SHOULD
	// NOT perform any action.<57>
	//
	// The opnum of the SetEvent method equals 3.
	//
	// 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.
	//
	// If the method fails, 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.
	SetEvent(context.Context, *SetEventRequest) (*SetEventResponse, error)
}

IWbemLoginHelper server interface.

type SetEventRequest

type SetEventRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// sEventToSet: MUST contain the name of the event to be signaled. This parameter MUST
	// NOT be NULL.
	EventToSet string `idl:"name:sEventToSet" json:"event_to_set"`
}

SetEventRequest structure represents the SetEvent operation request

func (*SetEventRequest) MarshalNDR

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

func (*SetEventRequest) UnmarshalNDR

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

type SetEventResponse

type SetEventResponse 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 SetEvent return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetEventResponse structure represents the SetEvent operation response

func (*SetEventResponse) MarshalNDR

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

func (*SetEventResponse) UnmarshalNDR

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

Jump to

Keyboard shortcuts

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