IEnumSearchScopeRules::Clone Method

Creates a copy of this IEnumSearchScopeRules object with the same contents and state as the current one.

Syntax

HRESULT Clone(      
    IEnumSearchScopeRules **ppenum
);

Parameters

  • ppenum
    [out, retval]  Returns a pointer to the cloned IEnumSearchScopeRules object. The calling application must eventually free the new object by calling its IUnknown::Release member function.

Return Value

Returns S_OK if successful, or an error value otherwise.