A few sample projects to help you get started with the windows
crate.
clock - An example of using Direct2D and various other Windows APIs.
com_uri - A simple example of using the CreateUri function.
d3d12 - The classic D3D12HelloTriangle sample.
enum_windows - An example of using the EnumWindows function.
event - An example using the kernel event object.
message_box - An example using the age-old MessageBox function.
ocr - An example using the Windows.Graphics.Imaging, Windows.Media.Ocr, and Windows.Storage APIs to convert an image into text.
overlapped - An example using various Win32 APIs to create and write to a new file.
rss - An example using the Windows.Foundation.Uri and Windows.Web.Syndication APIs.
simple - An example of including bindings without a separate bindings crate when you only need to use a very small number of Windows APIs.
webview2 - An example which runs Microsoft.Web.WebView2.Core in a standalone frame using pre-release WinRT APIs. If you want to run this program, you will need the prerequisites for the WebView2 runtime installed on your machine.
win2d - An example using dependencies like Win2D where that component provides its own winmd for describing its API surface as well as a runtime DLL that must be deployed with the app. It is further complicated as Win2D requires the VCRTForwarders in order to load.
xml - An example of using the Windows.Data.Xml.Dom API for parsing XML.