M&M FDT 1.2.1 Online Specification
 IFdtChannelActiveXControl2::Init2() method information


Interfaces and Methods   -   Schemas   -   FDT Specification   -   Quicklinks   -   Abbreviations

4.6.2.1 IFdtChannelActiveXControl2::Init2()


This method can be called in the states:  

HRESULT Init2 (
[in] FdtUUIDString invokeId,
[in] FdtXmlDocument functionCall,
[in] IFdtChannel channel,
[out, retval] VARIANT_BOOL* result
);


Description:
Sets the callback pointer of an ActiveX control to the according FdtChannel.

Parameters:
invokeIdIdentifier for the started application.
functionCallXML document containing the function id for the requested function or user interface specified by the DTMFunctionCallSchema
channelPointer to the channel business object


Return Value:
resultTRUE Channel initialized FALSE The operation failed.


Behavior:
Sets the callback pointer of an ActiveX control to the according FdtChannel. The functionCall document informs the instance of the ActiveXControl about the context, it is started. If the initialization returns FALSE, the Frame Application has to release the control. The invoke id is used by a Frame Application for the association at the callback interface if the control is terminated within the user interface of the DTM. (see IDtmEvents::OnApplicationClosed()). Furthermore it allows the Frame Application to handle a list of open user interfaces.

Comments:
This function replaces the former IFdtChannelActiveXControl::Init() function that did not provide the current functionCall document to the channel ActiveX control. A Frame Application according to FDT version 1.2.1 must use this method instead of the former method.




© by M&M Software GmbH, parts of this website taken from FDT Interface Specification Version 1.2.1, © by FDT Group, AISBL.
This website is published for support of M&M products as granted in license conditions, chapter 2.1.
Last updated 2015-02-05 15:17
Email: FDT Technical Support Line.