iwbemwcosmartenum

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IWbemWCOSmartEnum interface identifier 423ec01e-2e35-11d2-b604-00104b703efd
	WCOSmartEnumIID = &dcom.IID{Data1: 0x423ec01e, Data2: 0x2e35, Data3: 0x11d2, Data4: []byte{0xb6, 0x04, 0x00, 0x10, 0x4b, 0x70, 0x3e, 0xfd}}
	// Syntax UUID
	WCOSmartEnumSyntaxUUID = &uuid.UUID{TimeLow: 0x423ec01e, TimeMid: 0x2e35, TimeHiAndVersion: 0x11d2, ClockSeqHiAndReserved: 0xb6, ClockSeqLow: 0x4, Node: [6]uint8{0x0, 0x10, 0x4b, 0x70, 0x3e, 0xfd}}
	// Syntax ID
	WCOSmartEnumSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: WCOSmartEnumSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/wmi"
)

Functions

func NewWCOSmartEnumServerHandle

func NewWCOSmartEnumServerHandle(o WCOSmartEnumServer) dcerpc.ServerHandle

func RegisterWCOSmartEnumServer

func RegisterWCOSmartEnumServer(conn dcerpc.Conn, o WCOSmartEnumServer, opts ...dcerpc.Option)

func WCOSmartEnumServerHandle

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

Types

type NextRequest

type NextRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This      *dcom.ORPCThis `idl:"name:This" json:"this"`
	ProxyGUID *dtyp.GUID     `idl:"name:proxyGUID" json:"proxy_guid"`
	Timeout   int32          `idl:"name:lTimeout" json:"timeout"`
	Count     uint32         `idl:"name:uCount" json:"count"`
}

NextRequest structure represents the Next operation request

func (*NextRequest) MarshalNDR

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

func (*NextRequest) UnmarshalNDR

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

type NextResponse

type NextResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That       *dcom.ORPCThat `idl:"name:That" json:"that"`
	Returned   uint32         `idl:"name:puReturned" json:"returned"`
	BufferSize uint32         `idl:"name:pdwBuffSize" json:"buffer_size"`
	Buffer     []byte         `idl:"name:pBuffer;size_is:(, pdwBuffSize)" json:"buffer"`
	// Return: The Next return value.
	Return int32 `idl:"name:Return" json:"return"`
}

NextResponse structure represents the Next operation response

func (*NextResponse) MarshalNDR

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

func (*NextResponse) UnmarshalNDR

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

type WCOSmartEnumClient

type WCOSmartEnumClient interface {

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

	// Next operation.
	Next(context.Context, *NextRequest, ...dcerpc.CallOption) (*NextResponse, error)

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

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

IWbemWCOSmartEnum interface.

func NewWCOSmartEnumClient

func NewWCOSmartEnumClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (WCOSmartEnumClient, error)

type WCOSmartEnumServer

type WCOSmartEnumServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// Next operation.
	Next(context.Context, *NextRequest) (*NextResponse, error)
}

IWbemWCOSmartEnum server interface.

Jump to

Keyboard shortcuts

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