EDKCNVENV
The EDKCNVENV structure contains the environment of a conversion.
Quick Info
typedef struct
{
INT nVersionEDKCNVENV;
LPCWSTR pszConversionPoint;
LHANDLE lphSession;
LPMDB lpMDB;
LPADRBOOK lpAB;
LPVOID pGatewayDefined;
} EDKCNVENV;
typedef EDKCNVENV * PEDKCNVENV;
Members
-
nVersionEDKCNVENV
-
Set this to nDesiredConvDllVersion.
-
pszConversionPoint
-
Points to a Unicode string to distinguish each conversion used within an application. For example:
-
SMTP.INBOUND.V1.0.0
-
Converts inbound SMTP messages for version 1.0 of a gateway.
-
SMTP.OUTBOUND.V1.0.0
-
Converts outbound SMTP messages for version 1.0 of a gateway.
-
lphSession
-
Points to the handle of the current MAPI logon session.
-
lpMDB
-
Points to an IMsgStore interface that is the message store.
-
lpAB
-
Points to an IAddrBook interface that is the address book.
-
pGatewayDefined
-
Points to an application-specific data structure. For example, a data structure containing a Boolean value indicating whether a TNEF encapsulation should be included on outgoing messages.
Remarks
For an example of how to initialize this structure, see the GWSAMPLE.C code sample. For information on the IAddrBook and IMsgStore interfaces, see the MAPI Programmer’s Reference
See Also
PCONVDLLCONV, PCONVDLLQUERY