Documentation
¶
Index ¶
- Variables
- func NewServiceServerHandle(o ServiceServer) dcerpc.ServerHandle
- func RegisterServiceServer(conn dcerpc.Conn, o ServiceServer, opts ...dcerpc.Option)
- func ServiceServerHandle(ctx context.Context, o ServiceServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type AdviseRequest
- type AdviseResponse
- type CleanupObsoleteMountPointsRequest
- type CleanupObsoleteMountPointsResponse
- type ClearFlagsRequest
- type ClearFlagsResponse
- type GetObjectRequest
- type GetObjectResponse
- type GetPropertiesRequest
- type GetPropertiesResponse
- type IsServiceReadyRequest
- type IsServiceReadyResponse
- type QueryDriveLettersRequest
- type QueryDriveLettersResponse
- type QueryFileSystemTypesRequest
- type QueryFileSystemTypesResponse
- type QueryProvidersRequest
- type QueryProvidersResponse
- type QueryUnallocatedDisksRequest
- type QueryUnallocatedDisksResponse
- type RebootRequest
- type RebootResponse
- type ReenumerateRequest
- type ReenumerateResponse
- type RefreshRequest
- type RefreshResponse
- type ServiceClient
- type ServiceServer
- type SetFlagsRequest
- type SetFlagsResponse
- type UnadviseRequest
- type UnadviseResponse
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) Advise(context.Context, *AdviseRequest) (*AdviseResponse, error)
- func (UnimplementedServiceServer) CleanupObsoleteMountPoints(context.Context, *CleanupObsoleteMountPointsRequest) (*CleanupObsoleteMountPointsResponse, error)
- func (UnimplementedServiceServer) ClearFlags(context.Context, *ClearFlagsRequest) (*ClearFlagsResponse, error)
- func (UnimplementedServiceServer) GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
- func (UnimplementedServiceServer) GetProperties(context.Context, *GetPropertiesRequest) (*GetPropertiesResponse, error)
- func (UnimplementedServiceServer) IsServiceReady(context.Context, *IsServiceReadyRequest) (*IsServiceReadyResponse, error)
- func (UnimplementedServiceServer) QueryDriveLetters(context.Context, *QueryDriveLettersRequest) (*QueryDriveLettersResponse, error)
- func (UnimplementedServiceServer) QueryFileSystemTypes(context.Context, *QueryFileSystemTypesRequest) (*QueryFileSystemTypesResponse, error)
- func (UnimplementedServiceServer) QueryProviders(context.Context, *QueryProvidersRequest) (*QueryProvidersResponse, error)
- func (UnimplementedServiceServer) QueryUnallocatedDisks(context.Context, *QueryUnallocatedDisksRequest) (*QueryUnallocatedDisksResponse, error)
- func (UnimplementedServiceServer) Reboot(context.Context, *RebootRequest) (*RebootResponse, error)
- func (UnimplementedServiceServer) Reenumerate(context.Context, *ReenumerateRequest) (*ReenumerateResponse, error)
- func (UnimplementedServiceServer) Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error)
- func (UnimplementedServiceServer) SetFlags(context.Context, *SetFlagsRequest) (*SetFlagsResponse, error)
- func (UnimplementedServiceServer) Unadvise(context.Context, *UnadviseRequest) (*UnadviseResponse, error)
- func (UnimplementedServiceServer) WaitForServiceReady(context.Context, *WaitForServiceReadyRequest) (*WaitForServiceReadyResponse, error)
- type WaitForServiceReadyRequest
- type WaitForServiceReadyResponse
Constants ¶
This section is empty.
Variables ¶
var ( // IVdsService interface identifier 0818a8ef-9ba9-40d8-a6f9-e22833cc771e ServiceIID = &dcom.IID{Data1: 0x0818a8ef, Data2: 0x9ba9, Data3: 0x40d8, Data4: []byte{0xa6, 0xf9, 0xe2, 0x28, 0x33, 0xcc, 0x77, 0x1e}} // Syntax UUID ServiceSyntaxUUID = &uuid.UUID{TimeLow: 0x818a8ef, TimeMid: 0x9ba9, TimeHiAndVersion: 0x40d8, ClockSeqHiAndReserved: 0xa6, ClockSeqLow: 0xf9, Node: [6]uint8{0xe2, 0x28, 0x33, 0xcc, 0x77, 0x1e}} // Syntax ID ServiceSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ServiceSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func NewServiceServerHandle ¶
func NewServiceServerHandle(o ServiceServer) dcerpc.ServerHandle
func RegisterServiceServer ¶
func RegisterServiceServer(conn dcerpc.Conn, o ServiceServer, opts ...dcerpc.Option)
Types ¶
type AdviseRequest ¶
type AdviseRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
// pSink: A pointer to an IVdsAdviseSink interface of the callback object to register
// with the server for notification of object changes.
Sink *vds.AdviseSink `idl:"name:pSink" json:"sink"`
}
AdviseRequest structure represents the Advise operation request
func (*AdviseRequest) MarshalNDR ¶
func (*AdviseRequest) UnmarshalNDR ¶
type AdviseResponse ¶
type AdviseResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
// pdwCookie: A pointer to a variable that, if the operation is successfully completed,
// receives a unique cookie value that the client can later use to unregister the callback
// object from receiving notification changes from the service. For information about
// how to register callback objects, see section 3.3.1.1.
Cookie uint32 `idl:"name:pdwCookie" json:"cookie"`
// Return: The Advise return value.
Return int32 `idl:"name:Return" json:"return"`
}
AdviseResponse structure represents the Advise operation response
func (*AdviseResponse) MarshalNDR ¶
func (*AdviseResponse) UnmarshalNDR ¶
type CleanupObsoleteMountPointsRequest ¶
type CleanupObsoleteMountPointsRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
CleanupObsoleteMountPointsRequest structure represents the CleanupObsoleteMountPoints operation request
func (*CleanupObsoleteMountPointsRequest) MarshalNDR ¶
func (*CleanupObsoleteMountPointsRequest) UnmarshalNDR ¶
type CleanupObsoleteMountPointsResponse ¶
type CleanupObsoleteMountPointsResponse 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 CleanupObsoleteMountPoints return value.
Return int32 `idl:"name:Return" json:"return"`
}
CleanupObsoleteMountPointsResponse structure represents the CleanupObsoleteMountPoints operation response
func (*CleanupObsoleteMountPointsResponse) MarshalNDR ¶
func (*CleanupObsoleteMountPointsResponse) UnmarshalNDR ¶
type ClearFlagsRequest ¶
type ClearFlagsRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
Flags uint32 `idl:"name:ulFlags" json:"flags"`
}
ClearFlagsRequest structure represents the ClearFlags operation request
func (*ClearFlagsRequest) MarshalNDR ¶
func (*ClearFlagsRequest) UnmarshalNDR ¶
type ClearFlagsResponse ¶
type ClearFlagsResponse 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 ClearFlags return value.
Return int32 `idl:"name:Return" json:"return"`
}
ClearFlagsResponse structure represents the ClearFlags operation response
func (*ClearFlagsResponse) MarshalNDR ¶
func (*ClearFlagsResponse) UnmarshalNDR ¶
type GetObjectRequest ¶
type GetObjectRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
// ObjectId: The GUID of the desired object.
ObjectID *vds.ObjectID `idl:"name:ObjectId" json:"object_id"`
// type: The object type that VDS_OBJECT_TYPE enumerates. All object types are valid
// except VDS_OT_UNKNOWN, VDS_OT_PROVIDER, VDS_OT_ASYNC, and VDS_OT_ENUM.
Type vds.ObjectType `idl:"name:type" json:"type"`
}
GetObjectRequest structure represents the GetObject operation request
func (*GetObjectRequest) MarshalNDR ¶
func (*GetObjectRequest) UnmarshalNDR ¶
type GetObjectResponse ¶
type GetObjectResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
// ppObjectUnk: A pointer to an IUnknown interface that, if the operation is successfully
// completed, receives an IUnknown interface of the object. Callers MUST release the
// interface that is received when they are done with it.
ObjectUnknown *dcom.Unknown `idl:"name:ppObjectUnk" json:"object_unknown"`
// Return: The GetObject return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetObjectResponse structure represents the GetObject operation response
func (*GetObjectResponse) MarshalNDR ¶
func (*GetObjectResponse) UnmarshalNDR ¶
type GetPropertiesRequest ¶
type GetPropertiesRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
GetPropertiesRequest structure represents the GetProperties operation request
func (*GetPropertiesRequest) MarshalNDR ¶
func (*GetPropertiesRequest) UnmarshalNDR ¶
type GetPropertiesResponse ¶
type GetPropertiesResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
ServiceProperty *vds.ServiceProperty `idl:"name:pServiceProp" json:"service_property"`
// Return: The GetProperties return value.
Return int32 `idl:"name:Return" json:"return"`
}
GetPropertiesResponse structure represents the GetProperties operation response
func (*GetPropertiesResponse) MarshalNDR ¶
func (*GetPropertiesResponse) UnmarshalNDR ¶
type IsServiceReadyRequest ¶
type IsServiceReadyRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
IsServiceReadyRequest structure represents the IsServiceReady operation request
func (*IsServiceReadyRequest) MarshalNDR ¶
func (*IsServiceReadyRequest) UnmarshalNDR ¶
type IsServiceReadyResponse ¶
type IsServiceReadyResponse 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 IsServiceReady return value.
Return int32 `idl:"name:Return" json:"return"`
}
IsServiceReadyResponse structure represents the IsServiceReady operation response
func (*IsServiceReadyResponse) MarshalNDR ¶
func (*IsServiceReadyResponse) UnmarshalNDR ¶
type QueryDriveLettersRequest ¶
type QueryDriveLettersRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
// wcFirstLetter: The first drive letter to query as a single uppercase or lowercase
// alphabetical (A-Z) Unicode character.
FirstLetter uint16 `idl:"name:wcFirstLetter" json:"first_letter"`
// count: The total number of drive letters to retrieve, beginning with the letter that
// wcFirstLetter specifies. This MUST also be the number of elements in the pDriveLetterPropArray.
// It MUST NOT exceed the total number of drive letters between the letter in wcFirstLetter
// and the last possible drive letter (Z), inclusive.
Count uint32 `idl:"name:count" json:"count"`
}
QueryDriveLettersRequest structure represents the QueryDriveLetters operation request
func (*QueryDriveLettersRequest) MarshalNDR ¶
func (*QueryDriveLettersRequest) UnmarshalNDR ¶
type QueryDriveLettersResponse ¶
type QueryDriveLettersResponse struct {
// XXX: count is an implicit input depedency for output parameters
Count uint32 `idl:"name:count" json:"count"`
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
// pDriveLetterPropArray: An array of VDS_DRIVE_LETTER_PROP structures that, if the
// operation is successfully completed, receives the array of drive letter properties.
DriveLetterPropertyArray []*vds.DriveLetterProperty `idl:"name:pDriveLetterPropArray;size_is:(count)" json:"drive_letter_property_array"`
// Return: The QueryDriveLetters return value.
Return int32 `idl:"name:Return" json:"return"`
}
QueryDriveLettersResponse structure represents the QueryDriveLetters operation response
func (*QueryDriveLettersResponse) MarshalNDR ¶
func (*QueryDriveLettersResponse) UnmarshalNDR ¶
type QueryFileSystemTypesRequest ¶
type QueryFileSystemTypesRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
QueryFileSystemTypesRequest structure represents the QueryFileSystemTypes operation request
func (*QueryFileSystemTypesRequest) MarshalNDR ¶
func (*QueryFileSystemTypesRequest) UnmarshalNDR ¶
type QueryFileSystemTypesResponse ¶
type QueryFileSystemTypesResponse struct {
// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
That *dcom.ORPCThat `idl:"name:That" json:"that"`
// ppFileSystemTypeProps: A pointer to an array of VDS_FILE_SYSTEM_TYPE_PROP structures
// that, if the operation is successfully completed, receives the array of file system
// type properties.
FileSystemTypeProperties []*vds.FileSystemTypeProperty `idl:"name:ppFileSystemTypeProps;size_is:(, plNumberOfFileSystems)" json:"file_system_type_properties"`
// plNumberOfFileSystems: A pointer to a variable that, if the operation is successfully
// completed, receives the total number of elements returned in ppFileSystemTypeProps.
NumberOfFileSystems int32 `idl:"name:plNumberOfFileSystems" json:"number_of_file_systems"`
// Return: The QueryFileSystemTypes return value.
Return int32 `idl:"name:Return" json:"return"`
}
QueryFileSystemTypesResponse structure represents the QueryFileSystemTypes operation response
func (*QueryFileSystemTypesResponse) MarshalNDR ¶
func (*QueryFileSystemTypesResponse) UnmarshalNDR ¶
type QueryProvidersRequest ¶
type QueryProvidersRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
// masks: The combination of any values, by using a bitwise OR operator, that the VDS_QUERY_PROVIDER_FLAG
// enumeration defines. The values that are set in the mask specify the types of providers
// to return.
Masks uint32 `idl:"name:masks" json:"masks"`
}
QueryProvidersRequest structure represents the QueryProviders operation request
func (*QueryProvidersRequest) MarshalNDR ¶
func (*QueryProvidersRequest) UnmarshalNDR ¶
type QueryProvidersResponse ¶
type QueryProvidersResponse 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 object that contains an enumeration
// of provider objects on the server. Callers MUST release the interface that is received
// when they are done with it.
Enum *vds.EnumObject `idl:"name:ppEnum" json:"enum"`
// Return: The QueryProviders return value.
Return int32 `idl:"name:Return" json:"return"`
}
QueryProvidersResponse structure represents the QueryProviders operation response
func (*QueryProvidersResponse) MarshalNDR ¶
func (*QueryProvidersResponse) UnmarshalNDR ¶
type QueryUnallocatedDisksRequest ¶
type QueryUnallocatedDisksRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
QueryUnallocatedDisksRequest structure represents the QueryUnallocatedDisks operation request
func (*QueryUnallocatedDisksRequest) MarshalNDR ¶
func (*QueryUnallocatedDisksRequest) UnmarshalNDR ¶
type QueryUnallocatedDisksResponse ¶
type QueryUnallocatedDisksResponse 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 that contains an enumeration
// of disk objects that correspond to unallocated disks on the server. Callers MUST
// release the interface that is received when they are done with it.
Enum *vds.EnumObject `idl:"name:ppEnum" json:"enum"`
// Return: The QueryUnallocatedDisks return value.
Return int32 `idl:"name:Return" json:"return"`
}
QueryUnallocatedDisksResponse structure represents the QueryUnallocatedDisks operation response
func (*QueryUnallocatedDisksResponse) MarshalNDR ¶
func (*QueryUnallocatedDisksResponse) UnmarshalNDR ¶
type RebootRequest ¶
type RebootRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
RebootRequest structure represents the Reboot operation request
func (*RebootRequest) MarshalNDR ¶
func (*RebootRequest) UnmarshalNDR ¶
type RebootResponse ¶
type RebootResponse 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 Reboot return value.
Return int32 `idl:"name:Return" json:"return"`
}
RebootResponse structure represents the Reboot operation response
func (*RebootResponse) MarshalNDR ¶
func (*RebootResponse) UnmarshalNDR ¶
type ReenumerateRequest ¶
type ReenumerateRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
ReenumerateRequest structure represents the Reenumerate operation request
func (*ReenumerateRequest) MarshalNDR ¶
func (*ReenumerateRequest) UnmarshalNDR ¶
type ReenumerateResponse ¶
type ReenumerateResponse 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 Reenumerate return value.
Return int32 `idl:"name:Return" json:"return"`
}
ReenumerateResponse structure represents the Reenumerate operation response
func (*ReenumerateResponse) MarshalNDR ¶
func (*ReenumerateResponse) UnmarshalNDR ¶
type RefreshRequest ¶
type RefreshRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
RefreshRequest structure represents the Refresh operation request
func (*RefreshRequest) MarshalNDR ¶
func (*RefreshRequest) UnmarshalNDR ¶
type RefreshResponse ¶
type RefreshResponse 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 Refresh return value.
Return int32 `idl:"name:Return" json:"return"`
}
RefreshResponse structure represents the Refresh operation response
func (*RefreshResponse) MarshalNDR ¶
func (*RefreshResponse) UnmarshalNDR ¶
type ServiceClient ¶
type ServiceClient interface {
// IUnknown retrieval method.
Unknown() iunknown.UnknownClient
// The IsServiceReady method determines whether a service is finished initializing.
// Until the service initialization completes, an application SHOULD NOT call any method
// other than GetProperties.<71>
//
// 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.
IsServiceReady(context.Context, *IsServiceReadyRequest, ...dcerpc.CallOption) (*IsServiceReadyResponse, error)
// The WaitForServiceReady method waits for VDS initialization to complete and returns
// the status of the VDS initialization in the HRESULT.
//
// This method has no parameters.
//
// Return Values: The method MUST return zero to indicate success or the error code
// VDS_E_INITIALIZED_FAILED if the service-ready state is "failed".
WaitForServiceReady(context.Context, *WaitForServiceReadyRequest, ...dcerpc.CallOption) (*WaitForServiceReadyResponse, error)
// GetProperties operation.
GetProperties(context.Context, *GetPropertiesRequest, ...dcerpc.CallOption) (*GetPropertiesResponse, error)
// The QueryProviders method enumerates the providers of the server.
//
// 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.
QueryProviders(context.Context, *QueryProvidersRequest, ...dcerpc.CallOption) (*QueryProvidersResponse, error)
// The QueryUnallocatedDisks method enumerates the unallocated disks on the server.
//
// 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.
QueryUnallocatedDisks(context.Context, *QueryUnallocatedDisksRequest, ...dcerpc.CallOption) (*QueryUnallocatedDisksResponse, error)
// The GetObject method retrieves an IUnknown pointer to a specified object.
//
// 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.
GetObject(context.Context, *GetObjectRequest, ...dcerpc.CallOption) (*GetObjectResponse, error)
// The QueryDriveLetters method enumerates the drive letters of the server.
//
// 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.
QueryDriveLetters(context.Context, *QueryDriveLettersRequest, ...dcerpc.CallOption) (*QueryDriveLettersResponse, error)
// The QueryFileSystemTypes method returns property details for all file systems that
// are known to VDS.
//
// 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.
QueryFileSystemTypes(context.Context, *QueryFileSystemTypesRequest, ...dcerpc.CallOption) (*QueryFileSystemTypesResponse, error)
// The Reenumerate method discovers newly added and newly removed disks and returns
// the status of the operation in the HRESULT.
//
// 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.
Reenumerate(context.Context, *ReenumerateRequest, ...dcerpc.CallOption) (*ReenumerateResponse, error)
// The Refresh method refreshes the ownership and layout of disks on the server.
//
// 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.
Refresh(context.Context, *RefreshRequest, ...dcerpc.CallOption) (*RefreshResponse, error)
// The CleanupObsoleteMountPoints method removes any mount points that point to volumes
// that no longer exist.
//
// 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.
CleanupObsoleteMountPoints(context.Context, *CleanupObsoleteMountPointsRequest, ...dcerpc.CallOption) (*CleanupObsoleteMountPointsResponse, error)
// The Advise method registers a notification callback with the server. Clients pass
// the callback object to the server to receive notifications.
//
// 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.
Advise(context.Context, *AdviseRequest, ...dcerpc.CallOption) (*AdviseResponse, error)
// The Unadvise method unregisters a client from being notified by the server of changes
// to storage objects.
//
// 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.
Unadvise(context.Context, *UnadviseRequest, ...dcerpc.CallOption) (*UnadviseResponse, error)
// The Reboot method restarts the computer on which the server is running.<73>
//
// 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.
Reboot(context.Context, *RebootRequest, ...dcerpc.CallOption) (*RebootResponse, error)
// SetFlags operation.
SetFlags(context.Context, *SetFlagsRequest, ...dcerpc.CallOption) (*SetFlagsResponse, error)
// ClearFlags operation.
ClearFlags(context.Context, *ClearFlagsRequest, ...dcerpc.CallOption) (*ClearFlagsResponse, error)
// AlterContext alters the client context.
AlterContext(context.Context, ...dcerpc.Option) error
// Conn returns the client connection (unsafe)
Conn() dcerpc.Conn
// IPID sets the object interface identifier.
IPID(context.Context, *dcom.IPID) ServiceClient
}
IVdsService interface.
func NewServiceClient ¶
type ServiceServer ¶
type ServiceServer interface {
// IUnknown base class.
iunknown.UnknownServer
// The IsServiceReady method determines whether a service is finished initializing.
// Until the service initialization completes, an application SHOULD NOT call any method
// other than GetProperties.<71>
//
// 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.
IsServiceReady(context.Context, *IsServiceReadyRequest) (*IsServiceReadyResponse, error)
// The WaitForServiceReady method waits for VDS initialization to complete and returns
// the status of the VDS initialization in the HRESULT.
//
// This method has no parameters.
//
// Return Values: The method MUST return zero to indicate success or the error code
// VDS_E_INITIALIZED_FAILED if the service-ready state is "failed".
WaitForServiceReady(context.Context, *WaitForServiceReadyRequest) (*WaitForServiceReadyResponse, error)
// GetProperties operation.
GetProperties(context.Context, *GetPropertiesRequest) (*GetPropertiesResponse, error)
// The QueryProviders method enumerates the providers of the server.
//
// 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.
QueryProviders(context.Context, *QueryProvidersRequest) (*QueryProvidersResponse, error)
// The QueryUnallocatedDisks method enumerates the unallocated disks on the server.
//
// 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.
QueryUnallocatedDisks(context.Context, *QueryUnallocatedDisksRequest) (*QueryUnallocatedDisksResponse, error)
// The GetObject method retrieves an IUnknown pointer to a specified object.
//
// 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.
GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
// The QueryDriveLetters method enumerates the drive letters of the server.
//
// 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.
QueryDriveLetters(context.Context, *QueryDriveLettersRequest) (*QueryDriveLettersResponse, error)
// The QueryFileSystemTypes method returns property details for all file systems that
// are known to VDS.
//
// 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.
QueryFileSystemTypes(context.Context, *QueryFileSystemTypesRequest) (*QueryFileSystemTypesResponse, error)
// The Reenumerate method discovers newly added and newly removed disks and returns
// the status of the operation in the HRESULT.
//
// 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.
Reenumerate(context.Context, *ReenumerateRequest) (*ReenumerateResponse, error)
// The Refresh method refreshes the ownership and layout of disks on the server.
//
// 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.
Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error)
// The CleanupObsoleteMountPoints method removes any mount points that point to volumes
// that no longer exist.
//
// 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.
CleanupObsoleteMountPoints(context.Context, *CleanupObsoleteMountPointsRequest) (*CleanupObsoleteMountPointsResponse, error)
// The Advise method registers a notification callback with the server. Clients pass
// the callback object to the server to receive notifications.
//
// 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.
Advise(context.Context, *AdviseRequest) (*AdviseResponse, error)
// The Unadvise method unregisters a client from being notified by the server of changes
// to storage objects.
//
// 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.
Unadvise(context.Context, *UnadviseRequest) (*UnadviseResponse, error)
// The Reboot method restarts the computer on which the server is running.<73>
//
// 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.
Reboot(context.Context, *RebootRequest) (*RebootResponse, error)
// SetFlags operation.
SetFlags(context.Context, *SetFlagsRequest) (*SetFlagsResponse, error)
// ClearFlags operation.
ClearFlags(context.Context, *ClearFlagsRequest) (*ClearFlagsResponse, error)
}
IVdsService server interface.
type SetFlagsRequest ¶
type SetFlagsRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
Flags uint32 `idl:"name:ulFlags" json:"flags"`
}
SetFlagsRequest structure represents the SetFlags operation request
func (*SetFlagsRequest) MarshalNDR ¶
func (*SetFlagsRequest) UnmarshalNDR ¶
type SetFlagsResponse ¶
type SetFlagsResponse 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 SetFlags return value.
Return int32 `idl:"name:Return" json:"return"`
}
SetFlagsResponse structure represents the SetFlags operation response
func (*SetFlagsResponse) MarshalNDR ¶
func (*SetFlagsResponse) UnmarshalNDR ¶
type UnadviseRequest ¶
type UnadviseRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
// dwCookie: The cookie value generated when the IVdsAdviseSink interface was registered.
Cookie uint32 `idl:"name:dwCookie" json:"cookie"`
}
UnadviseRequest structure represents the Unadvise operation request
func (*UnadviseRequest) MarshalNDR ¶
func (*UnadviseRequest) UnmarshalNDR ¶
type UnadviseResponse ¶
type UnadviseResponse 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 Unadvise return value.
Return int32 `idl:"name:Return" json:"return"`
}
UnadviseResponse structure represents the Unadvise operation response
func (*UnadviseResponse) MarshalNDR ¶
func (*UnadviseResponse) UnmarshalNDR ¶
type UnimplementedServiceServer ¶ added in v1.1.5
type UnimplementedServiceServer struct {
iunknown.UnimplementedUnknownServer
}
Unimplemented IVdsService
func (UnimplementedServiceServer) Advise ¶ added in v1.1.5
func (UnimplementedServiceServer) Advise(context.Context, *AdviseRequest) (*AdviseResponse, error)
func (UnimplementedServiceServer) CleanupObsoleteMountPoints ¶ added in v1.1.5
func (UnimplementedServiceServer) CleanupObsoleteMountPoints(context.Context, *CleanupObsoleteMountPointsRequest) (*CleanupObsoleteMountPointsResponse, error)
func (UnimplementedServiceServer) ClearFlags ¶ added in v1.1.5
func (UnimplementedServiceServer) ClearFlags(context.Context, *ClearFlagsRequest) (*ClearFlagsResponse, error)
func (UnimplementedServiceServer) GetObject ¶ added in v1.1.5
func (UnimplementedServiceServer) GetObject(context.Context, *GetObjectRequest) (*GetObjectResponse, error)
func (UnimplementedServiceServer) GetProperties ¶ added in v1.1.5
func (UnimplementedServiceServer) GetProperties(context.Context, *GetPropertiesRequest) (*GetPropertiesResponse, error)
func (UnimplementedServiceServer) IsServiceReady ¶ added in v1.1.5
func (UnimplementedServiceServer) IsServiceReady(context.Context, *IsServiceReadyRequest) (*IsServiceReadyResponse, error)
func (UnimplementedServiceServer) QueryDriveLetters ¶ added in v1.1.5
func (UnimplementedServiceServer) QueryDriveLetters(context.Context, *QueryDriveLettersRequest) (*QueryDriveLettersResponse, error)
func (UnimplementedServiceServer) QueryFileSystemTypes ¶ added in v1.1.5
func (UnimplementedServiceServer) QueryFileSystemTypes(context.Context, *QueryFileSystemTypesRequest) (*QueryFileSystemTypesResponse, error)
func (UnimplementedServiceServer) QueryProviders ¶ added in v1.1.5
func (UnimplementedServiceServer) QueryProviders(context.Context, *QueryProvidersRequest) (*QueryProvidersResponse, error)
func (UnimplementedServiceServer) QueryUnallocatedDisks ¶ added in v1.1.5
func (UnimplementedServiceServer) QueryUnallocatedDisks(context.Context, *QueryUnallocatedDisksRequest) (*QueryUnallocatedDisksResponse, error)
func (UnimplementedServiceServer) Reboot ¶ added in v1.1.5
func (UnimplementedServiceServer) Reboot(context.Context, *RebootRequest) (*RebootResponse, error)
func (UnimplementedServiceServer) Reenumerate ¶ added in v1.1.5
func (UnimplementedServiceServer) Reenumerate(context.Context, *ReenumerateRequest) (*ReenumerateResponse, error)
func (UnimplementedServiceServer) Refresh ¶ added in v1.1.5
func (UnimplementedServiceServer) Refresh(context.Context, *RefreshRequest) (*RefreshResponse, error)
func (UnimplementedServiceServer) SetFlags ¶ added in v1.1.5
func (UnimplementedServiceServer) SetFlags(context.Context, *SetFlagsRequest) (*SetFlagsResponse, error)
func (UnimplementedServiceServer) Unadvise ¶ added in v1.1.5
func (UnimplementedServiceServer) Unadvise(context.Context, *UnadviseRequest) (*UnadviseResponse, error)
func (UnimplementedServiceServer) WaitForServiceReady ¶ added in v1.1.5
func (UnimplementedServiceServer) WaitForServiceReady(context.Context, *WaitForServiceReadyRequest) (*WaitForServiceReadyResponse, error)
type WaitForServiceReadyRequest ¶
type WaitForServiceReadyRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
}
WaitForServiceReadyRequest structure represents the WaitForServiceReady operation request
func (*WaitForServiceReadyRequest) MarshalNDR ¶
func (*WaitForServiceReadyRequest) UnmarshalNDR ¶
type WaitForServiceReadyResponse ¶
type WaitForServiceReadyResponse 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 WaitForServiceReady return value.
Return int32 `idl:"name:Return" json:"return"`
}
WaitForServiceReadyResponse structure represents the WaitForServiceReady operation response