Documentation ¶
Index ¶
- Variables
- func NewServiceSwServerHandle(o ServiceSwServer) dcerpc.ServerHandle
- func RegisterServiceSwServer(conn dcerpc.Conn, o ServiceSwServer, opts ...dcerpc.Option)
- func ServiceSwServerHandle(ctx context.Context, o ServiceSwServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type GetDiskObjectRequest
- type GetDiskObjectResponse
- type ServiceSwClient
- type ServiceSwServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsServiceSw interface identifier 15fc031c-0652-4306-b2c3-f558b8f837e2 ServiceSwIID = &dcom.IID{Data1: 0x15fc031c, Data2: 0x0652, Data3: 0x4306, Data4: []byte{0xb2, 0xc3, 0xf5, 0x58, 0xb8, 0xf8, 0x37, 0xe2}} // Syntax UUID ServiceSwSyntaxUUID = &uuid.UUID{TimeLow: 0x15fc031c, TimeMid: 0x652, TimeHiAndVersion: 0x4306, ClockSeqHiAndReserved: 0xb2, ClockSeqLow: 0xc3, Node: [6]uint8{0xf5, 0x58, 0xb8, 0xf8, 0x37, 0xe2}} // Syntax ID ServiceSwSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ServiceSwSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func NewServiceSwServerHandle ¶
func NewServiceSwServerHandle(o ServiceSwServer) dcerpc.ServerHandle
func RegisterServiceSwServer ¶
func RegisterServiceSwServer(conn dcerpc.Conn, o ServiceSwServer, opts ...dcerpc.Option)
Types ¶
type GetDiskObjectRequest ¶
type GetDiskObjectRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // pwszDeviceID: The null-terminated Unicode device path that the operating system uses // to identify the device for the disk. DeviceID string `idl:"name:pwszDeviceID;string" json:"device_id"` }
GetDiskObjectRequest structure represents the GetDiskObject operation request
func (*GetDiskObjectRequest) MarshalNDR ¶
func (*GetDiskObjectRequest) UnmarshalNDR ¶
type GetDiskObjectResponse ¶
type GetDiskObjectResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` DiskUnknown *dcom.Unknown `idl:"name:ppDiskUnk" json:"disk_unknown"` // Return: The GetDiskObject return value. Return int32 `idl:"name:Return" json:"return"` }
GetDiskObjectResponse structure represents the GetDiskObject operation response
func (*GetDiskObjectResponse) MarshalNDR ¶
func (*GetDiskObjectResponse) UnmarshalNDR ¶
type ServiceSwClient ¶
type ServiceSwClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The GetDiskObject method<75> returns the disk for the given PnP Device ID string. // // 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. GetDiskObject(context.Context, *GetDiskObjectRequest, ...dcerpc.CallOption) (*GetDiskObjectResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ServiceSwClient }
IVdsServiceSw interface.
func NewServiceSwClient ¶
type ServiceSwServer ¶
type ServiceSwServer interface { // IUnknown base class. iunknown.UnknownServer // The GetDiskObject method<75> returns the disk for the given PnP Device ID string. // // 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. GetDiskObject(context.Context, *GetDiskObjectRequest) (*GetDiskObjectResponse, error) }
IVdsServiceSw server interface.
Click to show internal directories.
Click to hide internal directories.