Documentation ¶
Index ¶
- Variables
- func NewVolumeMF3ServerHandle(o VolumeMF3Server) dcerpc.ServerHandle
- func RegisterVolumeMF3Server(conn dcerpc.Conn, o VolumeMF3Server, opts ...dcerpc.Option)
- func VolumeMF3ServerHandle(ctx context.Context, o VolumeMF3Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type FormatEx2Request
- type FormatEx2Response
- type OfflineVolumeRequest
- type OfflineVolumeResponse
- type QueryVolumeGUIDPathnamesRequest
- type QueryVolumeGUIDPathnamesResponse
- type VolumeMF3Client
- type VolumeMF3Server
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsVolumeMF3 interface identifier 6788faf9-214e-4b85-ba59-266953616e09 VolumeMF3IID = &dcom.IID{Data1: 0x6788faf9, Data2: 0x214e, Data3: 0x4b85, Data4: []byte{0xba, 0x59, 0x26, 0x69, 0x53, 0x61, 0x6e, 0x09}} // Syntax UUID VolumeMF3SyntaxUUID = &uuid.UUID{TimeLow: 0x6788faf9, TimeMid: 0x214e, TimeHiAndVersion: 0x4b85, ClockSeqHiAndReserved: 0xba, ClockSeqLow: 0x59, Node: [6]uint8{0x26, 0x69, 0x53, 0x61, 0x6e, 0x9}} // Syntax ID VolumeMF3SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: VolumeMF3SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func NewVolumeMF3ServerHandle ¶
func NewVolumeMF3ServerHandle(o VolumeMF3Server) dcerpc.ServerHandle
func RegisterVolumeMF3Server ¶
func RegisterVolumeMF3Server(conn dcerpc.Conn, o VolumeMF3Server, opts ...dcerpc.Option)
Types ¶
type FormatEx2Request ¶
type FormatEx2Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // pwszFileSystemTypeName: A null-terminated Unicode string that contains the name of // the file systems to format the volume with. FileSystemTypeName string `idl:"name:pwszFileSystemTypeName;string;pointer:unique" json:"file_system_type_name"` // usFileSystemRevision: A 16-bit, binary-coded decimal number that indicates the revision // of the file system, if any. The first two (most significant) digits (8 bits) indicate // the major revision, and the last two (least significant) digits (8 bits) indicate // the minor revision. For example, 0x0250 represents revision 2.50. FileSystemRevision uint16 `idl:"name:usFileSystemRevision" json:"file_system_revision"` // ulDesiredUnitAllocationSize: The size, in bytes, of the allocation unit for the file // system. The value MUST be a power of 2. If the value is 0, a default allocation unit // that is determined by the file system type is used. The allocation unit range is // file system-dependent. DesiredUnitAllocationSize uint32 `idl:"name:ulDesiredUnitAllocationSize" json:"desired_unit_allocation_size"` // pwszLabel: A null-terminated Unicode string to assign to the new file system. The // maximum label size is file system-dependent. Label string `idl:"name:pwszLabel;string;pointer:unique" json:"label"` // Options: The combination of any values, by using a bitwise OR operator, that are // defined in the VDS_FORMAT_OPTION_FLAGS enumeration. Options uint32 `idl:"name:Options" json:"options"` }
FormatEx2Request structure represents the FormatEx2 operation request
func (*FormatEx2Request) MarshalNDR ¶
func (*FormatEx2Request) UnmarshalNDR ¶
type FormatEx2Response ¶
type FormatEx2Response 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 FormatEx2 return value. Return int32 `idl:"name:Return" json:"return"` }
FormatEx2Response structure represents the FormatEx2 operation response
func (*FormatEx2Response) MarshalNDR ¶
func (*FormatEx2Response) UnmarshalNDR ¶
type OfflineVolumeRequest ¶
type OfflineVolumeRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
OfflineVolumeRequest structure represents the OfflineVolume operation request
func (*OfflineVolumeRequest) MarshalNDR ¶
func (*OfflineVolumeRequest) UnmarshalNDR ¶
type OfflineVolumeResponse ¶
type OfflineVolumeResponse 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 OfflineVolume return value. Return int32 `idl:"name:Return" json:"return"` }
OfflineVolumeResponse structure represents the OfflineVolume operation response
func (*OfflineVolumeResponse) MarshalNDR ¶
func (*OfflineVolumeResponse) UnmarshalNDR ¶
type QueryVolumeGUIDPathnamesRequest ¶
type QueryVolumeGUIDPathnamesRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
QueryVolumeGUIDPathnamesRequest structure represents the QueryVolumeGuidPathnames operation request
func (*QueryVolumeGUIDPathnamesRequest) MarshalNDR ¶
func (*QueryVolumeGUIDPathnamesRequest) UnmarshalNDR ¶
type QueryVolumeGUIDPathnamesResponse ¶
type QueryVolumeGUIDPathnamesResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // pwszPathArray: Returns an array of null-terminated Unicode strings; one string for // each volume GUID path name associated with the volume. PathArray []string `idl:"name:pwszPathArray;size_is:(, pulNumberOfPaths);string" json:"path_array"` // pulNumberOfPaths: Returns the number of volume GUID path names returned in pwszPathArray. NumberOfPaths uint32 `idl:"name:pulNumberOfPaths" json:"number_of_paths"` // Return: The QueryVolumeGuidPathnames return value. Return int32 `idl:"name:Return" json:"return"` }
QueryVolumeGUIDPathnamesResponse structure represents the QueryVolumeGuidPathnames operation response
func (*QueryVolumeGUIDPathnamesResponse) MarshalNDR ¶
func (*QueryVolumeGUIDPathnamesResponse) UnmarshalNDR ¶
type VolumeMF3Client ¶
type VolumeMF3Client interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The QueryVolumeGuidPathnames method returns a volume's volume GUID path names. // // 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. QueryVolumeGUIDPathnames(context.Context, *QueryVolumeGUIDPathnamesRequest, ...dcerpc.CallOption) (*QueryVolumeGUIDPathnamesResponse, error) // The FormatEx2 method formats a file system on a 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. FormatEx2(context.Context, *FormatEx2Request, ...dcerpc.CallOption) (*FormatEx2Response, error) // The OfflineVolume method offlines a volume. An offline volume will fail data IO. // The volume can be opened for configuration. // // 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. OfflineVolume(context.Context, *OfflineVolumeRequest, ...dcerpc.CallOption) (*OfflineVolumeResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) VolumeMF3Client }
IVdsVolumeMF3 interface.
func NewVolumeMF3Client ¶
type VolumeMF3Server ¶
type VolumeMF3Server interface { // IUnknown base class. iunknown.UnknownServer // The QueryVolumeGuidPathnames method returns a volume's volume GUID path names. // // 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. QueryVolumeGUIDPathnames(context.Context, *QueryVolumeGUIDPathnamesRequest) (*QueryVolumeGUIDPathnamesResponse, error) // The FormatEx2 method formats a file system on a 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. FormatEx2(context.Context, *FormatEx2Request) (*FormatEx2Response, error) // The OfflineVolume method offlines a volume. An offline volume will fail data IO. // The volume can be opened for configuration. // // 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. OfflineVolume(context.Context, *OfflineVolumeRequest) (*OfflineVolumeResponse, error) }
IVdsVolumeMF3 server interface.
Click to show internal directories.
Click to hide internal directories.