Open topic with navigation
This function supplies pointers to other Filter functions. When
KV_GetFilterInterfaceEx() is called, it assigns the function pointers in the structure
KVFltInterfaceEx to other functions described in this chapter. For example,
fpInit is assigned to point to the function
This is used as an entry point to Filter API versions 7.4 and higher.
KVErrorCode pascal KV_GetFilterInterfaceEx( KVFltInterfaceEx *pInterfaceEx, int version );
||A pointer to the structure KVFltInterfaceEx, which contains function pointers that
||The version number of the current Filter interface. This is a symbolic constant (
If the revision number of the Filter interface API is unknown, this function returns a general error (
KVFltInterfaceExstructure and use this function to gain access to all other functions. The sample programs provide examples of how to do this.
GetOLESummaryInfo()instead of using
KVFltInterfaceEx. However, HPE recommends that you assign the function pointers in
KVFltInterfaceExto the functions for efficiency.
void *pKVFILTER; KVFltInterfaceEx FilterFunc; KVErrorCode nRet = KVERR_Success; KVErrorCode (pascal *fpGetFilterInterfaceEx)( KVFltInterfaceEx *FilterFunc, int version ); pKVFILTER = myLoadLibrary(szDllName); fpGetFilterInterfaceEx = (KVErrorCode (pascal *)( KVFltInterfaceEx *, int ) ) myGetProcAddress(pKVFILTER, "KV_GetFilterInterfaceEx");