![]() |
|
كيفية قراءه الـ Buffer والحصول على الداتا المطلوبة - نسخة قابلة للطباعة +- delphi4arab منتديات دلفي للعرب (https://delphi4arab.net/forum) +-- قسم : منتديات دلفي للعرب التعليمية (https://delphi4arab.net/forum/forumdisplay.php?fid=3) +--- قسم : سؤال و جواب حول دلفي (https://delphi4arab.net/forum/forumdisplay.php?fid=15) +--- الموضوع : كيفية قراءه الـ Buffer والحصول على الداتا المطلوبة (/showthread.php?tid=5525) |
كيفية قراءه الـ Buffer والحصول على الداتا المطلوبة - hytham100sy - 06-09-2013 السلام عليكم : لدي تابع ضمن ملف DLL معرف على الشكل الآتي: كود : SNAPI_SNAPSHOT :If the scanner supports imaging, this sends a command to the scanner to enter Image Capture Mode. The
scanner remains in Image Capture Mode until the trigger is pulled (physically or with a call to
SNAPI_PullTrigger) and an image is captured, or until the timeout for a trigger pull expires. The scanner then
returns to Decode Mode.
If the trigger is pulled, the image data is sent to the DLL. WM_XFERSTATUS is sent to the host application with
information about the size of the image.
When the first transfer status message is received, the host application should provide a destination buffer for
the image by calling SNAPI_SetImageBuffer. After the entire image is transferred from the scanner |