GpioChangeReader.GetNextItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves and removes the earliest inserted change record from the reader's buffer.
GpioChangeRecord GetNextItem();
public GpioChangeRecord GetNextItem();
function getNextItem()
Public Function GetNextItem () As GpioChangeRecord
Returns
A GpioChangeRecord structure containing the timestamp and polarity (rising or falling) of the change.
Remarks
This will also reset an active overflow condition, causing the IsOverflowed property to return false.
The following exception can be thrown by this method:
- HRESULT_FROM_WIN32(ERROR_NO_MORE_ITEMS) - the reader's buffer is empty.