Vanara.PInvoke.Shared
2.0.0
Prefix Reserved
See the version list below for details.
dotnet add package Vanara.PInvoke.Shared --version 2.0.0
NuGet\Install-Package Vanara.PInvoke.Shared -Version 2.0.0
<PackageReference Include="Vanara.PInvoke.Shared" Version="2.0.0" />
<PackageVersion Include="Vanara.PInvoke.Shared" Version="2.0.0" />
<PackageReference Include="Vanara.PInvoke.Shared" />
paket add Vanara.PInvoke.Shared --version 2.0.0
#r "nuget: Vanara.PInvoke.Shared, 2.0.0"
#:package Vanara.PInvoke.Shared@2.0.0
#addin nuget:?package=Vanara.PInvoke.Shared&version=2.0.0
#tool nuget:?package=Vanara.PInvoke.Shared&version=2.0.0
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 | Versions 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. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. 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. |
-
.NETFramework 2.0
- Vanara.Core (>= 2.0.0)
-
.NETFramework 3.5
- Vanara.Core (>= 2.0.0)
-
.NETFramework 4.0
- Vanara.Core (>= 2.0.0)
-
.NETFramework 4.5
- Vanara.Core (>= 2.0.0)
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 4.5.0)
- Vanara.Core (>= 2.0.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Vanara.PInvoke.Shared:
| Package | Downloads |
|---|---|
|
Vanara.PInvoke.Graphics
PInvoke API (methods, interfaces, structures and constants) imported from Windows Graphics APIs. Currently supports Windows Imaging Component (WIC), DirectWrite (full), Direct2D (partial), and Direct3D (DXGI only). |
|
|
Durandal.AI.NonPortable
Extensions and implementation classes in the Durandal framework for "higher-level" functionality of .Net Framework and .Net Core. For example, HTTP clients / servers, performance counters, file systems, threading and synchronization objects, loggers, etc. |
|
|
Scover.Dialogs
A Windows TaskDialog wrapper that also supports navigation and hyperlinks. |
|
|
Lycoris.NetDimension.NanUI
Easily buid powerful WinForm applications with HTML, CSS and JavaScript. |
GitHub repositories (4)
Showing the top 4 popular GitHub repositories that depend on Vanara.PInvoke.Shared:
| Repository | Stars |
|---|---|
|
duplicati/duplicati
Store securely encrypted backups in the cloud!
|
|
|
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
|
|
|
mann1x/CPUDoc
|
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0 | 118,962 | 1/12/2026 |
| 4.2.1 | 339,877 | 9/9/2025 |
| 4.2.0 | 16,931 | 8/25/2025 |
| 4.1.6 | 120,909 | 6/20/2025 |
| 4.1.5 | 4,392 | 6/20/2025 |
| 4.1.4 | 28,206 | 6/7/2025 |
| 4.1.3 | 89,409 | 4/24/2025 |
| 4.1.2 | 56,802 | 4/16/2025 |
| 4.1.1 | 74,670 | 3/7/2025 |
| 4.1.0 | 5,469 | 3/7/2025 |
| 4.0.6 | 23,969 | 2/24/2025 |
| 4.0.5 | 18,271 | 2/8/2025 |
| 4.0.4 | 263,257 | 9/13/2024 |
| 4.0.3 | 232,724 | 8/5/2024 |
| 4.0.2 | 48,662 | 6/24/2024 |
| 4.0.1 | 169,376 | 4/30/2024 |
| 4.0.0 | 38,789 | 3/29/2024 |
| 4.0.0-beta2 | 7,105 | 1/22/2024 |
| 4.0.0-beta | 8,081 | 11/20/2023 |
| 2.0.0 | 6,668 | 11/28/2018 |
Currently implements:
Classes
AssociateAttribute, CoTaskMemStringMarshaler, FunctionHelper, HANDLE, IEnumFromIndexer<T>, IEnumFromNext<T>, Lib, Macros, NullTermStringArrayMarshaler, OBJECT_TYPE_LIST, OverlappedAsync, OverlappedAsyncResult, PInvokeDataAttribute, PRECT, PtrFunc<T>, SafeElementArray<T>, SafeNativeArray<T>, SafeResourceId, SBFunc<T>, SECURITY_ATTRIBUTES, SizeFunc<T>, TryGetNext, WIN32_FIND_DATA
Structures
COLORREF, HACCEL, 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, ResourceType, SECURITY_INFORMATION, SeverityLevel, SeverityLevel, ShowWindowCommand, STGM, SystemColorIndex, SystemShutDownReason