Vanara.PInvoke.Shared
3.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)
See the version list below for details.
Install-Package Vanara.PInvoke.Shared -Version 3.3.0
dotnet add package Vanara.PInvoke.Shared --version 3.3.0
<PackageReference Include="Vanara.PInvoke.Shared" Version="3.3.0" />
paket add Vanara.PInvoke.Shared --version 3.3.0
#r "nuget: Vanara.PInvoke.Shared, 3.3.0"
// Install Vanara.PInvoke.Shared as a Cake Addin #addin nuget:?package=Vanara.PInvoke.Shared&version=3.3.0 // Install Vanara.PInvoke.Shared as a Cake Tool #tool nuget:?package=Vanara.PInvoke.Shared&version=3.3.0
Release Notes
Currently implements:
Classes
IErrorProvider, IGraphicsObjectHandle, IHandle, IKernelHandle, ISecurityObject, IShellHandle, ISyncHandle, IUserHandle, AssociateAttribute, AssociateStringAttribute, ComTryGetNext, CoTaskMemStringMarshaler, FunctionHelper, GenericStringMarshaler<T>, GenericStringMarshalerBase<T>, IEnumeratorFromNext<T>, IEnumFromCom<T>, IEnumFromIndexer<T>, IEnumFromNext<T>, Lib, Macros, NullTermStringArrayMarshaler, OverlappedAsync, OverlappedAsyncResult, PInvokeClientExtensions, PInvokeDataAttribute, PRECT, PtrFunc<T>, RegistryTypeExt, SafeAnysizeStruct<T>, SafeAnysizeStructBase<T>, SafeAnysizeStructMarshaler<T>, SafeElementArray<T>, SafeHANDLE, SafeNativeArray<T>, SafeNativeArrayBase<T>, SafeNativeLinkedList<T>, SafeNativeListBase<T>, SafeResourceId, SBFunc<T>, SECURITY_ATTRIBUTES, SizeFunc<T>, StaticFieldValueHash, StringPtrArrayMarshaler, StructHelper, TryGetNext<T>, TryGetNext<T>
Structures
ACCESS_MASK, BusNumber, CLIPFORMAT, CM_FULL_RESOURCE_DESCRIPTOR, CM_PARTIAL_RESOURCE_DESCRIPTOR, CM_PARTIAL_RESOURCE_LIST, CM_RESOURCE_LIST, COLORREF, Connection, CORRELATION_VECTOR, DevicePrivate, DeviceSpecificData, DEVMODE, Dma, DmaV3, Generic, HACCEL, HANDLE, HBITMAP, HBRUSH, HCOLORSPACE, HCURSOR, HDC, HDESK, HDPA, HDROP, HDSA, HDWP, HENHMETAFILE, HEVENT, HFILE, HFONT, HGDIOBJ, HICON, HIMAGELIST, HINSTANCE, HKEY, HMENU, HMETAFILE, HMONITOR, HPALETTE, HPEN, HPROCESS, HPROPSHEET, HPROPSHEETPAGE, HRESULT, HRGN, HSECTION, HTASK, HTHEME, HTHREAD, HTHUMBNAIL, HTOKEN, HWINSTA, HWND, Interrupt, LCID, LOGFONT, Memory40, Memory48, Memory64, MessageInterruptRaw, MSG, NTStatus, OBJECT_TYPE_LIST, PACE, PACL, POINTS, PRECT, PSECURITY_DESCRIPTOR, PSID, RECT, ResourceId, ResourceIdOrHandle<T>, SECURITY_ATTRIBUTES, SIZE, SYSTEMTIME, tagSECURITY_ATTRIBUTES, union, WIN32_FIND_DATA, Win32Error
Enumerations
CharacterSet, CM_RESOURCE, CM_SHARE_DISPOSITION, CmResourceType, DMCOLLATE, DMCOLOR, DMDFO, DMDISPLAY, DMDITHER, DMDO, DMDUP, DMFIELDS, DMICM, DMICMMETHOD, DMMEDIA, DMNUP, DMORIENT, DMPAPER, DMRES, DMTT, DrawTextFlags, FacilityCode, FacilityCode, FileFlagsAndAttributes, FontFamily, FontPitch, INTERFACE_TYPE, LogFontClippingPrecision, LogFontOutputPrecision, LogFontOutputQuality, NTDDI, ObjectTypeListLevel, PInvokeClient, ProcessorArchitecture, REG_VALUE_TYPE, ResourceType, SECURITY_INFORMATION, SeverityLevel, SeverityLevel, ShowWindowCommand, STGM, SystemColorIndex, SystemShutDownReason, URLZONE, WIN32_WINNT
Dependencies
-
.NETCoreApp 2.0
- Microsoft.Win32.Registry (>= 4.6.0)
- Vanara.Core (>= 3.3.0)
-
.NETCoreApp 2.1
- Microsoft.Win32.Registry (>= 4.6.0)
- Vanara.Core (>= 3.3.0)
-
.NETCoreApp 3.0
- Microsoft.Win32.Registry (>= 4.6.0)
- Vanara.Core (>= 3.3.0)
-
.NETCoreApp 3.1
- Microsoft.Win32.Registry (>= 4.6.0)
- Vanara.Core (>= 3.3.0)
-
.NETFramework 2.0
- Theraot.Core (>= 3.2.0)
- Vanara.Core (>= 3.3.0)
-
.NETFramework 3.5
- Theraot.Core (>= 3.2.0)
- Vanara.Core (>= 3.3.0)
-
.NETFramework 4.0
- Theraot.Core (>= 3.2.0)
- Vanara.Core (>= 3.3.0)
-
.NETFramework 4.5
- Vanara.Core (>= 3.3.0)
-
.NETStandard 2.0
- Microsoft.Win32.Registry (>= 4.6.0)
- Vanara.Core (>= 3.3.0)
-
net5.0-windows7.0
- Microsoft.Win32.Registry (>= 4.6.0)
- Vanara.Core (>= 3.3.0)
Used By
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 | 232 | 4/7/2021 |
3.3.7 | 2,980 | 3/24/2021 |
3.3.6 | 1,129 | 3/19/2021 |
3.3.5 | 3,379 | 3/1/2021 |
3.3.4 | 2,107 | 2/11/2021 |
3.3.3 | 2,936 | 2/3/2021 |
3.3.2 | 1,436 | 1/21/2021 |
3.3.1 | 934 | 1/20/2021 |
3.3.0 | 4,318 | 11/20/2020 |
3.2.21 | 1,324 | 11/13/2020 |
3.2.20 | 2,311 | 11/8/2020 |
3.2.19 | 5,909 | 10/23/2020 |
3.2.18 | 857 | 10/21/2020 |
3.2.17 | 6,000 | 9/20/2020 |
3.2.16 | 1,210 | 9/7/2020 |
3.2.15 | 1,143 | 8/30/2020 |
3.2.14 | 1,108 | 8/20/2020 |
3.2.13 | 1,847 | 7/27/2020 |
3.2.12 | 1,234 | 7/13/2020 |
3.2.11 | 2,323 | 6/28/2020 |
3.2.10 | 3,417 | 6/14/2020 |
3.2.9 | 2,127 | 6/3/2020 |
3.2.7 | 3,644 | 5/4/2020 |
3.2.6 | 1,688 | 4/21/2020 |
3.2.5 | 1,349 | 4/15/2020 |
3.2.4 | 1,297 | 4/12/2020 |
3.2.3 | 3,201 | 4/1/2020 |
3.2.2 | 1,195 | 3/24/2020 |
3.2.1 | 1,712 | 3/17/2020 |
3.2.0 | 1,610 | 2/27/2020 |
3.1.9 | 1,682 | 1/17/2020 |
3.1.8 | 1,371 | 1/13/2020 |
3.1.7 | 1,234 | 1/6/2020 |
3.1.6 | 1,380 | 12/12/2019 |
3.1.5 | 1,478 | 11/26/2019 |
3.1.4 | 1,075 | 11/25/2019 |
3.1.3 | 1,482 | 11/8/2019 |
3.1.2 | 1,126 | 11/4/2019 |
3.1.1 | 2,701 | 10/17/2019 |
3.1.0 | 1,134 | 10/3/2019 |
3.0.1 | 1,090 | 9/20/2019 |
3.0.0 | 1,956 | 8/27/2019 |
2.3.11 | 2,148 | 6/9/2019 |
2.3.10 | 886 | 6/5/2019 |
2.3.9 | 891 | 5/26/2019 |
2.3.8 | 1,023 | 5/13/2019 |
2.3.7 | 1,370 | 4/24/2019 |
2.3.6 | 2,014 | 4/17/2019 |
2.3.5 | 977 | 4/10/2019 |
2.3.4 | 967 | 3/9/2019 |
2.3.3 | 816 | 3/8/2019 |
2.3.2 | 830 | 2/28/2019 |
2.3.1 | 852 | 2/25/2019 |
2.3.0 | 779 | 2/22/2019 |
2.2.1 | 913 | 2/12/2019 |
2.2.0 | 880 | 2/1/2019 |
2.1.2 | 2,225 | 1/14/2019 |
2.1.0 | 1,638 | 12/15/2018 |
2.0.1 | 907 | 12/7/2018 |
2.0.0 | 1,056 | 11/28/2018 |
1.1.0 | 1,784 | 9/10/2018 |
1.0.18 | 993 | 8/10/2018 |
1.0.17 | 918 | 7/30/2018 |
1.0.16 | 1,349 | 6/29/2018 |
1.0.15 | 916 | 6/27/2018 |
1.0.14 | 978 | 6/8/2018 |
1.0.13 | 946 | 6/6/2018 |
1.0.12 | 1,213 | 4/5/2018 |
1.0.11 | 931 | 4/4/2018 |
1.0.10 | 923 | 3/27/2018 |
1.0.9 | 915 | 3/26/2018 |
1.0.8 | 1,609 | 2/7/2018 |
1.0.7 | 959 | 1/27/2018 |
1.0.6 | 1,051 | 1/8/2018 |
1.0.5 | 1,034 | 12/28/2017 |
1.0.4 | 939 | 12/15/2017 |
1.0.3 | 896 | 12/8/2017 |
1.0.2 | 827 | 11/30/2017 |
1.0.1 | 836 | 11/28/2017 |