ivdsvolumemf

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IVdsVolumeMF interface identifier ee2d5ded-6236-4169-931d-b9778ce03dc6
	VolumeMFIID = &dcom.IID{Data1: 0xee2d5ded, Data2: 0x6236, Data3: 0x4169, Data4: []byte{0x93, 0x1d, 0xb9, 0x77, 0x8c, 0xe0, 0x3d, 0xc6}}
	// Syntax UUID
	VolumeMFSyntaxUUID = &uuid.UUID{TimeLow: 0xee2d5ded, TimeMid: 0x6236, TimeHiAndVersion: 0x4169, ClockSeqHiAndReserved: 0x93, ClockSeqLow: 0x1d, Node: [6]uint8{0xb9, 0x77, 0x8c, 0xe0, 0x3d, 0xc6}}
	// Syntax ID
	VolumeMFSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: VolumeMFSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0}
)
View Source
var (
	// import guard
	GoPackage = "dcom/vds"
)

Functions

func NewVolumeMFServerHandle

func NewVolumeMFServerHandle(o VolumeMFServer) dcerpc.ServerHandle

func RegisterVolumeMFServer

func RegisterVolumeMFServer(conn dcerpc.Conn, o VolumeMFServer, opts ...dcerpc.Option)

func VolumeMFServerHandle

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

Types

type AddAccessPathRequest

type AddAccessPathRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pwszPath: A null-terminated Unicode string that indicates the access path. A trailing
	// backslash MUST be included if the access path is a drive letter (for example, "F:\").
	Path string `idl:"name:pwszPath;max_is:(259);string" json:"path"`
}

AddAccessPathRequest structure represents the AddAccessPath operation request

func (*AddAccessPathRequest) MarshalNDR

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

func (*AddAccessPathRequest) UnmarshalNDR

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

type AddAccessPathResponse

type AddAccessPathResponse 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 AddAccessPath return value.
	Return int32 `idl:"name:Return" json:"return"`
}

AddAccessPathResponse structure represents the AddAccessPath operation response

func (*AddAccessPathResponse) MarshalNDR

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

func (*AddAccessPathResponse) UnmarshalNDR

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

type ClearFileSystemFlagsRequest

type ClearFileSystemFlagsRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// ulFlags: Callers MUST clear the VDS_FPF_COMPRESSED flag.
	Flags uint32 `idl:"name:ulFlags" json:"flags"`
}

ClearFileSystemFlagsRequest structure represents the ClearFileSystemFlags operation request

func (*ClearFileSystemFlagsRequest) MarshalNDR

func (*ClearFileSystemFlagsRequest) UnmarshalNDR

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

type ClearFileSystemFlagsResponse

type ClearFileSystemFlagsResponse 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 ClearFileSystemFlags return value.
	Return int32 `idl:"name:Return" json:"return"`
}

ClearFileSystemFlagsResponse structure represents the ClearFileSystemFlags operation response

func (*ClearFileSystemFlagsResponse) MarshalNDR

func (*ClearFileSystemFlagsResponse) UnmarshalNDR

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

type DeleteAccessPathRequest

type DeleteAccessPathRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// pwszPath: A Unicode string indicating the access path, for example, "C:\myfolder\mydocuments".
	Path string `idl:"name:pwszPath;max_is:(259);string" json:"path"`
	// bForce: A Boolean that determines whether an access is deleted unconditionally, even
	// if the volume is in use. This parameter is meaningful only when the access path is
	// a drive letter.
	Force int32 `idl:"name:bForce" json:"force"`
}

DeleteAccessPathRequest structure represents the DeleteAccessPath operation request

func (*DeleteAccessPathRequest) MarshalNDR

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

func (*DeleteAccessPathRequest) UnmarshalNDR

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

type DeleteAccessPathResponse

type DeleteAccessPathResponse 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 DeleteAccessPath return value.
	Return int32 `idl:"name:Return" json:"return"`
}

DeleteAccessPathResponse structure represents the DeleteAccessPath operation response

func (*DeleteAccessPathResponse) MarshalNDR

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

func (*DeleteAccessPathResponse) UnmarshalNDR

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

type DismountRequest

type DismountRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// bForce: A Boolean that determines whether the current volume is dismounted unconditionally,
	// even if the volume is in use.
	Force int32 `idl:"name:bForce" json:"force"`
	// bPermanent: A Boolean that determines whether a volume MUST be dismounted permanently
	// by taking the volume offline after dismounting it.
	Permanent int32 `idl:"name:bPermanent" json:"permanent"`
}

