Share via


HrGetExportVector

HrGetExportVector

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release. The HrGetExportVector function returns a list of the other entry points in the DLL. The HrGetExportVector function can return the address of a static CONVDLLVECT structure, such as the following:

static CONVDLLVECT sExportedFuncs = { 1, // version number 1 HrCnvQueryCapability, // address of query capability function HrCnvConvert // address of translation function };

HrGetExportVector is the only function in the DLL that must be an entry point. The other functions must exist in the DLL, but do not have to be entry points because pointers to them are returned by HrGetExportVector.

Note that the entry point names in the .DEF file for a conversion DLL are not required to have any particular value. Because the translation framework uses Windows 2000 Registry keys to locate the entry point names for translations, you can put multiple translations in a single conversion DLL. Each translation in a DLL consists of an entry point which is the HrGetExportVector function for that translation, plus the corresponding HrCnvQueryCapability and HrCnvConvert functions. There is no requirement that your implementations of these functions use those function names.

For more information about how Windows 2000 Registry keys are used to specify the entry point names for the HrGetExportVector functions within a conversion DLL, see Installing a Conversion DLL.

The IPM_IN and IPM_OUT sample conversion DLLs contain examples of HrGetExportVector functions, as well as their definitions in the .DEF files for the DLLs. These sample DLLs are located in the \SAMPLES\DbMsg\EXCHANGE\E2K SGW directory.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.