Dear all,

I found it is hard to complete the sample application for UVC extension
units that is described in
"http://msdn2.microsoft.com/en-us/library/ms803115.aspx".

If there is someone had done it, could you please help me?

Much thanks!
--
Grap

Re: Application sample for UVC extension units by Volodymyr

Volodymyr
Mon Dec 10 04:56:51 PST 2007

How is this connected with device drivers?

--
Volodymyr
"grapwang" <grapwang@discussions.microsoft.com> wrote in message
news:A4F037B2-7C3D-4DD5-94AA-5F3C30F242A3@microsoft.com...
> Dear all,
>
> I found it is hard to complete the sample application for UVC extension
> units that is described in
> "http://msdn2.microsoft.com/en-us/library/ms803115.aspx".
>
> If there is someone had done it, could you please help me?
>
> Much thanks!
> --
> Grap



Re: Application sample for UVC extension units by grapwang

grapwang
Mon Dec 10 23:42:00 PST 2007

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.

--
Grap


"Volodymyr Shcherbyna" wrote:

> How is this connected with device drivers?


Re: Application sample for UVC extension units by Volodymyr

Volodymyr
Tue Dec 11 07:29:15 PST 2007

Read my reply above.

--
Volodymyr
"grapwang" <grapwang@discussions.microsoft.com> wrote in message
news:91214482-B11D-44F0-B2C1-D2F4E5EAE477@microsoft.com...
> 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.
>
> --
> Grap
>
>
> "Volodymyr Shcherbyna" wrote:
>
>> How is this connected with device drivers?
>



Re: Application sample for UVC extension units by Tim

Tim
Wed Dec 12 21:52:37 PST 2007

grapwang <grapwang@discussions.microsoft.com> 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@probo.com
Providenza & Boekelheide, Inc.

Re: Application sample for UVC extension units by Tim

Tim
Wed Dec 12 22:03:16 PST 2007

"Volodymyr Shcherbyna" <v_scherbina@online.mvps.org> wrote:
>
>How is this connected with device drivers?

He is talking about writing a ksproxy plugin for a video capture driver,
which any reasonable person would agree is PART OF the device driver.

Many AVStream drivers need them, but they are somewhat mysterious and only
lightly documented. The www.wd-3.com article is the only good sample I'm
aware of.

I suggest you back off.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.

Re: Application sample for UVC extension units by Volodymyr

Volodymyr
Fri Dec 14 00:49:04 PST 2007

I answered the OP in his "reposted" above post.

--
Volodymyr
"Tim Roberts" <timr@probo.com> wrote in message
news:a5i1m3tul547v7ha5m1kujdn9qfs77ci5r@4ax.com...
> "Volodymyr Shcherbyna" <v_scherbina@online.mvps.org> wrote:
>>
>>How is this connected with device drivers?
>
> He is talking about writing a ksproxy plugin for a video capture driver,
> which any reasonable person would agree is PART OF the device driver.
>
> Many AVStream drivers need them, but they are somewhat mysterious and only
> lightly documented. The www.wd-3.com article is the only good sample I'm
> aware of.
>
> I suggest you back off.
> --
> Tim Roberts, timr@probo.com
> Providenza & Boekelheide, Inc.