IFilterKeyMap::AddFilter

Adds a filter to the map.


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

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.

  • S_OK

  • E_OUTOFMEMORY

  • E_POINTER

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

Show: