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

There is a newer version of this package available.
See the version list below for details.
Install-Package Vanara.PInvoke.Shared -Version 3.2.1
dotnet add package Vanara.PInvoke.Shared --version 3.2.1
<PackageReference Include="Vanara.PInvoke.Shared" Version="3.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 3.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Currently implements:

Classes
IErrorProvider, IGraphicsObjectHandle, IHandle, IKernelHandle, ISecurityObject, IShellHandle, ISyncHandle, IUserHandle, AssociateAttribute, ComTryGetNext, CoTaskMemStringMarshaler, FunctionHelper, IEnumeratorFromNext<T>, IEnumFromCom<T>, IEnumFromIndexer<T>, IEnumFromNext<T>, Lib, Macros, NullTermStringArrayMarshaler, OverlappedAsync, OverlappedAsyncResult, PInvokeClientExtensions, PInvokeDataAttribute, PRECT, PtrFunc<T>, RegistryTypeExt, SafeAnysizeStruct<T>, SafeAnysizeStructMarshaler<T>, SafeElementArray<T>, SafeHANDLE, SafeNativeArray<T>, SafeNativeArrayBase<T>, SafeNativeLinkedList<T>, SafeResourceId, SBFunc<T>, SECURITY_ATTRIBUTES, SizeFunc<T>, 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, DevicePrivate, DeviceSpecificData, DEVMODE, Dma, DmaV3, Generic, HACCEL, HANDLE, HBITMAP, HBRUSH, HCOLORSPACE, 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, 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

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

Repository Stars
zhupingqi/RuiJi.Net
crawler framework, distributed crawler extractor

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
3.2.7 287 5/4/2020
3.2.6 501 4/21/2020
3.2.5 189 4/15/2020
3.2.4 281 4/12/2020
3.2.3 395 4/1/2020
3.2.2 161 3/24/2020
3.2.1 403 3/17/2020
3.2.0 480 2/27/2020
3.1.9 575 1/17/2020
3.1.8 298 1/13/2020
3.1.7 207 1/6/2020
3.1.6 356 12/12/2019
3.1.5 426 11/26/2019
3.1.4 113 11/25/2019
3.1.3 314 11/8/2019
3.1.2 163 11/4/2019
3.1.1 680 10/17/2019
3.1.0 192 10/3/2019
3.0.1 214 9/20/2019
3.0.0 644 8/27/2019
2.3.11 1,194 6/9/2019
2.3.10 240 6/5/2019
2.3.9 257 5/26/2019
2.3.8 383 5/13/2019
2.3.7 733 4/24/2019
2.3.6 1,015 4/17/2019
2.3.5 370 4/10/2019
2.3.4 379 3/9/2019
2.3.3 209 3/8/2019
2.3.2 279 2/28/2019
2.3.1 299 2/25/2019
2.3.0 205 2/22/2019
2.2.1 297 2/12/2019
2.2.0 236 2/1/2019
2.1.2 552 1/14/2019
2.1.0 889 12/15/2018
2.0.1 292 12/7/2018
2.0.0 428 11/28/2018
1.1.0 867 9/10/2018
1.0.18 367 8/10/2018
1.0.17 324 7/30/2018
1.0.16 710 6/29/2018
1.0.15 320 6/27/2018
1.0.14 390 6/8/2018
1.0.13 359 6/6/2018
1.0.12 649 4/5/2018
1.0.11 376 4/4/2018
1.0.10 358 3/27/2018
1.0.9 336 3/26/2018
1.0.8 828 2/7/2018
1.0.7 384 1/27/2018
1.0.6 494 1/8/2018
1.0.5 459 12/28/2017
1.0.4 421 12/15/2017
1.0.3 408 12/8/2017
1.0.2 334 11/30/2017
1.0.1 350 11/28/2017
Show less