Partager via


Constants for the Store API

Constants for the Store API

This topic contains constant definitions and interface identifiers used by APIs that interface with a MAPI store.

Constants

fnevIndexing ((ULONG) 0x00010000) A store provider can specify fnevIndexing in the ulEventType member of the NOTIFICATION structure to notify the indexer that an object is ready for indexing. The info member of the NOTIFICATION structure contains an EXTENDED_NOTIFICATION structure.
FS_NONE 0x00 A client can call IFolderSupport::GetSupportMask and check for the returned bitmask. FS_NONE indicates that the folder does not support sharing.
FS_SUPPORTS_SHARING 0x01 A client can call IFolderSupport::GetSupportMask and check for the returned bitmask. FS_SUPPORTS_SHARING indicates that the folder supports sharing.
INDEXING_SEARCH_OWNER ((ULONG) 0x00000001) Identifies the process that is pushing a notification to an indexer that an object is ready for indexing.
MNID_STRING As defined in the Microsoft Windows Software Development Kit (SDK) header file mapidefs.h. A value for the ulKind field of the MAPINAMEID structure.
MSCAP_RES_ANNOTATION ((ULONG) 0x00000001) If a client specifies MSCAP_SEL_RESTRICTION in mscapSelector for IMSCapabilities::GetCapabilities, GetCapabilities can return this value if the store ignores invalid parameters in a restriction.
MSCAP_SECURE_FOLDER_HOMEPAGES ((ULONG) 0x00000020) If a client specifies MSCAP_SEL_FOLDER in mscapSelector for IMSCapabilities::GetCapabilities, GetCapabilities can return this value if the store is a non-default store that supports folder homepages.
STORE_PUSHER_OK ((ULONG) 0x00800000) A client can get the property PR_SUPPORT_MASK to determine the characteristic of a message store. If the store provider sets the STORE_PUSHER_OK flag in the bitmask, that means the MAPI Protocol Handler will not crawl the store, and the store is responsible to push any changes through notifications to the indexer to have messages indexed.

Definitions for Namespaces

The following globally unique identifiers (GUIDs) represent the namespaces of named properties:

  const GUID PS_PUBLIC_STRINGS = {0x00020329, 0x0000, 0x0000, {0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}};
const GUID PSETID_Common = {0x00062008, 0x0000, 0x0000, {0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46}};

Interface Identifiers

Use the DEFINE_GUID macro defined in the Windows SDK header file guiddef.h to associate the GUID symbolic name with its value.

//{00375ac3-ecaf-4ef8-a527-34f452fa9c67}

  DEFINE_GUID(IID_IFolderSupport, 0x00375ac3, 0xecaf, 0x4ef8, 0xa5, 0x27, 0x34, 0xf4, 0x52, 0xfa, 0x9c, 0x67);

//{29F3AB10-554d-11d0-a97c-00a0c911f50a}

  #define DEFINE_PRXGUID(_name, _l) DEFINE_GUID(_name, (0x29f3ab10 + _l), 0x554d, 0x11d0, 0xa9, 0x7c, 0x00, 0xa0, 0xc9, 0x11, 0xf5, 0x0a)
DEFINE_PRXGUID(IID_IProxyStoreObject, 0x00000000L);

Use the DEFINE_OLEGUID macro defined in the Windows SDK header file guiddef.h to associate the GUID symbolic name with its value.

//{00020393-0000-0000-C000-000000000046}

  DEFINE_OLEGUID(IID_IMSCapabilities, 0x00020393, 0, 0)

See Also

About the Store API

About Notification-Based Store Indexing