skip method

void skip(
  1. int cConnections
)

Skips over the specified number of items in the enumeration sequence.

Throws a WindowsException on failure.

To learn more, see learn.microsoft.com/windows/win32/api/ocidl/nf-ocidl-ienumconnectionpoints-skip.

Implementation

@pragma('vm:prefer-inline')
void skip(int cConnections) {
  final hr$ = HRESULT(_SkipFn(ptr, cConnections));
  if (hr$.isError) throw WindowsException(hr$);
}