setLongValue method
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$);
}