Compartilhar via


IEnumRAWINPUTDEVIC:Clone

Creates another raw input device enumerator with the same state as the current enumerator to iterate over the same list.

HRESULT Clone( [out] IEnumRAWINPUTDEVICE **ppenum);

Parâmetros

ppenum

[out] Address of output variable that receives the IEnumRAWINPUTDEVICE interface pointer. If the method is unsuccessful, the value of this output variable is undefined.

Property Value/Return Value

HRESULT: Este método oferece suporte os valores de retorno padrão E_INVALIDARG, E_OUTOFMEMORY e E_UNEXPECTED.

Comentários

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.