ivdsprovider

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 (
	// IVdsProvider interface identifier 10c5e575-7984-4e81-a56b-431f5f92ae42
	ProviderIID = &dcom.IID{Data1: 0x10c5e575, Data2: 0x7984, Data3: 0x4e81, Data4: []byte{0xa5, 0x6b, 0x43, 0x1f, 0x5f, 0x92, 0xae, 0x42}}
	// Syntax UUID
	ProviderSyntaxUUID = &uuid.UUID{TimeLow: 0x10c5e575, TimeMid: 0x7984, TimeHiAndVersion: 0x4e81, ClockSeqHiAndReserved: 0xa5, ClockSeqLow: 0x6b, Node: [6]uint8{0x43, 0x1f, 0x5f, 0x92, 0xae, 0x42}}
	// Syntax ID
	ProviderSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ProviderSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/vds"
)

Functions

func NewProviderServerHandle

func NewProviderServerHandle(o ProviderServer) dcerpc.ServerHandle

func ProviderServerHandle

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

func RegisterProviderServer

func RegisterProviderServer(conn dcerpc.Conn, o ProviderServer, opts ...dcerpc.Option)

Types

type GetPropertiesRequest

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

GetPropertiesRequest structure represents the GetProperties operation request

func (*GetPropertiesRequest) MarshalNDR

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

func (*GetPropertiesRequest) UnmarshalNDR

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

type GetPropertiesResponse

type GetPropertiesResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That             *dcom.ORPCThat        `idl:"name:That" json:"that"`
	ProviderProperty *vds.ProviderProperty `idl:"name:pProviderProp" json:"provider_property"`
	// Return: The GetProperties return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetPropertiesResponse structure represents the GetProperties operation response

func (*GetPropertiesResponse) MarshalNDR

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

func (*GetPropertiesResponse) UnmarshalNDR

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

type ProviderClient

type ProviderClient interface {

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

	// GetProperties operation.
	GetProperties(context.Context, *GetPropertiesRequest, ...dcerpc.CallOption) (*GetPropertiesResponse, error)

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

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

IVdsProvider interface.

func NewProviderClient

func NewProviderClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ProviderClient, error)

type ProviderServer

type ProviderServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// GetProperties operation.
	GetProperties(context.Context, *GetPropertiesRequest) (*GetPropertiesResponse, error)
}

IVdsProvider server interface.

Jump to

Keyboard shortcuts

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