Tooling to generate metadata for Win32 APIs in the Windows SDK.
Перейти к файлу
Steve Otteson 99ba4b3568 Make sure netstandard.dll is found, and don't download in test mode 2020-11-20 13:15:53 -08:00
designs Minor edit 2020-06-22 13:57:39 -07:00
generation Adding metadata writer to create winmd instead of compiling with C# compiler 2020-11-20 12:04:44 -08:00
scripts Make sure winmd generator gets rid of extra semver data, add way to bypass source generation in pipeline 2020-11-20 12:43:35 -08:00
sources Make sure netstandard.dll is found, and don't download in test mode 2020-11-20 13:15:53 -08:00
tests Make sure winmd generator gets rid of extra semver data, add way to bypass source generation in pipeline 2020-11-20 12:43:35 -08:00
tools Add NativeInheritanceAttribute to show the native type a type inherited from 2020-11-11 16:23:03 -08:00
.gitignore * Allow for scraping by libs 2020-10-25 21:39:32 -07:00
BuildCsWin32Projection.cmd * Initial CsWin32 projection including sample app and nuget 2020-10-19 20:27:54 -07:00
BuildMetadataBin.cmd Initial generation of metadata source and binary 2020-06-15 08:46:54 -07:00
BuildSamples.cmd * Updating scraper to emit ComOutPtr atttributes 2020-10-30 13:35:22 -07:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-06-08 14:52:16 -07:00
GenerateMetadataSource.cmd Initial generation of metadata source and binary 2020-06-15 08:46:54 -07:00
LICENSE Initial LICENSE commit 2020-06-08 14:52:18 -07:00
README.md Added an Overview section to the README. 2020-06-11 16:49:31 -07:00
SECURITY.md Initial SECURITY.md commit 2020-06-08 14:52:18 -07:00
azure-pipelines.yml Make sure netstandard.dll is found, and don't download in test mode 2020-11-20 13:15:53 -08:00
settings.rsp * Allow for scraping by libs 2020-10-25 21:39:32 -07:00

README.md

Overview

Win32 APIs provide functionality that not all languages and frameworks support themselves. When developing for Windows, developers often call into or P/Invoke Win32 APIs to access this functionality.

Historically, this has required manually redefining the APIs to make them accessible, which is fragile and error-prone. Community projects like https://github.com/dotnet/pinvoke (.NET) and https://github.com/retep998/winapi-rs (Rust) have taken on the burden of providing strongly-typed and validated API signatures for their frameworks, but the projects are manually maintained, which is hard to sustain and makes it challenging to provide thorough API coverage.

This project aims to provide metadata for Win32 APIs such that idiomatic projections and projects like above can be generated for all languages and frameworks in a more automated way and with more complete API coverage.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.