Documentation ¶
Index ¶
- Variables
- func NewRemovableServerHandle(o RemovableServer) dcerpc.ServerHandle
- func RegisterRemovableServer(conn dcerpc.Conn, o RemovableServer, opts ...dcerpc.Option)
- func RemovableServerHandle(ctx context.Context, o RemovableServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type EjectRequest
- type EjectResponse
- type QueryMediaRequest
- type QueryMediaResponse
- type RemovableClient
- type RemovableServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsRemovable interface identifier 0316560b-5db4-4ed9-bbb5-213436ddc0d9 RemovableIID = &dcom.IID{Data1: 0x0316560b, Data2: 0x5db4, Data3: 0x4ed9, Data4: []byte{0xbb, 0xb5, 0x21, 0x34, 0x36, 0xdd, 0xc0, 0xd9}} // Syntax UUID RemovableSyntaxUUID = &uuid.UUID{TimeLow: 0x316560b, TimeMid: 0x5db4, TimeHiAndVersion: 0x4ed9, ClockSeqHiAndReserved: 0xbb, ClockSeqLow: 0xb5, Node: [6]uint8{0x21, 0x34, 0x36, 0xdd, 0xc0, 0xd9}} // Syntax ID RemovableSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: RemovableSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func NewRemovableServerHandle ¶
func NewRemovableServerHandle(o RemovableServer) dcerpc.ServerHandle
func RegisterRemovableServer ¶
func RegisterRemovableServer(conn dcerpc.Conn, o RemovableServer, opts ...dcerpc.Option)
Types ¶
type EjectRequest ¶
type EjectRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
EjectRequest structure represents the Eject operation request
func (*EjectRequest) MarshalNDR ¶
func (*EjectRequest) UnmarshalNDR ¶
type EjectResponse ¶
type EjectResponse 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 Eject return value. Return int32 `idl:"name:Return" json:"return"` }
EjectResponse structure represents the Eject operation response
func (*EjectResponse) MarshalNDR ¶
func (*EjectResponse) UnmarshalNDR ¶
type QueryMediaRequest ¶
type QueryMediaRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
QueryMediaRequest structure represents the QueryMedia operation request
func (*QueryMediaRequest) MarshalNDR ¶
func (*QueryMediaRequest) UnmarshalNDR ¶
type QueryMediaResponse ¶
type QueryMediaResponse 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 QueryMedia return value. Return int32 `idl:"name:Return" json:"return"` }
QueryMediaResponse structure represents the QueryMedia operation response
func (*QueryMediaResponse) MarshalNDR ¶
func (*QueryMediaResponse) UnmarshalNDR ¶
type RemovableClient ¶
type RemovableClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The QueryMedia method identifies the media in the drive. // // 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. // // ERROR_SUCCESS (0x00000000) QueryMedia(context.Context, *QueryMediaRequest, ...dcerpc.CallOption) (*QueryMediaResponse, error) // The Eject method ejects the media in the drive. // // 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. Eject(context.Context, *EjectRequest, ...dcerpc.CallOption) (*EjectResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) RemovableClient }
IVdsRemovable interface.
func NewRemovableClient ¶
type RemovableServer ¶
type RemovableServer interface { // IUnknown base class. iunknown.UnknownServer // The QueryMedia method identifies the media in the drive. // // 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. // // ERROR_SUCCESS (0x00000000) QueryMedia(context.Context, *QueryMediaRequest) (*QueryMediaResponse, error) // The Eject method ejects the media in the drive. // // 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. Eject(context.Context, *EjectRequest) (*EjectResponse, error) }
IVdsRemovable server interface.
Click to show internal directories.
Click to hide internal directories.