Top Description Inners Fields
com.sun.jna.platform.win32

public Interface Winsvc

Imports
com.sun.jna.Memory, .Pointer, .Structure, .Structure.FieldOrder, com.sun.jna.platform.win32.WinNT.HANDLE, com.sun.jna.win32.StdCallLibrary, .W32APITypeMapper

This module defines the 32-Bit Windows types and constants that are defined by NT, but exposed through the Win32 API. Ported from Winsvc.h. Microsoft Windows SDK 7.0A.
Author
EugineLev

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
public static class
Winsvc.ENUM_SERVICE_STATUS

Contains the name of a service in a service control manager database and information about that service.

public static class
Winsvc.ENUM_SERVICE_STATUS_PROCESS

Contains the name of a service in a service control manager database and information about the service.

public static interface
Winsvc.Handler

An application-defined callback function used with the RegisterServiceCtrlHandler function.

public static interface
Winsvc.HandlerEx

An application-defined callback function used with the RegisterServiceCtrlHandlerEx function.

public static class
Winsvc.SC_ACTION

Represents an action that the service control manager can perform.

public static class
public abstract static class
Winsvc.SC_STATUS_TYPE

The SC_STATUS_TYPE enumeration type contains values

public static class
Winsvc.SERVICE_DESCRIPTION

Contains a service description.

public static class
Winsvc.SERVICE_FAILURE_ACTIONS

Represents the action the service controller should take on each failure of a service.

public static class
Winsvc.SERVICE_FAILURE_ACTIONS_FLAG

Contains the failure actions flag setting of a service.

public static interface
Winsvc.SERVICE_MAIN_FUNCTION

The entry point for a service.

public static class
Winsvc.SERVICE_STATUS

Contains status information for a service.

public static class
public static class
Winsvc.SERVICE_STATUS_PROCESS

Contains process status information for a service.

public static class
Winsvc.SERVICE_TABLE_ENTRY

Specifies the ServiceMain function for a service that can run in the calling process.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
SERVICE_CHANGE_CONFIG

Required to call the ChangeServiceConfig or com.sun.jna.platform.win32.Advapi32#ChangeServiceConfig2 function to change the service configuration.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
SERVICE_CONTROL_CONTINUE

Notifies a service that its startup parameters have changed.

public static final int
public static final int
public static final int
SERVICE_CONTROL_INTERROGATE

Notifies a service that it should report its current status information to the service control manager.

public static final int
SERVICE_CONTROL_NETBINDADD

Notifies a network service that there is a new component for binding.

public static final int
SERVICE_CONTROL_NETBINDDISABLE

Notifies a network service that one of its bindings has been disabled.

public static final int
SERVICE_CONTROL_NETBINDENABLE

Notifies a network service that a disabled binding has been enabled.

public static final int
SERVICE_CONTROL_NETBINDREMOVE

Notifies a network service that a component for binding has been removed.

public static final int
public static final int
SERVICE_CONTROL_PAUSE

Notifies a service that it should pause.

public static final int
public static final int
public static final int
public static final int
public static final int
SERVICE_CONTROL_STOP

Notifies a service that it should stop.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
SERVICE_INTERROGATE

Required to call the com.sun.jna.platform.win32.Advapi32#ControlService function to pause or continue the service.

public static final int
SERVICE_PAUSE_CONTINUE

Required to call the com.sun.jna.platform.win32.Advapi32#ControlService function to pause or continue the service.

public static final int
public static final int
public static final int
SERVICE_QUERY_CONFIG

Required to call the QueryServiceConfig and com.sun.jna.platform.win32.Advapi32#QueryServiceConfig2 functions to query the service configuration.

public static final int
SERVICE_QUERY_STATUS

Required to call the QueryServiceStatus or com.sun.jna.platform.win32.Advapi32#QueryServiceStatusEx function to ask the service control manager about the status of the service.

public static final int
public static final int
public static final int
SERVICE_START

Required to call the com.sun.jna.platform.win32.Advapi32#StartService function to start the service.

public static final int
public static final int
public static final int
SERVICE_STOP

Required to call the com.sun.jna.platform.win32.Advapi32#ControlService function to stop the service.

public static final int
public static final int
public static final int
SERVICE_USER_DEFINED_CONTROL

Required to call the com.sun.jna.platform.win32.Advapi32#ControlService function to ask the service to report its status immediately.