NCM_GetDlgSrvStartupMode( )
Description | Cautions | Example | Error Codes | See Also
NCMRetCode NCM_GetDlgSrvStartupMode( pncmStartupMode )
NCMDlgSrvStartupMode *pncmStartupMode NCM_SUCCESS if success NCM error code if failure NCMApi.h synchronous Description
The NCM_GetDlgSrvStartupMode( ) function gets the startup mode of Intel® Dialogic System Service. 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:
pncmStartupMode points to the current startup mode setting for the Dialogic System Service. It may be one of the following modes: Cautions
Example
#include "NCMApi.h" ... NCMDlgSrvStartupMode startupMode = NCM_DLGSRV_AUTO; // // Execute // NCMRetCode ncmRc = NCM_GetDlgSrvStartupMode( &startupMode ); if ( ncmRc == NCM_SUCCESS ) { switch ( startupMode ) { case NCM_DLGSRV_AUTO: printf( "Startup mode is set to Auto\n"); break; case NCM_DLGSRV_MANUAL: printf( "Startup mode is set to Manual\n"); break; case NCM_DLGSRV_DISABLED: printf( "Startup mode is set to Disabled\n"); break; default: printf( "Startup mode is undefined\n"); break; } // endswitch } else { // Process error ... } ...Error Codes
See Also
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation