Delen via


IDiaEnumSourceFiles::Clone

Creates an enumerator that contains the same enumeration state as the current enumerator.

HRESULT Clone ( 
   IDiaEnumSourceFiles** ppenum
);

Parameters

  • ppenum
    [out] Returns an IDiaEnumSourceFiles object that contains a duplicate of the enumerator. The source files are not duplicated, only the enumerator.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDiaEnumSourceFiles