From: windhunterII on 23 Mar 2010 10:08 I have made driver on the base of Sample Driver for OSR USB Fx2. I want to receive notofications, when my device plugs and unplugs. I try to use WM_DEVICECHANGE. I receive that message, but the wParam is always 7. What can be wrong with the driver?
From: Egidio [MSFT] on 23 Mar 2010 14:12 What is your environment? I.e., are you using a separate app to detect when your driver is loaded/unloaded? Plus, did you try enabling and disabling your driver with device manager? Make sure to run appverifier for your driver (wudfhost, wudfx, <your dll>) to detect any ref leaks. Egi. "windhunterII" <windhunterII(a)discussions.microsoft.com> wrote in message news:9AD5A77E-0099-4A4C-AAE5-A354EA336D61(a)microsoft.com... > I have made driver on the base of Sample Driver for OSR USB Fx2. I want to > receive notofications, when my device plugs and unplugs. I try to use > WM_DEVICECHANGE. I receive that message, but the wParam is always 7. > What can be wrong with the driver?
From: Doron Holan [MSFT] on 23 Mar 2010 15:22 are you calling RegisterDeviceNotification and passing in the device interface GUID? -- This posting is provided "AS IS" with no warranties, and confers no rights. "windhunterII" <windhunterII(a)discussions.microsoft.com> wrote in message news:9AD5A77E-0099-4A4C-AAE5-A354EA336D61(a)microsoft.com... > I have made driver on the base of Sample Driver for OSR USB Fx2. I want to > receive notofications, when my device plugs and unplugs. I try to use > WM_DEVICECHANGE. I receive that message, but the wParam is always 7. > What can be wrong with the driver?
From: windhunterII on 24 Mar 2010 09:08 Thanks for reply. I have solved the problem. The driver didn't load properly. "Egidio [MSFT]" wrote: > What is your environment? I.e., are you using a separate app to detect when > your driver is loaded/unloaded? Plus, did you try enabling and disabling > your driver with device manager? Make sure to run appverifier for your > driver (wudfhost, wudfx, <your dll>) to detect any ref leaks. > > Egi. > > "windhunterII" <windhunterII(a)discussions.microsoft.com> wrote in message > news:9AD5A77E-0099-4A4C-AAE5-A354EA336D61(a)microsoft.com... > > I have made driver on the base of Sample Driver for OSR USB Fx2. I want to > > receive notofications, when my device plugs and unplugs. I try to use > > WM_DEVICECHANGE. I receive that message, but the wParam is always 7. > > What can be wrong with the driver? > > . >
|
Pages: 1 Prev: MSVAD audio stream question Next: pci.sys upper filter + memory mapping |