ifsrmfilescreenbase

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IFsrmFileScreenBase interface identifier f3637e80-5b22-4a2b-a637-bbb642b41cfc
	FileScreenBaseIID = &dcom.IID{Data1: 0xf3637e80, Data2: 0x5b22, Data3: 0x4a2b, Data4: []byte{0xa6, 0x37, 0xbb, 0xb6, 0x42, 0xb4, 0x1c, 0xfc}}
	// Syntax UUID
	FileScreenBaseSyntaxUUID = &uuid.UUID{TimeLow: 0xf3637e80, TimeMid: 0x5b22, TimeHiAndVersion: 0x4a2b, ClockSeqHiAndReserved: 0xa6, ClockSeqLow: 0x37, Node: [6]uint8{0xbb, 0xb6, 0x42, 0xb4, 0x1c, 0xfc}}
	// Syntax ID
	FileScreenBaseSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: FileScreenBaseSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func FileScreenBaseServerHandle

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

func NewFileScreenBaseServerHandle

func NewFileScreenBaseServerHandle(o FileScreenBaseServer) dcerpc.ServerHandle

func RegisterFileScreenBaseServer

func RegisterFileScreenBaseServer(conn dcerpc.Conn, o FileScreenBaseServer, opts ...dcerpc.Option)

Types

type CreateActionRequest

type CreateActionRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// actionType: Contains the type of action to be created.
	ActionType fsrm.ActionType `idl:"name:actionType" json:"action_type"`
}

CreateActionRequest structure represents the CreateAction operation request

func (*CreateActionRequest) MarshalNDR

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

func (*CreateActionRequest) UnmarshalNDR

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

type CreateActionResponse

type CreateActionResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// action: Pointer to an IFsrmAction interface pointer (section 3.2.4.2.4) that upon
	// completion points to the newly created action. A caller MUST release the object received
	// when the caller is done with it.
	Action *fsrm.Action `idl:"name:action" json:"action"`
	// Return: The CreateAction return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CreateActionResponse structure represents the CreateAction operation response

func (*CreateActionResponse) MarshalNDR

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

func (*CreateActionResponse) UnmarshalNDR

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

type EnumActionsRequest

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

EnumActionsRequest structure represents the EnumActions operation request

func (*EnumActionsRequest) MarshalNDR

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

func (*EnumActionsRequest) UnmarshalNDR

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

type EnumActionsResponse

type EnumActionsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// actions: Pointer to an IFsrmCollection interface pointer (section 3.2.4.2.1) that,
	// upon completion, contains IFsrmAction pointers of all the actions for the specified
	// action. A caller MUST release the collection received when the caller is done with
	// it. To get the specific action interface for the action, the caller MUST call QueryInterface
	// for the interface corresponding to the action type of the actions.
	Actions *fsrm.Collection `idl:"name:actions" json:"actions"`
	// Return: The EnumActions return value.
	Return int32 `idl:"name:Return" json:"return"`
}

EnumActionsResponse structure represents the EnumActions operation response

func (*EnumActionsResponse) MarshalNDR

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

func (*EnumActionsResponse) UnmarshalNDR

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

type FileScreenBaseClient

type FileScreenBaseClient interface {

	// IFsrmObject retrieval method.
	Object() ifsrmobject.ObjectClient

	// BlockedFileGroups operation.
	GetBlockedFileGroups(context.Context, *GetBlockedFileGroupsRequest, ...dcerpc.CallOption) (*GetBlockedFileGroupsResponse, error)

	// BlockedFileGroups operation.
	SetBlockedFileGroups(context.Context, *SetBlockedFileGroupsRequest, ...dcerpc.CallOption) (*SetBlockedFileGroupsResponse, error)

	// FileScreenFlags operation.
	GetFileScreenFlags(context.Context, *GetFileScreenFlagsRequest, ...dcerpc.CallOption) (*GetFileScreenFlagsResponse, error)

	// FileScreenFlags operation.
	SetFileScreenFlags(context.Context, *SetFileScreenFlagsRequest, ...dcerpc.CallOption) (*SetFileScreenFlagsResponse, error)

	// The CreateAction method creates an action for this file screen object.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	|              RETURN              |                                                                                  |
	//	|            VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                  |                                                                                  |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045303 FSRM_E_ALREADY_EXISTS | The object already exists.                                                       |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG          | This code is returned for the following reasons: The action parameter            |
	//	|                                  | is NULL. The actionType parameter is not a valid type. If actionType is          |
	//	|                                  | FsrmActionType_Unknown, the parameter MUST be considered an invalid value.       |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	CreateAction(context.Context, *CreateActionRequest, ...dcerpc.CallOption) (*CreateActionResponse, error)

	// The EnumActions method enumerates all the actions for the file screen object.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+--------------------------------+
	//	|         RETURN          |                                |
	//	|       VALUE/CODE        |          DESCRIPTION           |
	//	|                         |                                |
	//	+-------------------------+--------------------------------+
	//	+-------------------------+--------------------------------+
	//	| 0x80070057 E_INVALIDARG | The actions parameter is NULL. |
	//	+-------------------------+--------------------------------+
	EnumActions(context.Context, *EnumActionsRequest, ...dcerpc.CallOption) (*EnumActionsResponse, 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) FileScreenBaseClient
}

IFsrmFileScreenBase interface.

func NewFileScreenBaseClient

func NewFileScreenBaseClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (FileScreenBaseClient, error)

type FileScreenBaseServer

