Microsoft Windows CE 3.0  

IEnumRegFilters::Next

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Fills the array with descriptions of the next set of filters (specified by the cFiltersparameter) that meet the requirements specified upon creation of the enumerator.

HRESULT
Next(
ULONG
cFilters
,
REGFILTER
**
apRegFilter
,
ULONG
*
pcFetched
);

Parameters

cFilters
[in] Number of filters.
apRegFilter
[out] Pointer to an array of REGFILTERpointers.
pcFetched
[out] Actual number of filters passed.

Return Values

Returns an HRESULTvalue that depends on the implementation. HRESULTcan be one of the following standard constants, or other values not listed.

Value Description
E_FAIL Failure.
E_POINTER Null pointer argument.
E_INVALIDARG Invalid argument.
E_NOTIMPL Method isn't supported.
S_OK or NOERROR Success.

Remarks

The calling application must use the Microsoft Win32 CoTaskMemFreefunction to free each REGFILTERpointer returned in the array. Do not free the Namemember of the REGFILTERstructure separately, because IEnumRegFilters::Nextallocates memory for this string as part of the REGFILTERstructure.