ivdsadvanceddisk3

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IVdsAdvancedDisk3 interface identifier 3858c0d5-0f35-4bf5-9714-69874963bc36
	AdvancedDisk3IID = &dcom.IID{Data1: 0x3858c0d5, Data2: 0x0f35, Data3: 0x4bf5, Data4: []byte{0x97, 0x14, 0x69, 0x87, 0x49, 0x63, 0xbc, 0x36}}
	// Syntax UUID
	AdvancedDisk3SyntaxUUID = &uuid.UUID{TimeLow: 0x3858c0d5, TimeMid: 0xf35, TimeHiAndVersion: 0x4bf5, ClockSeqHiAndReserved: 0x97, ClockSeqLow: 0x14, Node: [6]uint8{0x69, 0x87, 0x49, 0x63, 0xbc, 0x36}}
	// Syntax ID
	AdvancedDisk3SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: AdvancedDisk3SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/vds"
)

Functions

func AdvancedDisk3ServerHandle

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

func NewAdvancedDisk3ServerHandle

func NewAdvancedDisk3ServerHandle(o AdvancedDisk3Server) dcerpc.ServerHandle

func RegisterAdvancedDisk3Server

func RegisterAdvancedDisk3Server(conn dcerpc.Conn, o AdvancedDisk3Server, opts ...dcerpc.Option)

Types

type AdvancedDisk3Client

type AdvancedDisk3Client interface {

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

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

	// The GetUniqueId method<104> retrieves the device path that the operating system uses
	// to identify the disk.
	//
	// Return Values: The method MUST return zero or a non-error HRESULT, as specified in
	// [MS-ERREF], to indicate success or return an implementation-specific nonzero error
	// code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service
	// Remote Protocol, see section 2.2.3.
	GetUniqueID(context.Context, *GetUniqueIDRequest, ...dcerpc.CallOption) (*GetUniqueIDResponse, error)

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

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

IVdsAdvancedDisk3 interface.

func NewAdvancedDisk3Client

func NewAdvancedDisk3Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (AdvancedDisk3Client, error)

type AdvancedDisk3Server

type AdvancedDisk3Server interface {

	// IUnknown base class.
	iunknown.UnknownServer

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

	// The GetUniqueId method<104> retrieves the device path that the operating system uses
	// to identify the disk.
	//
	// Return Values: The method MUST return zero or a non-error HRESULT, as specified in
	// [MS-ERREF], to indicate success or return an implementation-specific nonzero error
	// code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service
	// Remote Protocol, see section 2.2.3.
	GetUniqueID(context.Context, *GetUniqueIDRequest) (*GetUniqueIDResponse, error)
}

IVdsAdvancedDisk3 server interface.

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"`
	AdvancedDiskProperty *vds.AdvancedDiskProperty `idl:"name:pAdvDiskProp" json:"advanced_disk_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 GetUniqueIDRequest

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

GetUniqueIDRequest structure represents the GetUniqueId operation request

func (*GetUniqueIDRequest) MarshalNDR

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

func (*GetUniqueIDRequest) UnmarshalNDR

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

type GetUniqueIDResponse

type GetUniqueIDResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppwszId: A pointer to a null-terminated Unicode device path that the operating system
	// uses to identify the device for the disk.
	ID string `idl:"name:ppwszId;string" json:"id"`
	// Return: The GetUniqueId return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetUniqueIDResponse structure represents the GetUniqueId operation response

func (*GetUniqueIDResponse) MarshalNDR

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

func (*GetUniqueIDResponse) UnmarshalNDR

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