DismountRequest structure represents the Dismount operation request

func (*DismountRequest) MarshalNDR

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

func (*DismountRequest) UnmarshalNDR

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

type DismountResponse

type DismountResponse 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 Dismount return value.
	Return int32 `idl:"name:Return" json:"return"`
}

DismountResponse structure represents the Dismount operation response

func (*DismountResponse) MarshalNDR

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

func (*DismountResponse) UnmarshalNDR

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

type FormatRequest

type FormatRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// type: A file system type that is enumerated by VDS_FILE_SYSTEM_TYPE. Clients that
	// format by using file systems that are not enumerated by VDS_FILE_SYSTEM_TYPE can
	// use the IVdsVolumeMF2::FormatEx method.
	Type vds.FileSystemType `idl:"name:type" json:"type"`
	// pwszLabel: A null-terminated Unicode label to assign to the new file system. The
	// maximum label size is file system-dependent.
	Label string `idl:"name:pwszLabel;string" json:"label"`
	// dwUnitAllocationSize: The size, in bytes, of the allocation unit for the file system.
	// The value MUST be a power of 2. The allocation unit range is file system-dependent.
	UnitAllocationSize uint32 `idl:"name:dwUnitAllocationSize" json:"unit_allocation_size"`
	// bForce: A Boolean that determines whether the format is forced, even if the volume
	// is in use.
	Force int32 `idl:"name:bForce" json:"force"`
	// bQuickFormat: A Boolean that determines whether a file system is quick format. A
	// quick format does not verify each sector on the volume.
	QuickFormat int32 `idl:"name:bQuickFormat" json:"quick_format"`
	// bEnableCompression: A Boolean that determines whether a file system is created with
	// compression enabled.<127>
	EnableCompression int32 `idl:"name:bEnableCompression" json:"enable_compression"`
}

FormatRequest structure represents the Format operation request

func (*FormatRequest) MarshalNDR

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

func (*FormatRequest) UnmarshalNDR

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

type FormatResponse

type FormatResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppAsync: A pointer to an IVdsAsync interface that, if the operation is successfully
	// completed, receives the IVdsAsync interface to monitor and control this operation.
	// Callers MUST release the interface when they are done with it.
	Async *vds.Async `idl:"name:ppAsync" json:"async"`
	// Return: The Format return value.
	Return int32 `idl:"name:Return" json:"return"`
}

FormatResponse structure represents the Format operation response

func (*FormatResponse) MarshalNDR

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

func (*FormatResponse) UnmarshalNDR

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

type GetFileSystemPropertiesRequest

type GetFileSystemPropertiesRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

GetFileSystemPropertiesRequest structure represents the GetFileSystemProperties operation request

func (*GetFileSystemPropertiesRequest) MarshalNDR

func (*GetFileSystemPropertiesRequest) UnmarshalNDR

type GetFileSystemPropertiesResponse

type GetFileSystemPropertiesResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pFileSystemProp: A pointer to a VDS_FILE_SYSTEM_PROP structure that, if the operation
	// is successfully completed, receives the properties of the file system on the volume.
	FileSystemProperty *vds.FileSystemProperty `idl:"name:pFileSystemProp" json:"file_system_property"`
	// Return: The GetFileSystemProperties return value.
	Return int32 `idl:"name:Return" json:"return"`
}

GetFileSystemPropertiesResponse structure represents the GetFileSystemProperties operation response

func (*GetFileSystemPropertiesResponse) MarshalNDR

func (*GetFileSystemPropertiesResponse) UnmarshalNDR

type MountRequest

type MountRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

MountRequest structure represents the Mount operation request

func (*MountRequest) MarshalNDR

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

func (*MountRequest) UnmarshalNDR

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

type MountResponse

type MountResponse 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 Mount return value.
	Return int32 `idl:"name:Return" json:"return"`
}

MountResponse structure represents the Mount operation response

func (*MountResponse) MarshalNDR

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

func (*MountResponse) UnmarshalNDR

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

type QueryAccessPathsRequest

type QueryAccessPathsRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

QueryAccessPathsRequest structure represents the QueryAccessPaths operation request

func (*QueryAccessPathsRequest) MarshalNDR

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

func (*QueryAccessPathsRequest) UnmarshalNDR

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

type QueryAccessPathsResponse

type QueryAccessPathsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// pwszPathArray: A pointer to an array of strings that, if the operation is successfully
	// completed, receives the array of access paths.
	PathArray []string `idl:"name:pwszPathArray;size_is:(, plNumberOfAccessPaths);string" json:"path_array"`
	// plNumberOfAccessPaths: A pointer to a variable that, if the operation is successfully
	// completed, receives the total number of elements returned in pwszPathArray.
	NumberOfAccessPaths int32 `idl:"name:plNumberOfAccessPaths" json:"number_of_access_paths"`
	// Return: The QueryAccessPaths return value.
	Return int32 `idl:"name:Return" json:"return"`
}

QueryAccessPathsResponse structure represents the QueryAccessPaths operation response

func (*QueryAccessPathsResponse) MarshalNDR

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

func (*QueryAccessPathsResponse) UnmarshalNDR

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

type QueryReparsePointsRequest

type QueryReparsePointsRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
}

QueryReparsePointsRequest structure represents the QueryReparsePoints operation request

func (*QueryReparsePointsRequest) MarshalNDR

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

func (*QueryReparsePointsRequest) UnmarshalNDR

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

type QueryReparsePointsResponse

type QueryReparsePointsResponse struct {
	// That: ORPCTHAT structure that is used to return ORPC extension data to the client.
	That *dcom.ORPCThat `idl:"name:That" json:"that"`
	// ppReparsePointProps: A pointer to an array of VDS_REPARSE_POINT_PROP structures that,
	// if the operation is successfully completed, receives the array of reparse point properties.
	ReparsePointProperties []*vds.ReparsePointProperty `idl:"name:ppReparsePointProps;size_is:(, plNumberOfReparsePointProps)" json:"reparse_point_properties"`
	// plNumberOfReparsePointProps: A pointer to a variable that, if the operation is successfully
	// completed, receives the total number of elements returned in ppReparsePointPorps.
	NumberOfReparsePointProperties int32 `idl:"name:plNumberOfReparsePointProps" json:"number_of_reparse_point_properties"`
	// Return: The QueryReparsePoints return value.
	Return int32 `idl:"name:Return" json:"return"`
}

QueryReparsePointsResponse structure represents the QueryReparsePoints operation response

func (*QueryReparsePointsResponse) MarshalNDR

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

func (*QueryReparsePointsResponse) UnmarshalNDR

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

type SetFileSystemFlagsRequest

type SetFileSystemFlagsRequest struct {
	// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
	This *dcom.ORPCThis `idl:"name:This" json:"this"`
	// ulFlags: Callers MUST set the VDS_FPF_COMPRESSED flag.
	Flags uint32 `idl:"name:ulFlags" json:"flags"`
}

SetFileSystemFlagsRequest structure represents the SetFileSystemFlags operation request

func (*SetFileSystemFlagsRequest) MarshalNDR

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

func (*SetFileSystemFlagsRequest) UnmarshalNDR

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

type SetFileSystemFlagsResponse

type SetFileSystemFlagsResponse 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 SetFileSystemFlags return value.
	Return int32 `idl:"name:Return" json:"return"`
}

SetFileSystemFlagsResponse structure represents the SetFileSystemFlags operation response

func (*SetFileSystemFlagsResponse) MarshalNDR

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

func (*SetFileSystemFlagsResponse) UnmarshalNDR

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

type UnimplementedVolumeMFServer added in v1.1.5

type UnimplementedVolumeMFServer struct {
	iunknown.UnimplementedUnknownServer
}

Unimplemented IVdsVolumeMF

func (UnimplementedVolumeMFServer) AddAccessPath added in v1.1.5

func (UnimplementedVolumeMFServer) ClearFileSystemFlags added in v1.1.5

func (UnimplementedVolumeMFServer) DeleteAccessPath added in v1.1.5

func (UnimplementedVolumeMFServer) Dismount added in v1.1.5

func (UnimplementedVolumeMFServer) Format added in v1.1.5

func (UnimplementedVolumeMFServer) GetFileSystemProperties added in v1.1.5

func (UnimplementedVolumeMFServer) Mount added in v1.1.5

func (UnimplementedVolumeMFServer) QueryAccessPaths added in v1.1.5

func (UnimplementedVolumeMFServer) QueryReparsePoints added in v1.1.5

func (UnimplementedVolumeMFServer) SetFileSystemFlags added in v1.1.5

type VolumeMFClient

