Documentation
¶
Index ¶
- Variables
- func NewSearchResultServerHandle(o SearchResultServer) dcerpc.ServerHandle
- func RegisterSearchResultServer(conn dcerpc.Conn, o SearchResultServer, opts ...dcerpc.Option)
- func SearchResultServerHandle(ctx context.Context, o SearchResultServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type GetResultCodeRequest
- type GetResultCodeResponse
- type GetRootCategoriesRequest
- type GetRootCategoriesResponse
- type GetUpdatesRequest
- type GetUpdatesResponse
- type GetWarningsRequest
- type GetWarningsResponse
- type SearchResultClient
- type SearchResultServer
- type UnimplementedSearchResultServer
- func (UnimplementedSearchResultServer) GetResultCode(context.Context, *GetResultCodeRequest) (*GetResultCodeResponse, error)
- func (UnimplementedSearchResultServer) GetRootCategories(context.Context, *GetRootCategoriesRequest) (*GetRootCategoriesResponse, error)
- func (UnimplementedSearchResultServer) GetUpdates(context.Context, *GetUpdatesRequest) (*GetUpdatesResponse, error)
- func (UnimplementedSearchResultServer) GetWarnings(context.Context, *GetWarningsRequest) (*GetWarningsResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ISearchResult interface identifier d40cff62-e08c-4498-941a-01e25f0fd33c SearchResultIID = &dcom.IID{Data1: 0xd40cff62, Data2: 0xe08c, Data3: 0x4498, Data4: []byte{0x94, 0x1a, 0x01, 0xe2, 0x5f, 0x0f, 0xd3, 0x3c}} // Syntax UUID SearchResultSyntaxUUID = &uuid.UUID{TimeLow: 0xd40cff62, TimeMid: 0xe08c, TimeHiAndVersion: 0x4498, ClockSeqHiAndReserved: 0x94, ClockSeqLow: 0x1a, Node: [6]uint8{0x1, 0xe2, 0x5f, 0xf, 0xd3, 0x3c}} // Syntax ID SearchResultSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: SearchResultSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/uamg"
)
Functions ¶
func NewSearchResultServerHandle ¶
func NewSearchResultServerHandle(o SearchResultServer) dcerpc.ServerHandle
func RegisterSearchResultServer ¶
func RegisterSearchResultServer(conn dcerpc.Conn, o SearchResultServer, opts ...dcerpc.Option)
Types ¶
type GetResultCodeRequest ¶
type GetResultCodeRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
GetResultCodeRequest structure represents the ResultCode operation request
func (*GetResultCodeRequest) MarshalNDR ¶
func (*GetResultCodeRequest) UnmarshalNDR ¶
type GetResultCodeResponse ¶
type GetResultCodeResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
// retval: The OperationResultCode (section 2.2.9) value that specifies the overall
// result of the search.
//
// retval: Specifies the result of the operation.
ReturnValue uamg.OperationResultCode `idl:"name:retval" json:"return_value"`
// Return: The ResultCode return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetResultCodeResponse structure represents the ResultCode operation response
func (*GetResultCodeResponse) MarshalNDR ¶
func (*GetResultCodeResponse) UnmarshalNDR ¶
type GetRootCategoriesRequest ¶
type GetRootCategoriesRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
GetRootCategoriesRequest structure represents the RootCategories operation request
func (*GetRootCategoriesRequest) MarshalNDR ¶
func (*GetRootCategoriesRequest) UnmarshalNDR ¶
type GetRootCategoriesResponse ¶
type GetRootCategoriesResponse 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 collection of the root categories found for the computer.
ReturnValue *uamg.CategoryCollection `idl:"name:retval" json:"return_value"`
// Return: The RootCategories return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetRootCategoriesResponse structure represents the RootCategories operation response
func (*GetRootCategoriesResponse) MarshalNDR ¶
func (*GetRootCategoriesResponse) UnmarshalNDR ¶
type GetUpdatesRequest ¶
type GetUpdatesRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
GetUpdatesRequest structure represents the Updates operation request
func (*GetUpdatesRequest) MarshalNDR ¶
func (*GetUpdatesRequest) UnmarshalNDR ¶
type GetUpdatesResponse ¶
type GetUpdatesResponse 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 instance of IUpdateCollection containing updates belonging to this category.
//
// retval: A collection of the updates found for the computer.
ReturnValue *uamg.UpdateCollection `idl:"name:retval" json:"return_value"`
// Return: The Updates return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetUpdatesResponse structure represents the Updates operation response
func (*GetUpdatesResponse) MarshalNDR ¶
func (*GetUpdatesResponse) UnmarshalNDR ¶
type GetWarningsRequest ¶
type GetWarningsRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
GetWarningsRequest structure represents the Warnings operation request
func (*GetWarningsRequest) MarshalNDR ¶
func (*GetWarningsRequest) UnmarshalNDR ¶
type GetWarningsResponse ¶
type GetWarningsResponse 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 collection of the warnings generated during the search.
ReturnValue *uamg.UpdateExceptionCollection `idl:"name:retval" json:"return_value"`
// Return: The Warnings return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetWarningsResponse structure represents the Warnings operation response
func (*GetWarningsResponse) MarshalNDR ¶
func (*GetWarningsResponse) UnmarshalNDR ¶
type SearchResultClient ¶
type SearchResultClient interface {
// IDispatch retrieval method.
Dispatch() idispatch.DispatchClient
// The ISearchResult::ResultCode (opnum 8) method retrieves the result code for the
// search.
//
// The IUpdateHistoryEntry::ResultCode (opnum 9) method describes the result of the
// operation.
//
// 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 ResultCode ADM element.
GetResultCode(context.Context, *GetResultCodeRequest, ...dcerpc.CallOption) (*GetResultCodeResponse, error)
// The ISearchResult::RootCategories (opnum 9) method retrieves the root categories
// found during the search.
//
// 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].
GetRootCategories(context.Context, *GetRootCategoriesRequest, ...dcerpc.CallOption) (*GetRootCategoriesResponse, error)
// The ICategory::Updates (opnum 16) method retrieves an IUpdateCollection interface
// containing the updates that belong to the update category.
//
// The ISearchResult::Updates (opnum 10) method retrieves the updates found during the
// search.
//
// 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 Updates ADM element.
GetUpdates(context.Context, *GetUpdatesRequest, ...dcerpc.CallOption) (*GetUpdatesResponse, error)
// The ISearchResult::Warnings (opnum 11) method retrieves the warnings generated during
// the search.
//
// 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 Warnings ADM element.
GetWarnings(context.Context, *GetWarningsRequest, ...dcerpc.CallOption) (*GetWarningsResponse, 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) SearchResultClient
}
ISearchResult interface.
func NewSearchResultClient ¶
type SearchResultServer ¶
type SearchResultServer interface {
// IDispatch base class.
idispatch.DispatchServer
// The ISearchResult::ResultCode (opnum 8) method retrieves the result code for the
// search.
//
// The IUpdateHistoryEntry::ResultCode (opnum 9) method describes the result of the
// operation.
//
// 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 ResultCode ADM element.
GetResultCode(context.Context, *GetResultCodeRequest) (*GetResultCodeResponse, error)
// The ISearchResult::RootCategories (opnum 9) method retrieves the root categories
// found during the search.
//
// 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].
GetRootCategories(context.Context, *GetRootCategoriesRequest) (*GetRootCategoriesResponse, error)
// The ICategory::Updates (opnum 16) method retrieves an IUpdateCollection interface
// containing the updates that belong to the update category.
//
// The ISearchResult::Updates (opnum 10) method retrieves the updates found during the
// search.
//
// 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 Updates ADM element.
GetUpdates(context.Context, *GetUpdatesRequest) (*GetUpdatesResponse, error)
// The ISearchResult::Warnings (opnum 11) method retrieves the warnings generated during
// the search.
//
// 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 Warnings ADM element.
GetWarnings(context.Context, *GetWarningsRequest) (*GetWarningsResponse, error)
}
ISearchResult server interface.
type UnimplementedSearchResultServer ¶
type UnimplementedSearchResultServer struct {
idispatch.UnimplementedDispatchServer
}
Unimplemented ISearchResult
func (UnimplementedSearchResultServer) GetResultCode ¶
func (UnimplementedSearchResultServer) GetResultCode(context.Context, *GetResultCodeRequest) (*GetResultCodeResponse, error)
func (UnimplementedSearchResultServer) GetRootCategories ¶
func (UnimplementedSearchResultServer) GetRootCategories(context.Context, *GetRootCategoriesRequest) (*GetRootCategoriesResponse, error)
func (UnimplementedSearchResultServer) GetUpdates ¶
func (UnimplementedSearchResultServer) GetUpdates(context.Context, *GetUpdatesRequest) (*GetUpdatesResponse, error)
func (UnimplementedSearchResultServer) GetWarnings ¶
func (UnimplementedSearchResultServer) GetWarnings(context.Context, *GetWarningsRequest) (*GetWarningsResponse, error)