isearchresult

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 (
	// 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}
)
View Source
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)

func SearchResultServerHandle

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

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 (o *GetResultCodeRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetResultCodeRequest) UnmarshalNDR

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

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 (o *GetResultCodeResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetResultCodeResponse) UnmarshalNDR

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

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 (o *GetRootCategoriesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetRootCategoriesRequest) UnmarshalNDR

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

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 (o *GetRootCategoriesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetRootCategoriesResponse) UnmarshalNDR

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

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 (o *GetUpdatesRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetUpdatesRequest) UnmarshalNDR

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

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 (o *GetUpdatesResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetUpdatesResponse) UnmarshalNDR

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

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 (o *GetWarningsRequest) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetWarningsRequest) UnmarshalNDR

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

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 (o *GetWarningsResponse) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*GetWarningsResponse) UnmarshalNDR

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

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

func NewSearchResultClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (SearchResultClient, error)

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) GetRootCategories

func (UnimplementedSearchResultServer) GetUpdates

func (UnimplementedSearchResultServer) GetWarnings

Jump to

Keyboard shortcuts

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