AcquireSourceName Example for C++ 5.0 and later
ILEADRasterTwain * pltRasTwain;
int SetSourceName (CString Source)
{
pltRasTwain->put_AcquireSourceName(Source.AllocSysString());
short iRet = pltRasTwain->Acquire(L_LTWAIN_SHOW_USER_INTERFACE);
if (iRet != 0)
MessageBox(TEXT("Error acquiring from source"), MB_OK);
return 1;
}