itracedataprovidercollection

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ITraceDataProviderCollection interface identifier 03837510-098b-11d8-9414-505054503030
	TraceDataProviderCollectionIID = &dcom.IID{Data1: 0x03837510, Data2: 0x098b, Data3: 0x11d8, Data4: []byte{0x94, 0x14, 0x50, 0x50, 0x54, 0x50, 0x30, 0x30}}
	// Syntax UUID
	TraceDataProviderCollectionSyntaxUUID = &uuid.UUID{TimeLow: 0x3837510, TimeMid: 0x98b, TimeHiAndVersion: 0x11d8, ClockSeqHiAndReserved: 0x94, ClockSeqLow: 0x14, Node: [6]uint8{0x50, 0x50, 0x54, 0x50, 0x30, 0x30}}
	// Syntax ID
	TraceDataProviderCollectionSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: TraceDataProviderCollectionSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/pla"
)

Functions

func RegisterTraceDataProviderCollectionServer

func RegisterTraceDataProviderCollectionServer(conn dcerpc.Conn, o TraceDataProviderCollectionServer, opts ...dcerpc.Option)

func TraceDataProviderCollectionServerHandle

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

Types

type AddRangeRequest

type AddRangeRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This      *dcom.ORPCThis                   `idl:"name:This" json:"this"`
	Providers *pla.TraceDataProviderCollection `idl:"name:providers" json:"providers"`
}

AddRangeRequest structure represents the AddRange operation request

func (*AddRangeRequest) MarshalNDR

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

func (*AddRangeRequest) UnmarshalNDR

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

type AddRangeResponse

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

AddRangeResponse structure represents the AddRange operation response

func (*AddRangeResponse) MarshalNDR

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

func (*AddRangeResponse) UnmarshalNDR

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

type AddRequest

type AddRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This     *dcom.ORPCThis         `idl:"name:This" json:"this"`
	Provider *pla.TraceDataProvider `idl:"name:pProvider" json:"provider"`
}

AddRequest structure represents the Add operation request

func (*AddRequest) MarshalNDR

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

func (*AddRequest) UnmarshalNDR

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

type AddResponse

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

AddResponse structure represents the Add operation response

func (*AddResponse) MarshalNDR

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

func (*AddResponse) UnmarshalNDR

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

type ClearRequest

type ClearRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

ClearRequest structure represents the Clear operation request

func (*ClearRequest) MarshalNDR

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

func (*ClearRequest) UnmarshalNDR

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

type ClearResponse

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

ClearResponse structure represents the Clear operation response

func (*ClearResponse) MarshalNDR

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

func (*ClearResponse) UnmarshalNDR

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

type CreateTraceDataProviderRequest

type CreateTraceDataProviderRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

CreateTraceDataProviderRequest structure represents the CreateTraceDataProvider operation request

func (*CreateTraceDataProviderRequest) MarshalNDR

func (*CreateTraceDataProviderRequest) UnmarshalNDR

type CreateTraceDataProviderResponse

type CreateTraceDataProviderResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// Provider: Receives a pointer to a newly create event trace data provider object.
	Provider *pla.TraceDataProvider `idl:"name:Provider" json:"provider"`
	// Return: The CreateTraceDataProvider return value.
	Return int32 `idl:"name:Return" json:"return"`
}

CreateTraceDataProviderResponse structure represents the CreateTraceDataProvider operation response

func (*CreateTraceDataProviderResponse) MarshalNDR

func (*CreateTraceDataProviderResponse) UnmarshalNDR

type GetCountRequest

type GetCountRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetCountRequest structure represents the Count operation request

func (*GetCountRequest) MarshalNDR

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

func (*GetCountRequest) UnmarshalNDR

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

type GetCountResponse

type GetCountResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That        *dcom.ORPCThat `idl:"name:That" json:"that"`
	ReturnValue int32          `idl:"name:retVal" json:"return_value"`
	// Return: The Count return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetCountResponse structure represents the Count operation response

func (*GetCountResponse) MarshalNDR

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

