OpenThreadToken method

int OpenThreadToken(
  1. Pointer<Void> ThreadHandle,
  2. int DesiredAccess,
  3. int OpenAsSelf,
  4. Pointer<Pointer<Void>> TokenHandle,
)

Implementation

int OpenThreadToken(
  ffi.Pointer<ffi.Void> ThreadHandle,
  int DesiredAccess,
  int OpenAsSelf,
  ffi.Pointer<ffi.Pointer<ffi.Void>> TokenHandle,
) {
  return (_OpenThreadToken ??=
      _dylib.lookupFunction<_c_OpenThreadToken, _dart_OpenThreadToken>(
          'OpenThreadToken'))(
    ThreadHandle,
    DesiredAccess,
    OpenAsSelf,
    TokenHandle,
  );
}