Documentation ¶
Index ¶
- Variables
- func NewQuotaManagerExServerHandle(o QuotaManagerExServer) dcerpc.ServerHandle
- func QuotaManagerExServerHandle(ctx context.Context, o QuotaManagerExServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func RegisterQuotaManagerExServer(conn dcerpc.Conn, o QuotaManagerExServer, opts ...dcerpc.Option)
- type IsAffectedByQuotaRequest
- type IsAffectedByQuotaResponse
- type QuotaManagerExClient
- type QuotaManagerExServer
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 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 (*IsAffectedByQuotaRequest) UnmarshalNDR ¶
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 (*IsAffectedByQuotaResponse) UnmarshalNDR ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.