Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The IMAPIFolderinterface 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

IMAPIFolderis implemented by Message Store Providers, is called by Client Applications and MAPI, and is exposed by IFolderobjects.

The interface identifier for IMAPIFolderis 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