KVXMLGetInterface()
NOTE: This function has been superseded by KVXMLGetInterfaceEx(); KVXMLGetInterfaceEx() should be used instead of KVXMLGetInterface().
This function is exported by the Export definition file. It supplies function pointers to other Export functions. When KVXMLGetInterface() is called, it assigns the function pointers in the structure KVXMLInterface to other functions described in this chapter. For example, KVXMLInterface.fpInit is assigned to point to KVXMLInit().
Syntax
void pascal KVXMLGetInterface (KVXMLInterface *pInterface);
Arguments
pInterface
|
A pointer to the structure KVXMLInterface. See KVXMLInterfaceEx. |
Returns
None.
Discussion
-
One of the initial steps in using the XML Export API is to create an instance of a
KVXMLInterfacestructure and use this function to gain access to other functions. -
The functions can be called directly. For example, you can call
KVXMLGetSummaryInfo()instead of usingfpGetSummaryInfo()inKVXMLInterface. However, Micro Focus recommends that you assign the function pointers inKVXMLInterfaceto the functions for efficiency.