WindowAPI 1.3.1
dotnet add package WindowAPI --version 1.3.1
NuGet\Install-Package WindowAPI -Version 1.3.1
<PackageReference Include="WindowAPI" Version="1.3.1" />
paket add WindowAPI --version 1.3.1
#r "nuget: WindowAPI, 1.3.1"
// Install WindowAPI as a Cake Addin #addin nuget:?package=WindowAPI&version=1.3.1 // Install WindowAPI as a Cake Tool #tool nuget:?package=WindowAPI&version=1.3.1
https://www.nuget.org/packages/WindowAPI/
WindowAPI/Wrapper
WindowAPIWrapper
is a C# library designed to simplify the interaction with key components of the Windows API. This project brings together a collection of PInvoke wrappers for various headers like FontSub
, OleCtl
, Prnasnot
, and Winbase
, enabling .NET developers to easily integrate Windows native functionalities into their applications.
Features
- Font Management: Wrappers around
FontSub.h
for font substitution and management. - OLE Controls: Easy integration with OLE control interfaces via
OleCtl.h
. - Printer Notifications: Support for printer notifications and settings through
Prnasnot.h
. - Basic Windows Operations: Simplified access to fundamental Windows base operations provided by
Winbase.h
. - Be Expecting More!
Getting Started
To use WindowAPIWrapper
in your project, follow these steps:
(Here, you would provide instructions on how to install or include your library in a project, possibly with code snippets for basic usage.)
Example:
using static WindowAPI.Winbase.h.Functions;
IntPtr h = LocalAlloc(0, 255);
for (byte i = 0; i < 254; i++)
{
unsafe
{
*(byte*)(h + i) = i;
Console.WriteLine($"{h + i}: {*(byte*)(h + i)}");
}
}
LocalFree(h);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Features :
Managed wrappers for critical Windows API functionalities.
Simplified font management, OLE control interactions, and printer notifications.
Streamlined access to Windows base operations.