Vanara.PInvoke.Shared 2.3.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)

There is a newer version of this package available.
See the version list below for details.
Install-Package Vanara.PInvoke.Shared -Version 2.3.0
dotnet add package Vanara.PInvoke.Shared --version 2.3.0
<PackageReference Include="Vanara.PInvoke.Shared" Version="2.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vanara.PInvoke.Shared --version 2.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vanara.PInvoke.Shared, 2.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.3.0

// Install Vanara.PInvoke.Shared as a Cake Tool
#tool nuget:?package=Vanara.PInvoke.Shared&version=2.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Currently implements:

Classes
AssociateAttribute, CoTaskMemStringMarshaler, FunctionHelper, IEnumFromIndexer<T>, IEnumFromNext<T>, Lib, Macros, NullTermStringArrayMarshaler, OBJECT_TYPE_LIST, OverlappedAsync, OverlappedAsyncResult, PInvokeClientExtensions, 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

NuGet packages (70)

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.Security
PInvoke API (methods, structures and constants) imported from Windows AdvApi32.dll, Authz.dll and Secur32.dll.
Vanara.PInvoke.Gdi32
PInvoke API (methods, structures and constants) imported from Windows Gdi32.dll
Vanara.PInvoke.User32
PInvoke API (methods, structures and constants) imported from Windows User32.dll.
Vanara.PInvoke.Ole
PInvoke API (methods, structures and constants) imported from Windows Ole32.dll, OleAut32 and PropSys.dll.

GitHub repositories (2)

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

Repository Stars
Ceiridge/Chrome-Developer-Mode-Extension-Warning-Patcher
⇒ Disable Chrome's Developer Mode Extension Warning Popup & Elision WWW/HTTPS Hiding & Debugging Extension Popup
zhupingqi/RuiJi.Net
crawler framework, distributed crawler extractor

Version History

Version Downloads Last updated
3.3.8 2,938 4/7/2021
3.3.7 3,328 3/24/2021
3.3.6 1,174 3/19/2021
3.3.5 3,470 3/1/2021
3.3.4 2,125 2/11/2021
3.3.3 3,097 2/3/2021
3.3.2 1,440 1/21/2021
3.3.1 1,049 1/20/2021
3.3.0 4,436 11/20/2020
3.2.21 1,328 11/13/2020
3.2.20 2,382 11/8/2020
3.2.19 6,092 10/23/2020
3.2.18 858 10/21/2020
3.2.17 6,153 9/20/2020
3.2.16 1,214 9/7/2020
3.2.15 1,148 8/30/2020
3.2.14 1,113 8/20/2020
3.2.13 1,853 7/27/2020
3.2.12 1,282 7/13/2020
3.2.11 2,374 6/28/2020
3.2.10 3,465 6/14/2020
3.2.9 2,130 6/3/2020
3.2.7 3,657 5/4/2020
3.2.6 1,691 4/21/2020
3.2.5 1,351 4/15/2020
3.2.4 1,304 4/12/2020
3.2.3 3,204 4/1/2020
3.2.2 1,196 3/24/2020
3.2.1 1,722 3/17/2020
3.2.0 1,612 2/27/2020
3.1.9 1,684 1/17/2020
3.1.8 1,372 1/13/2020
3.1.7 1,242 1/6/2020
3.1.6 1,386 12/12/2019
3.1.5 1,480 11/26/2019
3.1.4 1,082 11/25/2019
3.1.3 1,483 11/8/2019
3.1.2 1,127 11/4/2019
3.1.1 2,705 10/17/2019
3.1.0 1,138 10/3/2019
3.0.1 1,097 9/20/2019
3.0.0 1,963 8/27/2019
2.3.11 2,169 6/9/2019
2.3.10 893 6/5/2019
2.3.9 898 5/26/2019
2.3.8 1,024 5/13/2019
2.3.7 1,377 4/24/2019
2.3.6 2,016 4/17/2019
2.3.5 984 4/10/2019
2.3.4 968 3/9/2019
2.3.3 823 3/8/2019
2.3.2 837 2/28/2019
2.3.1 859 2/25/2019
2.3.0 787 2/22/2019
2.2.1 920 2/12/2019
2.2.0 881 2/1/2019
2.1.2 2,226 1/14/2019
2.1.0 1,645 12/15/2018
2.0.1 908 12/7/2018
2.0.0 1,064 11/28/2018
1.1.0 1,790 9/10/2018
1.0.18 1,000 8/10/2018
1.0.17 919 7/30/2018
1.0.16 1,351 6/29/2018
1.0.15 917 6/27/2018
1.0.14 981 6/8/2018
1.0.13 947 6/6/2018
1.0.12 1,214 4/5/2018
1.0.11 938 4/4/2018
1.0.10 924 3/27/2018
1.0.9 916 3/26/2018
1.0.8 1,612 2/7/2018
1.0.7 966 1/27/2018
1.0.6 1,052 1/8/2018
1.0.5 1,035 12/28/2017
1.0.4 946 12/15/2017
1.0.3 897 12/8/2017
1.0.2 828 11/30/2017
1.0.1 837 11/28/2017
Show less