• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Close application event handling in I/O kit framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Close application event handling in I/O kit framework


  • Subject: Close application event handling in I/O kit framework
  • From: rohit dhamija <email@hidden>
  • Date: Fri, 6 Jan 2006 15:30:33 +0530


I am a newbie to Mac OS and currently into building framework for USB BULK device using I/O kit framework.
 
I send commands from my user application to communicate with the framework. The framework further saves some data at framework level and communicates with the device per application.
 
When i close my application without explicitly releasing the handle (example directly shutting the app without proper freeing the memory), the memory remains allocated at the framework. So my query is:
 
"Whether we have any event/way to inform the framework that the particular application communicating with the framework has been closed. And then it should release the memory it allocated for that application"
 
 
I am talking similar to that we do in Windows device driver. When application communicating with the device driver gets closed, the callback f() corresponding to the IRP_MJ_CLOSE gets called, And we can free the FileObject->Fscontext to null.
 
Please suggest.
Thanks and Regards,

--
Rohit Dhamija(M) 9818446545
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: hand cursor
  • Next by Date: Re: [xcode] make in external target
  • Previous by thread: Re: hand cursor
  • Next by thread: Re: [xcode] make in external target
  • Index(es):
    • Date
    • Thread