| INT ExpungeMailbox( |
| |
LPIMAPMAILBOX lpMailboxInfo |
|
| ); |
The ExpungeMailbox method removes all messages marked for
deletion from the current mailbox.
Parameters
- lpMailboxInfo
- A pointer to an IMAPMAILBOX
structure which contains information about the mailbox when the
method returns. This parameter may be NULL if the caller does not
require any information about the mailbox.
Return Value
If the method succeeds, it returns zero. If an error occurs, the
method returns IMAP_ERROR. To get extended error information, call
GetLastError.
Remarks
The ExpungeMailbox method causes all messages marked for
deletion to be removed from the mailbox. Note that this can cause the
mailbox's UID to change, and potentially invalidate the current
message UIDs. It is recommended that applications use the information
returned in the IMAPMAILBOX structure to update any internal state
information stored on the local system.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csmapv12.lib
Unicode: Implemented as Unicode and ANSI versions
See Also
|