Close application event handling in I/O kit framework
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