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

Determining the VID/PID of a TWAIN source?

Forums › TWAIN Classic › Determining the VID/PID of a TWAIN source?

  • This topic has 1 reply, 2 voices, and was last updated 12 years, 1 month ago by gabe.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 4, 2008 at 9:53 pm #22436 Reply
    aturkelson
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    Is there any way to reconcile a TWAIN source with its device VID/PID?

    Using the TW_IDENTITY ProductName field isn’t reliable as most TWAIN drivers seem to provide a different string than that which is made available by calls to SetupDiGetDeviceRegistryProperty (SPDRP_FRIENDLYNAME or SPDRP_DEVICEDESC) in setupapi.h (windows).

    Any thoughts/ideas?

    Thanks!
    -Adam

    December 5, 2008 at 6:54 am #24735 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    if you can use SPDRP_DRIVER to get the driver && it points to a .ds then yes as there is a way to get the .ds related to a twain device. but I don’t think this will work 100% as I don’t think all twain devices register that kind of info.

    // no experience in doing any of the above, i’m just guessing here

    .

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Determining the VID/PID of a TWAIN source?
Your information:




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

  • отрадный ресурс zarabotat-v-internete biz
  • 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.
  • 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

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.