CreateJobObjectA method

Pointer<Void> CreateJobObjectA(
  1. Pointer<LPSECURITY_ATTRIBUTES> lpJobAttributes,
  2. Pointer<Int8> lpName
)

Implementation

ffi.Pointer<ffi.Void> CreateJobObjectA(
  ffi.Pointer<LPSECURITY_ATTRIBUTES> lpJobAttributes,
  ffi.Pointer<ffi.Int8> lpName,
) {
  return (_CreateJobObjectA ??=
      _dylib.lookupFunction<_c_CreateJobObjectA, _dart_CreateJobObjectA>(
          'CreateJobObjectA'))(
    lpJobAttributes,
    lpName,
  );
}