Documentation
¶
Index ¶
- Variables
- func NewUpdate3ServerHandle(o Update3Server) dcerpc.ServerHandle
- func RegisterUpdate3Server(conn dcerpc.Conn, o Update3Server, opts ...dcerpc.Option)
- func Update3ServerHandle(ctx context.Context, o Update3Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type GetBrowseOnlyRequest
- type GetBrowseOnlyResponse
- type UnimplementedUpdate3Server
- type Update3Client
- type Update3Server
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IUpdate3 interface identifier 112eda6b-95b3-476f-9d90-aee82c6b8181 Update3IID = &dcom.IID{Data1: 0x112eda6b, Data2: 0x95b3, Data3: 0x476f, Data4: []byte{0x9d, 0x90, 0xae, 0xe8, 0x2c, 0x6b, 0x81, 0x81}} // Syntax UUID Update3SyntaxUUID = &uuid.UUID{TimeLow: 0x112eda6b, TimeMid: 0x95b3, TimeHiAndVersion: 0x476f, ClockSeqHiAndReserved: 0x9d, ClockSeqLow: 0x90, Node: [6]uint8{0xae, 0xe8, 0x2c, 0x6b, 0x81, 0x81}} // Syntax ID Update3SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: Update3SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/uamg"
)
Functions ¶
func NewUpdate3ServerHandle ¶
func NewUpdate3ServerHandle(o Update3Server) dcerpc.ServerHandle
func RegisterUpdate3Server ¶
func RegisterUpdate3Server(conn dcerpc.Conn, o Update3Server, opts ...dcerpc.Option)
Types ¶
type GetBrowseOnlyRequest ¶
type GetBrowseOnlyRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
GetBrowseOnlyRequest structure represents the BrowseOnly operation request
func (*GetBrowseOnlyRequest) MarshalNDR ¶
func (*GetBrowseOnlyRequest) UnmarshalNDR ¶
type GetBrowseOnlyResponse ¶
type GetBrowseOnlyResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
// retval: MUST be set either to VARIANT_TRUE if this update is not recommended to be
// installed automatically or to VARIANT_FALSE if not.
//
// retval: MUST be set either to VARIANT_TRUE if this update is browse-only, or to VARIANT_FALSE
// otherwise.
ReturnValue int16 `idl:"name:retval" json:"return_value"`
// Return: The BrowseOnly return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetBrowseOnlyResponse structure represents the BrowseOnly operation response
func (*GetBrowseOnlyResponse) MarshalNDR ¶
func (*GetBrowseOnlyResponse) UnmarshalNDR ¶
type UnimplementedUpdate3Server ¶
type UnimplementedUpdate3Server struct {
iupdate2.UnimplementedUpdate2Server
}
Unimplemented IUpdate3
func (UnimplementedUpdate3Server) GetBrowseOnly ¶
func (UnimplementedUpdate3Server) GetBrowseOnly(context.Context, *GetBrowseOnlyRequest) (*GetBrowseOnlyResponse, error)
type Update3Client ¶
type Update3Client interface {
// IUpdate2 retrieval method.
Update2() iupdate2.Update2Client
// The IUpdate3::BrowseOnly (opnum 57) method retrieves whether the update is browse-only.
//
// The IWindowsDriverUpdate3::BrowseOnly (opnum 65) method retrieves whether the update
// is browse-only. If an update is browse-only, then it is not recommended for the update
// to be installed 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 BrowseOnly ADM element.
GetBrowseOnly(context.Context, *GetBrowseOnlyRequest, ...dcerpc.CallOption) (*GetBrowseOnlyResponse, 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) Update3Client
}
IUpdate3 interface.
func NewUpdate3Client ¶
type Update3Server ¶
type Update3Server interface {
// IUpdate2 base class.
iupdate2.Update2Server
// The IUpdate3::BrowseOnly (opnum 57) method retrieves whether the update is browse-only.
//
// The IWindowsDriverUpdate3::BrowseOnly (opnum 65) method retrieves whether the update
// is browse-only. If an update is browse-only, then it is not recommended for the update
// to be installed 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 BrowseOnly ADM element.
GetBrowseOnly(context.Context, *GetBrowseOnlyRequest) (*GetBrowseOnlyResponse, error)
}
IUpdate3 server interface.
Click to show internal directories.
Click to hide internal directories.