getRow method

void getRow(
  1. int ixTbl,
  2. int rid,
  3. Pointer<Pointer<NativeType>> ppRow
)

Gets the row at the specified row index, in the table at the specified table index.

Throws a WindowsException on failure.

To learn more, see learn.microsoft.com/windows/win32/api/rometadataapi/nf-rometadataapi-imetadatatables-getrow.

Implementation

@pragma('vm:prefer-inline')
void getRow(int ixTbl, int rid, Pointer<Pointer> ppRow) {
  final hr$ = HRESULT(_GetRowFn(ptr, ixTbl, rid, ppRow));
  if (hr$.isError) throw WindowsException(hr$);
}