06-09-2013, 06:12 PM
السلام عليكم :
لدي تابع ضمن ملف DLL معرف على الشكل الآتي:
يقوم هذا التابع باخذ صورة عن طريق قارئ تصويري وهو يقوم بوضع الصورة ضمن الـBUFFER المطبوب معرفة كيفية الحصول على الصورة وتخزينها ضمن ملف باستخدام الدلفي
لدي تابع ضمن ملف 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
