Share via


IFilterKeyMap::GetFilter

Looks up the specified filter.

HRESULT GetFilter(
  DWORD          dwFilterKey,
  ISyncFilter ** ppISyncFilter);

Parameters

  • dwFilterKey
    [in] The filter key of the filter to look up. This must be less than the value returned by IFilterKeyMap::GetCount.
  • ppISyncFilter
    [out] Returns the filter identified by dwFilterKey.

Return Value

  • S_OK.

  • E_INVALIDARG when dwFilterKey is an invalid value.

  • E_POINTER.

See Also

Reference

IFilterKeyMap Interface