Documentation ¶
Index ¶
- Variables
- func AlternateLaunchServerHandle(ctx context.Context, o AlternateLaunchServer, opNum int, r ndr.Reader) (dcerpc.Operation, error)
- func NewAlternateLaunchServerHandle(o AlternateLaunchServer) dcerpc.ServerHandle
- func RegisterAlternateLaunchServer(conn dcerpc.Conn, o AlternateLaunchServer, opts ...dcerpc.Option)
- type AlternateLaunchClient
- type AlternateLaunchServer
- type CreateConfigurationRequest
- type CreateConfigurationResponse
- type DeleteConfigurationRequest
- type DeleteConfigurationResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IAlternateLaunch interface identifier 7f43b400-1a0e-4d57-bbc9-6b0c65f7a889 AlternateLaunchIID = &dcom.IID{Data1: 0x7f43b400, Data2: 0x1a0e, Data3: 0x4d57, Data4: []byte{0xbb, 0xc9, 0x6b, 0x0c, 0x65, 0xf7, 0xa8, 0x89}} // Syntax UUID AlternateLaunchSyntaxUUID = &uuid.UUID{TimeLow: 0x7f43b400, TimeMid: 0x1a0e, TimeHiAndVersion: 0x4d57, ClockSeqHiAndReserved: 0xbb, ClockSeqLow: 0xc9, Node: [6]uint8{0x6b, 0xc, 0x65, 0xf7, 0xa8, 0x89}} // Syntax ID AlternateLaunchSyntaxV0_0 = &dcerpc.SyntaxID{IfUUID: AlternateLaunchSyntaxUUID, IfVersionMajor: 0, IfVersionMinor: 0} )
View Source
var (
// import guard
GoPackage = "dcom/coma"
)
Functions ¶
func NewAlternateLaunchServerHandle ¶
func NewAlternateLaunchServerHandle(o AlternateLaunchServer) dcerpc.ServerHandle
func RegisterAlternateLaunchServer ¶
func RegisterAlternateLaunchServer(conn dcerpc.Conn, o AlternateLaunchServer, opts ...dcerpc.Option)
Types ¶
type AlternateLaunchClient ¶
type AlternateLaunchClient interface { // IUnknown retrieval method. Unknown() iunknown.UnknownClient // This method is called by a client to create an alternate launch configuration, as // specified in section 3.1.1.4, for a conglomeration. // // 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. | // +-------------------+--------------------------+ CreateConfiguration(context.Context, *CreateConfigurationRequest, ...dcerpc.CallOption) (*CreateConfigurationResponse, error) // This method is called by a client to delete an alternate launch configuration (see // section 3.1.1.4) for a conglomeration. // // 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. | // +-------------------+--------------------------+ DeleteConfiguration(context.Context, *DeleteConfigurationRequest, ...dcerpc.CallOption) (*DeleteConfigurationResponse, error) // AlterContext alters the client context. AlterContext(context.Context, ...dcerpc.Option) error // IPID sets the object interface identifier. IPID(context.Context, *dcom.IPID) AlternateLaunchClient }
IAlternateLaunch interface.
type AlternateLaunchServer ¶
type AlternateLaunchServer interface { // IUnknown base class. iunknown.UnknownServer // This method is called by a client to create an alternate launch configuration, as // specified in section 3.1.1.4, for a conglomeration. // // 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. | // +-------------------+--------------------------+ CreateConfiguration(context.Context, *CreateConfigurationRequest) (*CreateConfigurationResponse, error) // This method is called by a client to delete an alternate launch configuration (see // section 3.1.1.4) for a conglomeration. // // 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. | // +-------------------+--------------------------+ DeleteConfiguration(context.Context, *DeleteConfigurationRequest) (*DeleteConfigurationResponse, error) }
IAlternateLaunch server interface.
type CreateConfigurationRequest ¶
type CreateConfigurationRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // ConglomerationIdentifier: The conglomeration identifier of a conglomeration on the // server. ConglomerationID *dtyp.GUID `idl:"name:ConglomerationIdentifier" json:"conglomeration_id"` // bstrConfigurationName: A value to be used as the AlternateLaunchName property of // the alternate launch configuration. ConfigurationName *oaut.String `idl:"name:bstrConfigurationName" json:"configuration_name"` // dwStartType: A value to be used as the StartType property of the alternate launch // configuration. StartType uint32 `idl:"name:dwStartType" json:"start_type"` // dwErrorControl: A value to be used as the ErrorControl property of the alternate // launch configuration. ErrorControl uint32 `idl:"name:dwErrorControl" json:"error_control"` // bstrDependencies: A value to be used as the Dependencies property of the alternate // launch configuration. Dependencies *oaut.String `idl:"name:bstrDependencies" json:"dependencies"` // bstrRunAs: A value to be used as the AlternateLaunchRunAs property of the alternate // launch configuration. RunAs *oaut.String `idl:"name:bstrRunAs" json:"run_as"` // bstrPassword: A value to be used as the AlternateLaunchPassword property of the alternate // launch configuration. Password *oaut.String `idl:"name:bstrPassword" json:"password"` // bDesktopOk: A value to be used as the DesktopOk property of the alternate launch // configuration. DesktopOK int16 `idl:"name:bDesktopOk" json:"desktop_ok"` }
CreateConfigurationRequest structure represents the CreateConfiguration operation request
func (*CreateConfigurationRequest) MarshalNDR ¶
func (*CreateConfigurationRequest) UnmarshalNDR ¶
type CreateConfigurationResponse ¶
type CreateConfigurationResponse 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 CreateConfiguration return value. Return int32 `idl:"name:Return" json:"return"` }
CreateConfigurationResponse structure represents the CreateConfiguration operation response
func (*CreateConfigurationResponse) MarshalNDR ¶
func (*CreateConfigurationResponse) UnmarshalNDR ¶
type DeleteConfigurationRequest ¶
type DeleteConfigurationRequest struct { // This: ORPCTHIS structure that is used to send ORPC extension data to the server. This *dcom.ORPCThis `idl:"name:This" json:"this"` // ConglomerationIdentifier: The conglomeration identifier of a conglomeration on the // server. ConglomerationID *dtyp.GUID `idl:"name:ConglomerationIdentifier" json:"conglomeration_id"` }
DeleteConfigurationRequest structure represents the DeleteConfiguration operation request
func (*DeleteConfigurationRequest) MarshalNDR ¶
func (*DeleteConfigurationRequest) UnmarshalNDR ¶
type DeleteConfigurationResponse ¶
type DeleteConfigurationResponse 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 DeleteConfiguration return value. Return int32 `idl:"name:Return" json:"return"` }
DeleteConfigurationResponse structure represents the DeleteConfiguration operation response
func (*DeleteConfigurationResponse) MarshalNDR ¶
func (*DeleteConfigurationResponse) UnmarshalNDR ¶
Click to show internal directories.
Click to hide internal directories.