Documentation
¶
Index ¶
- Variables
- func HwProviderServerHandle(ctx context.Context, o HwProviderServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewHwProviderServerHandle(o HwProviderServer) dcerpc.ServerHandle
- func RegisterHwProviderServer(conn dcerpc.Conn, o HwProviderServer, opts ...dcerpc.Option)
- type HwProviderClient
- type HwProviderServer
- type QuerySubSystemsRequest
- type QuerySubSystemsResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsHwProvider interface identifier d99bdaae-b13a-4178-9fdb-e27f16b4603e HwProviderIID = &dcom.IID{Data1: 0xd99bdaae, Data2: 0xb13a, Data3: 0x4178, Data4: []byte{0x9f, 0xdb, 0xe2, 0x7f, 0x16, 0xb4, 0x60, 0x3e}} // Syntax UUID HwProviderSyntaxUUID = &uuid.UUID{TimeLow: 0xd99bdaae, TimeMid: 0xb13a, TimeHiAndVersion: 0x4178, ClockSeqHiAndReserved: 0x9f, ClockSeqLow: 0xdb, Node: [6]uint8{0xe2, 0x7f, 0x16, 0xb4, 0x60, 0x3e}} // Syntax ID HwProviderSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: HwProviderSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func HwProviderServerHandle ¶
func NewHwProviderServerHandle ¶
func NewHwProviderServerHandle(o HwProviderServer) dcerpc.ServerHandle
func RegisterHwProviderServer ¶
func RegisterHwProviderServer(conn dcerpc.Conn, o HwProviderServer, opts ...dcerpc.Option)
Types ¶
type HwProviderClient ¶
type HwProviderClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The QuerySubSystems method retrieves the subsystems that are managed by the provider. // // 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. QuerySubSystems(context.Context, *QuerySubSystemsRequest, ...dcerpc.CallOption) (*QuerySubSystemsResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // Conn returns the client connection (unsafe) Conn() dcerpc.Conn // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) HwProviderClient }
IVdsHwProvider interface.
func NewHwProviderClient ¶
type HwProviderServer ¶
type HwProviderServer interface { // IUnknown base class. iunknown.UnknownServer // The QuerySubSystems method retrieves the subsystems that are managed by the provider. // // 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. QuerySubSystems(context.Context, *QuerySubSystemsRequest) (*QuerySubSystemsResponse, error) }
IVdsHwProvider server interface.
type QuerySubSystemsRequest ¶
type QuerySubSystemsRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` }
QuerySubSystemsRequest structure represents the QuerySubSystems operation request
func (*QuerySubSystemsRequest) MarshalNDR ¶
func (*QuerySubSystemsRequest) UnmarshalNDR ¶
type QuerySubSystemsResponse ¶
type QuerySubSystemsResponse struct { // That: ORPCTHAT structure that is used to return ORPC extension data to the client. That *dcom.ORPCThat `idl:"name:That" json:"that"` // ppEnum: A pointer to an IEnumVdsObject interface. If the operation is successfully // completed, the pointer receives the IEnumVdsObject interface of the object, which // contains an enumeration of subsystem objects in the provider. Callers MUST release // the interface when they are finished with it. Enum *vds.EnumObject `idl:"name:ppEnum" json:"enum"` // Return: The QuerySubSystems return value. Return int32 `idl:"name:Return" json:"return"` }
QuerySubSystemsResponse structure represents the QuerySubSystems operation response
func (*QuerySubSystemsResponse) MarshalNDR ¶
func (*QuerySubSystemsResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.