PR_RESOURCE_METHODS

The PR_RESOURCE_METHODS property contains a bitmask of flags indicating the methods in the IMAPIStatus interface that are supported by the status object.

Quick Info

Header file: MAPITAGS.H
Must be exposed by: Status objects
Must be a column in: Status tables
Identifier: 0x3E02
Property type: PT_LONG
Property tag: 0x3E020003

Remarks

PR_RESOURCE_METHODS indicates which of the methods in a status object's implementation of IMAPIStatus are supported. Status objects are allowed to return MAPI_E_NO_SUPPORT from unsupported methods.

Clients use a status object's PR_RESOURCE_METHODS property to avoid making calls to unsupported methods. If the flag that corresponds to a particular method is set, the method exists and can be called. If that flag is clear, the method should not be called.

The status objects implemented by MAPI support the following methods:

Status object Supported methods
MAPI subsystem ValidateState only
MAPI address book ValidateState only
MAPI spooler ValidateState and FlushQueues

One or more of the following flags can be set in PR_RESOURCE_METHODS:

STATUS_CHANGE_PASSWORD
Indicates that the IMAPIStatus::ChangePassword method is supported.
STATUS_FLUSH_QUEUES
Indicates that the IMAPIStatus::FlushQueues method is supported.
STATUS_SETTINGS_DIALOG
Indicates that the IMAPIStatus::SettingsDialog method is supported.
STATUS_VALIDATE_STATE
Indicates that the IMAPIStatus::ValidateState method is supported.