Documentation ¶
Index ¶
- Variables
- func Disk3ServerHandle(ctx context.Context, o Disk3Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewDisk3ServerHandle(o Disk3Server) dcerpc.ServerHandle
- func RegisterDisk3Server(conn dcerpc.Conn, o Disk3Server, opts ...dcerpc.Option)
- type Disk3Client
- type Disk3Server
- type GetProperties2Request
- type GetProperties2Response
- type QueryFreeExtentsRequest
- type QueryFreeExtentsResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsDisk3 interface identifier 8f4b2f5d-ec15-4357-992f-473ef10975b9 Disk3IID = &dcom.IID{Data1: 0x8f4b2f5d, Data2: 0xec15, Data3: 0x4357, Data4: []byte{0x99, 0x2f, 0x47, 0x3e, 0xf1, 0x09, 0x75, 0xb9}} // Syntax UUID Disk3SyntaxUUID = &uuid.UUID{TimeLow: 0x8f4b2f5d, TimeMid: 0xec15, TimeHiAndVersion: 0x4357, ClockSeqHiAndReserved: 0x99, ClockSeqLow: 0x2f, Node: [6]uint8{0x47, 0x3e, 0xf1, 0x9, 0x75, 0xb9}} // Syntax ID Disk3SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: Disk3SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func Disk3ServerHandle ¶
func NewDisk3ServerHandle ¶
func NewDisk3ServerHandle(o Disk3Server) dcerpc.ServerHandle
func RegisterDisk3Server ¶
func RegisterDisk3Server(conn dcerpc.Conn, o Disk3Server, opts ...dcerpc.Option)
Types ¶
type Disk3Client ¶
type Disk3Client interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // GetProperties2 operation. GetProperties2(context.Context, *GetProperties2Request, ...dcerpc.CallOption) (*GetProperties2Response, error) // The QueryFreeExtents method enumerates a disk's free extents.Returns all free extents // on the disk and aligns them to the alignment value supplied in the ulAlign parameter. // If there is no alignment value supplied, QueryFreeExtents aligns the free extents // based on the default alignment values. // // Return Values: QueryFreeExtents MUST return zero to indicate success, or an implementation-specific, // nonzero error code to indicate failure. // // Free extents are not returned for CD/DVD, or super floppy devices. // // If the disk has no partition format (it is not formatted as either MBR or GPT), then // this method MUST return VDS_E_DISK_NOT_INITIALIZED. QueryFreeExtents(context.Context, *QueryFreeExtentsRequest, ...dcerpc.CallOption) (*QueryFreeExtentsResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) Disk3Client }
IVdsDisk3 interface.
func NewDisk3Client ¶
type Disk3Server ¶
type Disk3Server interface { // IUnknown base class. iunknown.UnknownServer // GetProperties2 operation. GetProperties2(context.Context, *GetProperties2Request) (*GetProperties2Response, error) // The QueryFreeExtents method enumerates a disk's free extents.Returns all free extents // on the disk and aligns them to the alignment value supplied in the ulAlign parameter. // If there is no alignment value supplied, QueryFreeExtents aligns the free extents // based on the default alignment values. // // Return Values: QueryFreeExtents MUST return zero to indicate success, or an implementation-specific, // nonzero error code to indicate failure. // // Free extents are not returned for CD/DVD, or super floppy devices. // // If the disk has no partition format (it is not formatted as either MBR or GPT), then // this method MUST return VDS_E_DISK_NOT_INITIALIZED. QueryFreeExtents(context.Context, *QueryFreeExtentsRequest) (*QueryFreeExtentsResponse, error) }
IVdsDisk3 server interface.
type GetProperties2Request ¶
type GetProperties2Request struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
GetProperties2Request structure represents the GetProperties2 operation request
func (*GetProperties2Request) MarshalNDR ¶
func (*GetProperties2Request) UnmarshalNDR ¶
type GetProperties2Response ¶
type GetProperties2Response struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` DiskProperties *vds.DiskProperty2 `idl:"name:pDiskProperties" json:"disk_properties"` // Return: The GetProperties2 return value. Return int32 `idl:"name:Return" json:"return"` }
GetProperties2Response structure represents the GetProperties2 operation response
func (*GetProperties2Response) MarshalNDR ¶
func (*GetProperties2Response) UnmarshalNDR ¶
type QueryFreeExtentsRequest ¶
type QueryFreeExtentsRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // ulAlign: The alignment value. If ulAlign is 0, the default alignment value is used. Align uint32 `idl:"name:ulAlign" json:"align"` }
QueryFreeExtentsRequest structure represents the QueryFreeExtents operation request
func (*QueryFreeExtentsRequest) MarshalNDR ¶
func (*QueryFreeExtentsRequest) UnmarshalNDR ¶
type QueryFreeExtentsResponse ¶
type QueryFreeExtentsResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppFreeExtentArray: Pointer to an array of VDS_DISK_FREE_EXTENT structures that, if // the operation is successful, receives the array of disk extent structures. FreeExtentArray []*vds.DiskFreeExtent `idl:"name:ppFreeExtentArray;size_is:(, plNumberOfFreeExtents)" json:"free_extent_array"` // plNumberOfFreeExtents: Pointer to a variable that, if the operation is successfully // completed, receives the total number of elements in ppFreeExtentArray. NumberOfFreeExtents int32 `idl:"name:plNumberOfFreeExtents" json:"number_of_free_extents"` // Return: The QueryFreeExtents return value. Return int32 `idl:"name:Return" json:"return"` }
QueryFreeExtentsResponse structure represents the QueryFreeExtents operation response
func (*QueryFreeExtentsResponse) MarshalNDR ¶
func (*QueryFreeExtentsResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.