M&M FDT 1.2.1 Online Specification
 IFdtChannelActiveXControl::Init() method information


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

4.6.1.1 IFdtChannelActiveXControl::Init()


This method can be called in the states:  

HRESULT Init (
[in] FdtUUIDString invokeId,
[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.
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. 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:
-/-



Comments from fdtFAQ Forum:
Thomas Weller
created on 2013-12-10, last updated on 2013-12-10
The FDT 1.2 Init() method has no parameter 'functionCall', so one channel can only have one ActiveX. This issue has been addressed in FDT 1.2.1 IFdtChannelActiveXControl2::Init() where the parameter has been added.

© 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.