Documentation ¶
Index ¶
- Variables
- func EnumObjectServerHandle(ctx context.Context, o EnumObjectServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewEnumObjectServerHandle(o EnumObjectServer) dcerpc.ServerHandle
- func RegisterEnumObjectServer(conn dcerpc.Conn, o EnumObjectServer, opts ...dcerpc.Option)
- type CloneRequest
- type CloneResponse
- type EnumObjectClient
- type EnumObjectServer
- type NextRequest
- type NextResponse
- type ResetRequest
- type ResetResponse
- type SkipRequest
- type SkipResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IEnumVdsObject interface identifier 118610b7-8d94-4030-b5b8-500889788e4e EnumObjectIID = &dcom.IID{Data1: 0x118610b7, Data2: 0x8d94, Data3: 0x4030, Data4: []byte{0xb5, 0xb8, 0x50, 0x08, 0x89, 0x78, 0x8e, 0x4e}} // Syntax UUID EnumObjectSyntaxUUID = &uuid.UUID{TimeLow: 0x118610b7, TimeMid: 0x8d94, TimeHiAndVersion: 0x4030, ClockSeqHiAndReserved: 0xb5, ClockSeqLow: 0xb8, Node: [6]uint8{0x50, 0x8, 0x89, 0x78, 0x8e, 0x4e}} // Syntax ID EnumObjectSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: EnumObjectSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func EnumObjectServerHandle ¶
func NewEnumObjectServerHandle ¶
func NewEnumObjectServerHandle(o EnumObjectServer) dcerpc.ServerHandle
func RegisterEnumObjectServer ¶
func RegisterEnumObjectServer(conn dcerpc.Conn, o EnumObjectServer, opts ...dcerpc.Option)
Types ¶
type CloneRequest ¶
type CloneRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
CloneRequest structure represents the Clone operation request
func (*CloneRequest) MarshalNDR ¶
func (*CloneRequest) UnmarshalNDR ¶
type CloneResponse ¶
type CloneResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppEnum: A pointer to an IEnumVdsObject interface that, if successfully completed, // receives the IEnumVdsObject interface of the cloned enumeration. Callers MUST release // the interface that is received when they are done with it. Enum *vds.EnumObject `idl:"name:ppEnum" json:"enum"` // Return: The Clone return value. Return int32 `idl:"name:Return" json:"return"` }
CloneResponse structure represents the Clone operation response
func (*CloneResponse) MarshalNDR ¶
func (*CloneResponse) UnmarshalNDR ¶
type EnumObjectClient ¶
type EnumObjectClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The Next method returns a specified number of objects in the enumeration. It begins // from the current point. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. Next(context.Context, *NextRequest, ...dcerpc.CallOption) (*NextResponse, error) // The Skip method skips a specified number of objects in the enumeration. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. Skip(context.Context, *SkipRequest, ...dcerpc.CallOption) (*SkipResponse, error) // The Reset method resets the enumerator to the beginning of the collection. // // This method has no parameters. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. Reset(context.Context, *ResetRequest, ...dcerpc.CallOption) (*ResetResponse, error) // The Clone method creates a new enumeration that has the same state as the current // enumeration. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. Clone(context.Context, *CloneRequest, ...dcerpc.CallOption) (*CloneResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) EnumObjectClient }
IEnumVdsObject interface.
func NewEnumObjectClient ¶
type EnumObjectServer ¶
type EnumObjectServer interface { // IUnknown base class. iunknown.UnknownServer // The Next method returns a specified number of objects in the enumeration. It begins // from the current point. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. Next(context.Context, *NextRequest) (*NextResponse, error) // The Skip method skips a specified number of objects in the enumeration. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. Skip(context.Context, *SkipRequest) (*SkipResponse, error) // The Reset method resets the enumerator to the beginning of the collection. // // This method has no parameters. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. Reset(context.Context, *ResetRequest) (*ResetResponse, error) // The Clone method creates a new enumeration that has the same state as the current // enumeration. // // Return Values: The method MUST return zero or a non-error HRESULT (as specified in // [MS-ERREF]) to indicate success or return an implementation-specific nonzero error // code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service // Remote Protocol, see section 2.2.3. Clone(context.Context, *CloneRequest) (*CloneResponse, error) }
IEnumVdsObject server interface.
type NextRequest ¶
type NextRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // celt: The number of elements to retrieve from the enumeration. Count uint32 `idl:"name:celt" json:"count"` }
NextRequest structure represents the Next operation request
func (*NextRequest) MarshalNDR ¶
func (*NextRequest) UnmarshalNDR ¶
type NextResponse ¶
type NextResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppObjectArray: A pointer to an array of IUnknown interfaces. The size of this array // MUST be equal to celt. If successfully completed, it receives an array of the IUnknown // interfaces of the next objects in the enumeration; the number of elements in this // array MUST be equal in size to the value of pcFetched. Callers MUST release each // IUnknown interface that is received. ObjectArray []*dcom.Unknown `idl:"name:ppObjectArray;size_is:(celt);length_is:(pcFetched)" json:"object_array"` // pcFetched: A pointer to a variable that, upon successful completion, receives the // number of elements that are successfully received in ppObjectArray. FetchedCount uint32 `idl:"name:pcFetched" json:"fetched_count"` // Return: The Next return value. Return int32 `idl:"name:Return" json:"return"` }
NextResponse structure represents the Next operation response
func (*NextResponse) MarshalNDR ¶
func (*NextResponse) UnmarshalNDR ¶
type ResetRequest ¶
type ResetRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
ResetRequest structure represents the Reset operation request
func (*ResetRequest) MarshalNDR ¶
func (*ResetRequest) UnmarshalNDR ¶
type ResetResponse ¶
type ResetResponse 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 Reset return value. Return int32 `idl:"name:Return" json:"return"` }
ResetResponse structure represents the Reset operation response
func (*ResetResponse) MarshalNDR ¶
func (*ResetResponse) UnmarshalNDR ¶
type SkipRequest ¶
type SkipRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // celt: The number of objects to skip. Count uint32 `idl:"name:celt" json:"count"` }
SkipRequest structure represents the Skip operation request
func (*SkipRequest) MarshalNDR ¶
func (*SkipRequest) UnmarshalNDR ¶
type SkipResponse ¶
type SkipResponse 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 Skip return value. Return int32 `idl:"name:Return" json:"return"` }
SkipResponse structure represents the Skip operation response
func (*SkipResponse) MarshalNDR ¶
func (*SkipResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.