SetThreadGroupAffinity method

int SetThreadGroupAffinity(
  1. Pointer<Void> hThread,
  2. Pointer<PGROUP_AFFINITY> GroupAffinity,
  3. Pointer<PGROUP_AFFINITY> PreviousGroupAffinity
)

Implementation

int SetThreadGroupAffinity(
  ffi.Pointer<ffi.Void> hThread,
  ffi.Pointer<PGROUP_AFFINITY> GroupAffinity,
  ffi.Pointer<PGROUP_AFFINITY> PreviousGroupAffinity,
) {
  return (_SetThreadGroupAffinity ??= _dylib.lookupFunction<
      _c_SetThreadGroupAffinity,
      _dart_SetThreadGroupAffinity>('SetThreadGroupAffinity'))(
    hThread,
    GroupAffinity,
    PreviousGroupAffinity,
  );
}