Re: How does user mode STI minidriver enable KS device event? by Americans
Americans
Fri Jul 06 10:19:23 CDT 2007
"huangjj" <huangjj@hotmail.com> wrote in message
news:OTWYld8vHHA.3508@TK2MSFTNGP03.phx.gbl...
>I would write a user mode STI minidriver to monitor PC camera button
>pressed
> event.
> How does user mode STI minidriver enable KS device event?
> I know IOCTL_KS_ENABLE_EVENT can do that, but how??
> Should I use DeviceIoControl or KsSynchronousDeviceControl to send
> IOCTL_KS_ENABLE_EVENT?
> How do I get the associated KS object or handle of my device in user mode
> STI minidriver?
>
> Best Regards
> Jack Huang
>
Hey Jackass, you sounded more expert than me, but I will donate one of my
hints for you as a gift, you would always use IOCTL_XXX with
DeviceIoControl calls. However this answer may not answer what you really
want with KS event. So, use your expertise in reading to guide yourself to
the right path.