Results 1 to 2 of 2

Thread: CD Drive letter - This is different to the normal question

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Location
    New Zealand
    Posts
    3

    CD Drive letter - This is different to the normal question

    I've got a project that uses an OCX for writing to CD.
    It accesses the CD via Adapter, ID And LUN, (Using ASPI)
    I get useful information like the Product Ident, etc... but NOT Assigned Drive letter.

    I also use another useful OCX for figuring out when a CD has been inserted.
    This OCX reports back just a drive letter.

    Is there any call I can make to get a CD ROM's assigned Drive letter and product Ident? (As in device manager lists the assigned drive letter etc...)

    This way I could know for fact that the CD ROM Drive that reports a CD has been inserted is infact the CD Writer.
    Last edited by Tel2; Nov 24th, 2001 at 03:04 AM.

  2. #2

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Location
    New Zealand
    Posts
    3

    Futher information

    OK More information.

    From the CD Notify OCX (For insertation of a CD) I just get a drive letter, Lets say H

    From the CD Writing OCX I get
    Adapter 0 ID = 1 Lun = 0 Name = HP CD-Writer+ 8200a1.0g ProductIdent : CD-Writer+ 8200a1.0g ProductRevision : 1.0g Typ : 5

    Is there any way I can find out H Drive is a CD-Writer+ 8200a

    Under Device Manager (Win 9x/ME) you can see the drive letter for the device CD-Writer+ 8200a is H.
    (Mind you I'm hoping this will still work under win2k, I'm using WinME myself.)

    1) Is it just reading the Registry to asertain that or is it an API Call?
    2) Is there any API Calls I can use to get the product Ident from a drive letter?
    3) Can I get the Drive letter from an adapter number, ID, Lun?

    I spose are my real questions.

    Thanks
    Terry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width