iwbemloginclientid

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 (
	// IWbemLoginClientID interface identifier d4781cd6-e5d3-44df-ad94-930efe48a887
	LoginClientIDIID = &dcom.IID{Data1: 0xd4781cd6, Data2: 0xe5d3, Data3: 0x44df, Data4: []byte{0xad, 0x94, 0x93, 0x0e, 0xfe, 0x48, 0xa8, 0x87}}
	// Syntax UUID
	LoginClientIDSyntaxUUID = &uuid.UUID{TimeLow: 0xd4781cd6, TimeMid: 0xe5d3, TimeHiAndVersion: 0x44df, ClockSeqHiAndReserved: 0xad, ClockSeqLow: 0x94, Node: [6]uint8{0x93, 0xe, 0xfe, 0x48, 0xa8, 0x87}}
	// Syntax ID
	LoginClientIDSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: LoginClientIDSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/wmi"
)

Functions

func LoginClientIDServerHandle

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

func NewLoginClientIDServerHandle

func NewLoginClientIDServerHandle(o LoginClientIDServer) dcerpc.ServerHandle

func RegisterLoginClientIDServer

func RegisterLoginClientIDServer(conn dcerpc.Conn, o LoginClientIDServer, opts ...dcerpc.Option)

Types

type LoginClientIDClient

type LoginClientIDClient interface {

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

	// The IWbemLoginClientID::SetClientInfo method MUST pass the client NETBIOS name and
	// a unique client-generated number to the server.
	//
	// 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.
	SetClientInfo(context.Context, *SetClientInfoRequest, ...dcerpc.CallOption) (*SetClientInfoResponse, error)

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

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

IWbemLoginClientID interface.

func NewLoginClientIDClient

func NewLoginClientIDClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (LoginClientIDClient, error)

type LoginClientIDServer

type LoginClientIDServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The IWbemLoginClientID::SetClientInfo method MUST pass the client NETBIOS name and
	// a unique client-generated number to the server.
	//
	// 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.
	SetClientInfo(context.Context, *SetClientInfoRequest) (*SetClientInfoResponse, error)
}

IWbemLoginClientID server interface.

type SetClientInfoRequest

type SetClientInfoRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// wszClientMachine: MUST specify the client NETBIOS name. This parameter MUST NOT be
	// NULL.
	ClientMachine string `idl:"name:wszClientMachine;string;pointer:unique" json:"client_machine"`
	// lClientProcId: Specifies a client-generated number. The server MAY use this for logging
	// purposes.<56>
	ClientProcID int32 `idl:"name:lClientProcId" json:"client_proc_id"`
}

SetClientInfoRequest structure represents the SetClientInfo operation request

func (*SetClientInfoRequest) MarshalNDR

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

func (*SetClientInfoRequest) UnmarshalNDR

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

type SetClientInfoResponse

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

SetClientInfoResponse structure represents the SetClientInfo operation response

func (*SetClientInfoResponse) MarshalNDR

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

func (*SetClientInfoResponse) UnmarshalNDR

func (o *SetClientInfoResponse) 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