Making a Call

[This is preliminary documentation and subject to change.]

// user specifies destination address
hr = pAddress->CreateCall(bstrDestAddress,
                          &pCall);

if (hr != S_OK)
{
    // create call failed.
    return;
}

// create a media terminal safearray using media and
// terminals already selected (above), put the safearray 
// in a variant, then
// call SelectMediaTerminals
pCall->SelectMediaTerminals(pMediaTerminalSafeArrayvariant);

// the application may also register a callback 
// interface at this point

// this will actually make the connection.
// the TRUE parameter in the Connect method
// indicates this connect is synchronous.
pCall->Connect( TRUE );