iservicedcomponentinfo

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IServicedComponentInfo interface identifier 8165b19e-8d3a-4d0b-80c8-97de310db583
	ServicedComponentInfoIID = &dcom.IID{Data1: 0x8165b19e, Data2: 0x8d3a, Data3: 0x4d0b, Data4: []byte{0x80, 0xc8, 0x97, 0xde, 0x31, 0x0d, 0xb5, 0x83}}
	// Syntax UUID
	ServicedComponentInfoSyntaxUUID = &uuid.UUID{TimeLow: 0x8165b19e, TimeMid: 0x8d3a, TimeHiAndVersion: 0x4d0b, ClockSeqHiAndReserved: 0x80, ClockSeqLow: 0xc8, Node: [6]uint8{0x97, 0xde, 0x31, 0xd, 0xb5, 0x83}}
	// Syntax ID
	ServicedComponentInfoSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ServicedComponentInfoSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/ioi"
)

Functions

func NewServicedComponentInfoServerHandle

func NewServicedComponentInfoServerHandle(o ServicedComponentInfoServer) dcerpc.ServerHandle

func RegisterServicedComponentInfoServer

func RegisterServicedComponentInfoServer(conn dcerpc.Conn, o ServicedComponentInfoServer, opts ...dcerpc.Option)

func ServicedComponentInfoServerHandle

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

Types

type GetComponentInfoRequest

type GetComponentInfoRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// infoMask: A bitwise OR of zero of more of the following values:
	//
	//	+------------+----------------------------------------------------------------------------------+
	//	|            |                                                                                  |
	//	|   VALUE    |                                     MEANING                                      |
	//	|            |                                                                                  |
	//	+------------+----------------------------------------------------------------------------------+
	//	+------------+----------------------------------------------------------------------------------+
	//	| 0x00000001 | The serviced component's process identifier (PID).                               |
	//	+------------+----------------------------------------------------------------------------------+
	//	| 0x00000002 | The serviced component's application domain identifier (ID).                     |
	//	+------------+----------------------------------------------------------------------------------+
	//	| 0x00000004 | The serviced component's remote URI [RFC3986], which represents the server       |
	//	|            | object identity.                                                                 |
	//	+------------+----------------------------------------------------------------------------------+
	InfoMask int32 `idl:"name:infoMask" json:"info_mask"`
}

GetComponentInfoRequest structure represents the GetComponentInfo operation request

func (*GetComponentInfoRequest) MarshalNDR

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

func (*GetComponentInfoRequest) UnmarshalNDR

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

type GetComponentInfoResponse

type GetComponentInfoResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// infoMask: A bitwise OR of zero of more of the following values:
	//
	//	+------------+----------------------------------------------------------------------------------+
	//	|            |                                                                                  |
	//	|   VALUE    |                                     MEANING                                      |
	//	|            |                                                                                  |
	//	+------------+----------------------------------------------------------------------------------+
	//	+------------+----------------------------------------------------------------------------------+
	//	| 0x00000001 | The serviced component's process identifier (PID).                               |
	//	+------------+----------------------------------------------------------------------------------+
	//	| 0x00000002 | The serviced component's application domain identifier (ID).                     |
	//	+------------+----------------------------------------------------------------------------------+
	//	| 0x00000004 | The serviced component's remote URI [RFC3986], which represents the server       |
	//	|            | object identity.                                                                 |
	//	+------------+----------------------------------------------------------------------------------+
	InfoMask int32 `idl:"name:infoMask" json:"info_mask"`
	// infoArray: An array that contains a set of values returned by the server corresponding
	// to the bits set in infoMask.
	InfoArray *oaut.SafeArray `idl:"name:infoArray" json:"info_array"`
	// Return: The GetComponentInfo return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetComponentInfoResponse structure represents the GetComponentInfo operation response

func (*GetComponentInfoResponse) MarshalNDR

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

func (*GetComponentInfoResponse) UnmarshalNDR

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

type ServicedComponentInfoClient

type ServicedComponentInfoClient interface {

	// IUnknown retrieval method.
	Unknown() iunknown.UnknownClient

	// The GetComponentInfo method is used to determine the environment of the server object.
	//
	// Return Values: An HRESULT that specifies success or failure. All success HRESULT
	// values MUST be treated as success and all failure HRESULT values MUST be treated
	// as failure.
	GetComponentInfo(context.Context, *GetComponentInfoRequest, ...dcerpc.CallOption) (*GetComponentInfoResponse, error)

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

	// IPID sets the object interface identifier.
	IPID(context.Context, *dcom.IPID) ServicedComponentInfoClient
}

IServicedComponentInfo interface.

func NewServicedComponentInfoClient

func NewServicedComponentInfoClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (ServicedComponentInfoClient, error)

type ServicedComponentInfoServer

type ServicedComponentInfoServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The GetComponentInfo method is used to determine the environment of the server object.
	//
	// Return Values: An HRESULT that specifies success or failure. All success HRESULT
	// values MUST be treated as success and all failure HRESULT values MUST be treated
	// as failure.
	GetComponentInfo(context.Context, *GetComponentInfoRequest) (*GetComponentInfoResponse, error)
}

IServicedComponentInfo server interface.

Jump to

Keyboard shortcuts

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