ifsrmreport

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IFsrmReport interface identifier d8cc81d9-46b8-4fa4-bfa5-4aa9dec9b638
	ReportIID = &dcom.IID{Data1: 0xd8cc81d9, Data2: 0x46b8, Data3: 0x4fa4, Data4: []byte{0xbf, 0xa5, 0x4a, 0xa9, 0xde, 0xc9, 0xb6, 0x38}}
	// Syntax UUID
	ReportSyntaxUUID = &uuid.UUID{TimeLow: 0xd8cc81d9, TimeMid: 0x46b8, TimeHiAndVersion: 0x4fa4, ClockSeqHiAndReserved: 0xbf, ClockSeqLow: 0xa5, Node: [6]uint8{0x4a, 0xa9, 0xde, 0xc9, 0xb6, 0x38}}
	// Syntax ID
	ReportSyntaxV1_0 = &dcerpc.SyntaxID{IfUUID: ReportSyntaxUUID, IfVersionMajor: 1, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func NewReportServerHandle

func NewReportServerHandle(o ReportServer) dcerpc.ServerHandle

func RegisterReportServer

func RegisterReportServer(conn dcerpc.Conn, o ReportServer, opts ...dcerpc.Option)

func ReportServerHandle

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

Types

type DeleteRequest

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

DeleteRequest structure represents the Delete operation request

func (*DeleteRequest) MarshalNDR

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

func (*DeleteRequest) UnmarshalNDR

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

type DeleteResponse

type DeleteResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The Delete return value.
	Return int32 `idl:"name:Return" json:"return"`
}

DeleteResponse structure represents the Delete operation response

func (*DeleteResponse) MarshalNDR

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

func (*DeleteResponse) UnmarshalNDR

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

type GetDescriptionRequest

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

GetDescriptionRequest structure represents the Description operation request

func (*GetDescriptionRequest) MarshalNDR

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

func (*GetDescriptionRequest) UnmarshalNDR

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

type GetDescriptionResponse

type GetDescriptionResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That        *dcom.ORPCThat `idl:"name:That" json:"that"`
	Description *oaut.String   `idl:"name:description" json:"description"`
	// Return: The Description return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetDescriptionResponse structure represents the Description operation response

func (*GetDescriptionResponse) MarshalNDR

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

func (*GetDescriptionResponse) UnmarshalNDR

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

type GetFilterRequest

type GetFilterRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// filter: Contains the value from the FsrmReportFilter (section 2.2.1.2.16) enumeration
	// of the filter to get.
	Filter fsrm.ReportFilter `idl:"name:filter" json:"filter"`
}

GetFilterRequest structure represents the GetFilter operation request

func (*GetFilterRequest) MarshalNDR

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

func (*GetFilterRequest) UnmarshalNDR

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

type GetFilterResponse

type GetFilterResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// filterValue: Pointer to a variable that upon completion contains the value of the
	// specified filter for the specified report type.
	FilterValue *oaut.Variant `idl:"name:filterValue" json:"filter_value"`
	// Return: The GetFilter return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetFilterResponse structure represents the GetFilter operation response

func (*GetFilterResponse) MarshalNDR

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

func (*GetFilterResponse) UnmarshalNDR

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

type GetLastGeneratedFileNamePrefixRequest

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

GetLastGeneratedFileNamePrefixRequest structure represents the LastGeneratedFileNamePrefix operation request

func (*GetLastGeneratedFileNamePrefixRequest) MarshalNDR

func (*GetLastGeneratedFileNamePrefixRequest) UnmarshalNDR

type GetLastGeneratedFileNamePrefixResponse

type GetLastGeneratedFileNamePrefixResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// prefix: Pointer to a variable that upon completion contains the last generated file
	// name prefix of the report.
	Prefix *oaut.String `idl:"name:prefix" json:"prefix"`
	// Return: The LastGeneratedFileNamePrefix return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetLastGeneratedFileNamePrefixResponse structure represents the LastGeneratedFileNamePrefix operation response

func (*GetLastGeneratedFileNamePrefixResponse) MarshalNDR

func (*GetLastGeneratedFileNamePrefixResponse) UnmarshalNDR

type GetNameRequest

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

GetNameRequest structure represents the Name operation request

func (*GetNameRequest) MarshalNDR

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

func (*GetNameRequest) UnmarshalNDR

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

type GetNameResponse

type GetNameResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	Name *oaut.String   `idl:"name:name" json:"name"`
	// Return: The Name return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetNameResponse structure represents the Name operation response

