Re: Unplug or eject hardware
- From: Jamie <jamie_5_not_valid_after_5_Please@xxxxxxxxxxx>
- Date: Tue, 19 Apr 2005 18:50:43 -0700
nowhere@xxxxxxxxxxxxxx wrote:
Does anyone know how to invoke the "Unplug or eject hardware" function of Windows programmatically rather than by the Tray Icon or the Control Panel hardware wizard? Specifically I want to unplug a USB device and wait until I get a signal to say it's ok to remove the device.
I want this all to happen when the user exits the application, rather than getting them to click the icon in the taskbar (if it's present) and select Unplug or Eject Hardware, and then wait for the Ok message.
____ Chimaera
look at the DeviceIoControl in the Win32 help. that may help you.
.
- Follow-Ups:
- Re: Unplug or eject hardware
- From: Nicolai Hansen
- Re: Unplug or eject hardware
- Prev by Date: Re: Conflict with ComboBox management of the OnClick Event
- Next by Date: Re: Buffer problems with Server Socket
- Previous by thread: Conflict with ComboBox management of the OnClick Event
- Next by thread: Re: Unplug or eject hardware
- Index(es):
Relevant Pages
|