This function returns a list of folders from a transport mail server.
Header file: | Msgstor2.h |
Platforms: | H/PC 3.0 |
Windows CE versions: | 2.10 and later |
BOOL TransportGetFolders(HANDLE hService, LPWSTR szParentID,
lpTransportFolderList *ppFolders);
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.
This function only returns the first level of subfolders directly beneath the parent folder.
This functiononly sets the szFriendlyName and szServiceID members of the TransportFolderInfo structures in TransportFolderList, and ignores the fidStoreID member.