To close a CAPI interface window unconditionally, call the generic function
To close a CAPI interface window such that its
is called first to allow the user to confirm, call
. You must call it in the window's process, for example in the callback of a menu item.
CAPI User Guide (Windows version) - 30 Aug 2011