microsoft / win32metadata

Tooling to generate metadata for Win32 APIs in the Windows SDK.
Other
1.34k stars 119 forks source link

Missing COM interface for ISampleGrabber #1965

Closed plafosse closed 3 months ago

plafosse commented 3 months ago

Missing com interface for ISampleGrabber

mikebattista commented 3 months ago

Per the docs, this is deprecated with strong recommendations to migrate forward, not in any Windows SDK since Vista, and not compatible with D3D headers later than version 7.

mon commented 3 months ago

This is a surprising response, because the metadata also exposes many other deprecated interfaces from DirectShow such as IGraphBuilder, IMediaControl, IBaseFilter, and ICaptureGraphBuilder2.

The top level README for win32metadata states it aims to "Provide the broadest API coverage possible", this seems to conflict with that goal. I hate the be that pain-in-the-ass user using (in my case, reverse-engineering) decades old APIs, but can the docs at least be adjusted to state that this project won't target deprecated APIs? Because I've always seen this project as "every winapi function in machine readable format", and this goes against that.