The MailGetSort function retrieves the information about the current sort order for the specified mail handle.
BOOL MailSetSort (HANDLE hMail, PMAILSORTINFO pInfo);
Header file: | Msgstore.h |
Platforms: | H/PC |
Versions: | 2.0 and later |
This function returns TRUE if the sort information is retrieved, FALSE if the mail handle is invalid.
Before calling the MailGetSort function, you should call MailFirst to update the number of applicable messages. To get extended error information, call MailError or MailErrorMsg.