Documentation ¶
Index ¶
- Variables
- func NewSwProviderServerHandle(o SwProviderServer) dcerpc.ServerHandle
- func RegisterSwProviderServer(conn dcerpc.Conn, o SwProviderServer, opts ...dcerpc.Option)
- func SwProviderServerHandle(ctx context.Context, o SwProviderServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type CreatePackRequest
- type CreatePackResponse
- type QueryPacksRequest
- type QueryPacksResponse
- type SwProviderClient
- type SwProviderServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsSwProvider interface identifier 9aa58360-ce33-4f92-b658-ed24b14425b8 SwProviderIID = &dcom.IID{Data1: 0x9aa58360, Data2: 0xce33, Data3: 0x4f92, Data4: []byte{0xb6, 0x58, 0xed, 0x24, 0xb1, 0x44, 0x25, 0xb8}} // Syntax UUID SwProviderSyntaxUUID = &uuid.UUID{TimeLow: 0x9aa58360, TimeMid: 0xce33, TimeHiAndVersion: 0x4f92, ClockSeqHiAndReserved: 0xb6, ClockSeqLow: 0x58, Node: [6]uint8{0xed, 0x24, 0xb1, 0x44, 0x25, 0xb8}} // Syntax ID SwProviderSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: SwProviderSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func NewSwProviderServerHandle ¶
func NewSwProviderServerHandle(o SwProviderServer) dcerpc.ServerHandle
func RegisterSwProviderServer ¶
func RegisterSwProviderServer(conn dcerpc.Conn, o SwProviderServer, opts ...dcerpc.Option)
Types ¶
type CreatePackRequest ¶
type CreatePackRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
CreatePackRequest structure represents the CreatePack operation request
func (*CreatePackRequest) MarshalNDR ¶
func (*CreatePackRequest) UnmarshalNDR ¶
type CreatePackResponse ¶
type CreatePackResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppPack: A pointer to an IVdsPack interface that, if the operation is successfully // completed, receives the IVdsPack interface of the newly created disk pack. Callers // MUST release the interface when they are done with it. Pack *vds.Pack `idl:"name:ppPack" json:"pack"` // Return: The CreatePack return value. Return int32 `idl:"name:Return" json:"return"` }
CreatePackResponse structure represents the CreatePack operation response
func (*CreatePackResponse) MarshalNDR ¶
func (*CreatePackResponse) UnmarshalNDR ¶
type QueryPacksRequest ¶
type QueryPacksRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
QueryPacksRequest structure represents the QueryPacks operation request
func (*QueryPacksRequest) MarshalNDR ¶
func (*QueryPacksRequest) UnmarshalNDR ¶
type QueryPacksResponse ¶
type QueryPacksResponse 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 the operation is successfully // completed, receives the IEnumVdsObject interface of the object containing an enumeration // of pack objects in the provider. Callers MUST release the interface when they are // done with it. Enum *vds.EnumObject `idl:"name:ppEnum" json:"enum"` // Return: The QueryPacks return value. Return int32 `idl:"name:Return" json:"return"` }
QueryPacksResponse structure represents the QueryPacks operation response
func (*QueryPacksResponse) MarshalNDR ¶
func (*QueryPacksResponse) UnmarshalNDR ¶
type SwProviderClient ¶
type SwProviderClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The QueryPacks method retrieves the provider disk packs. // // 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. QueryPacks(context.Context, *QueryPacksRequest, ...dcerpc.CallOption) (*QueryPacksResponse, error) // The CreatePack method creates a disk pack. // // 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. CreatePack(context.Context, *CreatePackRequest, ...dcerpc.CallOption) (*CreatePackResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) SwProviderClient }
IVdsSwProvider interface.
func NewSwProviderClient ¶
type SwProviderServer ¶
type SwProviderServer interface { // IUnknown base class. iunknown.UnknownServer // The QueryPacks method retrieves the provider disk packs. // // 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. QueryPacks(context.Context, *QueryPacksRequest) (*QueryPacksResponse, error) // The CreatePack method creates a disk pack. // // 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. CreatePack(context.Context, *CreatePackRequest) (*CreatePackResponse, error) }
IVdsSwProvider server interface.
Click to show internal directories.
Click to hide internal directories.