iremotescmactivator

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Syntax UUID
	RemoteSCMActivatorSyntaxUUID = &uuid.UUID{TimeLow: 0x1a0, TimeMid: 0x0, TimeHiAndVersion: 0x0, ClockSeqHiAndReserved: 0xc0, ClockSeqLow: 0x0, Node: [6]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x46}}
	// Syntax ID
	RemoteSCMActivatorSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: RemoteSCMActivatorSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom"
)

Functions

func NewRemoteSCMActivatorServerHandle

func NewRemoteSCMActivatorServerHandle(o RemoteSCMActivatorServer) dcerpc.ServerHandle

func RegisterRemoteSCMActivatorServer

func RegisterRemoteSCMActivatorServer(conn dcerpc.Conn, o RemoteSCMActivatorServer, opts ...dcerpc.Option)

func RemoteSCMActivatorServerHandle

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

Types

type RemoteCreateInstanceRequest

type RemoteCreateInstanceRequest struct {
	// orpcthis: This MUST specify an ORPCTHIS. The COMVERSION field SHOULD contain the
	// negotiated version as defined in section 1.7. The extensions field MUST be set to
	// NULL.
	ORPCThis *dcom.ORPCThis `idl:"name:orpcthis" json:"orpc_this"`
	// pUnkOuter:  This MUST be NULL and MUST be ignored by the recipient.
	UnknownOuter *dcom.InterfacePointer `idl:"name:pUnkOuter;pointer:unique" json:"unknown_outer"`
	// pActProperties: This MUST specify an MInterfacePointer that MUST contain an OBJREF_CUSTOM
	// with a CLSID field set to CLSID_ActivationPropertiesIn (see section 1.9) and a pObjectData
	// field that MUST contain an activation properties BLOB (see section 2.2.22). The iid
	// field of the OBJREF portion of the structure MUST be set to IID_IActivationPropertiesIn
	// (see section 1.9). An implementation MAY use this value as the IID of an interface
	// with the local IDL attribute (section 2.2.27).<76>
	//
	// The activation properties BLOB MUST contain properties that are marked Required in
	// the following table and MAY contain properties that are marked Optional.
	//
	//	+---------------------------+------------+----------------------+
	//	|         PROPERTY          |            |     REQUIRED OR      |
	//	|           NAME            |  SECTION   |       OPTIONAL       |
	//	|                           |            |                      |
	//	+---------------------------+------------+----------------------+
	//	+---------------------------+------------+----------------------+
	//	| InstantiationInfoData     | 2.2.22.2.1 | Required             |
	//	+---------------------------+------------+----------------------+
	//	| ScmRequestInfoData        | 2.2.22.2.4 | Required             |
	//	+---------------------------+------------+----------------------+
	//	| LocationInfoData          | 2.2.22.2.6 | Required             |
	//	+---------------------------+------------+----------------------+
	//	| SecurityInfoData          | 2.2.22.2.7 | Optional             |
	//	+---------------------------+------------+----------------------+
	//	| ActivationContextInfoData | 2.2.22.2.5 | Optional             |
	//	+---------------------------+------------+----------------------+
	//	| InstanceInfoData          | 2.2.22.2.3 | Optional             |
	//	+---------------------------+------------+----------------------+
	//	| SpecialPropertiesData     | 2.2.22.2.2 | Optional             |
	//	+---------------------------+------------+----------------------+
	ActPropertiesIn *dcom.InterfacePointer `idl:"name:pActProperties;pointer:unique" json:"act_properties_in"`
}

RemoteCreateInstanceRequest structure represents the RemoteCreateInstance operation request

func (*RemoteCreateInstanceRequest) MarshalNDR

func (*RemoteCreateInstanceRequest) UnmarshalNDR

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

type RemoteCreateInstanceResponse

