Compartilhar via


IEnumRAWINPUTDEVIC:Next

Enumerates the next celt RAWINPUTDEVICE structures in the enumerator's list, returning them in rgelt along with the actual number of enumerated elements in pceltFetched.

HRESULT Next(
      [in] ULONG celt,
      [out, size_is(celt), length_is(*pceltFetched)] RAWINPUTDEVICE *rgelt,
      [out] ULONG *pceltFetched);

Parâmetros

celt

[in] Number of RAWINPUTDEVICE structures returned in rgelt.

rgelt

[out] Array of size celt (or larger) to receive enumerated RAWINPUTDEVICE structures.

pceltFetched

[out] Pointer to the number of elements actually supplied in rgelt. Caller can pass in NULL if rgelt is one.

Property Value/Return Value

HRESULT: S_OK se o número de elementos fornecido é celt; Caso contrário, o S_FALSE.