iwbemfetchsmartenum

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IWbemFetchSmartEnum interface identifier 1c1c45ee-4395-11d2-b60b-00104b703efd
	FetchSmartEnumIID = &dcom.IID{Data1: 0x1c1c45ee, Data2: 0x4395, Data3: 0x11d2, Data4: []byte{0xb6, 0x0b, 0x00, 0x10, 0x4b, 0x70, 0x3e, 0xfd}}
	// Syntax UUID
	FetchSmartEnumSyntaxUUID = &uuid.UUID{TimeLow: 0x1c1c45ee, TimeMid: 0x4395, TimeHiAndVersion: 0x11d2, ClockSeqHiAndReserved: 0xb6, ClockSeqLow: 0xb, Node: [6]uint8{0x0, 0x10, 0x4b, 0x70, 0x3e, 0xfd}}
	// Syntax ID
	FetchSmartEnumSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: FetchSmartEnumSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/wmi"
)

Functions

func FetchSmartEnumServerHandle

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

func NewFetchSmartEnumServerHandle

func NewFetchSmartEnumServerHandle(o FetchSmartEnumServer) dcerpc.ServerHandle

func RegisterFetchSmartEnumServer

func RegisterFetchSmartEnumServer(conn dcerpc.Conn, o FetchSmartEnumServer, opts ...dcerpc.Option)

Types

type FetchSmartEnumClient

type FetchSmartEnumClient interface {

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

	// The IWbemFetchSmartEnum::GetSmartEnum method retrieves an IWbemWCOSmartEnum (section
	// 3.1.4.7) interface, which is a network-optimized enumerator interface.
	//
	// 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.
	GetSmartEnum(context.Context, *GetSmartEnumRequest, ...dcerpc.CallOption) (*GetSmartEnumResponse, error)

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

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

IWbemFetchSmartEnum interface.

func NewFetchSmartEnumClient

func NewFetchSmartEnumClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (FetchSmartEnumClient, error)

type FetchSmartEnumServer

type FetchSmartEnumServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The IWbemFetchSmartEnum::GetSmartEnum method retrieves an IWbemWCOSmartEnum (section
	// 3.1.4.7) interface, which is a network-optimized enumerator interface.
	//
	// 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.
	GetSmartEnum(context.Context, *GetSmartEnumRequest) (*GetSmartEnumResponse, error)
}

IWbemFetchSmartEnum server interface.

type GetSmartEnumRequest

type GetSmartEnumRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetSmartEnumRequest structure represents the GetSmartEnum operation request

func (*GetSmartEnumRequest) MarshalNDR

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

func (*GetSmartEnumRequest) UnmarshalNDR

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

type GetSmartEnumResponse

type GetSmartEnumResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppSmartEnum: MUST be a pointer to a network-optimized enumerator interface. This
	// parameter MUST NOT be NULL. Upon return by the server, this parameter can be NULL
	// if there is a failure or if there are no results.
	SmartEnum *wmi.WCOSmartEnum `idl:"name:ppSmartEnum" json:"smart_enum"`
	// Return: The GetSmartEnum return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetSmartEnumResponse structure represents the GetSmartEnum operation response

func (*GetSmartEnumResponse) MarshalNDR

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

func (*GetSmartEnumResponse) UnmarshalNDR

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