ImpersonateSelf method

int ImpersonateSelf(
  1. int ImpersonationLevel
)

Implementation

int ImpersonateSelf(
  int ImpersonationLevel,
) {
  return (_ImpersonateSelf ??=
      _dylib.lookupFunction<_c_ImpersonateSelf, _dart_ImpersonateSelf>(
          'ImpersonateSelf'))(
    ImpersonationLevel,
  );
}