Documentation ¶
Index ¶
- Variables
- func FileScreenBaseServerHandle(ctx context.Context, o FileScreenBaseServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewFileScreenBaseServerHandle(o FileScreenBaseServer) dcerpc.ServerHandle
- func RegisterFileScreenBaseServer(conn dcerpc.Conn, o FileScreenBaseServer, opts ...dcerpc.Option)
- type CreateActionRequest
- type CreateActionResponse
- type EnumActionsRequest
- type EnumActionsResponse
- type FileScreenBaseClient
- type FileScreenBaseServer
- type GetBlockedFileGroupsRequest
- type GetBlockedFileGroupsResponse
- type GetFileScreenFlagsRequest
- type GetFileScreenFlagsResponse
- type SetBlockedFileGroupsRequest
- type SetBlockedFileGroupsResponse
- type SetFileScreenFlagsRequest
- type SetFileScreenFlagsResponse
Constants ¶
This section is empty.
Variables ¶
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} )
var (
// import guard
GoPackage = "dcom/fsrm"
)
Functions ¶
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 (*CreateActionRequest) UnmarshalNDR ¶
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 (*CreateActionResponse) UnmarshalNDR ¶
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 (*EnumActionsRequest) UnmarshalNDR ¶
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 (*EnumActionsResponse) UnmarshalNDR ¶
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 // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) FileScreenBaseClient }
IFsrmFileScreenBase interface.
func NewFileScreenBaseClient ¶
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 ¶
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 ¶
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 (*GetFileScreenFlagsRequest) UnmarshalNDR ¶
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 (*GetFileScreenFlagsResponse) UnmarshalNDR ¶
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 ¶
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 ¶
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 (*SetFileScreenFlagsRequest) UnmarshalNDR ¶
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