setLongValue method

void setLongValue(
  1. BSTR valueName,
  2. int value
)

Throws a WindowsException on failure.

Implementation

@pragma('vm:prefer-inline')
void setLongValue(BSTR valueName, int value) {
  final hr$ = HRESULT(_SetLongValueFn(ptr, valueName, value));
  if (hr$.isError) throw WindowsException(hr$);
}