Virtual serial with UMDF / detect connection or disconnection from driver

Hi,

I’m working on a serial com port driver with UMDF, I’m having trouble detecting when connection/disconnection is made from/to the driver.

As I understand it (I’m pretty new to UMDF), I just need to now that is invoked by the framework when that happens.

Thanks !

What do you mean by connection? When the app opens or closes a handle to the driver?

d

Sent from my phone with no t9, all spilling mistakes are not intentional.

-----Original Message-----
From: xxxxx@gmail.com
Sent: Thursday, April 30, 2009 2:19 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual serial with UMDF / detect connection or disconnection from driver

Hi,

I’m working on a serial com port driver with UMDF, I’m having trouble detecting when connection/disconnection is made from/to the driver.

As I understand it (I’m pretty new to UMDF), I just need to now that is invoked by the framework when that happens.

Thanks !


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

I’m guessing you want to look at IQueueCallbackCreate::OnCreateFile() to find out when a client opens a handle to your device, and IFileCallbackCleanup/IFileCallbackClose to find out when the handles are closed.

-p

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, April 30, 2009 2:20 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Virtual serial with UMDF / detect connection or disconnection from driver

Hi,

I’m working on a serial com port driver with UMDF, I’m having trouble detecting when connection/disconnection is made from/to the driver.

As I understand it (I’m pretty new to UMDF), I just need to now that is invoked by the framework when that happens.

Thanks !


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Thanks Peter, that is exactly what I was looking for.