retep998 / winapi-rs

Rust bindings to Windows API
https://crates.io/crates/winapi
Apache License 2.0
1.83k stars 388 forks source link

Add DirectShow interfaces #976

Open peacememories opened 3 years ago

peacememories commented 3 years ago

Hi, and thanks for creating and maintaining this crate! :)

I'm currently working on a program that needs to register DirectShow filters on windows (virtual camera stuff), and am looking into how to best do this in Rust. I'd really like to use this library, but right now that means I'll have to write out all the interfaces before being able to call/implement them. This is probably what I'll do for now since com doesn't define them either and windows is very unfinished right now, but I'd love to have a canonical library to pull these interfaces out of.

johannesvollmer commented 2 years ago

Is there any other way to emulate a webcam in Rust?

I found the dshow types in [winsafe])https://docs.rs/crate/winsafe/latest), but I didn't try it yet