The TransportProps function is used to add or modify information for the user's mail service properties. TransportProps is not required to be implemented and can simply return TRUE. Note that a user interface is required to display the information.
BOOL TransportProps(HWND hwndParent, LPWSTR szCommonKey, LPWSTR szTransportKey,);
Header file: | Smtp.h |
Platforms: | H/PC |
Windows CE versions: | 1.0 and later |
Returns TRUE if the mail properties were successfully updated; returns FALSE otherwise.
The TransportProps 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.
For example, under the ServiceInfo key (that is the key defined identfied by the parameter szCommonKey), a key named SAMPLE could exist. This registry key contains values that represent information such as the user's settings and preferences. As part of this routine, such preferences as saving the user's password can be set in the registry.