Hi everyone,

have to use a USB memory stick on a w2k workstation - without a mouse!

---
1st question:
Is there a way to simulate the click on that tray icon?
E.g. with a startmenu entry, accessible with some keystrokes?

---
2nd question:
I fooled around with DEVCON and now I'm able to "disconnect" an "enable"
the drive manually with two BAT files.
But after that disabling, unplugging and replugging, the drive will not
be enabled automatically as it does after removing it with a click on
that tray icon. Instead, I have to enable it also maually...

What is different between the tray icon and DEVCON? The documentation
for both is too poor, imho.


Best regards,
Schrotti

--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

Re: Auto-Reconnecting USB-Stick after DEVCON DISABLE.. - How To ? by Maxim

Maxim
Thu May 27 09:31:33 CDT 2004

> What is different between the tray icon and DEVCON?

IIRC the tray icon does eject, and not disable.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com



Re: Auto-Reconnecting USB-Stick after DEVCON DISABLE.. - How To ? by Eliyas

Eliyas
Thu May 27 09:35:21 CDT 2004

> What is different between the tray icon and DEVCON? The documentation
> for both is too poor, imho.

Tray icon performs the eject operation by calling
CM_Request_Device_Eject_Ex. It doesn't disable the device.

--
--
-Eliyas
This posting is provided "AS IS" with no warranties, and confers no rights.



Re: Auto-Reconnecting USB-Stick after DEVCON DISABLE.. - How To ? by Schrotti

Schrotti
Thu May 27 10:31:56 CDT 2004

Eliyas and Maxim,

hmmmm.....

First of all, thank you for the information. I think I understand the
difference.

But that brings up another question:

Is there a commandline interface, or similar, for the "eject"
functionality? Or do I have to write my own tiny little Prog using the
CM_Request.... call. This seems to become an interesting challenge in
system programming ;-)

Well, I'll investigate more and try to find a good description of the
CM-Request...


Thank you for showing me a direction where to look up things.

Regards, Schrotti


--------------
On Thu, 27 May 2004 07:35:21 -0700, Eliyas Yakub [MSFT]
<eliyasy@online.microsoft.com> wrote:

>> What is different between the tray icon and DEVCON? The documentation
>> for both is too poor, imho.
>
> Tray icon performs the eject operation by calling
> CM_Request_Device_Eject_Ex. It doesn't disable the device.
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/

Re: Auto-Reconnecting USB-Stick after DEVCON DISABLE.. - How To ? by Schrotti

Schrotti
Fri May 28 03:26:23 CDT 2004

Well,

we discussed that out in the department and we all agreed, that fooling
around with the DDK is not what we want.

And also we came to the conclusion, that it will be better for the workers
to plug the drive, have enable it manually, do data operation, disable
the drive manually and unplug it again (Just like a floppy - you have to
insert and to remove it manually...)
The workers have no computer skills, they just operate the machine.
Better than they just plug it but have to remember to eject it before
they unplug.

Your help was welcome nevertheless, thank you.

Regards, Schrotti


----------
On Thu, 27 May 2004 17:31:56 +0200, Schrotti
<schrotti-spam@centermail.net> wrote:

> Eliyas and Maxim,
>
> hmmmm.....
>
> First of all, thank you for the information. I think I understand the
> difference.
>
> But that brings up another question:
>
> Is there a commandline interface, or similar, for the "eject"
> functionality? Or do I have to write my own tiny little Prog using the
> CM_Request.... call. This seems to become an interesting challenge in
> system programming ;-)
>
> Well, I'll investigate more and try to find a good description of the
> CM-Request...
>
>
> Thank you for showing me a direction where to look up things.
>
> Regards, Schrotti
>
>
> --------------
> On Thu, 27 May 2004 07:35:21 -0700, Eliyas Yakub [MSFT]
> <eliyasy@online.microsoft.com> wrote:
>
>>> What is different between the tray icon and DEVCON? The documentation
>>> for both is too poor, imho.
>>
>> Tray icon performs the eject operation by calling
>> CM_Request_Device_Eject_Ex. It doesn't disable the device.
>>
>
>
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/