M&M FDT 1.2.1 Online Specification
 IDtmActiveXControl::PrepareToRelease() method information


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

4.4.1.2 IDtmActiveXControl::PrepareToRelease()


This method can be called in the states:  

HRESULT PrepareToRelease (
[out, retval] VARIANT_BOOL* result
);


Description:
Used to inform the DTM control that it has to release its links to other components. The Frame Application will release the control after the DTM has send IDtmEvents::OnApplicationClosed().

Parameters:


Return Value:
resultTRUE The request was accepted FALSE The operation rejected.


Behavior:
If the request is accepted, the ActiveX will release the callback pointer to the DTM set during Init(). Furthermore the control has to release all links to other components and has to terminate all pending or running functions. The DTM has to inform the Frame Application via IDtmEvents::OnApplicationClosed() that the user interface could be released. If FALSE is returned, the DTM will not call OnApplicationClosed() and will preserve its current state

Comments:
-/-




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