func (*GetNameResponse) MarshalNDR

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

func (*GetNameResponse) UnmarshalNDR

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

type GetTypeRequest

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

GetTypeRequest structure represents the Type operation request

func (*GetTypeRequest) MarshalNDR

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

func (*GetTypeRequest) UnmarshalNDR

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

type GetTypeResponse

type GetTypeResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That       *dcom.ORPCThat  `idl:"name:That" json:"that"`
	ReportType fsrm.ReportType `idl:"name:reportType" json:"report_type"`
	// Return: The Type return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetTypeResponse structure represents the Type operation response

func (*GetTypeResponse) MarshalNDR

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

func (*GetTypeResponse) UnmarshalNDR

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

type ReportClient

type ReportClient interface {

	// IDispatch retrieval method.
	Dispatch() idispatch.DispatchClient

	// Type operation.
	GetType(context.Context, *GetTypeRequest, ...dcerpc.CallOption) (*GetTypeResponse, error)

	// Name operation.
	GetName(context.Context, *GetNameRequest, ...dcerpc.CallOption) (*GetNameResponse, error)

	// Name operation.
	SetName(context.Context, *SetNameRequest, ...dcerpc.CallOption) (*SetNameResponse, error)

	// Description operation.
	GetDescription(context.Context, *GetDescriptionRequest, ...dcerpc.CallOption) (*GetDescriptionResponse, error)

	// Description operation.
	SetDescription(context.Context, *SetDescriptionRequest, ...dcerpc.CallOption) (*SetDescriptionResponse, error)

	// The LastGeneratedFileNamePrefix (get) method retrieves the last generated file name
	// prefix of the report for the most recently generated report and returns S_OK upon
	// successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+-------------------------------+
	//	|         RETURN          |                               |
	//	|       VALUE/CODE        |          DESCRIPTION          |
	//	|                         |                               |
	//	+-------------------------+-------------------------------+
	//	+-------------------------+-------------------------------+
	//	| 0x80070057 E_INVALIDARG | The prefix parameter is NULL. |
	//	+-------------------------+-------------------------------+
	GetLastGeneratedFileNamePrefix(context.Context, *GetLastGeneratedFileNamePrefixRequest, ...dcerpc.CallOption) (*GetLastGeneratedFileNamePrefixResponse, error)

	// The GetFilter method returns the current value of the specified report filter for
	// the report object.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The filter parameter is not a   |
	//	|                         | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is  |
	//	|                         | NULL.                                                                            |
	//	+-------------------------+----------------------------------------------------------------------------------+
	GetFilter(context.Context, *GetFilterRequest, ...dcerpc.CallOption) (*GetFilterResponse, error)

	// The SetFilter method sets the value of the specified report filter for the report
	// object. The filter value will override the default value set by using the IFsrmReportManager::SetDefaultFilter
	// (section 3.2.4.2.33.8) method.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The filter parameter is not a   |
	//	|                         | valid FsrmReportFilter (section 2.2.1.2.16) value. An attempt was made to set    |
	//	|                         | the FsrmReportFilter_Property filter value with a supplied value that is not in  |
	//	|                         | a valid property name format, or the property does not exist. The variant does   |
	//	|                         | not have the correct member set for the filter. The string filter values are not |
	//	|                         | valid characters.                                                                |
	//	+-------------------------+----------------------------------------------------------------------------------+
	SetFilter(context.Context, *SetFilterRequest, ...dcerpc.CallOption) (*SetFilterResponse, error)

	// Delete operation.
	Delete(context.Context, *DeleteRequest, ...dcerpc.CallOption) (*DeleteResponse, 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) ReportClient
}

IFsrmReport interface.

func NewReportClient

func NewReportClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ReportClient, error)

type ReportServer

type ReportServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// Type operation.
	GetType(context.Context, *GetTypeRequest) (*GetTypeResponse, error)

	// Name operation.
	GetName(context.Context, *GetNameRequest) (*GetNameResponse, error)

	// Name operation.
	SetName(context.Context, *SetNameRequest) (*SetNameResponse, error)

	// Description operation.
	GetDescription(context.Context, *GetDescriptionRequest) (*GetDescriptionResponse, error)

	// Description operation.
	SetDescription(context.Context, *SetDescriptionRequest) (*SetDescriptionResponse, error)

	// The LastGeneratedFileNamePrefix (get) method retrieves the last generated file name
	// prefix of the report for the most recently generated report and returns S_OK upon
	// successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+-------------------------------+
	//	|         RETURN          |                               |
	//	|       VALUE/CODE        |          DESCRIPTION          |
	//	|                         |                               |
	//	+-------------------------+-------------------------------+
	//	+-------------------------+-------------------------------+
	//	| 0x80070057 E_INVALIDARG | The prefix parameter is NULL. |
	//	+-------------------------+-------------------------------+
	GetLastGeneratedFileNamePrefix(context.Context, *GetLastGeneratedFileNamePrefixRequest) (*GetLastGeneratedFileNamePrefixResponse, error)

	// The GetFilter method returns the current value of the specified report filter for
	// the report object.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The filter parameter is not a   |
	//	|                         | valid FsrmReportFilter (section 2.2.1.2.16) value. The filterValue parameter is  |
	//	|                         | NULL.                                                                            |
	//	+-------------------------+----------------------------------------------------------------------------------+
	GetFilter(context.Context, *GetFilterRequest) (*GetFilterResponse, error)

	// The SetFilter method sets the value of the specified report filter for the report
	// object. The filter value will override the default value set by using the IFsrmReportManager::SetDefaultFilter
	// (section 3.2.4.2.33.8) method.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The filter parameter is not a   |
	//	|                         | valid FsrmReportFilter (section 2.2.1.2.16) value. An attempt was made to set    |
	//	|                         | the FsrmReportFilter_Property filter value with a supplied value that is not in  |
	//	|                         | a valid property name format, or the property does not exist. The variant does   |
	//	|                         | not have the correct member set for the filter. The string filter values are not |
	//	|                         | valid characters.                                                                |
	//	+-------------------------+----------------------------------------------------------------------------------+
	SetFilter(context.Context, *SetFilterRequest) (*SetFilterResponse, error)

	// Delete operation.
	Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
}

IFsrmReport server interface.

type SetDescriptionRequest

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

SetDescriptionRequest structure represents the Description operation request

func (*SetDescriptionRequest) MarshalNDR

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

func (*SetDescriptionRequest) UnmarshalNDR

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

type SetDescriptionResponse

type SetDescriptionResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The Description return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetDescriptionResponse structure represents the Description operation response

func (*SetDescriptionResponse) MarshalNDR

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

func (*SetDescriptionResponse) UnmarshalNDR

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

type SetFilterRequest

type SetFilterRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// filter: Contains the value from the FsrmReportFilter (section 2.2.1.2.16) enumeration
	// of the filter to set.
	Filter fsrm.ReportFilter `idl:"name:filter" json:"filter"`
	// filterValue: Contains the value of the specified filter for the specified report
	// type.
	FilterValue *oaut.Variant `idl:"name:filterValue" json:"filter_value"`
}

SetFilterRequest structure represents the SetFilter operation request

func (*SetFilterRequest) MarshalNDR

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

func (*SetFilterRequest) UnmarshalNDR

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

type SetFilterResponse

type SetFilterResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The SetFilter return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetFilterResponse structure represents the SetFilter operation response

func (*SetFilterResponse) MarshalNDR

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

func (*SetFilterResponse) UnmarshalNDR

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

type SetNameRequest

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

SetNameRequest structure represents the Name operation request

func (*SetNameRequest) MarshalNDR

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

func (*SetNameRequest) UnmarshalNDR

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

type SetNameResponse

type SetNameResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Return: The Name return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetNameResponse structure represents the Name operation response

func (*SetNameResponse) MarshalNDR

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

func (*SetNameResponse) UnmarshalNDR

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

type UnimplementedReportServer added in v1.1.5

type UnimplementedReportServer struct {
	idispatch.UnimplementedDispatchServer
}

Unimplemented IFsrmReport

func (UnimplementedReportServer) Delete added in v1.1.5

func (UnimplementedReportServer) GetDescription added in v1.1.5

func (UnimplementedReportServer) GetFilter added in v1.1.5

func (UnimplementedReportServer) GetLastGeneratedFileNamePrefix added in v1.1.5

func (UnimplementedReportServer) GetName added in v1.1.5

func (UnimplementedReportServer) GetType added in v1.1.5

func (UnimplementedReportServer) SetDescription added in v1.1.5

func (UnimplementedReportServer) SetFilter added in v1.1.5

func (UnimplementedReportServer) SetName added in v1.1.5

Jump to

Keyboard shortcuts

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