Share via


IMAPIFolder (Compact 7)

3/12/2014

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 within the current folder.

IMAPIFolder::CopyMessages

Copies or moves one or more messages to another folder.

IMAPIFolder::DeleteMessages

Deletes one or more messages from the current folder.

IMAPIFolder::CreateFolder

Creates a new subfolder in the current folder.

IMAPIFolder::CopyFolder

Moves a subfolder. Copying a subfolder is not supported in Windows Embedded Compact powered Messaging.

IMAPIFolder::DeleteFolder

Removes a subfolder from the current folder.

IMAPIFolder::EmptyFolder

Deletes all messages and subfolders from a folder without deleting the folder itself.

IMAPIFolder::GetSearchCriteria

Gets the search criteria for a folder.

IMAPIFolder::SetSearchCriteria

Establishes the search criteria for a folder.

The following IMAPIFolder methods are not reserved:

  • IMAPIFolder::SetReadFlags
  • IMAPIFolder::GetMessageStatus
  • IMAPIFolder::SetMessageStatus

IMAPIFolder::SaveContentsSort

Properties

PR_ENTRYID

PR_PARENT_ENTRYID

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

See Also

Reference

MAPI Interfaces
IMAPIProp::OpenProperty