This function, an extension of TransportCount, determines the number of messages in the mailbox or any other message folder, and returns this count in the lpNumMsgs parameter.
Header file: | Msgstor2.h |
Platforms: | H/PC 3.0 |
Windows CE versions: | 2.10 and later |
BOOL TransportCountEx(HANDLE hService, LPWSTR szFolderID,
WORD *pwNumMsg);
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.