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.
<PackageVersion Include="WindowAPI" Version="1.3.1" />
                    
Directory.Packages.props
<PackageReference Include="WindowAPI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#:package WindowAPI@1.3.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WindowAPI&version=1.3.1
                    
Install as a Cake Addin
#tool nuget:?package=WindowAPI&version=1.3.1
                    
Install as a Cake Tool

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.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 334 2/15/2024
1.3.0 210 2/15/2024
1.2.0 246 2/13/2024
1.1.0 250 2/12/2024
1.0.0 236 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.