Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Re: IOCTL_IEEE1394_API_REQUEST Adding and Opening Virtual Devices

Reply
Thread Tools Display Modes

Re: IOCTL_IEEE1394_API_REQUEST Adding and Opening Virtual Devices

 
 
Pavel A.
Guest
Posts: n/a

 
      09-24-2010
"Freddie Witherden" <> wrote in message
news:9688b562-091b-429a-b6e8-...
> .................
> Finally, the virtual device created must be removed explicitly by user-
> space with the IEEE1394_API_REMOVE_VIRTUAL_DEVICE IOCTL. However, if
> a program using my library does not terminate correctly a virtual
> device (and hence my driver and an interface) is left dangling. Is
> there a means of cleaning up?


What bad could happen if the device is left behind after your app exited?
If nothing, you can just let it be; when the app runs again it will reuse
the device.
If you definitely must remove the device, make the driver detect that the
app
exited, for example, leave a pending ioctl. The driver will
receive cleanup when the app exits.

-- pa


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: IOCTL_IEEE1394_API_REQUEST Adding and Opening Virtual Devices Maxim S. Shatskih Windows Vista Drivers 0 09-24-2010 07:42 AM
RWW 403 forbidden error BobS Windows Small Business Server 29 06-24-2010 08:58 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59