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: app does not respond to MSG_CLOSEDSREQ…

Forums › TWAIN Classic › app does not respond to MSG_CLOSEDSREQ… › Reply To: app does not respond to MSG_CLOSEDSREQ…

August 24, 2007 at 1:07 am #24021
xyuxux
Participant
  • Topics - 1
  • Replies - 5
  • Total Posts - 6

@gabe wrote:

Could you post the line of code you’re using when you send CloseDsReq?

	twRc = (*lpDSM_Entry)(&WrapperID, &AppID, DG_CONTROL, DAT_NULL, MSG_CLOSEDSREQ, (TW_MEMREF)NULL);
if (twRc != TWRC_SUCCESS) {
twRc = (*lpDSM_Entry)(&WrapperID, &AppID, DG_CONTROL, DAT_STATUS, MSG_GET, (TW_STATUS*)&twStatus);
TRACE("twRc : %d", twRc)
}

@gabe wrote:

When your CloseDsReq fails, what Condition Code is returned?

The twRc for this is also FAILURE.
I can pass &AppID for the 2nd argument, right?

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

  • TWAIN for dental imaging integration
  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • 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