RT
------解决方案--------------------
The MailSwitchToFolder function switches to a folder and displays it in listview.
Syntax
HRESULT MailSwitchToFolder(
LPENTRYID lpEntryID,
ULONG cbEntryID
);
Parameters
lpEntryID
[in] Reference to the ENTRYID of the folder to display in listview.
cbEntryID
[in] Size in bytes of the ENTRYID.