ivdsvolume2

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 (
	// IVdsVolume2 interface identifier 72ae6713-dcbb-4a03-b36b-371f6ac6b53d
	Volume2IID = &dcom.IID{Data1: 0x72ae6713, Data2: 0xdcbb, Data3: 0x4a03, Data4: []byte{0xb3, 0x6b, 0x37, 0x1f, 0x6a, 0xc6, 0xb5, 0x3d}}
	// Syntax UUID
	Volume2SyntaxUUID = &uuid.UUID{TimeLow: 0x72ae6713, TimeMid: 0xdcbb, TimeHiAndVersion: 0x4a03, ClockSeqHiAndReserved: 0xb3, ClockSeqLow: 0x6b, Node: [6]uint8{0x37, 0x1f, 0x6a, 0xc6, 0xb5, 0x3d}}
	// Syntax ID
	Volume2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: Volume2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/vds"
)

Functions

func NewVolume2ServerHandle

func NewVolume2ServerHandle(o Volume2Server) dcerpc.ServerHandle

func RegisterVolume2Server

func RegisterVolume2Server(conn dcerpc.Conn, o Volume2Server, opts ...dcerpc.Option)

func Volume2ServerHandle

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

Types

type GetProperties2Request

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

GetProperties2Request structure represents the GetProperties2 operation request

func (*GetProperties2Request) MarshalNDR

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

func (*GetProperties2Request) UnmarshalNDR

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

type GetProperties2Response

type GetProperties2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That             *dcom.ORPCThat       `idl:"name:That" json:"that"`
	VolumeProperties *vds.VolumeProperty2 `idl:"name:pVolumeProperties" json:"volume_properties"`
	// Return: The GetProperties2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetProperties2Response structure represents the GetProperties2 operation response

func (*GetProperties2Response) MarshalNDR

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

func (*GetProperties2Response) UnmarshalNDR

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

type Volume2Client

type Volume2Client interface {

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

	// GetProperties2 operation.
	GetProperties2(context.Context, *GetProperties2Request, ...dcerpc.CallOption) (*GetProperties2Response, error)

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

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

IVdsVolume2 interface.

func NewVolume2Client

func NewVolume2Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (Volume2Client, error)

type Volume2Server

type Volume2Server interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// GetProperties2 operation.
	GetProperties2(context.Context, *GetProperties2Request) (*GetProperties2Response, error)
}

IVdsVolume2 server interface.

Jump to

Keyboard shortcuts

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