HrFolderRulesGetProviders

The HrFolderRulesGetProviders function retrieves the list of rules providers for the specified folder.

Quick Info

Header file: RULECLS.H
Library: RULECLS.LIB

HRESULT HrFolderRulesGetProviders(
  LPMDB lpMDB,                       
  ULONG cbentryid,                   
  LPENTRYID lpentryid,               
  LPULONG lpcProviders,              
  LPSTR FAR * FAR * lpppszProviders  
);
 

Parameters

lpMDB
Input parameter. Points to a MAPI IMsgStore interface containing the information store with the folder.
cbentryid
Input parameter. Specifies the number of bytes in the entry identifier (lpentryid) for the folder.
lpentryid
Input parameter. Points to an ENTRYID structure containing the entry identifier for the folder.
lpcProviders
Output parameter. Points to the number of providers in the list where lpppszProviders points.
lpppszProviders
Output parameter. Points to a pointer that points to a pointer to an array of providers.

Return Values

See Return Values. In addition, HrFolderRulesGetProviders can return the following value:

E_NOINTERFACE
No rules table exists for this folder.

Remarks

For information on the ENTRYID structure and the IMsgStore interface, see the MAPI Programmer's Reference.

See Also

HrFolderRulesOpen