QueryInformationJobObject method

int QueryInformationJobObject(
  1. Pointer<Void> hJob,
  2. int JobObjectInformationClass,
  3. Pointer<Void> lpJobObjectInformation,
  4. int cbJobObjectInformationLength,
  5. Pointer<Uint64> lpReturnLength,
)

Implementation

int QueryInformationJobObject(
  ffi.Pointer<ffi.Void> hJob,
  int JobObjectInformationClass,
  ffi.Pointer<ffi.Void> lpJobObjectInformation,
  int cbJobObjectInformationLength,
  ffi.Pointer<ffi.Uint64> lpReturnLength,
) {
  return (_QueryInformationJobObject ??= _dylib.lookupFunction<
      _c_QueryInformationJobObject,
      _dart_QueryInformationJobObject>('QueryInformationJobObject'))(
    hJob,
    JobObjectInformationClass,
    lpJobObjectInformation,
    cbJobObjectInformationLength,
    lpReturnLength,
  );
}