Vanara.PInvoke.Shared 2.2.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Vanara.PInvoke.Shared --version 2.2.1
NuGet\Install-Package Vanara.PInvoke.Shared -Version 2.2.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="Vanara.PInvoke.Shared" Version="2.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.Shared --version 2.2.1
#r "nuget: Vanara.PInvoke.Shared, 2.2.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 Vanara.PInvoke.Shared as a Cake Addin
#addin nuget:?package=Vanara.PInvoke.Shared&version=2.2.1

// Install Vanara.PInvoke.Shared as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.Shared&version=2.2.1

Shared methods, structures and constants for use throughout the Vanara.PInvoke assemblies. Includes:
* IEnumerable helpers for COM enumerations
* Custom marshaler for CoTaskMem pointers
* Enhanced error results classes for HRESULT, Win32Error and NTStatus
* Standard windows.h macros (e.g. HIWORD, MAKELONG, etc.)
* Overlapped method wrapper
* Resource ID holder
* Shared structures and enums (see release notes)

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (102)

Showing the top 5 NuGet packages that depend on Vanara.PInvoke.Shared:

Package Downloads
Vanara.PInvoke.Kernel32 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

PInvoke API (methods, structures and constants) imported from Windows Kernel32.dll.

Vanara.PInvoke.Cryptography The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

PInvoke API (methods, structures and constants) imported from Windows crypt32.dll, bcrypt.dll, ncrypt.dll, tokenbinding.dll, cryptnet.dll, cryptdlg.dll and cryptui.dll.

Vanara.PInvoke.Security The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

PInvoke API (methods, structures and constants) imported from Windows AdvApi32.dll, Authz.dll, sspicli.dll, schannel.dll, tdh.dll and Secur32.dll.

Vanara.PInvoke.Gdi32 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

PInvoke API (methods, structures and constants) imported from Windows Gdi32.dll

Vanara.PInvoke.User32 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

PInvoke API (methods, structures and constants) imported from Windows User32.dll.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Vanara.PInvoke.Shared:

Repository Stars
omeryanar/FileExplorer
Windows File Explorer alternative with tab browsing
zhupingqi/RuiJi.Net
crawler framework, distributed crawler extractor
zqhong/RyzenTuner
A tool that supports adjusting the power limit of Ryzen mobile processors and the QoS level and priority of Windows processes
Version Downloads Last updated
4.0.0-beta2 2,410 1/22/2024
4.0.0-beta 3,498 11/20/2023
3.4.17 125,989 10/18/2023
3.4.16 71,351 8/7/2023
3.4.15 99,771 5/18/2023
3.4.14 72,378 4/15/2023
3.4.13 95,308 2/4/2023
3.4.12 43,800 1/15/2023
3.4.11 74,603 11/15/2022
3.4.10 43,825 10/25/2022
3.4.9 40,665 10/3/2022
3.4.8 37,579 9/16/2022
3.4.7 36,182 9/3/2022
3.4.6 43,739 8/7/2022
3.4.5 39,447 7/17/2022
3.4.4 29,278 7/5/2022
3.4.3 43,309 6/14/2022
3.4.2 38,353 5/13/2022
3.4.1 31,242 5/5/2022
3.4.0 44,257 3/14/2022
3.3.15 97,425 12/27/2021
3.3.14 37,418 10/26/2021
3.3.13 30,038 9/30/2021
3.3.12 29,450 8/30/2021
3.3.11 35,487 7/22/2021
3.3.10 24,699 6/4/2021
3.3.9 17,967 5/7/2021
3.3.8 21,301 4/7/2021
3.3.7 18,209 3/24/2021
3.3.6 14,572 3/19/2021
3.3.5 17,557 3/1/2021
3.3.4 16,406 2/11/2021
3.3.3 22,901 2/3/2021
3.3.2 14,187 1/21/2021
3.3.1 17,342 1/20/2021
3.3.0 19,497 11/20/2020
3.2.21 12,744 11/13/2020
3.2.20 15,459 11/8/2020
3.2.19 19,653 10/23/2020
3.2.18 12,002 10/21/2020
3.2.17 24,549 9/20/2020
3.2.16 12,815 9/7/2020
3.2.15 11,880 8/30/2020
3.2.14 11,501 8/20/2020
3.2.13 12,221 7/27/2020
3.2.12 11,638 7/13/2020
3.2.11 12,653 6/28/2020
3.2.10 13,880 6/14/2020
3.2.9 12,470 6/3/2020
3.2.7 15,108 5/4/2020
3.2.6 11,591 4/21/2020
3.2.5 11,267 4/15/2020
3.2.4 11,164 4/12/2020
3.2.3 13,932 4/1/2020
3.2.2 10,353 3/24/2020
3.2.1 11,136 3/17/2020
3.2.0 10,801 2/27/2020
3.1.9 10,862 1/17/2020
3.1.8 10,716 1/13/2020
3.1.7 10,420 1/6/2020
3.1.6 10,085 12/12/2019
3.1.5 10,127 11/26/2019
3.1.4 9,833 11/25/2019
3.1.3 10,231 11/8/2019
3.1.2 9,668 11/4/2019
3.1.1 11,237 10/17/2019
3.1.0 9,365 10/3/2019
3.0.1 9,222 9/20/2019
3.0.0 11,004 8/27/2019
2.3.11 8,186 6/9/2019
2.3.10 6,112 6/5/2019
2.3.9 5,993 5/26/2019
2.3.8 5,981 5/13/2019
2.3.7 6,352 4/24/2019
2.3.6 7,038 4/17/2019
2.3.5 5,837 4/10/2019
2.3.4 5,638 3/9/2019
2.3.3 5,469 3/8/2019
2.3.2 5,428 2/28/2019
2.3.1 5,466 2/25/2019
2.3.0 5,342 2/22/2019
2.2.1 5,406 2/12/2019
2.2.0 5,312 2/1/2019
2.1.2 20,664 1/14/2019
2.1.0 6,422 12/15/2018
2.0.1 5,429 12/7/2018
2.0.0 5,597 11/28/2018
1.1.0 6,089 9/10/2018
1.0.18 5,022 8/10/2018
1.0.17 4,907 7/30/2018
1.0.16 5,473 6/29/2018
1.0.15 4,867 6/27/2018
1.0.14 4,838 6/8/2018
1.0.13 4,836 6/6/2018
1.0.12 5,071 4/5/2018
1.0.11 4,843 4/4/2018
1.0.10 4,683 3/27/2018
1.0.9 4,684 3/26/2018
1.0.8 5,438 2/7/2018
1.0.7 4,803 1/27/2018
1.0.6 4,828 1/8/2018
1.0.5 4,686 12/28/2017
1.0.4 4,388 12/15/2017
1.0.3 3,882 12/8/2017
1.0.2 3,727 11/30/2017
1.0.1 3,848 11/28/2017

