Share via


ISBE2EnumStream::Clone method (sbe.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Creates a copy of the enumerator object. The copy starts with the same enumeration state as the original.

Syntax

HRESULT Clone(
  [out] ISBE2EnumStream **ppIEnumStream
);

Parameters

[out] ppIEnumStream

Receives a pointer to the ISBE2EnumStream interface of the new enumerator object. This method allocates memory for the stream enumeration object. The caller is responsible for releasing the interface.

Return value

This method can return one of these values.

Return code Description
S_OK
The method succeeded.
E_POINTER
Null pointer argument.
E_OUTOFMEMORY
Out of memory for enumeration object.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header sbe.h
DLL Sbe.dll

See also

ISBE2EnumStream