TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Reply To: Duplex scanning both side

Forums › TWAIN Classic › Duplex scanning both side › Reply To: Duplex scanning both side

February 25, 2008 at 8:29 am #24039
black_ghost
Participant
  • Topics - 1
  • Replies - 14
  • Total Posts - 15

I’ve changed DSixfer.
Before:
private static extern eTwRC DSixfer( [In, Out] cTwIdentity origin, [In] cTwIdentity dest, eTwDG dg, eTwDAT dat, eTwMSG msg, ref IntPtr hbitmap );

After
private static extern eTwCC DSixfer( [In, Out] cTwIdentity origin, [In] cTwIdentity dest, eTwDG dg, eTwDAT dat, eTwMSG msg, ref IntPtr hbitmap );

eTwRC -> eTwCC

And now first:
cc = DSixfer(m_appID, m_srcDS, eTwDG.Image, eTwDAT.ImageNativeXfer, eTwMSG.Get, ref hbitmap);

cc = eTwCC.BadCap

Second:
cc = DSixfer(m_appID, m_srcDS, eTwDG.Image, eTwDAT.ImageNativeXfer, eTwMSG.Get, ref hbitmap2);

cc = eTwRC.Bummer

Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in