IMAPIFolder

Send Feedback

The IMAPIFolder interface is used to perform operations on the messages and subfolders in a folder.

Methods in Vtable Order

IMAPIFolder methods Description
CreateMessage Creates a new message.
CopyMessages Copies or moves one or more messages.
DeleteMessages Deletes one or more messages.
CreateFolder Creates a new subfolder.
CopyFolder Copies or moves a subfolder.
DeleteFolder Deletes a subfolder.
SetReadFlags Not supported — do not use.
GetMessageStatus Not supported — do not use.
SetMessageStatus Not supported — do not use.
SaveContentsSort Not supported — do not use.
EmptyFolder Deletes all messages and subfolders from a folder without deleting the folder itself. Available only for Windows Mobile 5.0 and later.

Properties

Required properties Access
PR_ENTRYID Read-only
PR_PARENT_ENTRYID Read-only

Remarks

IMAPIFolder, implemented by message store providers, is called by client applications and MAPI and is exposed by folder objects. The interface identifier for IMAPIFolder is IID_IMAPIFolder, and the pointer type is LPMAPIFOLDER.

Requirements

Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: mapidefs.h
Library: cemapi.lib

See Also

MAPI Interfaces | Messaging

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.