getNumTables method

void getNumTables(
  1. Pointer<Uint32> pcTables
)

Gets the number of tables in the scope of the current IMetaDataTables instance.

Throws a WindowsException on failure.

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

Implementation

@pragma('vm:prefer-inline')
void getNumTables(Pointer<Uint32> pcTables) {
  final hr$ = HRESULT(_GetNumTablesFn(ptr, pcTables));
  if (hr$.isError) throw WindowsException(hr$);
}