Files
docs-desktop/dotnet-desktop-guide/framework/wpf/app-development/ienumrawinputdevic-clone.md
T
Andy De George da363692ff Initial WPF content migrated (#17)
* Reset branch for WPF changes

* Convert BMP to PNG; fix link-out-of-scope err

* Add snippets for WPF... 6794 files!!!!

* Add missing snippets

* update file updated between migration

* Fix paths to include

* update breadcrumb and toc

* fix index links

* fix index links

* fix index links

* fix markdown
2020-09-04 09:46:28 -07:00

27 lines
997 B
Markdown

---
title: "IEnumRAWINPUTDEVIC:Clone"
ms.date: "03/30/2017"
helpviewer_keywords:
- "Clone method [WPF]"
ms.assetid: 2a6a1900-aa55-45fa-9382-241d569a2dc4
---
# IEnumRAWINPUTDEVIC:Clone
Creates another raw input device enumerator with the same state as the current enumerator to iterate over the same list.
## Syntax
```cpp
HRESULT Clone( [out] IEnumRAWINPUTDEVICE **ppenum);
```
## Parameters
`ppenum`
[out] Address of output variable that receives the [IEnumRAWINPUTDEVICE](ienumrawinputdevice.md) interface pointer. If the method is unsuccessful, the value of this output variable is undefined.
## Property Value/Return Value
HRESULT: This method supports the standard return values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED.
## Remarks
This method makes it possible to record a point in the enumeration sequence in order to return to that point at a later time. The caller must release this new enumerator separately from the first enumerator.