type RemoteCreateInstanceResponse struct {
	// orpcthat: This MUST contain an ORPCTHAT. The extensions field MUST be set to NULL.
	ORPCThat *dcom.ORPCThat `idl:"name:orpcthat" json:"orpc_that"`
	// ppActProperties:  This MUST contain an MInterfacePointer that MUST contain an OBJREF_CUSTOM
	// with a CLSID field set to CLSID_ActivationPropertiesOut (see section 1.9) and a pObjectData
	// field that MUST contain an activation properties BLOB (see section 2.2.22). The iid
	// field of the OBJREF portion of the structure MUST be set to IID_IActivationPropertiesOut
	// (see section 1.9). An implementation MAY use this value as the IID of an interface
	// with the local IDL attribute (section 2.2.27).<78>
	//
	// The activation properties BLOB MUST contain all properties listed in the following
	// table. Clients SHOULD ignore properties that they do not recognize.
	//
	//	+------------------+------------+----------------------+
	//	|     PROPERTY     |            |     REQUIRED OR      |
	//	|       NAME       |  SECTION   |       OPTIONAL       |
	//	|                  |            |                      |
	//	+------------------+------------+----------------------+
	//	+------------------+------------+----------------------+
	//	| ScmReplyInfoData | 2.2.22.2.8 | Required             |
	//	+------------------+------------+----------------------+
	//	| PropsOutInfo     | 2.2.22.2.9 | Required             |
	//	+------------------+------------+----------------------+
	ActPropertiesOut *dcom.InterfacePointer `idl:"name:ppActProperties" json:"act_properties_out"`
	// Return: The RemoteCreateInstance return value.
	Return int32 `idl:"name:Return" json:"return"`
}

RemoteCreateInstanceResponse structure represents the RemoteCreateInstance operation response

func (*RemoteCreateInstanceResponse) MarshalNDR

func (*RemoteCreateInstanceResponse) UnmarshalNDR

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

type RemoteGetClassObjectRequest

type RemoteGetClassObjectRequest struct {
	// orpcthis:  This MUST specify an ORPCTHIS. The COMVERSION field SHOULD contain the
	// negotiated version as specified in section 2.2.11. The extensions field MUST be set
	// to NULL.
	ORPCThis *dcom.ORPCThis `idl:"name:orpcthis" json:"orpc_this"`
	// pActProperties: This MUST specify an MInterfacePointer that MUST contain an OBJREF_CUSTOM
	// with a CLSID field set to CLSID_ActivationPropertiesIn (section 1.9) and a pObjectData
	// field that MUST contain an activation properties BLOB (section 2.2.22). The iid field
	// of the OBJREF portion of the structure MUST be set to IID_IActivationPropertiesIn
	// (see section 1.9). An implementation MAY use this value as the IID of an interface
	// with the local IDL attribute (section 2.2.27).<73>
	//
	// The activation properties BLOB MUST contain properties marked Required in the following
	// table and MAY contain properties marked Optional.
	//
	//	+---------------------------+------------+----------------------+
	//	|         PROPERTY          |            |     REQUIRED OR      |
	//	|           NAME            |  SECTION   |       OPTIONAL       |
	//	|                           |            |                      |
	//	+---------------------------+------------+----------------------+
	//	+---------------------------+------------+----------------------+
	//	| InstantiationInfoData     | 2.2.22.2.1 | Required             |
	//	+---------------------------+------------+----------------------+
	//	| ScmRequestInfoData        | 2.2.22.2.4 | Required             |
	//	+---------------------------+------------+----------------------+
	//	| LocationInfoData          | 2.2.22.2.6 | Required             |
	//	+---------------------------+------------+----------------------+
	//	| SecurityInfoData          | 2.2.22.2.7 | Optional             |
	//	+---------------------------+------------+----------------------+
	//	| ActivationContextInfoData | 2.2.22.2.5 | Optional             |
	//	+---------------------------+------------+----------------------+
	//	| InstanceInfoData          | 2.2.22.2.3 | Optional             |
	//	+---------------------------+------------+----------------------+
	//	| SpecialPropertiesData     | 2.2.22.2.2 | Optional             |
	//	+---------------------------+------------+----------------------+
	ActPropertiesIn *dcom.InterfacePointer `idl:"name:pActProperties;pointer:unique" json:"act_properties_in"`
}

