I've now run Dynamic FindDeviceEx from the samples on a Limited User account. The machine I'm testing on has two optical drives, a CD and a DVDRW. for the CD device FindDeviceEx() reports the "5" error but then it crashes attempting to characterize the the DVDRW.
Here is a good run of FindDeviceEx on the same machine when run on an Admin account: NOTE - I had a CD-R in the drive at the time of the test so the DVD write tests returned "no".
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Program Files\Rocket Division Software\StarBurn SDK\Bin\Samples\Console\C\Dyn
amic\Release>finddeviceex
FindDeviceEx:main(): ENTERed for 1 argument(s)
FindDeviceEx:main(): Probing all CD/DVD devices in the system...
FindDeviceEx:FindDeviceEx_QueryDevice(): Probing device name 'D:' for CD/DVD dev
ice... OK!
FindDeviceEx:FindDeviceEx_QueryDevice(): Found CD/DVD device 'LITE-ON ' 'CD-ROM
LTN-4891S' 'NDS3'
FindDeviceEx:FindDeviceEx_QueryDevice(): With 98304 UCHAR(s) of cache
FindDeviceEx:FindDeviceEx_QueryDevice(): Reads: CD-R: Yes, CD-RW: Yes, DVD-ROM:
No, DVD-R: No, DVD-RAM: No
FindDeviceEx:FindDeviceEx_QueryDevice(): Writes: Test mode: No, CD-R: No, CD-RW:
No, DVD-R: No, DVD-RAM: No
FindDeviceEx:FindDeviceEx_QueryDevice(): Reads: DVD+RW: No, DVD+R: No, DVD+R DL:
No, Writes: DVD+RW: No, DVD+R: No, DVD+R DL: No
FindDeviceEx:FindDeviceEx_QueryDevice(): Press any key to continue...
FindDeviceEx:FindDeviceEx_QueryDevice(): Probing device name 'E:' for CD/DVD dev
ice... OK!
FindDeviceEx:FindDeviceEx_QueryDevice(): Found CD/DVD device 'HL-DT-ST' 'CDRW/DV
D GCC4482' 'E107'
FindDeviceEx:FindDeviceEx_QueryDevice(): With 1572864 UCHAR(s) of cache
FindDeviceEx:FindDeviceEx_QueryDevice(): Reads: CD-R: Yes, CD-RW: Yes, DVD-ROM:
Yes, DVD-R: Yes, DVD-RAM: No
FindDeviceEx:FindDeviceEx_QueryDevice(): Writes: Test mode: Yes, CD-R: Yes, CD-R
W: Yes, DVD-R: No, DVD-RAM: No
FindDeviceEx:FindDeviceEx_QueryDevice(): Reads: DVD+RW: Yes, DVD+R: Yes, DVD+R D
L: Yes, Writes: DVD+RW: No, DVD+R: No, DVD+R DL: No
|