Documentation
¶
Index ¶
- Variables
- func ExportServerHandle(ctx context.Context, o ExportServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewExportServerHandle(o ExportServer) dcerpc.ServerHandle
- func RegisterExportServer(conn dcerpc.Conn, o ExportServer, opts ...dcerpc.Option)
- type ExportClient
- type ExportConglomerationRequest
- type ExportConglomerationResponse
- type ExportServer
- type UnimplementedExportServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IExport interface identifier cfadac84-e12c-11d1-b34c-00c04f990d54 ExportIID = &dcom.IID{Data1: 0xcfadac84, Data2: 0xe12c, Data3: 0x11d1, Data4: []byte{0xb3, 0x4c, 0x00, 0xc0, 0x4f, 0x99, 0x0d, 0x54}} // Syntax UUID ExportSyntaxUUID = &uuid.UUID{TimeLow: 0xcfadac84, TimeMid: 0xe12c, TimeHiAndVersion: 0x11d1, ClockSeqHiAndReserved: 0xb3, ClockSeqLow: 0x4c, Node: [6]uint8{0x0, 0xc0, 0x4f, 0x99, 0xd, 0x54}} // Syntax ID ExportSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: ExportSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/coma"
)
Functions ¶
func ExportServerHandle ¶
func NewExportServerHandle ¶
func NewExportServerHandle(o ExportServer) dcerpc.ServerHandle
func RegisterExportServer ¶
func RegisterExportServer(conn dcerpc.Conn, o ExportServer, opts ...dcerpc.Option)
Types ¶
type ExportClient ¶
type ExportClient interface {
// IUnknown retrieval method.
Unknown() iunknown.UnknownClient
// This method is called by a client to export a conglomeration to an installer package
// file.
//
// pConglomerationIdentifier: The conglomeration identifier of a conglomeration on the
// server.
//
// pwszInstallerPackage: A path in UNC that is to be used as the location for the server
// to create an installer package file.
//
// pwszReserved: MUST be an empty (zero-length) string.
//
// dwFlags: MUST be a combination of zero or more of the following flags.
//
// +------------------------------+----------------------------------------------------------------------------------+
// | | |
// | FLAG | MEANING |
// | | |
// +------------------------------+----------------------------------------------------------------------------------+
// +------------------------------+----------------------------------------------------------------------------------+
// | fEXPORT_OVERWRITE 0x00000001 | The server SHOULD mark the installer package file with a directive that existing |
// | | files be overwritten on import (section 3.1.4.12.1). |
// +------------------------------+----------------------------------------------------------------------------------+
// | fEXPORT_WITHUSERS 0x00000010 | The server SHOULD include user account information in the installer package |
// | | file. |
// +------------------------------+----------------------------------------------------------------------------------+
// | fEXPORT_PROXY 0x00000020 | The server SHOULD mark the exported conglomeration as a proxy conglomeration by |
// | | setting the IsProxyApp property to TRUE (0x00000001). |
// +------------------------------+----------------------------------------------------------------------------------+
// | fEXPORT_CATVER300 0x00000080 | The server SHOULD only include configuration that is defined in catalog version |
// | | 3.00. |
// +------------------------------+----------------------------------------------------------------------------------+
//
// 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. |
// +-------------------+--------------------------+
ExportConglomeration(context.Context, *ExportConglomerationRequest, ...dcerpc.CallOption) (*ExportConglomerationResponse, 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) ExportClient
}
IExport interface.
func NewExportClient ¶
type ExportConglomerationRequest ¶
type ExportConglomerationRequest struct {
// This: ORPCTHIS structure that is used to send ORPC extension data to the server.
This *dcom.ORPCThis `idl:"name:This" json:"this"`
ConglomerationID *dtyp.GUID `idl:"name:pConglomerationIdentifier" json:"conglomeration_id"`
InstallerPackage string `idl:"name:pwszInstallerPackage" json:"installer_package"`
Flags uint32 `idl:"name:dwFlags" json:"flags"`
}
ExportConglomerationRequest structure represents the ExportConglomeration operation request
func (*ExportConglomerationRequest) MarshalNDR ¶
func (*ExportConglomerationRequest) UnmarshalNDR ¶
type ExportConglomerationResponse ¶
type ExportConglomerationResponse 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 ExportConglomeration return value.
Return int32 `idl:"name:Return" json:"return"`
}
ExportConglomerationResponse structure represents the ExportConglomeration operation response
func (*ExportConglomerationResponse) MarshalNDR ¶
func (*ExportConglomerationResponse) UnmarshalNDR ¶
type ExportServer ¶
type ExportServer interface {
// IUnknown base class.
iunknown.UnknownServer
// This method is called by a client to export a conglomeration to an installer package
// file.
//
// pConglomerationIdentifier: The conglomeration identifier of a conglomeration on the
// server.
//
// pwszInstallerPackage: A path in UNC that is to be used as the location for the server
// to create an installer package file.
//
// pwszReserved: MUST be an empty (zero-length) string.
//
// dwFlags: MUST be a combination of zero or more of the following flags.
//
// +------------------------------+----------------------------------------------------------------------------------+
// | | |
// | FLAG | MEANING |
// | | |
// +------------------------------+----------------------------------------------------------------------------------+
// +------------------------------+----------------------------------------------------------------------------------+
// | fEXPORT_OVERWRITE 0x00000001 | The server SHOULD mark the installer package file with a directive that existing |
// | | files be overwritten on import (section 3.1.4.12.1). |
// +------------------------------+----------------------------------------------------------------------------------+
// | fEXPORT_WITHUSERS 0x00000010 | The server SHOULD include user account information in the installer package |
// | | file. |
// +------------------------------+----------------------------------------------------------------------------------+
// | fEXPORT_PROXY 0x00000020 | The server SHOULD mark the exported conglomeration as a proxy conglomeration by |
// | | setting the IsProxyApp property to TRUE (0x00000001). |
// +------------------------------+----------------------------------------------------------------------------------+
// | fEXPORT_CATVER300 0x00000080 | The server SHOULD only include configuration that is defined in catalog version |
// | | 3.00. |
// +------------------------------+----------------------------------------------------------------------------------+
//
// 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. |
// +-------------------+--------------------------+
ExportConglomeration(context.Context, *ExportConglomerationRequest) (*ExportConglomerationResponse, error)
}
IExport server interface.
type UnimplementedExportServer ¶
type UnimplementedExportServer struct {
iunknown.UnimplementedUnknownServer
}
Unimplemented IExport
func (UnimplementedExportServer) ExportConglomeration ¶
func (UnimplementedExportServer) ExportConglomeration(context.Context, *ExportConglomerationRequest) (*ExportConglomerationResponse, error)
Click to show internal directories.
Click to hide internal directories.