阅读:1236回复:4
how to create CDROM device handle in win98?
I meet the problem recently.
I know how to create a disk device handle in win NT or win2000 or later by using "CreateFile". But It seems that the function cannot work well in win98. As MSDN say, CreateFile can work in NT or win2000(later) to create a DISK device handle. Does it mean it will fail in win98. Who can tell me HOW to create a CD-ROM device handle in win98? Thanks in advance! |
|
最新喜欢:![]()
|
沙发#
发布于:2001-11-01 17:51
The DDK says you can't create device handle on 9x,only on NT.
|
|
|
板凳#
发布于:2001-11-01 18:10
Thanks for your quickly reply!
As you say, how can I access a CD-ROM by IOCTL code(DeviceIoControl routine) such as IOCTL_SCSI_PASSTHROUTH. You know, the first parameter of DeviceIoControl is the device handle. Maybe I have concept understanding mistake. But however,please tell me how to access a CD-ROM by DeviceIoControl. ...Maybe... I can't also use DeviceIoControl? oh my god! Should I write a VxD..??:< Please take the time. Thanks a lot! |
|
|
地板#
发布于:2001-11-02 09:50
May be use wnaspi32.dll API.
|
|
|
地下室#
发布于:2001-11-02 18:49
you can using MSCDEX.EXE or CDROM DRIVER.
Maybe I can Send some materials to you. I used in DOS long ago.I think it is the same in Win9x. |
|