Ignore:
Timestamp:
Jan 8, 2004, 5:43:29 PM (22 years ago)
Author:
umoeller
Message:

Fixes that have piled up in the last three months.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/lan.c

    r229 r257  
    213213 *      queries the given service.
    214214 *
     215 *      If NO_ERROR is returned,
     216 +
     217 +          SERVICEBUF.svci2_status & SERVICE_INSTALL_STATE
     218 +
     219 *      can be queried for the service state, which should
     220 *      be one of the following:
     221 *
     222 *      --  SERVICE_UNINSTALLED: not running. For the
     223 *          REQUESTER service, this is only a theoretical
     224 *          value because without it, NERR_WkstaNotStarted
     225 *          (2138) is returned.
     226 *
     227 *      --  SERVICE_INSTALL_PENDING: start in progress
     228 *
     229 *      --  SERVICE_UNINSTALL_PENDING: stop in progress
     230 *
     231 *      --  SERVICE_INSTALLED: running
     232 *
     233 *      Alternatively, call lanServiceControl with the
     234 *      SERVICE_CTRL_INTERROGATE code, which actually asks the
     235 *      service.
     236 *
     237 *      Returns, among others:
     238 *
     239 *      --  NO_ERROR
     240 *
     241 *      --  NERR_WkstaNotStarted (2138): requester is not
     242 *          running.
     243 *
     244 *      --  NERR_ServiceNotInstalled: requested service is
     245 *          not running.
     246 *
    215247 *@@added V1.0.0 (2002-09-24) [umoeller]
    216248 */
     
    240272 *      must be fully qualified so you cannot
    241273 *      abbreviate "requester" with "req", for
    242  *      example (as valid with the net command).
     274 *      example (as valid with the NET START command).
     275 *
     276 *      The name of the service is found in the IBMLAN.INI file.
     277 *      The executable file name of the service is matched to a
     278 *      corresponding entry in the Services section of the
     279 *      IBMLAN.INI file. Any relative file path name supplied
     280 *      for a service is assumed to be relative to the LAN
     281 *      Server root directory (\IBMLAN).
     282 *
     283 *      #Net32ServiceInstall supports a cmdargs argument, which
     284 *      is presently always passed as NULL with this implementation.
    243285 *
    244286 *      Returns, among others:
     
    277319/*
    278320 *@@ lanServiceControl:
    279  *      queries, pauses, resumes, or stops the given service.
     321 *      queries, pauses, resumes, or stops the given service. This
     322 *      has the functionality of the NET STOP command.
    280323 *
    281324 *      opcode must be one of:
    282325 *
    283326 *      --  SERVICE_CTRL_INTERROGATE (0): interrogate service status.
     327 *          This is similar to running lanServiceGetInfo, except
     328 *          that this one actually asks the service for its status,
     329 *          while lanServiceGetInfo simply dumps the status last
     330 *          posted.
    284331 *
    285332 *      --  SERVICE_CTRL_PAUSE (1): pause service.
Note: See TracChangeset for help on using the changeset viewer.