i'm newbie im Tapi programming and i try to write a programm to forward a call to another address but it's not work and i don'T know why. Can someboy help me here my code...
if(hr == S_OK)
{
return S_OK;
}
else if(hr == E_INVALIDARG)
{
gpTapiLib->DoMessage( 0, L"The address does not support forwarding, or pCall does not point to a valid call.");
}
else if(hr == TAPI_E_TIMEOUT)
{
gpTapiLib->DoMessage( 0, L"The operation failed because the TAPI 3 DLL timed it out. The timeout interval is two minutes.");
}
else if(hr == E_POINTER)
{
gpTapiLib->DoMessage( 0, L"The pForwardInfo or pCall parameter is not a valid pointer.");
}
else if(hr == E_OUTOFMEMORY)
{
gpTapiLib->DoMessage( 0, L"Insufficient memory exists to perform the operation.");
}
else if(FAILED(hr))
{
gpTapiLib->DoMessage( 0, L"could not forwarding");
}
Bookmarks