IPimNewCard::GetSupportedNewCardMode (Compact 7)

3/12/2014

This method retrieves the edit card behavior.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetSupportedNewCardMode(
  PimEditCardMode *pMode
) = 0;

Parameters

  • pMode
    [out] A PimEditCardMode enumerated value specifying the edit card behavior.

    • PimEditCardMode_InvokeAfterDefaultCard specifies that the edit card provide an addendum to the default experience. In this case, the edit card is only invoked after the default edit card.
    • PimEditCardMode_ReplaceDefaultCard specifies that the edit card completely replace the existing edit card behavior.

Return Value

S_OK if the edit card behavior was retrieved successfully.

E_INVALIDARG if pMode is NULL.

E_FAIL on unspecified error conditions.

Remarks

The mode indicates if the edit card completely replaces the existing edit card behavior or the edit card is actually an addendum to the default experience that will only be invoked after the default edit card.

Requirements

Header

poomext.h

See Also

Reference

IPimNewCard