func (*GetCountResponse) UnmarshalNDR

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

type GetItemRequest

type GetItemRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This  *dcom.ORPCThis `idl:"name:This" json:"this"`
	Index *oaut.Variant  `idl:"name:index" json:"index"`
}

GetItemRequest structure represents the Item operation request

func (*GetItemRequest) MarshalNDR

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

func (*GetItemRequest) UnmarshalNDR

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

type GetItemResponse

type GetItemResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That     *dcom.ORPCThat         `idl:"name:That" json:"that"`
	Provider *pla.TraceDataProvider `idl:"name:ppProvider" json:"provider"`
	// Return: The Item return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetItemResponse structure represents the Item operation response

func (*GetItemResponse) MarshalNDR

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

func (*GetItemResponse) UnmarshalNDR

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

type GetTraceDataProvidersByProcessRequest

type GetTraceDataProvidersByProcessRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// Server: Not used.
	Server *oaut.String `idl:"name:Server;pointer:unique" json:"server"`
	// Pid: The Process identifier of the process that registered the providers.
	PID uint32 `idl:"name:Pid" json:"pid"`
}

GetTraceDataProvidersByProcessRequest structure represents the GetTraceDataProvidersByProcess operation request

func (*GetTraceDataProvidersByProcessRequest) MarshalNDR

func (*GetTraceDataProvidersByProcessRequest) UnmarshalNDR

type GetTraceDataProvidersByProcessResponse

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

GetTraceDataProvidersByProcessResponse structure represents the GetTraceDataProvidersByProcess operation response

func (*GetTraceDataProvidersByProcessResponse) MarshalNDR

func (*GetTraceDataProvidersByProcessResponse) UnmarshalNDR

type GetTraceDataProvidersRequest

type GetTraceDataProvidersRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// server: Not used.
	Server *oaut.String `idl:"name:server;pointer:unique" json:"server"`
}

GetTraceDataProvidersRequest structure represents the GetTraceDataProviders operation request

func (*GetTraceDataProvidersRequest) MarshalNDR

func (*GetTraceDataProvidersRequest) UnmarshalNDR

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

type GetTraceDataProvidersResponse

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

GetTraceDataProvidersResponse structure represents the GetTraceDataProviders operation response

func (*GetTraceDataProvidersResponse) MarshalNDR

func (*GetTraceDataProvidersResponse) UnmarshalNDR

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

type Get_NewEnumRequest

type Get_NewEnumRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

Get_NewEnumRequest structure represents the _NewEnum operation request

func (*Get_NewEnumRequest) MarshalNDR

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

func (*Get_NewEnumRequest) UnmarshalNDR

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

type Get_NewEnumResponse

type Get_NewEnumResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That        *dcom.ORPCThat `idl:"name:That" json:"that"`
	ReturnValue *dcom.Unknown  `idl:"name:retVal" json:"return_value"`
	// Return: The _NewEnum return value.
	Return int32 `idl:"name:Return" json:"return"`
}

Get_NewEnumResponse structure represents the _NewEnum operation response

func (*Get_NewEnumResponse) MarshalNDR

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

func (*Get_NewEnumResponse) UnmarshalNDR

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

type RemoveRequest

type RemoveRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This      *dcom.ORPCThis `idl:"name:This" json:"this"`
	VProvider *oaut.Variant  `idl:"name:vProvider" json:"v_provider"`
}

RemoveRequest structure represents the Remove operation request

func (*RemoveRequest) MarshalNDR

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

func (*RemoveRequest) UnmarshalNDR

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

type RemoveResponse

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

RemoveResponse structure represents the Remove operation response

func (*RemoveResponse) MarshalNDR

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

func (*RemoveResponse) UnmarshalNDR

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

type TraceDataProviderCollectionClient

