IRAPIEnumDevices

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This interface allows a desktop application to enumerate the set of connected Windows Embedded CEā€“based remote devices which are represented by IRAPIDevice interfaces. For Windows CE 5.0 and earlier, this enumeration sequence will only contain a single connected device.

A reference to this interface can be obtained by using the IRAPIDesktop interface.

Methods

The following table shows the methods for this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

Method Description

Clone

Creates a new enumerator object that contains the same enumeration state as the current one.

GetCount

Returns the number of remote devices in the enumerator.

Next

Retrieves the next remote device in the enumeration sequence.

Reset

Resets the enumeration sequence to the beginning.

Skip

Skips the specified number of elements in the enumeration sequence.

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

RAPI2 Interfaces
IRAPIDevice