Vanara.PInvoke.Shared 1.0.4

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 1.0.4
                    
NuGet\Install-Package Vanara.PInvoke.Shared -Version 1.0.4
                    
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="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vanara.PInvoke.Shared" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Vanara.PInvoke.Shared" />
                    
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 Vanara.PInvoke.Shared --version 1.0.4
                    
#r "nuget: Vanara.PInvoke.Shared, 1.0.4"
                    
#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 Vanara.PInvoke.Shared@1.0.4
                    
#: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=Vanara.PInvoke.Shared&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Vanara.PInvoke.Shared&version=1.0.4
                    
Install as a Cake Tool

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.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (46)

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

Package Downloads
Vanara.PInvoke.Kernel32

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

Vanara.PInvoke.Cryptography

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.Gdi32

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

Vanara.PInvoke.Mpr

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

Vanara.PInvoke.NTDSApi

PInvoke API (methods, structures and constants) imported from Windows NTDSApi.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.1.6 26,600 6/20/2025
4.1.5 1,994 6/20/2025
4.1.4 20,960 6/7/2025
4.1.3 58,984 4/24/2025
4.1.2 12,175 4/16/2025
4.1.1 59,072 3/7/2025
4.1.0 3,247 3/7/2025
4.0.6 17,345 2/24/2025
4.0.5 14,329 2/8/2025
4.0.4 197,665 9/13/2024
4.0.3 125,809 8/5/2024
4.0.2 44,348 6/24/2024
4.0.1 112,619 4/30/2024
4.0.0 34,648 3/29/2024
4.0.0-beta2 5,012 1/22/2024
4.0.0-beta 5,990 11/20/2023
3.4.17 186,488 10/18/2023
3.4.16 93,806 8/7/2023
3.4.15 232,338 5/18/2023
3.4.14 84,794 4/15/2023
3.4.13 104,030 2/4/2023
3.4.12 47,541 1/15/2023
3.4.11 97,584 11/15/2022
3.4.10 46,717 10/25/2022
3.4.9 43,518 10/3/2022
3.4.8 40,516 9/16/2022
3.4.7 37,923 9/3/2022
3.4.6 46,913 8/7/2022
3.4.5 42,616 7/17/2022
3.4.4 31,587 7/5/2022
3.4.3 49,124 6/14/2022
3.4.2 42,914 5/13/2022
3.4.1 32,811 5/5/2022
3.4.0 47,756 3/14/2022
3.3.15 110,333 12/27/2021
3.3.14 43,557 10/26/2021
3.3.13 32,790 9/30/2021
3.3.12 34,344 8/30/2021
3.3.11 43,010 7/22/2021
3.3.10 26,621 6/4/2021
3.3.9 19,649 5/7/2021
3.3.8 22,608 4/7/2021
3.3.7 19,455 3/24/2021
3.3.6 15,814 3/19/2021
3.3.5 19,573 3/1/2021
3.3.4 20,060 2/11/2021
3.3.3 24,106 2/3/2021
3.3.2 15,383 1/21/2021
3.3.1 18,543 1/20/2021
3.3.0 21,965 11/20/2020
3.2.21 13,914 11/13/2020
3.2.20 16,611 11/8/2020
3.2.19 22,781 10/23/2020
3.2.18 13,040 10/21/2020
3.2.17 25,909 9/20/2020
3.2.16 14,083 9/7/2020
3.2.15 12,896 8/30/2020
3.2.14 12,470 8/20/2020
3.2.13 13,242 7/27/2020
3.2.12 12,587 7/13/2020
3.2.11 13,579 6/28/2020
3.2.10 14,794 6/14/2020
3.2.9 13,374 6/3/2020
3.2.7 16,132 5/4/2020
3.2.6 12,561 4/21/2020
3.2.5 12,251 4/15/2020
3.2.4 12,142 4/12/2020
3.2.3 15,333 4/1/2020
3.2.2 11,214 3/24/2020
3.2.1 12,056 3/17/2020
3.2.0 11,708 2/27/2020
3.1.9 11,727 1/17/2020
3.1.8 11,593 1/13/2020
3.1.7 11,306 1/6/2020
3.1.6 11,024 12/12/2019
3.1.5 10,988 11/26/2019
3.1.4 10,718 11/25/2019
3.1.3 11,117 11/8/2019
3.1.2 10,489 11/4/2019
3.1.1 12,020 10/17/2019
3.1.0 10,154 10/3/2019
3.0.1 9,927 9/20/2019
3.0.0 12,015 8/27/2019
2.3.11 9,036 6/9/2019
2.3.10 6,655 6/5/2019
2.3.9 6,535 5/26/2019
2.3.8 6,479 5/13/2019
2.3.7 6,894 4/24/2019
2.3.6 7,714 4/17/2019
2.3.5 6,324 4/10/2019
2.3.4 6,203 3/9/2019
2.3.3 6,108 3/8/2019
2.3.2 5,918 2/28/2019
2.3.1 6,007 2/25/2019
2.3.0 5,860 2/22/2019
2.2.1 5,948 2/12/2019
2.2.0 5,874 2/1/2019
2.1.2 23,086 1/14/2019
2.1.0 7,034 12/15/2018
2.0.1 5,927 12/7/2018
2.0.0 6,100 11/28/2018
1.1.0 6,672 9/10/2018
1.0.18 5,491 8/10/2018
1.0.17 5,431 7/30/2018
1.0.16 6,043 6/29/2018
1.0.15 5,465 6/27/2018
1.0.14 5,358 6/8/2018
1.0.13 5,415 6/6/2018
1.0.12 5,699 4/5/2018
1.0.11 5,457 4/4/2018
1.0.10 5,284 3/27/2018
1.0.9 5,325 3/26/2018
1.0.8 6,069 2/7/2018
1.0.7 5,422 1/27/2018
1.0.6 5,440 1/8/2018
1.0.5 5,275 12/28/2017
1.0.4 4,921 12/15/2017
1.0.3 4,390 12/8/2017
1.0.2 4,158 11/30/2017
1.0.1 4,485 11/28/2017

Enums
ACCESS_MASK, DrawTextFlags, FileFlagsAndAttributes, ProcessorArchitecture, ResourceType, SECURITY_INFORMATION, SystemShutDownReason

Structures/Types
HRESULT, NTSTATUS, OBJECT_TYPE_LIST, RECT, SIZE, SECURITY_ATTRIBUTES, STGM, SYSTEMTIME, WIN32ERROR, WIN32_FIND_DATA

Macros
HIBYTE, HIWORD, LOBYTE, LOWORD, MAKELONG, MAKELONG64, MAKELPARAM, MAKEWORD, IS_INTRESOURCE, MAKEINTRESOURCE