icomtrackinginfoevents

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IComTrackingInfoEvents interface identifier 4e6cdcc9-fb25-4fd5-9cc5-c9f4b6559cec
	COMTrackingInfoEventsIID = &dcom.IID{Data1: 0x4e6cdcc9, Data2: 0xfb25, Data3: 0x4fd5, Data4: []byte{0x9c, 0xc5, 0xc9, 0xf4, 0xb6, 0x55, 0x9c, 0xec}}
	// Syntax UUID
	COMTrackingInfoEventsSyntaxUUID = &uuid.UUID{TimeLow: 0x4e6cdcc9, TimeMid: 0xfb25, TimeHiAndVersion: 0x4fd5, ClockSeqHiAndReserved: 0x9c, ClockSeqLow: 0xc5, Node: [6]uint8{0xc9, 0xf4, 0xb6, 0x55, 0x9c, 0xec}}
	// Syntax ID
	COMTrackingInfoEventsSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: COMTrackingInfoEventsSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/comt"
)

Functions

func COMTrackingInfoEventsServerHandle

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

func NewCOMTrackingInfoEventsServerHandle

func NewCOMTrackingInfoEventsServerHandle(o COMTrackingInfoEventsServer) dcerpc.ServerHandle

func RegisterCOMTrackingInfoEventsServer

func RegisterCOMTrackingInfoEventsServer(conn dcerpc.Conn, o COMTrackingInfoEventsServer, opts ...dcerpc.Option)

Types

type COMTrackingInfoEventsClient

type COMTrackingInfoEventsClient interface {

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

	// The OnNewTrackingInfo method handles a tracker event from the server.
	//
	// Return Values: The OnNewTrackingInfo method MUST return S_OK (0x00000000) on success
	// and a failure result (as specified in [MS-ERREF] section 2.1) on failure.
	OnNewTrackingInfo(context.Context, *OnNewTrackingInfoRequest, ...dcerpc.CallOption) (*OnNewTrackingInfoResponse, error)

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

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

IComTrackingInfoEvents interface.

func NewCOMTrackingInfoEventsClient

func NewCOMTrackingInfoEventsClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (COMTrackingInfoEventsClient, error)

type COMTrackingInfoEventsServer

type COMTrackingInfoEventsServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The OnNewTrackingInfo method handles a tracker event from the server.
	//
	// Return Values: The OnNewTrackingInfo method MUST return S_OK (0x00000000) on success
	// and a failure result (as specified in [MS-ERREF] section 2.1) on failure.
	OnNewTrackingInfo(context.Context, *OnNewTrackingInfoRequest) (*OnNewTrackingInfoResponse, error)
}

IComTrackingInfoEvents server interface.

type OnNewTrackingInfoRequest

type OnNewTrackingInfoRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pToplevelCollection: An interface pointer of a DCOM object. This MUST be a TrackingInfoCollection
	// OBJREF_CUSTOM (section 2.2.5.5). This collection SHOULD be of type TRKCOLL_PROCESSES
	// (as specified in section 2.2.5.5), and each TrackingInfoObject in the collection
	// SHOULD represent a process on the server. Each process TrackingInfoObject structure
	// SHOULD have the following properties.
	//
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	|   PROPERTY    |     VT     |                                                                                  |
	//	|     NAME      |   VALUE    |                                     MEANING                                      |
	//	|               |            |                                                                                  |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| ProcessID     | 0x00000013 | The process identifier.                                                          |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| ExeName       | 0x00000008 | Implementation-specific identifier of the type of process.<25>                   |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| Paused        | 0x00000013 | TRUE (0x00000001) if the distinguished container for the process is paused;      |
	//	|               |            | otherwise, FALSE (0x00000000).                                                   |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| Recycling     | 0x00000013 | TRUE (0x00000001) if the distinguished instance container for the process is     |
	//	|               |            | recycled; otherwise, FALSE (0x00000000).                                         |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| IsService     | 0x00000013 | TRUE (0x00000001) if the process is a system service; otherwise, FALSE           |
	//	|               |            | (0x00000000). The definition of system service is implementation-specific.<26>   |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| Applications  | 0x0000000D | A TrackingInfoCollection (section 2.2.5.5) of type TRKCOLL_CONTAINERS that       |
	//	|               |            | represents the instance containers in the process.                               |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//
	// Each instance container TrackingInfoObject SHOULD have the following properties.
	//
	//	+-----------------+------------+----------------------------------------------------------------------------------+
	//	|    PROPERTY     |     VT     |                                                                                  |
	//	|      NAME       |   VALUE    |                                     MEANING                                      |
	//	|                 |            |                                                                                  |
	//	+-----------------+------------+----------------------------------------------------------------------------------+
	//	+-----------------+------------+----------------------------------------------------------------------------------+
	//	| ApplicationID   | 0x00000008 | The CurlyBraceGuidString (section 2.2.1) representation of the conglomeration    |
	//	|                 |            | identifier of the conglomeration that is associated with the instance container. |
	//	+-----------------+------------+----------------------------------------------------------------------------------+
	//	| ApplInstanceID  | 0x00000008 | The CurlyBraceGuidString (section 2.2.1) representation of the container         |
	//	|                 |            | identifier of the instance container.                                            |
	//	+-----------------+------------+----------------------------------------------------------------------------------+
	//	| ApplicationType | 0x00000013 | An implementation-specific<27> integer that identifies the type of instance      |
	//	|                 |            | container.                                                                       |
	//	+-----------------+------------+----------------------------------------------------------------------------------+
	//	| PartitionID     | 0x00000008 | The CurlyBraceGuidString (section 2.2.1) representation of the Partition ID of   |
	//	|                 |            | the conglomeration.                                                              |
	//	+-----------------+------------+----------------------------------------------------------------------------------+
	//	| Name            | 0x00000008 | An implementation-specific<28> Unicode string that provides a human-readable     |
	//	|                 |            | name for the conglomeration that is associated with the instance container.      |
	//	+-----------------+------------+----------------------------------------------------------------------------------+
	//	| Components      | 0x0000000D | A TrackingInfoCollection (section 2.2.5.5) of type TRKCOLL_COMPONENTS that       |
	//	|                 |            | represents the components instantiated in the instance container.                |
	//	+-----------------+------------+----------------------------------------------------------------------------------+
	//
	// Each component TrackingInfoObject SHOULD have the following properties:
	//
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	|   PROPERTY    |     VT     |                                                                                  |
	//	|     NAME      |   VALUE    |                                     MEANING                                      |
	//	|               |            |                                                                                  |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| CLSID         | 0x00000008 | The CurlyBraceGuidString (section 2.2.1) representation of the CLSID of the      |
	//	|               |            | component.                                                                       |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| Objects       | 0x00000013 | The number of component instances for the component in an instance container.    |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| Activated     | 0x00000013 | The number of active component instances for the component in an instance        |
	//	|               |            | container.                                                                       |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| Pooled        | 0x00000013 | The number of pooled component instances for the component in an instance        |
	//	|               |            | container.                                                                       |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| InCall        | 0x00000013 | The number of component instances for the component in an instance container     |
	//	|               |            | that are currently performing a method call.                                     |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| CallTime      | 0x00000013 | A value that indicates the average amount of time, in milliseconds, that it      |
	//	|               |            | takes to complete method calls to component instances for the component. The     |
	//	|               |            | calculation of this value is implementation-specific.<29>                        |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	//	| Name          | 0x00000008 | An implementation-specific Unicode string that provides a human-readable name    |
	//	|               |            | for the component.<30>                                                           |
	//	+---------------+------------+----------------------------------------------------------------------------------+
	ToplevelCollection *dcom.Unknown `idl:"name:pToplevelCollection" json:"toplevel_collection"`
}

OnNewTrackingInfoRequest structure represents the OnNewTrackingInfo operation request

func (*OnNewTrackingInfoRequest) MarshalNDR

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

func (*OnNewTrackingInfoRequest) UnmarshalNDR

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

type OnNewTrackingInfoResponse

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

OnNewTrackingInfoResponse structure represents the OnNewTrackingInfo operation response

func (*OnNewTrackingInfoResponse) MarshalNDR

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

func (*OnNewTrackingInfoResponse) UnmarshalNDR

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

Jump to

Keyboard shortcuts

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