MicrosoftDocs / feedback

📢 docs.microsoft.com site feedback
https://learn.microsoft.com
Creative Commons Attribution 4.0 International
239 stars 160 forks source link

DirectWrite: Many classes have not been tagged with the right version #3984

Open moi15moi opened 5 months ago

moi15moi commented 5 months ago

All these enumerations, classes and structures are tagged has Minimum supported client : Windows 10 Build 20348

But in reality, they have been introduced in another version.

Windows 10 Build 16299 (Source of this information)

Windows 10 Build 17134 (Source of this information)

Windows 10 Build 17763 (Source of this information)

welcome[bot] commented 5 months ago

Thank you for opening an issue! One of our team members will get back to you with additional information.

If this is a product issue, please close this issue and contact the product's support instead. For a list of support websites, see Support for Microsoft products and apps.

gewarren commented 5 months ago

@drewbatgit Can you take a look?

rickbrew commented 3 months ago

This type of documentation error makes it really hard to use newer functionality of DirectWrite, and to trust this metadata in general. You never really know what version of Windows you need for any particular interface and thus have to stick with an older common denominator, e.g. the original IDWriteFactory. (You "never really know" because it's either omitted or it could be wrong)

From my own investigation into this from a few years ago I know that everything up to IDWriteFactory7 is available on Windows 10 v1809, but it took quite a bit of digging to actually gather and verify that information.

moi15moi commented 3 months ago

I found a new error. It is wrote that IDWriteFontCollection1 have been introduced in Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista, but I am pretty sure it has been introduced in the first release of windows 10

rickbrew commented 3 months ago

That's probably true since it's part of dwrite_3.h.