ChangeServiceConfigW method

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

Implementation

int ChangeServiceConfigW(
  ffi.Pointer<SC_HANDLE__> hService,
  int dwServiceType,
  int dwStartType,
  int dwErrorControl,
  ffi.Pointer<ffi.Uint16> lpBinaryPathName,
  ffi.Pointer<ffi.Uint16> lpLoadOrderGroup,
  ffi.Pointer<ffi.Uint64> lpdwTagId,
  ffi.Pointer<ffi.Uint16> lpDependencies,
  ffi.Pointer<ffi.Uint16> lpServiceStartName,
  ffi.Pointer<ffi.Uint16> lpPassword,
  ffi.Pointer<ffi.Uint16> lpDisplayName,
) {
  return (_ChangeServiceConfigW ??= _dylib.lookupFunction<
      _c_ChangeServiceConfigW,
      _dart_ChangeServiceConfigW>('ChangeServiceConfigW'))(
    hService,
    dwServiceType,
    dwStartType,
    dwErrorControl,
    lpBinaryPathName,
    lpLoadOrderGroup,
    lpdwTagId,
    lpDependencies,
    lpServiceStartName,
    lpPassword,
    lpDisplayName,
  );
}