-api-id | -api-type |
---|---|
M:Windows.Devices.Gpio.GpioChangeCounter.Reset |
winrt method |
Resets the count to 0 and returns the previous count.
A GpioChangeCount structure containing a count and an associated timestamp.
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.