Documentation ¶
Index ¶
- Variables
- func Import2ServerHandle(ctx context.Context, o Import2Server, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewImport2ServerHandle(o Import2Server) dcerpc.ServerHandle
- func RegisterImport2Server(conn dcerpc.Conn, o Import2Server, opts ...dcerpc.Option)
- type Import2Client
- type Import2Server
- type SetPartitionRequest
- type SetPartitionResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IImport2 interface identifier 1f7b1697-ecb2-4cbb-8a0e-75c427f4a6f0 Import2IID = &dcom.IID{Data1: 0x1f7b1697, Data2: 0xecb2, Data3: 0x4cbb, Data4: []byte{0x8a, 0x0e, 0x75, 0xc4, 0x27, 0xf4, 0xa6, 0xf0}} // Syntax UUID Import2SyntaxUUID = &uuid.UUID{TimeLow: 0x1f7b1697, TimeMid: 0xecb2, TimeHiAndVersion: 0x4cbb, ClockSeqHiAndReserved: 0x8a, ClockSeqLow: 0xe, Node: [6]uint8{0x75, 0xc4, 0x27, 0xf4, 0xa6, 0xf0}} // Syntax ID Import2SyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: Import2SyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/coma"
)
Functions ¶
func Import2ServerHandle ¶
func NewImport2ServerHandle ¶
func NewImport2ServerHandle(o Import2Server) dcerpc.ServerHandle
func RegisterImport2Server ¶
func RegisterImport2Server(conn dcerpc.Conn, o Import2Server, opts ...dcerpc.Option)
Types ¶
type Import2Client ¶
type Import2Client interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // This method is called by a client to set the import target partition (as specified // in section 3.1.1.5). // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result (as specified in [MS-ERREF], section 2.1) on failure. All failure results // MUST be treated identically. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ SetPartition(context.Context, *SetPartitionRequest, ...dcerpc.CallOption) (*SetPartitionResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) Import2Client }
IImport2 interface.
func NewImport2Client ¶
type Import2Server ¶
type Import2Server interface { // IUnknown base class. iunknown.UnknownServer // This method is called by a client to set the import target partition (as specified // in section 3.1.1.5). // // Return Values: This method MUST return S_OK (0x00000000) on success, and a failure // result (as specified in [MS-ERREF], section 2.1) on failure. All failure results // MUST be treated identically. // // +-------------------+--------------------------+ // | RETURN | | // | VALUE/CODE | DESCRIPTION | // | | | // +-------------------+--------------------------+ // +-------------------+--------------------------+ // | 0x00000000 S_OK | The call was successful. | // +-------------------+--------------------------+ SetPartition(context.Context, *SetPartitionRequest) (*SetPartitionResponse, error) }
IImport2 server interface.
type SetPartitionRequest ¶
type SetPartitionRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // pPartitionIdentifier: A pointer to a variable containing a GUID to be used as the // partition identifier for the import target partition. PartitionID *dtyp.GUID `idl:"name:pPartitionIdentifier" json:"partition_id"` }
SetPartitionRequest structure represents the SetPartition operation request
func (*SetPartitionRequest) MarshalNDR ¶
func (*SetPartitionRequest) UnmarshalNDR ¶
type SetPartitionResponse ¶
type SetPartitionResponse 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 SetPartition return value. Return int32 `idl:"name:Return" json:"return"` }
SetPartitionResponse structure represents the SetPartition operation response
func (*SetPartitionResponse) MarshalNDR ¶
func (*SetPartitionResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.