Documentation ¶
Index ¶
- Variables
- func NewVolumeMF2ServerHandle(o VolumeMF2Server) dcerpc.ServerHandle
- func RegisterVolumeMF2Server(conn dcerpc.Conn, o VolumeMF2Server, opts ...dcerpc.Option)
- func VolumeMF2ServerHandle(ctx context.Context, o VolumeMF2Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type FormatExRequest
- type FormatExResponse
- type GetFileSystemTypeNameRequest
- type GetFileSystemTypeNameResponse
- type QueryFileSystemFormatSupportRequest
- type QueryFileSystemFormatSupportResponse
- type VolumeMF2Client
- type VolumeMF2Server
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsVolumeMF2 interface identifier 4dbcee9a-6343-4651-b85f-5e75d74d983c VolumeMF2IID = &dcom.IID{Data1: 0x4dbcee9a, Data2: 0x6343, Data3: 0x4651, Data4: []byte{0xb8, 0x5f, 0x5e, 0x75, 0xd7, 0x4d, 0x98, 0x3c}} // Syntax UUID VolumeMF2SyntaxUUID = &uuid.UUID{TimeLow: 0x4dbcee9a, TimeMid: 0x6343, TimeHiAndVersion: 0x4651, ClockSeqHiAndReserved: 0xb8, ClockSeqLow: 0x5f, Node: [6]uint8{0x5e, 0x75, 0xd7, 0x4d, 0x98, 0x3c}} // Syntax ID VolumeMF2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: VolumeMF2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func NewVolumeMF2ServerHandle ¶
func NewVolumeMF2ServerHandle(o VolumeMF2Server) dcerpc.ServerHandle
func RegisterVolumeMF2Server ¶
func RegisterVolumeMF2Server(conn dcerpc.Conn, o VolumeMF2Server, opts ...dcerpc.Option)
Types ¶
type FormatExRequest ¶
type FormatExRequest 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. 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"` // bForce: A Boolean that determines whether a file system 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 formatted. // 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.<134> EnableCompression int32 `idl:"name:bEnableCompression" json:"enable_compression"` }
FormatExRequest structure represents the FormatEx operation request
func (*FormatExRequest) MarshalNDR ¶
func (*FormatExRequest) UnmarshalNDR ¶
type FormatExResponse ¶
type FormatExResponse 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 FormatEx return value. Return int32 `idl:"name:Return" json:"return"` }
FormatExResponse structure represents the FormatEx operation response
func (*FormatExResponse) MarshalNDR ¶
func (*FormatExResponse) UnmarshalNDR ¶
type GetFileSystemTypeNameRequest ¶
type GetFileSystemTypeNameRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetFileSystemTypeNameRequest structure represents the GetFileSystemTypeName operation request
func (*GetFileSystemTypeNameRequest) MarshalNDR ¶
func (*GetFileSystemTypeNameRequest) UnmarshalNDR ¶
type GetFileSystemTypeNameResponse ¶
type GetFileSystemTypeNameResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppwszFileSystemTypeName: A pointer that, if the operation is successfully completed, // receives a null-terminated Unicode string with the file system name. FileSystemTypeName string `idl:"name:ppwszFileSystemTypeName;string" json:"file_system_type_name"` // Return: The GetFileSystemTypeName return value. Return int32 `idl:"name:Return" json:"return"` }
GetFileSystemTypeNameResponse structure represents the GetFileSystemTypeName operation response
func (*GetFileSystemTypeNameResponse) MarshalNDR ¶
func (*GetFileSystemTypeNameResponse) UnmarshalNDR ¶
type QueryFileSystemFormatSupportRequest ¶
type QueryFileSystemFormatSupportRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
QueryFileSystemFormatSupportRequest structure represents the QueryFileSystemFormatSupport operation request
func (*QueryFileSystemFormatSupportRequest) MarshalNDR ¶
func (*QueryFileSystemFormatSupportRequest) UnmarshalNDR ¶
type QueryFileSystemFormatSupportResponse ¶
type QueryFileSystemFormatSupportResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppFileSystemSupportProps: A pointer to an array of VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP // structures which, if the operation completes successfully, receives an array of properties // of each supported file-system. FileSystemSupportProperties []*vds.FileSystemFormatSupportProperty `idl:"name:ppFileSystemSupportProps;size_is:(, plNumberOfFileSystems)" json:"file_system_support_properties"` // plNumberOfFileSystems: A pointer to a variable which, if the operation completes // successfully, receives the total number of elements returned in ppFileSystemSupportProps. NumberOfFileSystems int32 `idl:"name:plNumberOfFileSystems" json:"number_of_file_systems"` // Return: The QueryFileSystemFormatSupport return value. Return int32 `idl:"name:Return" json:"return"` }
QueryFileSystemFormatSupportResponse structure represents the QueryFileSystemFormatSupport operation response
func (*QueryFileSystemFormatSupportResponse) MarshalNDR ¶
func (*QueryFileSystemFormatSupportResponse) UnmarshalNDR ¶
type VolumeMF2Client ¶
type VolumeMF2Client interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The GetFileSystemTypeName method retrieves the name of the 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. GetFileSystemTypeName(context.Context, *GetFileSystemTypeNameRequest, ...dcerpc.CallOption) (*GetFileSystemTypeNameResponse, error) // The QueryFileSystemFormatSupport method retrieves the properties of the file systems // that are supported for formatting 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. QueryFileSystemFormatSupport(context.Context, *QueryFileSystemFormatSupportRequest, ...dcerpc.CallOption) (*QueryFileSystemFormatSupportResponse, error) // The FormatEx 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. FormatEx(context.Context, *FormatExRequest, ...dcerpc.CallOption) (*FormatExResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) VolumeMF2Client }
IVdsVolumeMF2 interface.
func NewVolumeMF2Client ¶
type VolumeMF2Server ¶
type VolumeMF2Server interface { // IUnknown base class. iunknown.UnknownServer // The GetFileSystemTypeName method retrieves the name of the 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. GetFileSystemTypeName(context.Context, *GetFileSystemTypeNameRequest) (*GetFileSystemTypeNameResponse, error) // The QueryFileSystemFormatSupport method retrieves the properties of the file systems // that are supported for formatting 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. QueryFileSystemFormatSupport(context.Context, *QueryFileSystemFormatSupportRequest) (*QueryFileSystemFormatSupportResponse, error) // The FormatEx 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. FormatEx(context.Context, *FormatExRequest) (*FormatExResponse, error) }
IVdsVolumeMF2 server interface.
Click to show internal directories.
Click to hide internal directories.