WindowAPI 1.3.1

dotnet add package WindowAPI --version 1.3.1
NuGet\Install-Package WindowAPI -Version 1.3.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WindowAPI" Version="1.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WindowAPI --version 1.3.1
#r "nuget: WindowAPI, 1.3.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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.

Version Downloads Last updated
1.3.1 201 2/15/2024
1.3.0 149 2/15/2024
1.2.0 194 2/13/2024
1.1.0 201 2/12/2024
1.0.0 184 2/11/2024

Features :
Managed wrappers for critical Windows API functionalities.
Simplified font management, OLE control interactions, and printer notifications.
Streamlined access to Windows base operations.