PREV TOC HOME INDEX NEXT


NCM_SetDlgSrvStartupMode( )


Description | Cautions | Example | Error Codes | See Also

Name:

NCMRetCode NCM_SetDlgSrvStartupMode( ncmStartupMode )

Inputs:

NCMDlgSrvStartupMode ncmStartupMode
  • startup mode

Returns:

NCM_SUCCESS if success NCM error code if failure

Includes:

NCMApi.h

Mode:

synchronous

Description

The NCM_SetDlgSrvStartupMode( ) function sets Intel® Dialogic System Service startup mode. For more information about the Intel® Dialogic System Service, see Section 2.8, Starting and Stopping the Intel® Dialogic System Service.

The function parameter is defined as follows:

Parameter

Description

ncmStartupMode new startup mode setting for the Intel® Dialogic System Service; the values for this parameter are:
  • NCM_DLGSRV_AUTO: service starts automatically at system startup time
  • NCM_DLGSRV_MANUAL: service must be manually started
  • NCM_DLGSRV_DISABLED: disable the service

Cautions

If you use the NCM_SetDlgSrvStartupMode ( ) function to set the Intel® Dialogic System Service startup mode to Automatic, the system does not auto-detect devices before starting the Intel® Dialogic System Service. Therefore, the following restrictions apply when the system is rebooted in Automatic mode:

Example

#include "NCMApi.h" 
... 
//
// Execute
// 
// Set startup mode of Dialogic service to Automatic
NCMRetCode     ncmRc = NCM_SetDlgSrvStartupMode( NCM_DLGSRV_AUTO ); 
if ( ncmRc != NCM_SUCCESS )
{     // process error
     ...
}
... 

Error Codes

Equate

Returned When

NCME_OPENING_SCM an error occurred opening service control manager
NCME_OPENING_DLGC_SVC an error occurred opening the Intel® Dialogic System Service
NCME_CHANGE_SVC_STATUS an error occurred changing the Intel® Dialogic System Service status
NCME_UNKNOWN_SERVICE_TYPE the service type is unknown

See Also


PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

Copyright 2003, Intel Corporation
All rights reserved
This page generated January, 2003