RemoteGetClassObjectRequest structure represents the RemoteGetClassObject operation request

func (*RemoteGetClassObjectRequest) MarshalNDR

func (*RemoteGetClassObjectRequest) UnmarshalNDR

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

type RemoteGetClassObjectResponse

type RemoteGetClassObjectResponse struct {
	// orpcthat: This MUST contain an ORPCTHAT. The extensions field MUST be set to NULL.
	ORPCThat *dcom.ORPCThat `idl:"name:orpcthat" json:"orpc_that"`
	// ppActProperties:  This MUST contain an MInterfacePointer that MUST contain an OBJREF_CUSTOM
	// with a CLSID field set to CLSID_ActivationPropertiesOut (section 1.9) and a pObjectData
	// field that MUST contain an activation properties BLOB (section 2.2.22). The iid field
	// of the OBJREF portion of the structure MUST be set to IID_ IActivationPropertiesOut
	// (see section 1.9). An implementation MAY use this value as the IID of an interface
	// with the local IDL attribute (section 2.2.27).<75>
	//
	// The activation properties BLOB MUST contain all properties listed in the following
	// table. Clients SHOULD ignore properties that they do not recognize.
	//
	//	+------------------+------------+----------------------+
	//	|     PROPERTY     |            |     REQUIRED OR      |
	//	|       NAME       |  SECTION   |       OPTIONAL       |
	//	|                  |            |                      |
	//	+------------------+------------+----------------------+
	//	+------------------+------------+----------------------+
	//	| ScmReplyInfoData | 2.2.22.2.8 | Required             |
	//	+------------------+------------+----------------------+
	//	| PropsOutInfo     | 2.2.22.2.9 | Required             |
	//	+------------------+------------+----------------------+
	ActPropertiesOut *dcom.InterfacePointer `idl:"name:ppActProperties" json:"act_properties_out"`
	// Return: The RemoteGetClassObject return value.
	Return int32 `idl:"name:Return" json:"return"`
}

RemoteGetClassObjectResponse structure represents the RemoteGetClassObject operation response

func (*RemoteGetClassObjectResponse) MarshalNDR

func (*RemoteGetClassObjectResponse) UnmarshalNDR

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

type RemoteSCMActivatorClient

type RemoteSCMActivatorClient interface {

	// The RemoteGetClassObject (Opnum 3) method is used by clients to create an object
	// reference for the class factory object.
	RemoteGetClassObject(context.Context, *RemoteGetClassObjectRequest, ...dcerpc.CallOption) (*RemoteGetClassObjectResponse, error)

	// The RemoteCreateInstance (Opnum 4) method is used by clients to create an object
	// reference for the actual object.
	RemoteCreateInstance(context.Context, *RemoteCreateInstanceRequest, ...dcerpc.CallOption) (*RemoteCreateInstanceResponse, error)

	// AlterContext alters the client context.
	AlterContext(context.Context, ...dcerpc.Option) error
}

IRemoteSCMActivator interface.

func NewRemoteSCMActivatorClient

func NewRemoteSCMActivatorClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (RemoteSCMActivatorClient, error)

type RemoteSCMActivatorServer

type RemoteSCMActivatorServer interface {

	// The RemoteGetClassObject (Opnum 3) method is used by clients to create an object
	// reference for the class factory object.
	RemoteGetClassObject(context.Context, *RemoteGetClassObjectRequest) (*RemoteGetClassObjectResponse, error)

	// The RemoteCreateInstance (Opnum 4) method is used by clients to create an object
	// reference for the actual object.
	RemoteCreateInstance(context.Context, *RemoteCreateInstanceRequest) (*RemoteCreateInstanceResponse, error)
}

IRemoteSCMActivator server interface.

Jump to

Keyboard shortcuts

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