dotnet / pinvoke

A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
MIT License
2.12k stars 222 forks source link

ShellScalingApi is empty? #449

Closed wilversings closed 4 years ago

wilversings commented 4 years ago

Hello

I see that the ShellScalingApi from PInvoke.Windows.ShellScalingApi is empty, and does not provide the methods from here https://docs.microsoft.com/en-us/windows/win32/api/shellscalingapi/

AArnott commented 4 years ago

I don't remember why it's factored this way, but ShellScalingApi only defines the enums/structs, while the p/invoke methods themselves are defined in the ShCore project:

https://github.com/dotnet/pinvoke/blob/70384fbcd59e15234b3f1548bd19d194c0486880/src/SHCore/SHCore.cs#L14