iupdate5

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 (
	// IUpdate5 interface identifier c1c2f21a-d2f4-4902-b5c6-8a081c19a890
	Update5IID = &dcom.IID{Data1: 0xc1c2f21a, Data2: 0xd2f4, Data3: 0x4902, Data4: []byte{0xb5, 0xc6, 0x8a, 0x08, 0x1c, 0x19, 0xa8, 0x90}}
	// Syntax UUID
	Update5SyntaxUUID = &uuid.UUID{TimeLow: 0xc1c2f21a, TimeMid: 0xd2f4, TimeHiAndVersion: 0x4902, ClockSeqHiAndReserved: 0xb5, ClockSeqLow: 0xc6, Node: [6]uint8{0x8a, 0x8, 0x1c, 0x19, 0xa8, 0x90}}
	// Syntax ID
	Update5SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: Update5SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/uamg"
)

Functions

func NewUpdate5ServerHandle

func NewUpdate5ServerHandle(o Update5Server) dcerpc.ServerHandle

func RegisterUpdate5Server

func RegisterUpdate5Server(conn dcerpc.Conn, o Update5Server, opts ...dcerpc.Option)

func Update5ServerHandle

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

Types

type GetAutoDownloadRequest

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

GetAutoDownloadRequest structure represents the AutoDownload operation request

func (*GetAutoDownloadRequest) MarshalNDR

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

func (*GetAutoDownloadRequest) UnmarshalNDR

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

type GetAutoDownloadResponse

type GetAutoDownloadResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// retval: An AutoDownloadMode (section 2.2.7) enumeration value that specifies the
	// recommendation for whether the update is to be downloaded automatically.
	ReturnValue uamg.AutoDownloadMode `idl:"name:retval" json:"return_value"`
	// Return: The AutoDownload return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetAutoDownloadResponse structure represents the AutoDownload operation response

func (*GetAutoDownloadResponse) MarshalNDR

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

func (*GetAutoDownloadResponse) UnmarshalNDR

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

type GetAutoSelectionRequest

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

GetAutoSelectionRequest structure represents the AutoSelection operation request

func (*GetAutoSelectionRequest) MarshalNDR

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

func (*GetAutoSelectionRequest) UnmarshalNDR

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

type GetAutoSelectionResponse

type GetAutoSelectionResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// retval: An AutoSelectionMode (section 2.2.6) enumeration value that specifies the
	// recommendation for whether the update is to be selected automatically in a user interface.
	//
	// retval: An AutoSelectionMode (section 2.2.6) enumeration value that specifies whether
	// the update is to be selected automatically in a user interface.
	ReturnValue uamg.AutoSelectionMode `idl:"name:retval" json:"return_value"`
	// Return: The AutoSelection return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetAutoSelectionResponse structure represents the AutoSelection operation response

func (*GetAutoSelectionResponse) MarshalNDR

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

func (*GetAutoSelectionResponse) UnmarshalNDR

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

type UnimplementedUpdate5Server

type UnimplementedUpdate5Server struct {
	iupdate4.UnimplementedUpdate4Server
}

Unimplemented IUpdate5

func (UnimplementedUpdate5Server) GetAutoDownload

func (UnimplementedUpdate5Server) GetAutoSelection

type Update5Client

type Update5Client interface {

	// IUpdate4 retrieval method.
	Update4() iupdate4.Update4Client

	// The IWindowsDriverUpdate5::AutoSelection (opnum 68) method retrieves a value describing
	// when the update is recommended to be selected automatically in the UI.
	//
	// The IUpdate5::AutoSelection (opnum 59) method retrieves a value describing when the
	// update is recommended to be selected automatically in a user interface.
	//
	// 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 AutoSelection ADM element.
	GetAutoSelection(context.Context, *GetAutoSelectionRequest, ...dcerpc.CallOption) (*GetAutoSelectionResponse, error)

	// The IUpdate5::AutoDownload (opnum 60) method retrieves a value describing when the
	// update is recommended to be downloaded automatically.
	//
	// The IWindowsDriverUpdate5::AutoDownload (opnum 69) method retrieves a value describing
	// when the update is recommended to be downloaded automatically.
	//
	// 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 AutoDownload ADM element.
	GetAutoDownload(context.Context, *GetAutoDownloadRequest, ...dcerpc.CallOption) (*GetAutoDownloadResponse, 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) Update5Client
}

IUpdate5 interface.

func NewUpdate5Client

func NewUpdate5Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (Update5Client, error)

type Update5Server

type Update5Server interface {

	// IUpdate4 base class.
	iupdate4.Update4Server

	// The IWindowsDriverUpdate5::AutoSelection (opnum 68) method retrieves a value describing
	// when the update is recommended to be selected automatically in the UI.
	//
	// The IUpdate5::AutoSelection (opnum 59) method retrieves a value describing when the
	// update is recommended to be selected automatically in a user interface.
	//
	// 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 AutoSelection ADM element.
	GetAutoSelection(context.Context, *GetAutoSelectionRequest) (*GetAutoSelectionResponse, error)

	// The IUpdate5::AutoDownload (opnum 60) method retrieves a value describing when the
	// update is recommended to be downloaded automatically.
	//
	// The IWindowsDriverUpdate5::AutoDownload (opnum 69) method retrieves a value describing
	// when the update is recommended to be downloaded automatically.
	//
	// 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 AutoDownload ADM element.
	GetAutoDownload(context.Context, *GetAutoDownloadRequest) (*GetAutoDownloadResponse, error)
}

IUpdate5 server interface.

Jump to

Keyboard shortcuts

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