iremunknown2

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IRemUnknown2 interface identifier 00000143-0000-0000-c000-000000000046
	RemoteUnknown2IID = &dcom.IID{Data1: 0x00000143, Data2: 0x0000, Data3: 0x0000, Data4: []byte{0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}}
	// Syntax UUID
	RemoteUnknown2SyntaxUUID = &uuid.UUID{TimeLow: 0x143, TimeMid: 0x0, TimeHiAndVersion: 0x0, ClockSeqHiAndReserved: 0xc0, ClockSeqLow: 0x0, Node: [6]uint8{0x0, 0x0, 0x0, 0x0, 0x0, 0x46}}
	// Syntax ID
	RemoteUnknown2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: RemoteUnknown2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom"
)

Functions

func NewRemoteUnknown2ServerHandle

func NewRemoteUnknown2ServerHandle(o RemoteUnknown2Server) dcerpc.ServerHandle

func RegisterRemoteUnknown2Server

func RegisterRemoteUnknown2Server(conn dcerpc.Conn, o RemoteUnknown2Server, opts ...dcerpc.Option)

func RemoteUnknown2ServerHandle

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

Types

type RemoteQueryInterface2Request

type RemoteQueryInterface2Request struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// ripid:  This MUST specify an IPID that identifies the interface on the object in
	// the object exporter that is queried for more interfaces.
	IPID *dtyp.GUID `idl:"name:ripid" json:"ipid"`
	// cIids:  This MUST specify the number of elements in the iids, phr, and ppMIF parameters.
	IIDsCount uint16 `idl:"name:cIids" json:"iids_count"`
	// iids:  This MUST specify an array of IIDs for which the client requests object references.
	IIDs []*dcom.IID `idl:"name:iids;size_is:(cIids)" json:"iids"`
}

RemoteQueryInterface2Request structure represents the RemQueryInterface2 operation request

func (*RemoteQueryInterface2Request) MarshalNDR

func (*RemoteQueryInterface2Request) UnmarshalNDR

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

type RemoteQueryInterface2Response

type RemoteQueryInterface2Response struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// phr:  This MUST contain an array of HRESULTs specifying the respective success or
	// failure of each query operation.
	HResult []int32 `idl:"name:phr;size_is:(cIids)" json:"hresult"`
	// ppMIF:  This MUST contain an array of MInterfacePointer structures containing the
	// results of each query operation.
	Interface []*dcom.InterfacePointer `idl:"name:ppMIF;size_is:(cIids)" json:"interface"`
	// Return: The RemQueryInterface2 return value.
	Return int32 `idl:"name:Return" json:"return"`
}

RemoteQueryInterface2Response structure represents the RemQueryInterface2 operation response

func (*RemoteQueryInterface2Response) MarshalNDR

func (*RemoteQueryInterface2Response) UnmarshalNDR

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

type RemoteUnknown2Client

type RemoteUnknown2Client interface {

	// IRemUnknown retrieval method.
	RemoteUnknown() iremunknown.RemoteUnknownClient

	// The RemQueryInterface2 (Opnum 6) method acquires standard object references (see
	// section 2.2.18.1) to additional interfaces on the object, marshaled as an MInterfacePointer
	// structure.
	RemoteQueryInterface2(context.Context, *RemoteQueryInterface2Request, ...dcerpc.CallOption) (*RemoteQueryInterface2Response, error)

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

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

IRemUnknown2 interface.

func NewRemoteUnknown2Client

func NewRemoteUnknown2Client(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (RemoteUnknown2Client, error)

type RemoteUnknown2Server

type RemoteUnknown2Server interface {

	// IRemUnknown base class.
	iremunknown.RemoteUnknownServer

	// The RemQueryInterface2 (Opnum 6) method acquires standard object references (see
	// section 2.2.18.1) to additional interfaces on the object, marshaled as an MInterfacePointer
	// structure.
	RemoteQueryInterface2(context.Context, *RemoteQueryInterface2Request) (*RemoteQueryInterface2Response, error)
}

IRemUnknown2 server interface.

Jump to

Keyboard shortcuts

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