iupdatedownloadcontent

package
v1.2.16 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IUpdateDownloadContent interface identifier 54a2cb2d-9a0c-48b6-8a50-9abb69ee2d02
	UpdateDownloadContentIID = &dcom.IID{Data1: 0x54a2cb2d, Data2: 0x9a0c, Data3: 0x48b6, Data4: []byte{0x8a, 0x50, 0x9a, 0xbb, 0x69, 0xee, 0x2d, 0x02}}
	// Syntax UUID
	UpdateDownloadContentSyntaxUUID = &uuid.UUID{TimeLow: 0x54a2cb2d, TimeMid: 0x9a0c, TimeHiAndVersion: 0x48b6, ClockSeqHiAndReserved: 0x8a, ClockSeqLow: 0x50, Node: [6]uint8{0x9a, 0xbb, 0x69, 0xee, 0x2d, 0x2}}
	// Syntax ID
	UpdateDownloadContentSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: UpdateDownloadContentSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/uamg"
)

Functions

func NewUpdateDownloadContentServerHandle

func NewUpdateDownloadContentServerHandle(o UpdateDownloadContentServer) dcerpc.ServerHandle

func RegisterUpdateDownloadContentServer

func RegisterUpdateDownloadContentServer(conn dcerpc.Conn, o UpdateDownloadContentServer, opts ...dcerpc.Option)

func UpdateDownloadContentServerHandle

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

Types

type GetDownloadURLRequest

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

GetDownloadURLRequest structure represents the DownloadUrl operation request

func (*GetDownloadURLRequest) MarshalNDR

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

func (*GetDownloadURLRequest) UnmarshalNDR

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

type GetDownloadURLResponse

type GetDownloadURLResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// retval: A URL specifying the location of the download content.
	ReturnValue *oaut.String `idl:"name:retval" json:"return_value"`
	// Return: The DownloadUrl return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetDownloadURLResponse structure represents the DownloadUrl operation response

func (*GetDownloadURLResponse) MarshalNDR

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

func (*GetDownloadURLResponse) UnmarshalNDR

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

type UnimplementedUpdateDownloadContentServer

type UnimplementedUpdateDownloadContentServer struct {
	idispatch.UnimplementedDispatchServer
}

Unimplemented IUpdateDownloadContent

func (UnimplementedUpdateDownloadContentServer) GetDownloadURL

type UpdateDownloadContentClient

type UpdateDownloadContentClient interface {

	// IDispatch retrieval method.
	Dispatch() idispatch.DispatchClient

	// The IUpdateDownloadContent::DownloadUrl (opnum 8) method retrieves the location of
	// the content.
	//
	// Return Values: The method MUST return information in an HRESULT data structure. The
	// severity bit in the structure identifies the following conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// This method SHOULD return the value of the DownloadUrl ADM element.
	GetDownloadURL(context.Context, *GetDownloadURLRequest, ...dcerpc.CallOption) (*GetDownloadURLResponse, error)

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

	// Conn returns the client connection (unsafe)
	Conn() dcerpc.Conn

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

IUpdateDownloadContent interface.

func NewUpdateDownloadContentClient

func NewUpdateDownloadContentClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (UpdateDownloadContentClient, error)

type UpdateDownloadContentServer

type UpdateDownloadContentServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// The IUpdateDownloadContent::DownloadUrl (opnum 8) method retrieves the location of
	// the content.
	//
	// Return Values: The method MUST return information in an HRESULT data structure. The
	// severity bit in the structure identifies the following conditions:
	//
	// * If the severity bit is set to 0, the method completed successfully.
	//
	// * If the severity bit is set to 1, the method failed and encountered a fatal error.
	//
	// Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying
	// RPC protocol [MS-RPCE].
	//
	// This method SHOULD return the value of the DownloadUrl ADM element.
	GetDownloadURL(context.Context, *GetDownloadURLRequest) (*GetDownloadURLResponse, error)
}

IUpdateDownloadContent server interface.

Jump to

Keyboard shortcuts

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