Hi,
I have developed USB kernel driver for W2K.
The driver are working properly, but there is a suspicios thing.
Usually when the USB device is attached, the OS indicates the attachment
on the system tray.
However the indication doesn’t appear for my driver.
What’s the problem?
Any comment would be helpful.
Regards,
HyungJune Kim
ask yourself the following questions:
Did you make the device following the WDM model?
Did you attach yourself to the underlying PDO? (if you are a bus driver, you
should attach to the pnp manager’s PDO, supplied in adddevice)
check that you implemented correctly IRP_MJ_PNP, and that you return proper
values for IRP_MN_DEVICE_RELATIONS and IRP_MN_QUERY_ID.
John
----- Original Message -----
From: “HyungJune Kim”
To: “NT Developers Interest List”
Sent: Tuesday, August 20, 2002 3:44 AM
Subject: [ntdev] Doesn’t appear USB Attachment indication on systray in W2K
> Hi,
>
> I have developed USB kernel driver for W2K.
> The driver are working properly, but there is a suspicios thing.
>
> Usually when the USB device is attached, the OS indicates the attachment
> on the system tray.
>
> However the indication doesn’t appear for my driver.
>
> What’s the problem?
>
> Any comment would be helpful.
>
> Regards,
> HyungJune Kim
>
>
>
>
> b?¶¹®vµj†zÛ¢Š™ž±m•z–yž¿ä²
Also, if your device is a removable device, check if you return the
DEVICE_CAPABILTIES in IRP_MN_QUERY_CAPABILTIES with removable flag TRUE,
so it will be indicated in the “Unplug/Eject program”.
John
----- Original Message -----
From: “HyungJune Kim”
To: “NT Developers Interest List”
Sent: Tuesday, August 20, 2002 3:44 AM
Subject: [ntdev] Doesn’t appear USB Attachment indication on systray in W2K
> Hi,
>
> I have developed USB kernel driver for W2K.
> The driver are working properly, but there is a suspicios thing.
>
> Usually when the USB device is attached, the OS indicates the attachment
> on the system tray.
>
> However the indication doesn’t appear for my driver.
>
> What’s the problem?
>
> Any comment would be helpful.
>
> Regards,
> HyungJune Kim
>
>
>
>
> b?¶¹®vµj†zÛ¢Š™ž±m•z–yž¿ä²
Actually, the SurpriseRemoveOK field is what you want. Set it to TRUE and you will not show up in the list. Set it to FALSE and you will.
d
-----Original Message-----
From: john qwerty [mailto:xxxxx@hotmail.com]
Sent: Tuesday, August 20, 2002 2:55 AM
To: NT Developers Interest List
Subject: [ntdev] Re: Doesn’t appear USB Attachment indication on systray in W2K
Also, if your device is a removable device, check if you return the
DEVICE_CAPABILTIES in IRP_MN_QUERY_CAPABILTIES with removable flag TRUE,
so it will be indicated in the “Unplug/Eject program”.
John
----- Original Message -----
From: “HyungJune Kim”
To: “NT Developers Interest List”
Sent: Tuesday, August 20, 2002 3:44 AM
Subject: [ntdev] Doesn’t appear USB Attachment indication on systray in W2K
> Hi,
>
> I have developed USB kernel driver for W2K.
> The driver are working properly, but there is a suspicios thing.
>
> Usually when the USB device is attached, the OS indicates the attachment
> on the system tray.
>
> However the indication doesn’t appear for my driver.
>
> What’s the problem?
>
> Any comment would be helpful.
>
> Regards,
> HyungJune Kim
>
>
>
>
> b???v?j?zۢ???m??z?y???
—
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%
Thanks all,
SurpriseRemoval field was key. I set this field to FALSE to show the indication.
Regards,
----- Original Message -----
From: “Doron Holan”
To: “NT Developers Interest List”
Sent: Wednesday, August 21, 2002 1:34 AM
Subject: [ntdev] Re: Doesn’t appear USB Attachment indication on systray in W2K
> Actually, the SurpriseRemoveOK field is what you want. Set it to TRUE and you will not show up in the list. Set it to FALSE and you will.
>
> d
>
> -----Original Message-----
> From: john qwerty [mailto:xxxxx@hotmail.com]
> Sent: Tuesday, August 20, 2002 2:55 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: Doesn’t appear USB Attachment indication on systray in W2K
>
> Also, if your device is a removable device, check if you return the
> DEVICE_CAPABILTIES in IRP_MN_QUERY_CAPABILTIES with removable flag TRUE,
> so it will be indicated in the “Unplug/Eject program”.
>
> John
>
> ----- Original Message -----
> From: “HyungJune Kim”
> To: “NT Developers Interest List”
> Sent: Tuesday, August 20, 2002 3:44 AM
> Subject: [ntdev] Doesn’t appear USB Attachment indication on systray in W2K
>
>
> > Hi,
> >
> > I have developed USB kernel driver for W2K.
> > The driver are working properly, but there is a suspicios thing.
> >
> > Usually when the USB device is attached, the OS indicates the attachment
> > on the system tray.
> >
> > However the indication doesn’t appear for my driver.
> >
> > What’s the problem?
> >
> > Any comment would be helpful.
> >
> > Regards,
> > HyungJune Kim
> >
> >
> >
> >
> > b???v?j?zۢ???m??z?y???
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@hynix.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> Usually when the USB device is attached, the OS indicates the
attachment
on the system tray.
Check the bitwise flags in DEVICE_CAPABILITIES.
Max