Changeset 2173 for trunk/src/advapi32


Ignore:
Timestamp:
Dec 21, 1999, 1:35:29 AM (26 years ago)
Author:
sandervl
Message:

service apis bugfixed & added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/advapi32/service.cpp

    r2172 r2173  
    1 /* $Id: service.cpp,v 1.3 1999-12-21 00:31:38 sandervl Exp $ */
     1/* $Id: service.cpp,v 1.4 1999-12-21 00:35:28 sandervl Exp $ */
    22
    33/*
     
    381381
    382382/*****************************************************************************
     383 * Name      : SetServiceStatus
     384 * Purpose   : The SetServiceStatus function updates the service control
     385 *             manager's status information for the calling service.
     386 * Parameters: SERVICE_STATUS_HANDLE sshServiceStatus  service status handle
     387 *             LPSERVICE_STATUS      lpssServiceStatus address of status structure
     388 * Variables :
     389 * Result    :
     390 * Remark    :
     391 * Status    : UNTESTED STUB
     392 *
     393 * Author    : Patrick Haller [Tue, 1998/06/16 23:00]
     394 *****************************************************************************/
     395
     396BOOL WIN32API SetServiceStatus(SERVICE_STATUS_HANDLE sshServiceStatus,
     397                               LPSERVICE_STATUS      lpssServiceStatus)
     398{
     399  dprintf(("ADVAPI32: SetServiceStatus(%08xh,%08xh) not implemented.\n",
     400           sshServiceStatus,
     401           lpssServiceStatus));
     402
     403  if(CheckServiceHandle(sshServiceStatus) == FALSE) {
     404        SetLastError(ERROR_INVALID_PARAMETER);
     405        return FALSE;
     406  }
     407
     408  return (FALSE); /* signal failure */
     409}
     410
     411/*****************************************************************************
    383412 * Name      : QueryServiceStatus
    384413 * Purpose   : The QueryServiceStatus function retrieves the current status of
     
    13171346
    13181347
     1348
     1349
     1350/*****************************************************************************
     1351 * Name      : StartServiceCtrlDispatcherW
     1352 * Purpose   : The StartServiceCtrlDispatcher function connects the main thread
     1353 *             of a service process to the service control manager, which causes
     1354 *             the thread to be the service control dispatcher thread for the calling process.
     1355 * Parameters: LPSERVICE_TABLE_ENTRY  lpsteServiceTable  address of service table
     1356 * Variables :
     1357 * Result    :
     1358 * Remark    :
     1359 * Status    : UNTESTED STUB
     1360 *
     1361 * Author    : Patrick Haller [Tue, 1998/06/16 23:00]
     1362 *****************************************************************************/
     1363
     1364BOOL WIN32API StartServiceCtrlDispatcherW(LPSERVICE_TABLE_ENTRYW lpsteServiceTable)
     1365{
     1366  dprintf(("ADVAPI32: StartServiceCtrlDispatcherW(%08xh) not implemented.\n",
     1367           lpsteServiceTable));
     1368
     1369  return (FALSE); /* signal failure */
     1370}
     1371
     1372
     1373/*****************************************************************************
     1374 * Name      : StartServiceCtrlDispatcherA
     1375 * Purpose   : The StartServiceCtrlDispatcher function connects the main thread
     1376 *             of a service process to the service control manager, which causes
     1377 *             the thread to be the service control dispatcher thread for the calling process.
     1378 * Parameters: LPSERVICE_TABLE_ENTRY  lpsteServiceTable  address of service table
     1379 * Variables :
     1380 * Result    :
     1381 * Remark    :
     1382 * Status    : UNTESTED STUB
     1383 *
     1384 * Author    : Patrick Haller [Tue, 1998/06/16 23:00]
     1385 *****************************************************************************/
     1386
     1387BOOL WIN32API StartServiceCtrlDispatcherA(LPSERVICE_TABLE_ENTRYA lpsteServiceTable)
     1388{
     1389  dprintf(("ADVAPI32: StartServiceCtrlDispatcherA(%08xh) not implemented.\n",
     1390           lpsteServiceTable));
     1391
     1392  return (FALSE); /* signal failure */
     1393}
     1394
     1395
Note: See TracChangeset for help on using the changeset viewer.