ifsrmproperty

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 (
	// IFsrmProperty interface identifier 4a73fee4-4102-4fcc-9ffb-38614f9ee768
	PropertyIID = &dcom.IID{Data1: 0x4a73fee4, Data2: 0x4102, Data3: 0x4fcc, Data4: []byte{0x9f, 0xfb, 0x38, 0x61, 0x4f, 0x9e, 0xe7, 0x68}}
	// Syntax UUID
	PropertySyntaxUUID = &uuid.UUID{TimeLow: 0x4a73fee4, TimeMid: 0x4102, TimeHiAndVersion: 0x4fcc, ClockSeqHiAndReserved: 0x9f, ClockSeqLow: 0xfb, Node: [6]uint8{0x38, 0x61, 0x4f, 0x9e, 0xe7, 0x68}}
	// Syntax ID
	PropertySyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: PropertySyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func NewPropertyServerHandle

func NewPropertyServerHandle(o PropertyServer) dcerpc.ServerHandle

func PropertyServerHandle

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

func RegisterPropertyServer

func RegisterPropertyServer(conn dcerpc.Conn, o PropertyServer, opts ...dcerpc.Option)

Types

type GetNameRequest

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

GetNameRequest structure represents the Name operation request

func (*GetNameRequest) MarshalNDR

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

func (*GetNameRequest) UnmarshalNDR

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

type GetNameResponse

type GetNameResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	Name *oaut.String   `idl:"name:name" json:"name"`
	// Return: The Name return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetNameResponse structure represents the Name operation response

func (*GetNameResponse) MarshalNDR

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

func (*GetNameResponse) UnmarshalNDR

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

type GetPropertyFlagsRequest

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

GetPropertyFlagsRequest structure represents the PropertyFlags operation request

func (*GetPropertyFlagsRequest) MarshalNDR

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

func (*GetPropertyFlagsRequest) UnmarshalNDR

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

type GetPropertyFlagsResponse

type GetPropertyFlagsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// flags: Pointer to a variable that upon completion contains the property definition
	// instance.flags of the Property Definition Instance.
	Flags int32 `idl:"name:flags" json:"flags"`
	// Return: The PropertyFlags return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetPropertyFlagsResponse structure represents the PropertyFlags operation response

func (*GetPropertyFlagsResponse) MarshalNDR

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

func (*GetPropertyFlagsResponse) UnmarshalNDR

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

type GetSourcesRequest

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

GetSourcesRequest structure represents the Sources operation request

func (*GetSourcesRequest) MarshalNDR

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

func (*GetSourcesRequest) UnmarshalNDR

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

type GetSourcesResponse

type GetSourcesResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// sources: Contains the array of sources for the Property Definition Instance.
	Sources *oaut.SafeArray `idl:"name:sources" json:"sources"`
	// Return: The Sources return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetSourcesResponse structure represents the Sources operation response

func (*GetSourcesResponse) MarshalNDR

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

func (*GetSourcesResponse) UnmarshalNDR

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

type GetValueRequest

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

GetValueRequest structure represents the Value operation request

func (*GetValueRequest) MarshalNDR

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

func (*GetValueRequest) UnmarshalNDR

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

type GetValueResponse

type GetValueResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That  *dcom.ORPCThat `idl:"name:That" json:"that"`
	Value *oaut.String   `idl:"name:value" json:"value"`
	// Return: The Value return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetValueResponse structure represents the Value operation response

func (*GetValueResponse) MarshalNDR

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

func (*GetValueResponse) UnmarshalNDR

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

type PropertyClient

type PropertyClient interface {

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

	// Name operation.
	GetName(context.Context, *GetNameRequest, ...dcerpc.CallOption) (*GetNameResponse, error)

	// Value operation.
	GetValue(context.Context, *GetValueRequest, ...dcerpc.CallOption) (*GetValueResponse, error)

	// The Sources (get) method retrieves the sources for this Property Definition Instance
	// and returns S_OK upon successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	GetSources(context.Context, *GetSourcesRequest, ...dcerpc.CallOption) (*GetSourcesResponse, error)

	// The PropertyFlags (get) retrieves the property definition instance.flags for the
	// Property Definition Instance in an FsrmPropertyFlags (section 2.2.2.6.1.1) enumeration
	// and returns S_OK upon successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+------------------------------+
	//	|         RETURN          |                              |
	//	|       VALUE/CODE        |         DESCRIPTION          |
	//	|                         |                              |
	//	+-------------------------+------------------------------+
	//	+-------------------------+------------------------------+
	//	| 0x80070057 E_INVALIDARG | The flags parameter is NULL. |
	//	+-------------------------+------------------------------+
	GetPropertyFlags(context.Context, *GetPropertyFlagsRequest, ...dcerpc.CallOption) (*GetPropertyFlagsResponse, error)

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

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

IFsrmProperty interface.

func NewPropertyClient

func NewPropertyClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (PropertyClient, error)

type PropertyServer

type PropertyServer interface {

	// IDispatch base class.
	idispatch.DispatchServer

	// Name operation.
	GetName(context.Context, *GetNameRequest) (*GetNameResponse, error)

	// Value operation.
	GetValue(context.Context, *GetValueRequest) (*GetValueResponse, error)

	// The Sources (get) method retrieves the sources for this Property Definition Instance
	// and returns S_OK upon successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	GetSources(context.Context, *GetSourcesRequest) (*GetSourcesResponse, error)

	// The PropertyFlags (get) retrieves the property definition instance.flags for the
	// Property Definition Instance in an FsrmPropertyFlags (section 2.2.2.6.1.1) enumeration
	// and returns S_OK upon successful completion.
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+------------------------------+
	//	|         RETURN          |                              |
	//	|       VALUE/CODE        |         DESCRIPTION          |
	//	|                         |                              |
	//	+-------------------------+------------------------------+
	//	+-------------------------+------------------------------+
	//	| 0x80070057 E_INVALIDARG | The flags parameter is NULL. |
	//	+-------------------------+------------------------------+
	GetPropertyFlags(context.Context, *GetPropertyFlagsRequest) (*GetPropertyFlagsResponse, error)
}

IFsrmProperty server interface.

Jump to

Keyboard shortcuts

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