Currently implements:

Classes
AssociateAttribute, CoTaskMemStringMarshaler, FunctionHelper, IEnumFromIndexer<T>, IEnumFromNext<T>, Lib, Macros, NullTermStringArrayMarshaler, OBJECT_TYPE_LIST, OverlappedAsync, OverlappedAsyncResult, PInvokeDataAttribute, PRECT, PtrFunc<T>, SafeElementArray<T>, SafeHANDLE, SafeNativeArray<T>, SafeResourceId, SBFunc<T>, SECURITY_ATTRIBUTES, SizeFunc<T>, TryGetNext, WIN32_FIND_DATA

Structures
COLORREF, HACCEL, HANDLE, HBITMAP, HBRUSH, HCURSOR, HDC, HDESK, HDPA, HDROP, HDSA, HDWP, HENHMETAFILE, HFILE, HFONT, HGDIOBJ, HICON, HIMAGELIST, HINSTANCE, HKEY, HMENU, HMETAFILE, HMONITOR, HPALETTE, HPEN, HPROCESS, HPROPSHEET, HPROPSHEETPAGE, HRESULT, HRGN, HTHEME, HTHREAD, HTHUMBNAIL, HTOKEN, HWINSTA, HWND, LOGFONT, MSG, NTStatus, OBJECT_TYPE_LIST, PACE, PACL, POINTS, PRECT, PSECURITY_DESCRIPTOR, PSID, RECT, ResourceId, SECURITY_ATTRIBUTES, SIZE, SizeT, SYSTEMTIME, WIN32_FIND_DATA, Win32Error

Enumerations
ACCESS_MASK, DrawTextFlags, FacilityCode, FacilityCode, FileFlagsAndAttributes, FontFamily, FontPitch, LogFontCharSet, LogFontClippingPrecision, LogFontOutputPrecision, LogFontOutputQuality, ObjectTypeListLevel, PInvokeClient, ProcessorArchitecture, REG_VALUE_TYPE, ResourceType, SECURITY_INFORMATION, SeverityLevel, SeverityLevel, ShowWindowCommand, STGM, SystemColorIndex, SystemShutDownReason