Re: Application sample for UVC extension units
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Wed, 12 Dec 2007 21:52:37 -0800
grapwang <grapwang@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
The application uses an user-mode dll provided by microsoft in msdn
"http://msdn2.microsoft.com/en-us/library/ms803127.aspx" to communicate with
the UVC device which has descriptors of extension units.
But the application sample of microsoft was incomplete. I even don't know
how to obtain "pUnkOuter" in the first line of it.
You are writing a ksproxy plugin. Your class factory method will look like
this:
CUnknown*
CMyPluginClass::CreateInstance(
LPUNKNOWN piOuterUnknown,
HRESULT* phResult
);
The first parameter you are given is the IUnknown pointer for the ksproxy
filter for usbvideo.sys. You probably need to keep that around, so you can
communicate with the driver. You usually do that by passing it to the
constructor when you create your instance.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- References:
- Re: Application sample for UVC extension units
- From: Volodymyr Shcherbyna
- Re: Application sample for UVC extension units
- Prev by Date: Re: IWDFIoRequest::ForwardToIoQueue does not return immediately
- Next by Date: Re: Application sample for UVC extension units
- Previous by thread: Re: Application sample for UVC extension units
- Next by thread: Re: Application sample for UVC extension units
- Index(es):
Relevant Pages
|