Sets up the H.324M Middleware for use. This function must be called only once by the application and must not be called by more than one thread.
DWORD h324Initialize ( char *logFileName)
Argument |
Description |
logFileName |
Pointer to the H.324 log file name. If NULL, the default file name of h324.log is used. |
Return value |
Description |
SUCCESS |
|
H324ERR_ALREADY_INITIALIZED |
h324Initialize was called. |
H324ERR_LOG_FILE_OPEN_FAILED |
Error opening the log file. |
H324ERR_MUTEX_CREATE_FAILED |
Failed to create mutex semaphore. |
None.
ret = h324Initialize(gwParm.sH324LogFile);
if ( ret != SUCCESS)
{
printf("h324Initialize . Return code is %x\n", ret);
exit(1);
}