ChangeServiceConfigA method

int ChangeServiceConfigA(
  1. Pointer<SC_HANDLE__> hService,
  2. int dwServiceType,
  3. int dwStartType,
  4. int dwErrorControl,
  5. Pointer<Int8> lpBinaryPathName,
  6. Pointer<Int8> lpLoadOrderGroup,
  7. Pointer<Uint64> lpdwTagId,
  8. Pointer<Int8> lpDependencies,
  9. Pointer<Int8> lpServiceStartName,
  10. Pointer<Int8> lpPassword,
  11. Pointer<Int8> lpDisplayName,
)

Implementation

int ChangeServiceConfigA(
  ffi.Pointer<SC_HANDLE__> hService,
  int dwServiceType,
  int dwStartType,
  int dwErrorControl,
  ffi.Pointer<ffi.Int8> lpBinaryPathName,
  ffi.Pointer<ffi.Int8> lpLoadOrderGroup,
  ffi.Pointer<ffi.Uint64> lpdwTagId,
  ffi.Pointer<ffi.Int8> lpDependencies,
  ffi.Pointer<ffi.Int8> lpServiceStartName,
  ffi.Pointer<ffi.Int8> lpPassword,
  ffi.Pointer<ffi.Int8> lpDisplayName,
) {
  return (_ChangeServiceConfigA ??= _dylib.lookupFunction<
      _c_ChangeServiceConfigA,
      _dart_ChangeServiceConfigA>('ChangeServiceConfigA'))(
    hService,
    dwServiceType,
    dwStartType,
    dwErrorControl,
    lpBinaryPathName,
    lpLoadOrderGroup,
    lpdwTagId,
    lpDependencies,
    lpServiceStartName,
    lpPassword,
    lpDisplayName,
  );
}