GpioChangeReader.PeekNextItem 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 the earlier inserted change record from the reader's buffer, without removing it.
GpioChangeRecord PeekNextItem();
public GpioChangeRecord PeekNextItem();
function peekNextItem()
Public Function PeekNextItem () As GpioChangeRecord
Returns
A GpioChangeRecord structure containing the timestamp and polarity (rising or falling) of the change.
Remarks
The following exception can be thrown by this method:
- HRESULT_FROM_WIN32(ERROR_NO_MORE_ITEMS) - the reader's buffer is empty.