java-native-access / java-native-access/jna

Please add Windows Application Recovery and Restart API

Open
#1,293 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
Java
Stars
8.9k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to add the Windows Application Recovery and Restart API functions to WinBase.java please? Especially the RegisterApplicationRestart function which can be used to ensure an application is automatically restarted when the system restarts after an update.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading WinBase.java and the linked Windows Application Recovery and Restart API documentation, especially RegisterApplicationRestart. Done means the requested recovery and restart functions are exposed through WinBase.java with signatures matching the Windows API.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
operating-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.