Share via


GpioChangeCounter.Reset Method

Definition

Resets the count to 0 and returns the previous count.

GpioChangeCount Reset();
public GpioChangeCount Reset();
function reset()
Public Function Reset () As GpioChangeCount

Returns

A GpioChangeCount structure containing a count and an associated timestamp.

Remarks

The following exception can be thrown by this method:

  • HRESULT_FROM_WIN32(ERROR_INVALID_HANDLE) - the change counter or the associated pin has been disposed.

Applies to