skysky
驱动小牛
驱动小牛
  • 注册日期2001-07-18
  • 最后登录2003-06-03
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1235回复:4

how to create CDROM device handle in win98?

楼主#
更多 发布于:2001-11-01 17:38
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!


最新喜欢:

linwnlinwn
以德服人,以德服人
Nouk
驱动中牛
驱动中牛
  • 注册日期2001-08-22
  • 最后登录2006-10-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-11-01 17:51
The DDK says you can't create device handle on 9x,only on NT.
Taiwan's Driver Developer
skysky
驱动小牛
驱动小牛
  • 注册日期2001-07-18
  • 最后登录2003-06-03
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于: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!

以德服人,以德服人
Nouk
驱动中牛
驱动中牛
  • 注册日期2001-08-22
  • 最后登录2006-10-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地板#
发布于:2001-11-02 09:50
May be use wnaspi32.dll API.
Taiwan's Driver Developer
wilton
驱动牛犊
驱动牛犊
  • 注册日期2001-04-23
  • 最后登录2005-03-10
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
地下室#
发布于: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.
游客

返回顶部