Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Windows Service functions from ntservice project to core #848

Merged

Conversation

matthiasblaesing
Copy link
Member

The ntservice poject contained additional definitions for windows
service related functionality. Unittests are added in the form of a
sample service implementation, that is installed/uninstalled and
invoked.

com.sun.jna.platform.win32.Advapi32:

  • StartServiceCtrlDispatcher
  • RegisterServiceCtrlHandler
  • RegisterServiceCtrlHandlerEx
  • SetServiceStatus
  • CreateService
  • DeleteService

com.sun.jna.platform.win32.Winsvc:

  • Handler
  • HandlerEx
  • SERVICE_MAIN_FUNCTION
  • SERVICE_TABLE_ENTRY
  • SERVICE_DESCRIPTION
  • SERVICE_STATUS_HANDLE

Closes: #821
Closes: #258

The ntservice poject contained additional definitions for windows
service related functionality. Unittests are added in the form of a
sample service implementation, that is installed/uninstalled and
invoked.

com.sun.jna.platform.win32.Advapi32:
- StartServiceCtrlDispatcher
- RegisterServiceCtrlHandler
- RegisterServiceCtrlHandlerEx
- SetServiceStatus
- CreateService
- DeleteService

com.sun.jna.platform.win32.Winsvc:
- Handler
- HandlerEx
- SERVICE_MAIN_FUNCTION
- SERVICE_TABLE_ENTRY
- SERVICE_DESCRIPTION
- SERVICE_STATUS_HANDLE

Closes: java-native-access#821
Closes: java-native-access#258
@matthiasblaesing matthiasblaesing merged commit 40ca17e into java-native-access:master Aug 17, 2017
@matthiasblaesing matthiasblaesing deleted the win32service branch August 17, 2017 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant