Documentation ¶
Index ¶
- Variables
- func NewServiceLoaderServerHandle(o ServiceLoaderServer) dcerpc.ServerHandle
- func RegisterServiceLoaderServer(conn dcerpc.Conn, o ServiceLoaderServer, opts ...dcerpc.Option)
- func ServiceLoaderServerHandle(ctx context.Context, o ServiceLoaderServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type LoadServiceRequest
- type LoadServiceResponse
- type ServiceLoaderClient
- type ServiceLoaderServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsServiceLoader interface identifier e0393303-90d4-4a97-ab71-e9b671ee2729 ServiceLoaderIID = &dcom.IID{Data1: 0xe0393303, Data2: 0x90d4, Data3: 0x4a97, Data4: []byte{0xab, 0x71, 0xe9, 0xb6, 0x71, 0xee, 0x27, 0x29}} // Syntax UUID ServiceLoaderSyntaxUUID = &uuid.UUID{TimeLow: 0xe0393303, TimeMid: 0x90d4, TimeHiAndVersion: 0x4a97, ClockSeqHiAndReserved: 0xab, ClockSeqLow: 0x71, Node: [6]uint8{0xe9, 0xb6, 0x71, 0xee, 0x27, 0x29}} // Syntax ID ServiceLoaderSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ServiceLoaderSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func NewServiceLoaderServerHandle ¶
func NewServiceLoaderServerHandle(o ServiceLoaderServer) dcerpc.ServerHandle
func RegisterServiceLoaderServer ¶
func RegisterServiceLoaderServer(conn dcerpc.Conn, o ServiceLoaderServer, opts ...dcerpc.Option)
Types ¶
type LoadServiceRequest ¶
type LoadServiceRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // pwszMachineName: A pointer to a string that contains the name of the machine on which // the VDS service is loaded. MachineName string `idl:"name:pwszMachineName;string;pointer:unique" json:"machine_name"` }
LoadServiceRequest structure represents the LoadService operation request
func (*LoadServiceRequest) MarshalNDR ¶
func (*LoadServiceRequest) UnmarshalNDR ¶
type LoadServiceResponse ¶
type LoadServiceResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppService: A pointer to the IVdsService interface that, if successfully completed, // returns the IVdsService interface to the VDS service that runs on the machine represented // by pwszMachineName. Service *vds.Service `idl:"name:ppService" json:"service"` // Return: The LoadService return value. Return int32 `idl:"name:Return" json:"return"` }
LoadServiceResponse structure represents the LoadService operation response
func (*LoadServiceResponse) MarshalNDR ¶
func (*LoadServiceResponse) UnmarshalNDR ¶
type ServiceLoaderClient ¶
type ServiceLoaderClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The LoadService method is used by client applications to load the VDS service on // a remote machine. // // 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. LoadService(context.Context, *LoadServiceRequest, ...dcerpc.CallOption) (*LoadServiceResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ServiceLoaderClient }
IVdsServiceLoader interface.
func NewServiceLoaderClient ¶
type ServiceLoaderServer ¶
type ServiceLoaderServer interface { // IUnknown base class. iunknown.UnknownServer // The LoadService method is used by client applications to load the VDS service on // a remote machine. // // 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. LoadService(context.Context, *LoadServiceRequest) (*LoadServiceResponse, error) }
IVdsServiceLoader server interface.
Click to show internal directories.
Click to hide internal directories.