This function expunges deleted messages out of specified folders on a mail server.
Header file: | Msgstor2.h |
Platforms: | H/PC 3.0 |
Windows CE versions: | 2.10 and later |
BOOL TransportExpunge( HANDLE hService, lpTransportFolderList pFolders);
TRUE indicates success. FALSE indicates failure. To get extended error information, call the function TransportError or TransportErrorMsg.
The transport service provider must implement this function in a DLL registered as a mail service. The Inbox application can then load this DLL and call this function.
TransportFolderList stores an array of TransportFolderInfo structures. This function uses the members of the TransportFolderInfo structures in the following ways: