removeObjects method
Removes objects (identified by their refresher identifiers) from a refresher.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/wbemcli/nf-wbemcli-iwbemhiperfenum-removeobjects.
Implementation
@pragma('vm:prefer-inline')
void removeObjects(int lFlags, int uNumObjects, Pointer<Int32> apIds) {
final hr$ = HRESULT(_RemoveObjectsFn(ptr, lFlags, uNumObjects, apIds));
if (hr$.isError) throw WindowsException(hr$);
}