momer
驱动牛犊
驱动牛犊
  • 注册日期2004-06-23
  • 最后登录2006-03-10
  • 粉丝0
  • 关注0
  • 积分147分
  • 威望18点
  • 贡献值0点
  • 好评度12点
  • 原创分0分
  • 专家分0分
阅读:1155回复:1

How can know if the card in the socket of the cardreader?

楼主#
更多 发布于:2004-11-05 09:44
Hi!
Thank you very much!I am sorry I didn't expatiate my question clearly to you.
As you know,even though there is not any card in the socket of the cardreader,when we attach the cardreader to
the PC,the OS can show us how many drivers this cardreader
has,such as:CARD(G),CARD(H),etc. And,as far as I know, the message WM_DEVICECHANGE must be broadcasted when the
cardreader attached to the PC,but after this,when you insert the card(s)(such as CF,MS,MFC,etc.) into the socket(s),I suppose there is not any message be broadcasted.Am I right?If I am wrong,then can you tell me which kind of message(or something else which can inform us that card(s) arrived) will be broadcast when the card(s) be inserted the socket(s) of the cardreader? If I am right,then can you tell me how can I know the card arrival and leaving?
Thanks!
Best wishes!

momer


[编辑 -  11/5/04 by  momer]
flyhye
驱动小牛
驱动小牛
  • 注册日期2003-07-01
  • 最后登录2012-01-11
  • 粉丝0
  • 关注0
  • 积分10分
  • 威望2点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2004-11-05 14:28
Hi!
Thank you very much!I am sorry I didn't expatiate my question clearly to you.
As you know,even though there is not any card in the socket of the cardreader,when we attach the cardreader to
the PC,the OS can show us how many drivers this cardreader
has,such as:CARD(G),CARD(H),etc. And,as far as I know, the message WM_DEVICECHANGE must be broadcasted when the
cardreader attached to the PC,but after this,when you insert the card(s)(such as CF,MS,MFC,etc.) into the socket(s),I suppose there is not any message be broadcasted.Am I right?If I am wrong,then can you tell me which kind of message(or something else which can inform us that card(s) arrived) will be broadcast when the card(s) be inserted the socket(s) of the cardreader? If I am right,then can you tell me how can I know the card arrival and leaving?
Thanks!
Best wishes!

momer
[编辑 -  11/5/04 by  momer]

I think the cardreader doesn't notify PC when you insert some card(s). Because the cardreader is just slave.
Maybe I'm wrong.
千载奇逢,无如好书良友 一生清福,只在碗茗炉烟
游客

返回顶部