type VolumeMFClient interface {

	// IUnknown retrieval method.
	Unknown() iunknown.UnknownClient

	// The GetFileSystemProperties method returns property details about the file system
	// on the current volume.
	//
	// 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.
	GetFileSystemProperties(context.Context, *GetFileSystemPropertiesRequest, ...dcerpc.CallOption) (*GetFileSystemPropertiesResponse, error)

	// The Format method formats a file system on the current volume.
	//
	// 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.
	Format(context.Context, *FormatRequest, ...dcerpc.CallOption) (*FormatResponse, error)

	// The AddAccessPath method adds an access path to the current volume.<129>
	//
	// 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.
	AddAccessPath(context.Context, *AddAccessPathRequest, ...dcerpc.CallOption) (*AddAccessPathResponse, error)

	// The QueryAccessPaths method returns a list of access paths and a drive letter as
	// a single case-insensitive Unicode character, if one exists, for the current volume.
	//
	// 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.
	QueryAccessPaths(context.Context, *QueryAccessPathsRequest, ...dcerpc.CallOption) (*QueryAccessPathsResponse, error)

	// The QueryReparsePoints method returns all reparse points for the current volume.
	//
	// 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.
	QueryReparsePoints(context.Context, *QueryReparsePointsRequest, ...dcerpc.CallOption) (*QueryReparsePointsResponse, error)

	// The DeleteAccessPath method removes the access path from the current volume.
	//
	// 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.
	DeleteAccessPath(context.Context, *DeleteAccessPathRequest, ...dcerpc.CallOption) (*DeleteAccessPathResponse, error)

	// The Mount method mounts a volume.
	//
	// 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.
	Mount(context.Context, *MountRequest, ...dcerpc.CallOption) (*MountResponse, error)

	// The Dismount method dismounts a mounted volume.
	//
	// 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.
	Dismount(context.Context, *DismountRequest, ...dcerpc.CallOption) (*DismountResponse, error)

	// The SetFileSystemFlags method sets the file system flags.
	//
	// 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.
	SetFileSystemFlags(context.Context, *SetFileSystemFlagsRequest, ...dcerpc.CallOption) (*SetFileSystemFlagsResponse, error)

	// The ClearFileSystemFlags method clears the file system flags.
	//
	// 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.
	ClearFileSystemFlags(context.Context, *ClearFileSystemFlagsRequest, ...dcerpc.CallOption) (*ClearFileSystemFlagsResponse, 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) VolumeMFClient
}

IVdsVolumeMF interface.

func NewVolumeMFClient

func NewVolumeMFClient(ctx context.Context, cc dcerpc.Conn, opts ...dcerpc.Option) (VolumeMFClient, error)

type VolumeMFServer

type VolumeMFServer interface {

	// IUnknown base class.
	iunknown.UnknownServer

	// The GetFileSystemProperties method returns property details about the file system
	// on the current volume.
	//
	// 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.
	GetFileSystemProperties(context.Context, *GetFileSystemPropertiesRequest) (*GetFileSystemPropertiesResponse, error)

	// The Format method formats a file system on the current volume.
	//
	// 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.
	Format(context.Context, *FormatRequest) (*FormatResponse, error)

	// The AddAccessPath method adds an access path to the current volume.<129>
	//
	// 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.
	AddAccessPath(context.Context, *AddAccessPathRequest) (*AddAccessPathResponse, error)

	// The QueryAccessPaths method returns a list of access paths and a drive letter as
	// a single case-insensitive Unicode character, if one exists, for the current volume.
	//
	// 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.
	QueryAccessPaths(context.Context, *QueryAccessPathsRequest) (*QueryAccessPathsResponse, error)

	// The QueryReparsePoints method returns all reparse points for the current volume.
	//
	// 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.
	QueryReparsePoints(context.Context, *QueryReparsePointsRequest) (*QueryReparsePointsResponse, error)

	// The DeleteAccessPath method removes the access path from the current volume.
	//
	// 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.
	DeleteAccessPath(context.Context, *DeleteAccessPathRequest) (*DeleteAccessPathResponse, error)

	// The Mount method mounts a volume.
	//
	// 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.
	Mount(context.Context, *MountRequest) (*MountResponse, error)

	// The Dismount method dismounts a mounted volume.
	//
	// 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.
	Dismount(context.Context, *DismountRequest) (*DismountResponse, error)

	// The SetFileSystemFlags method sets the file system flags.
	//
	// 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.
	SetFileSystemFlags(context.Context, *SetFileSystemFlagsRequest) (*SetFileSystemFlagsResponse, error)

	// The ClearFileSystemFlags method clears the file system flags.
	//
	// 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.
	ClearFileSystemFlags(context.Context, *ClearFileSystemFlagsRequest) (*ClearFileSystemFlagsResponse, error)
}

IVdsVolumeMF server interface.

Jump to

Keyboard shortcuts

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