Klasse Winsvc.SERVICE_TABLE_ENTRY

java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.win32.Winsvc.SERVICE_TABLE_ENTRY
Umschließende Schnittstelle:
Winsvc

@FieldOrder({"lpServiceName","lpServiceProc"}) public static class Winsvc.SERVICE_TABLE_ENTRY extends Structure
Specifies the ServiceMain function for a service that can run in the calling process. It is used by the StartServiceCtrlDispatcher function.
  • Felddetails

    • lpServiceName

      public String lpServiceName
      The name of a service to be run in this service process.

      If the service is installed with the SERVICE_WIN32_OWN_PROCESS service type, this member is ignored, but cannot be NULL. This member can be an empty string ("").

      If the service is installed with the SERVICE_WIN32_SHARE_PROCESS service type, this member specifies the name of the service that uses the ServiceMain function pointed to by the lpServiceProc member.

    • lpServiceProc

      public Winsvc.SERVICE_MAIN_FUNCTION lpServiceProc
  • Konstruktordetails

    • SERVICE_TABLE_ENTRY

      public SERVICE_TABLE_ENTRY()