type FileScreenBaseServer interface {

	// IFsrmObject base class.
	ifsrmobject.ObjectServer

	// BlockedFileGroups operation.
	GetBlockedFileGroups(context.Context, *GetBlockedFileGroupsRequest) (*GetBlockedFileGroupsResponse, error)

	// BlockedFileGroups operation.
	SetBlockedFileGroups(context.Context, *SetBlockedFileGroupsRequest) (*SetBlockedFileGroupsResponse, error)

	// FileScreenFlags operation.
	GetFileScreenFlags(context.Context, *GetFileScreenFlagsRequest) (*GetFileScreenFlagsResponse, error)

	// FileScreenFlags operation.
	SetFileScreenFlags(context.Context, *SetFileScreenFlagsRequest) (*SetFileScreenFlagsResponse, error)

	// The CreateAction method creates an action for this file screen object.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	|              RETURN              |                                                                                  |
	//	|            VALUE/CODE            |                                   DESCRIPTION                                    |
	//	|                                  |                                                                                  |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80045303 FSRM_E_ALREADY_EXISTS | The object already exists.                                                       |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG          | This code is returned for the following reasons: The action parameter            |
	//	|                                  | is NULL. The actionType parameter is not a valid type. If actionType is          |
	//	|                                  | FsrmActionType_Unknown, the parameter MUST be considered an invalid value.       |
	//	+----------------------------------+----------------------------------------------------------------------------------+
	CreateAction(context.Context, *CreateActionRequest) (*CreateActionResponse, error)

	// The EnumActions method enumerates all the actions for the file screen object.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+--------------------------------+
	//	|         RETURN          |                                |
	//	|       VALUE/CODE        |          DESCRIPTION           |
	//	|                         |                                |
	//	+-------------------------+--------------------------------+
	//	+-------------------------+--------------------------------+
	//	| 0x80070057 E_INVALIDARG | The actions parameter is NULL. |
	//	+-------------------------+--------------------------------+
	EnumActions(context.Context, *EnumActionsRequest) (*EnumActionsResponse, error)
}

IFsrmFileScreenBase server interface.

type GetBlockedFileGroupsRequest

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

GetBlockedFileGroupsRequest structure represents the BlockedFileGroups operation request

func (*GetBlockedFileGroupsRequest) MarshalNDR

func (*GetBlockedFileGroupsRequest) UnmarshalNDR

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

type GetBlockedFileGroupsResponse

type GetBlockedFileGroupsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That      *dcom.ORPCThat          `idl:"name:That" json:"that"`
	BlockList *fsrm.MutableCollection `idl:"name:blockList" json:"block_list"`
	// Return: The BlockedFileGroups return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetBlockedFileGroupsResponse structure represents the BlockedFileGroups operation response

func (*GetBlockedFileGroupsResponse) MarshalNDR

func (*GetBlockedFileGroupsResponse) UnmarshalNDR

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

type GetFileScreenFlagsRequest

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

GetFileScreenFlagsRequest structure represents the FileScreenFlags operation request

func (*GetFileScreenFlagsRequest) MarshalNDR

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

func (*GetFileScreenFlagsRequest) UnmarshalNDR

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

type GetFileScreenFlagsResponse

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

GetFileScreenFlagsResponse structure represents the FileScreenFlags operation response

func (*GetFileScreenFlagsResponse) MarshalNDR

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

func (*GetFileScreenFlagsResponse) UnmarshalNDR

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

type SetBlockedFileGroupsRequest

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

SetBlockedFileGroupsRequest structure represents the BlockedFileGroups operation request

func (*SetBlockedFileGroupsRequest) MarshalNDR

func (*SetBlockedFileGroupsRequest) UnmarshalNDR

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

type SetBlockedFileGroupsResponse

type SetBlockedFileGroupsResponse 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 BlockedFileGroups return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetBlockedFileGroupsResponse structure represents the BlockedFileGroups operation response

func (*SetBlockedFileGroupsResponse) MarshalNDR

func (*SetBlockedFileGroupsResponse) UnmarshalNDR

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

type SetFileScreenFlagsRequest

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

SetFileScreenFlagsRequest structure represents the FileScreenFlags operation request

func (*SetFileScreenFlagsRequest) MarshalNDR

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

func (*SetFileScreenFlagsRequest) UnmarshalNDR

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

type SetFileScreenFlagsResponse

type SetFileScreenFlagsResponse 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 FileScreenFlags return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetFileScreenFlagsResponse structure represents the FileScreenFlags operation response

func (*SetFileScreenFlagsResponse) MarshalNDR

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

func (*SetFileScreenFlagsResponse) UnmarshalNDR

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

type UnimplementedFileScreenBaseServer added in v1.1.5

type UnimplementedFileScreenBaseServer struct {
	ifsrmobject.UnimplementedObjectServer
}

Unimplemented IFsrmFileScreenBase

func (UnimplementedFileScreenBaseServer) CreateAction added in v1.1.5

func (UnimplementedFileScreenBaseServer) EnumActions added in v1.1.5

func (UnimplementedFileScreenBaseServer) GetBlockedFileGroups added in v1.1.5

func (UnimplementedFileScreenBaseServer) GetFileScreenFlags added in v1.1.5

func (UnimplementedFileScreenBaseServer) SetBlockedFileGroups added in v1.1.5

func (UnimplementedFileScreenBaseServer) SetFileScreenFlags added in v1.1.5

Jump to

Keyboard shortcuts

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