The MailSetSort function sets the order in which mail messages will be retrieved by MailFirst/MailNext calls on the same handle.
BOOL MailSetSort (HANDLE hMail, MAILSORTFIELD iSort, BOOL fAscending);
Header file: | Msgstore.h |
Platforms: | H/PC |
Versions: | 2.0 and later |
This function returns TRUE if the call is successful, or FALSE if there is an error.
To get extended error information, call MailError or MailErrorMsg.