820

Ocen` srocn`no kto mojet help plz!!!

Вот я кам пилю етот код:#include #include #include #include void InitSeansTapi(){HLINEAPP g_hhLineApp;HLINE g_tline;HANDLE g_tevent;DWORD tapiVer,tStatus;LONG res,lOpen;DWORD lpdwNumDevs,dw_devId;LINEINITIALIZEEXPARAMS lp;LINEMESSAGE lpMessage;tapiVer=TAPI_CURRENT_VERSION;lp.dwTotalSize=sizeof(LPLINEINITIALIZEEXPARAMS);lp.dwOptions=LINEINITIALIZEEXOPTION_USEEVENT;res=lineInitializeEx(&g_hhLineApp,NULL,NULL,"TapiTest",&lpdwNumDevs,&tapiVer,&lp);if(res!=0){printf("Seans TAPI ne bil initzializirovan\n");exit(-1);}printf("Seans TAPI bil uspeshno initzializirovan\n");g_tevent=lp.Handles.hEvent;for(dw_devId=0;dw_devId
0