Skip navigation links
JNA API 4.5.2


  • Enclosing interface:

    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.
    • Field Detail

      • FIELDS

        public static final java.util.List<java.lang.String> FIELDS
      • lpServiceName

        public java.lang.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.

    • Constructor Detail


        public SERVICE_TABLE_ENTRY()
    • Method Detail

      • getFieldOrder

        protected java.util.List<java.lang.String> getFieldOrder()
        Description copied from class: Structure
        Return this Structure's field names in their proper order. For example,
         protected List getFieldOrder() {
             return Arrays.asList(new String[] { ... });
        IMPORTANT When deriving from an existing Structure subclass, ensure that you augment the list provided by the superclass, e.g.
         protected List getFieldOrder() {
             List fields = new ArrayList(super.getFieldOrder());
             fields.addAll(Arrays.asList(new String[] { ... }));
             return fields;
        Field order must be explicitly indicated, since the field order as returned by Class.getFields() is not guaranteed to be predictable.
        Specified by:
        getFieldOrder in class Structure
        ordered list of field names
JNA API 4.5.2

Copyright © 2007-2017 Timothy Wall. All Rights Reserved.