The TransportInit function takes a pointer to a service handle and initializes internal data for the service.
BOOL TransportInit (HANDLE *NewService, LPWSTR szCommonKey, LPWSTR szTransportKey,);
Header file: | Smtp.h |
Platforms: | H/PC |
Windows CE versions: | 1.0 and later |
The TransportInit function must be implemented by the transport service provider in a DLL registered as a mail service. The Inbox application can load this DLL and call this function.
TransportInit allocates a local heap for a SERVICE structure and initializes several fields. TransportInit can perform initializations using values from the registry. This is the first function called after the service DLL is loaded.