Sdílet prostřednictvím


IFilterKeyMap::AddFilter

Adds a filter to the map.

HRESULT AddFilter(
  ISyncFilter  * pISyncFilter,
  DWORD       * pdwFilterKey);

Parameters

  • pISyncFilter
    [in] The filter to add to the map.
  • pdwFilterKey
    [out] Returns the filter key of the newly added filter. This can be NULL if the filter key is not needed.

Return Value

  • S_OK

  • E_OUTOFMEMORY

  • E_POINTER

Remarks

When a new filter is added to the filter key map, the map automatically allocates more memory and resizes itself, if it is necessary.

See Also

Reference

IFilterKeyMap Interface