AcquireSourceName Example for Visual FoxPro 6
#define L_LTWAIN_SHOW_USER_INTERFACE 1
oRasterTwain.AcquireSourceName = "TWAIN Source Name"
nRet = oRasterTwain.Acquire(L_LTWAIN_SHOW_USER_INTERFACE)
If nRet <> 0 Then
MessageBox("Error acquiring from source")
EndIf