SetThreadIdealProcessorEx method

int SetThreadIdealProcessorEx(
  1. Pointer<Void> hThread,
  2. Pointer<PPROCESSOR_NUMBER> lpIdealProcessor,
  3. Pointer<PPROCESSOR_NUMBER> lpPreviousIdealProcessor
)

Implementation

int SetThreadIdealProcessorEx(
  ffi.Pointer<ffi.Void> hThread,
  ffi.Pointer<PPROCESSOR_NUMBER> lpIdealProcessor,
  ffi.Pointer<PPROCESSOR_NUMBER> lpPreviousIdealProcessor,
) {
  return (_SetThreadIdealProcessorEx ??= _dylib.lookupFunction<
      _c_SetThreadIdealProcessorEx,
      _dart_SetThreadIdealProcessorEx>('SetThreadIdealProcessorEx'))(
    hThread,
    lpIdealProcessor,
    lpPreviousIdealProcessor,
  );
}