Re: USB Camera Driver Question (Modified..)

Hi.
See the struct _URB_CONTROL_VENDOR_OR_CLASS_REQUEST.

the UsbBuildVendorRequest(…) is a macro.(see the usbdlib.h)

btw,
this is not a korean news group ^^"
please change your name.

----- Original Message -----
From: ??ö??
To: NT Developers Interest List
Sent: Tuesday, May 06, 2003 11:42 AM
Subject: [ntdev] USB Camera Driver Question (Modified…)

I’m sorry… there are so many wrong word in pre-email… -.-; so I send again…

hi everyone.

I have a question about USB DDK Function…

I want to use “UsbBuildVendorRequest” to control a USB camera chip register…

but I don’t know how to get this fuction’s parameter…

IN DDK…

VOID
UsbBuildVendorRequest(
IN PURB Urb,
IN USHORT Function,
IN USHORT Length,
IN ULONG TransferFlags,
IN UCHAR ReservedBits,
IN UCHAR Request,
IN USHORT Value,
IN USHORT Index,
IN PVOID TransferBuffer OPTIONAL,
IN PMDL TransferBufferMDL OPTIONAL,
IN ULONG TransferBufferLength,
IN PURB Link OPTIONAL,
);

Actually, I don’t know how to get “Request”,“Value” among those parameters.

Requet and Value indicate the device so I must know these to control device…
But I could not find it in Data Sheet…
It should be in Data Sheet,huh?

Where is it??? -.-;;

Do any guys know how to get these paramter? plz help me… ^^;;

I’m not good at English…
I hope you guys understand what I say…

b??箷????vڵ??ضJ??zԺ{n??zwnV???z{z??N???