Documentation ¶
Index ¶
- Variables
- func NewServiceInitializationServerHandle(o ServiceInitializationServer) dcerpc.ServerHandle
- func RegisterServiceInitializationServer(conn dcerpc.Conn, o ServiceInitializationServer, opts ...dcerpc.Option)
- func ServiceInitializationServerHandle(ctx context.Context, o ServiceInitializationServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- type InitializeRequest
- type InitializeResponse
- type ServiceInitializationClient
- type ServiceInitializationServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IVdsServiceInitialization interface identifier 4afc3636-db01-4052-80c3-03bbcb8d3c69 ServiceInitializationIID = &dcom.IID{Data1: 0x4afc3636, Data2: 0xdb01, Data3: 0x4052, Data4: []byte{0x80, 0xc3, 0x03, 0xbb, 0xcb, 0x8d, 0x3c, 0x69}} // Syntax UUID ServiceInitializationSyntaxUUID = &uuid.UUID{TimeLow: 0x4afc3636, TimeMid: 0xdb01, TimeHiAndVersion: 0x4052, ClockSeqHiAndReserved: 0x80, ClockSeqLow: 0xc3, Node: [6]uint8{0x3, 0xbb, 0xcb, 0x8d, 0x3c, 0x69}} // Syntax ID ServiceInitializationSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ServiceInitializationSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/vds"
)
Functions ¶
func NewServiceInitializationServerHandle ¶
func NewServiceInitializationServerHandle(o ServiceInitializationServer) dcerpc.ServerHandle
func RegisterServiceInitializationServer ¶
func RegisterServiceInitializationServer(conn dcerpc.Conn, o ServiceInitializationServer, opts ...dcerpc.Option)
Types ¶
type InitializeRequest ¶
type InitializeRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // pwszMachineName: Reserved; this parameter is not used. MachineName string `idl:"name:pwszMachineName;string;pointer:unique" json:"machine_name"` }
InitializeRequest structure represents the Initialize operation request
func (*InitializeRequest) MarshalNDR ¶
func (*InitializeRequest) UnmarshalNDR ¶
type InitializeResponse ¶
type InitializeResponse 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 Initialize return value. Return int32 `idl:"name:Return" json:"return"` }
InitializeResponse structure represents the Initialize operation response
func (*InitializeResponse) MarshalNDR ¶
func (*InitializeResponse) UnmarshalNDR ¶
type ServiceInitializationClient ¶
type ServiceInitializationClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // The Initialize method starts the initialization of the server. // // 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. Initialize(context.Context, *InitializeRequest, ...dcerpc.CallOption) (*InitializeResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) ServiceInitializationClient }
IVdsServiceInitialization interface.
type ServiceInitializationServer ¶
type ServiceInitializationServer interface { // IUnknown base class. iunknown.UnknownServer // The Initialize method starts the initialization of the server. // // 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. Initialize(context.Context, *InitializeRequest) (*InitializeResponse, error) }
IVdsServiceInitialization server interface.
Click to show internal directories.
Click to hide internal directories.