Share via


IMAPIFolder

4/8/2010

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

Methods in Vtable Order

IMAPIFolder methods Description

IMAPIFolder::CreateMessage

Creates a new message.

IMAPIFolder::CopyMessages

Copies or moves one or more messages.

IMAPIFolder::DeleteMessages

Deletes one or more messages.

IMAPIFolder::CreateFolder

Creates a new subfolder.

IMAPIFolder::CopyFolder

Copies or moves a subfolder.

IMAPIFolder::DeleteFolder

Deletes a subfolder.

IMAPIFolder::SetReadFlags

Not supported — do not use.

IMAPIFolder::GetMessageStatus

Not supported — do not use.

IMAPIFolder::SetMessageStatus

Not supported — do not use.

IMAPIFolder::SaveContentsSort

Not supported — do not use.

IMAPIFolder::EmptyFolder

Deletes all messages and subfolders from a folder without deleting the folder itself. Available only for Windows Mobile Version 5.0 and later.

Properties

Required properties Access

PR_ENTRYID

Read-only

PR_PARENT_ENTRYID

Read-only

Remarks

IMAPIFolder is implemented by Message Store Providers, is called by Client Applications and MAPI, and is exposed by IFolder objects.

The interface identifier for IMAPIFolder is IID_IMAPIFolder, and the pointer type is LPMAPIFOLDER.

Requirements

Header mapidefs.h
Library cemapi.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Other Resources

MAPI Interfaces
Messaging