Every translation DLL must have the following functions.
Entry Point | Purpose |
---|---|
HrCnvConvert | Performs the translation |
HrCnvQueryCapability | Determines whether the translation DLL can translate a particular message class |
HrGetExportVector | Returns a vector of pointers to the HrCnvConvert and HrCnvQueryCapability entry points. |
These functions are called at appropriate times by the message translation framework, usually in response to a gateway’s call to the framework’s HrConvConvert function.
Function parameters and return values for these entry points, as well as function prototypes, are in the EDK.H header file. All translation DLLs should include this file.