IRAPIEnumDevices::Clone

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method creates a new enumerator object that contains the same enumeration state as the current one. Because the new object points to the same place in the enumeration sequence, a client can use the Clone method to record a particular point in the enumeration sequence and return to that point later.

Syntax

HRESULT Clone(
  IRAPIEnumDevices** ppIEnum
);

Parameters

Return Value

If the operation was successful, the return value is NOERROR.

Requirements

Header rapi2.h
Library ole32.lib, rapiuuid.lib
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IRAPIEnumDevices