Platform SDK: Exchange Server

HrInstallMessageConverter

The HrInstallMessageConverter function loads a message conversion DLL.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrInstallMessageConverter(
  LPSTR lpszConverter,       
  LPSTR lpszDllName,         
  LPSTR lpszMessageClasses,  
  LPSTR lpszOptions,         
  LPSTR lpszPoint            
);
 

Parameters

lpszConverter
Input parameter. Points to a null-terminated string (with a maximum length of 256 characters) that contains the name of the converter.
lpszDllName
Input parameter. Points to a null-terminated string (with a maximum length of 256 characters) that contains the full path to the conversion DLL.
lpszMessageClasses
Input parameter. Points to a null-terminated string (with a maximum length of 256 characters) that contains the message classes the DLL handles.

This parameter is terminated by two null values, such as in the following example, which specifies the DLL handles both SMTP and X.400 messages:

"SMTP\0X.400\0\0"

lpszOptions
Input parameter. Points to a null-terminated string (with a maximum length of 256 characters) that contains any arguments to the DLL.
lpszPoint
Input parameter. Points to a null-terminated string (with a maximum length of 256 characters) that specifies whether the DLL performs inbound (messages that are converted from another format to MAPI format) or outbound (messages that are converted from MAPI format to another format) conversion:
"INBOUND"
The DLL converts inbound messages.
"OUTBOUND"
The DLL converts outbound messages.

Return Values

See Return Values.

Remarks

The lpszMessageClasses and lpszPoint parameters define which messages the DLL converts.

See Also

HrRemoveMessageConverter