ivdshwprovider

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 (
	// IVdsHwProvider interface identifier d99bdaae-b13a-4178-9fdb-e27f16b4603e
	HwProviderIID = &dcom.IID{Data1: 0xd99bdaae, Data2: 0xb13a, Data3: 0x4178, Data4: []byte{0x9f, 0xdb, 0xe2, 0x7f, 0x16, 0xb4, 0x60, 0x3e}}
	// Syntax UUID
	HwProviderSyntaxUUID = &uuid.UUID{TimeLow: 0xd99bdaae, TimeMid: 0xb13a, TimeHiAndVersion: 0x4178, ClockSeqHiAndReserved: 0x9f, ClockSeqLow: 0xdb, Node: [6]uint8{0xe2, 0x7f, 0x16, 0xb4, 0x60, 0x3e}}
	// Syntax ID
	HwProviderSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: HwProviderSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/vds"
)

Functions

func HwProviderServerHandle

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

func NewHwProviderServerHandle

func NewHwProviderServerHandle(o HwProviderServer) dcerpc.ServerHandle

func RegisterHwProviderServer

func RegisterHwProviderServer(conn dcerpc.Conn, o HwProviderServer, opts ...dcerpc.Option)

Types

type HwProviderClient

type HwProviderClient interface {

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

	// The QuerySubSystems method retrieves the subsystems that are managed by the provider.
	//
	// 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.
	QuerySubSystems(context.Context, *QuerySubSystemsRequest, ...dcerpc.CallOption) (*QuerySubSystemsResponse, error)

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

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

IVdsHwProvider interface.

func NewHwProviderClient

func NewHwProviderClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (HwProviderClient, error)

type HwProviderServer

type HwProviderServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The QuerySubSystems method retrieves the subsystems that are managed by the provider.
	//
	// 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.
	QuerySubSystems(context.Context, *QuerySubSystemsRequest) (*QuerySubSystemsResponse, error)
}

IVdsHwProvider server interface.

type QuerySubSystemsRequest

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

QuerySubSystemsRequest structure represents the QuerySubSystems operation request

func (*QuerySubSystemsRequest) MarshalNDR

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

func (*QuerySubSystemsRequest) UnmarshalNDR

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

type QuerySubSystemsResponse

type QuerySubSystemsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppEnum: A pointer to an IEnumVdsObject interface. If the operation is successfully
	// completed, the pointer receives the IEnumVdsObject interface of the object, which
	// contains an enumeration of subsystem objects in the provider. Callers MUST release
	// the interface when they are finished with it.
	Enum *vds.EnumObject `idl:"name:ppEnum" json:"enum"`
	// Return: The QuerySubSystems return value.
	Return int32 `idl:"name:Return" json:"return"`
}

QuerySubSystemsResponse structure represents the QuerySubSystems operation response

func (*QuerySubSystemsResponse) MarshalNDR

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

func (*QuerySubSystemsResponse) UnmarshalNDR

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