Changeset 257 for trunk/src/helpers/lan.c
- Timestamp:
- Jan 8, 2004, 5:43:29 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/lan.c
r229 r257 213 213 * queries the given service. 214 214 * 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 * 215 247 *@@added V1.0.0 (2002-09-24) [umoeller] 216 248 */ … … 240 272 * must be fully qualified so you cannot 241 273 * 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. 243 285 * 244 286 * Returns, among others: … … 277 319 /* 278 320 *@@ 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. 280 323 * 281 324 * opcode must be one of: 282 325 * 283 326 * -- 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. 284 331 * 285 332 * -- SERVICE_CTRL_PAUSE (1): pause service.
Note:
See TracChangeset
for help on using the changeset viewer.