ivdsserviceinitialization

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IVdsServiceInitialization interface identifier 4afc3636-db01-4052-80c3-03bbcb8d3c69
	ServiceInitializationIID = &dcom.IID{Data1: 0x4afc3636, Data2: 0xdb01, Data3: 0x4052, Data4: []byte{0x80, 0xc3, 0x03, 0xbb, 0xcb, 0x8d, 0x3c, 0x69}}
	// Syntax UUID
	ServiceInitializationSyntaxUUID = &uuid.UUID{TimeLow: 0x4afc3636, TimeMid: 0xdb01, TimeHiAndVersion: 0x4052, ClockSeqHiAndReserved: 0x80, ClockSeqLow: 0xc3, Node: [6]uint8{0x3, 0xbb, 0xcb, 0x8d, 0x3c, 0x69}}
	// Syntax ID
	ServiceInitializationSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ServiceInitializationSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/vds"
)

Functions

func NewServiceInitializationServerHandle

func NewServiceInitializationServerHandle(o ServiceInitializationServer) dcerpc.ServerHandle

func RegisterServiceInitializationServer

func RegisterServiceInitializationServer(conn dcerpc.Conn, o ServiceInitializationServer, opts ...dcerpc.Option)

func ServiceInitializationServerHandle

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

Types

type InitializeRequest

type InitializeRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pwszMachineName: Reserved; this parameter is not used.
	MachineName string `idl:"name:pwszMachineName;string;pointer:unique" json:"machine_name"`
}

InitializeRequest structure represents the Initialize operation request

func (*InitializeRequest) MarshalNDR

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

func (*InitializeRequest) UnmarshalNDR

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

type InitializeResponse

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

InitializeResponse structure represents the Initialize operation response

func (*InitializeResponse) MarshalNDR

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

func (*InitializeResponse) UnmarshalNDR

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

type ServiceInitializationClient

type ServiceInitializationClient interface {

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

	// The Initialize method starts the initialization of the server.
	//
	// 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.
	Initialize(context.Context, *InitializeRequest, ...dcerpc.CallOption) (*InitializeResponse, error)

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

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

IVdsServiceInitialization interface.

func NewServiceInitializationClient

func NewServiceInitializationClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ServiceInitializationClient, error)

type ServiceInitializationServer

type ServiceInitializationServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The Initialize method starts the initialization of the server.
	//
	// 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.
	Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error)
}

IVdsServiceInitialization server interface.

Jump to

Keyboard shortcuts

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