PR_OBJECT_TYPE

The PR_OBJECT_TYPE property contains the type of an object.

Quick Info

Header file: MAPITAGS.H
Must be exposed by: Address book container, distribution list, folder, messaging user, message, and message store objects
Identifier: 0x0FFE
Property type: PT_LONG
Property tag: 0x0FFE0003

Remarks

The object type contained in the PR_OBJECT_TYPE property corresponds to the primary interface available for an object accessible through the OpenEntry interface. It is usually obtained by consulting the lpulObjType parameter returned by the appropriate OpenEntry method. When the interface is obtained in other ways, call IMAPIProp::GetProps to obtain the value for PR_OBJECT_TYPE.

PR_OBJECT_TYPE can have exactly one of the following values:

MAPI_ABCONT
Address book container object
MAPI_ADDRBOOK
Address book object
MAPI_ATTACH
Message attachment object
MAPI_DISTLIST
Distribution list object
MAPI_FOLDER
Folder object
MAPI_FORMINFO
Form object
MAPI_MAILUSER
Messaging user object
MAPI_MESSAGE
Message object
MAPI_PROFSECT
Profile section object
MAPI_STATUS
Status object
MAPI_STORE
Message store object

For more information on object types, see Objects and Interfaces.

See Also

General Object Properties