Documentation
¶
Index ¶
- Variables
- func NewUpdateService2ServerHandle(o UpdateService2Server) dcerpc.ServerHandle
- func RegisterUpdateService2Server(conn dcerpc.Conn, o UpdateService2Server, opts ...dcerpc.Option)
- func UpdateService2ServerHandle(ctx context.Context, o UpdateService2Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type GetIsDefaultAUServiceRequest
- type GetIsDefaultAUServiceResponse
- type UnimplementedUpdateService2Server
- type UpdateService2Client
- type UpdateService2Server
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IUpdateService2 interface identifier 1518b460-6518-4172-940f-c75883b24ceb UpdateService2IID = &dcom.IID{Data1: 0x1518b460, Data2: 0x6518, Data3: 0x4172, Data4: []byte{0x94, 0x0f, 0xc7, 0x58, 0x83, 0xb2, 0x4c, 0xeb}} // Syntax UUID UpdateService2SyntaxUUID = &uuid.UUID{TimeLow: 0x1518b460, TimeMid: 0x6518, TimeHiAndVersion: 0x4172, ClockSeqHiAndReserved: 0x94, ClockSeqLow: 0xf, Node: [6]uint8{0xc7, 0x58, 0x83, 0xb2, 0x4c, 0xeb}} // Syntax ID UpdateService2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: UpdateService2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/uamg"
)
Functions ¶
func NewUpdateService2ServerHandle ¶
func NewUpdateService2ServerHandle(o UpdateService2Server) dcerpc.ServerHandle
func RegisterUpdateService2Server ¶
func RegisterUpdateService2Server(conn dcerpc.Conn, o UpdateService2Server, opts ...dcerpc.Option)
Types ¶
type GetIsDefaultAUServiceRequest ¶
type GetIsDefaultAUServiceRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
GetIsDefaultAUServiceRequest structure represents the IsDefaultAUService operation request
func (*GetIsDefaultAUServiceRequest) MarshalNDR ¶
func (*GetIsDefaultAUServiceRequest) UnmarshalNDR ¶
type GetIsDefaultAUServiceResponse ¶
type GetIsDefaultAUServiceResponse 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 the service is the default service
// for the automatic update agent or to VARIANT_FALSE if not.
ReturnValue int16 `idl:"name:retval" json:"return_value"`
// Return: The IsDefaultAUService return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetIsDefaultAUServiceResponse structure represents the IsDefaultAUService operation response
func (*GetIsDefaultAUServiceResponse) MarshalNDR ¶
func (*GetIsDefaultAUServiceResponse) UnmarshalNDR ¶
type UnimplementedUpdateService2Server ¶
type UnimplementedUpdateService2Server struct {
iupdateservice.UnimplementedUpdateServiceServer
}
Unimplemented IUpdateService2
func (UnimplementedUpdateService2Server) GetIsDefaultAUService ¶
func (UnimplementedUpdateService2Server) GetIsDefaultAUService(context.Context, *GetIsDefaultAUServiceRequest) (*GetIsDefaultAUServiceResponse, error)
type UpdateService2Client ¶
type UpdateService2Client interface {
// IUpdateService retrieval method.
UpdateService() iupdateservice.UpdateServiceClient
// The IUpdateService2::IsDefaultAUService (opnum 21) method retrieves whether this
// update service is the default update service for the automatic update agent.
//
// 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 IsDefaultAUService ADM element.
GetIsDefaultAUService(context.Context, *GetIsDefaultAUServiceRequest, ...dcerpc.CallOption) (*GetIsDefaultAUServiceResponse, 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) UpdateService2Client
}
IUpdateService2 interface.
func NewUpdateService2Client ¶
type UpdateService2Server ¶
type UpdateService2Server interface {
// IUpdateService base class.
iupdateservice.UpdateServiceServer
// The IUpdateService2::IsDefaultAUService (opnum 21) method retrieves whether this
// update service is the default update service for the automatic update agent.
//
// 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 IsDefaultAUService ADM element.
GetIsDefaultAUService(context.Context, *GetIsDefaultAUServiceRequest) (*GetIsDefaultAUServiceResponse, error)
}
IUpdateService2 server interface.
Click to show internal directories.
Click to hide internal directories.