IEnumSearchRoots::Clone Method
Creates a copy of the IEnumSearchRoots object with the same contents and state as the current one.
Syntax
HRESULT Clone( IEnumSearchRoots **ppenum );
Parameters
- ppenum
[out, retval] Returns a pointer to the new IEnumSearchRoots object. The calling application must free the new object by calling its IUnknown::Release method.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
Windows 7 and later: the CrawlScopeCommandLine code sample, available on Code Gallery and the Windows 7 SDK, demonstrates how to define command line options for Crawl Scope Manager (CSM) indexing operations.