--- Mike McCormack mike@codeweavers.com wrote:
I've noticed that STI.DLL uses the
IStiDeviceControl
interface, which is defined by the STIUSD.H file I haven't got (it might be part of the Windows DDK
or
something). Any idea where to find it?
I can't see any definition of IStiDeviceControl in the Windows SDK. Where are you seeing stiusd.h?
It's in the .NET 2003 MSDN Library documentation, section "Windows Development", subsection "Device Drivers", somewhere in the still image stuff (I can send you a PDF of it, it's around 30 MB). IStiUSD and IStiDeviceControl are probably part of the Windows DDK (Device Driver Kit), and that you get separately from Microsoft (for a ridiculous price).
I'll see if I can get it from the ReactOS people. Does anyone else on this mailing list have the Windows DDK around and a spare stiusd.h they want to share?
Mike
Damjan
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Damjan Jovanovic wrote:
I'll see if I can get it from the ReactOS people. Does anyone else on this mailing list have the Windows DDK around and a spare stiusd.h they want to share?
Are you planning to write an STI mini-driver or just trying to load one?
I don't think you'll have much success trying to load one, and I'm not sure you need to write one.
I would have imagined that you implement IStillImage as returned by sti.StiCreateInstance() :
IStillImage::GetDeviceList will enumerate all the V4L devices available.
IStillImage::CreateDevice will open one and return an IStiDevice interface associated with one V4L device.
IStillDevice::RawReadData will read stuff from the V4L device.
Why are mini-drivers needed?
Mike
IStiDeviceControl are probably part of the Windows DDK (Device Driver Kit), and that you get separately from Microsoft (for a ridiculous price).
It's a free CD. You pay only for shipping. If you want, I've got two of those and can transfer one of them to be taken care of by the wine folks. As long as it's a US address, that is.
Cheers, Kuba