ifsrmquotamanagerex

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IFsrmQuotaManagerEx interface identifier 4846cb01-d430-494f-abb4-b1054999fb09
	QuotaManagerExIID = &dcom.IID{Data1: 0x4846cb01, Data2: 0xd430, Data3: 0x494f, Data4: []byte{0xab, 0xb4, 0xb1, 0x05, 0x49, 0x99, 0xfb, 0x09}}
	// Syntax UUID
	QuotaManagerExSyntaxUUID = &uuid.UUID{TimeLow: 0x4846cb01, TimeMid: 0xd430, TimeHiAndVersion: 0x494f, ClockSeqHiAndReserved: 0xab, ClockSeqLow: 0xb4, Node: [6]uint8{0xb1, 0x5, 0x49, 0x99, 0xfb, 0x9}}
	// Syntax ID
	QuotaManagerExSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: QuotaManagerExSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/fsrm"
)

Functions

func NewQuotaManagerExServerHandle

func NewQuotaManagerExServerHandle(o QuotaManagerExServer) dcerpc.ServerHandle

func QuotaManagerExServerHandle

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

func RegisterQuotaManagerExServer

func RegisterQuotaManagerExServer(conn dcerpc.Conn, o QuotaManagerExServer, opts ...dcerpc.Option)

Types

type IsAffectedByQuotaRequest

type IsAffectedByQuotaRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// path: The local directory path to determine whether a Persisted Directory Quota applies.
	// The maximum length of this string MUST be 260 characters.
	Path *oaut.String `idl:"name:path" json:"path"`
	// options: The options to use when checking for a Persisted Directory Quota. For possible
	// values, see the FsrmEnumOptions (section 2.2.1.2.5) enumeration. It is ignored on
	// receipt.
	Options fsrm.EnumOptions `idl:"name:options" json:"options"`
}

IsAffectedByQuotaRequest structure represents the IsAffectedByQuota operation request

func (*IsAffectedByQuotaRequest) MarshalNDR

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

func (*IsAffectedByQuotaRequest) UnmarshalNDR

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

type IsAffectedByQuotaResponse

type IsAffectedByQuotaResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// affected: Pointer to a Boolean variable that returns whether a specified path is
	// subject to a Persisted Directory Quota.
	Affected int16 `idl:"name:affected" json:"affected"`
	// Return: The IsAffectedByQuota return value.
	Return int32 `idl:"name:Return" json:"return"`
}

IsAffectedByQuotaResponse structure represents the IsAffectedByQuota operation response

func (*IsAffectedByQuotaResponse) MarshalNDR

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

func (*IsAffectedByQuotaResponse) UnmarshalNDR

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

type QuotaManagerExClient

type QuotaManagerExClient interface {

	// IFsrmQuotaManager retrieval method.
	QuotaManager() ifsrmquotamanager.QuotaManagerClient

	// The IsAffectedByQuota method retrieves a value that determines whether a specified
	// path is subject to a Persisted Directory Quota (section 3.2.1.2.1.1).
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The affected parameter is NULL. |
	//	|                         | The options parameter is not a valid FsrmEnumOptions (section 2.2.1.2.5) value.  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80004003 E_POINTER    | The path parameter is NULL.                                                      |
	//	+-------------------------+----------------------------------------------------------------------------------+
	IsAffectedByQuota(context.Context, *IsAffectedByQuotaRequest, ...dcerpc.CallOption) (*IsAffectedByQuotaResponse, error)

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

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

IFsrmQuotaManagerEx interface.

func NewQuotaManagerExClient

func NewQuotaManagerExClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (QuotaManagerExClient, error)

type QuotaManagerExServer

type QuotaManagerExServer interface {

	// IFsrmQuotaManager base class.
	ifsrmquotamanager.QuotaManagerServer

	// The IsAffectedByQuota method retrieves a value that determines whether a specified
	// path is subject to a Persisted Directory Quota (section 3.2.1.2.1.1).
	//
	// Return Values: The method MUST return zero on success, or a nonzero error code on
	// failure.
	//
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	|         RETURN          |                                                                                  |
	//	|       VALUE/CODE        |                                   DESCRIPTION                                    |
	//	|                         |                                                                                  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80070057 E_INVALIDARG | This code is returned for the following reasons: The affected parameter is NULL. |
	//	|                         | The options parameter is not a valid FsrmEnumOptions (section 2.2.1.2.5) value.  |
	//	+-------------------------+----------------------------------------------------------------------------------+
	//	| 0x80004003 E_POINTER    | The path parameter is NULL.                                                      |
	//	+-------------------------+----------------------------------------------------------------------------------+
	IsAffectedByQuota(context.Context, *IsAffectedByQuotaRequest) (*IsAffectedByQuotaResponse, error)
}

IFsrmQuotaManagerEx server interface.

Jump to

Keyboard shortcuts

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