type TraceDataProviderCollectionClient interface {

	// IDispatch retrieval method.
	Dispatch() idispatch.DispatchClient

	// Count operation.
	GetCount(context.Context, *GetCountRequest, ...dcerpc.CallOption) (*GetCountResponse, error)

	// Item operation.
	GetItem(context.Context, *GetItemRequest, ...dcerpc.CallOption) (*GetItemResponse, error)

	// _NewEnum operation.
	Get_NewEnum(context.Context, *Get_NewEnumRequest, ...dcerpc.CallOption) (*Get_NewEnumResponse, error)

	// Add operation.
	Add(context.Context, *AddRequest, ...dcerpc.CallOption) (*AddResponse, error)

	// Remove operation.
	Remove(context.Context, *RemoveRequest, ...dcerpc.CallOption) (*RemoveResponse, error)

	// Clear operation.
	Clear(context.Context, *ClearRequest, ...dcerpc.CallOption) (*ClearResponse, error)

	// AddRange operation.
	AddRange(context.Context, *AddRangeRequest, ...dcerpc.CallOption) (*AddRangeResponse, error)

	// The CreateTraceDataProvider method creates a trace data provider object.
	//
	// Return Values: This method MUST return an HRESULT with the severity bit clear on
	// success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as
	// defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.
	CreateTraceDataProvider(context.Context, *CreateTraceDataProviderRequest, ...dcerpc.CallOption) (*CreateTraceDataProviderResponse, error)

	// The GetTraceDataProviders method populates the collection with the registered trace
	// providers.
	//
	// Return Values: This method MUST return an HRESULT with the severity bit clear on
	// success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as
	// defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.
	GetTraceDataProviders(context.Context, *GetTraceDataProvidersRequest, ...dcerpc.CallOption) (*GetTraceDataProvidersResponse, error)

	// The GetTraceDataProvidersByProcess method populates the collection with the list
	// of providers that were registered by the given process.
	//
	// Return Values: This method MUST return an HRESULT with the severity bit clear on
	// success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as
	// defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.
	GetTraceDataProvidersByProcess(context.Context, *GetTraceDataProvidersByProcessRequest, ...dcerpc.CallOption) (*GetTraceDataProvidersByProcessResponse, error)

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

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

ITraceDataProviderCollection interface.

func NewTraceDataProviderCollectionClient

func NewTraceDataProviderCollectionClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (TraceDataProviderCollectionClient, error)

type TraceDataProviderCollectionServer

type TraceDataProviderCollectionServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// Count operation.
	GetCount(context.Context, *GetCountRequest) (*GetCountResponse, error)

	// Item operation.
	GetItem(context.Context, *GetItemRequest) (*GetItemResponse, error)

	// _NewEnum operation.
	Get_NewEnum(context.Context, *Get_NewEnumRequest) (*Get_NewEnumResponse, error)

	// Add operation.
	Add(context.Context, *AddRequest) (*AddResponse, error)

	// Remove operation.
	Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)

	// Clear operation.
	Clear(context.Context, *ClearRequest) (*ClearResponse, error)

	// AddRange operation.
	AddRange(context.Context, *AddRangeRequest) (*AddRangeResponse, error)

	// The CreateTraceDataProvider method creates a trace data provider object.
	//
	// Return Values: This method MUST return an HRESULT with the severity bit clear on
	// success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as
	// defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.
	CreateTraceDataProvider(context.Context, *CreateTraceDataProviderRequest) (*CreateTraceDataProviderResponse, error)

	// The GetTraceDataProviders method populates the collection with the registered trace
	// providers.
	//
	// Return Values: This method MUST return an HRESULT with the severity bit clear on
	// success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as
	// defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.
	GetTraceDataProviders(context.Context, *GetTraceDataProvidersRequest) (*GetTraceDataProvidersResponse, error)

	// The GetTraceDataProvidersByProcess method populates the collection with the list
	// of providers that were registered by the given process.
	//
	// Return Values: This method MUST return an HRESULT with the severity bit clear on
	// success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as
	// defined in 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.
	GetTraceDataProvidersByProcess(context.Context, *GetTraceDataProvidersByProcessRequest) (*GetTraceDataProvidersByProcessResponse, error)
}

ITraceDataProviderCollection server interface.

Jump to

Keyboard shortcuts

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