From 1bdbca3d57fab745ebb4ebb7ef58a4e3b0e3f2cd Mon Sep 17 00:00:00 2001 From: David Hall Date: Fri, 8 Mar 2019 12:38:52 -0700 Subject: [PATCH] Updated projects for version 2.3.3 --- Core/AssemblyReport.md | 1 + Core/Vanara.Core.csproj | 6 ++---- HelpBuilder/HelpBuilder.shfbproj | 2 +- PInvoke/AclUI/Vanara.PInvoke.AclUI.csproj | 2 +- PInvoke/BITS/Vanara.PInvoke.BITS.csproj | 2 +- PInvoke/ComCtl32/Vanara.PInvoke.ComCtl32.csproj | 2 +- PInvoke/CredUI/Vanara.PInvoke.CredUI.csproj | 2 +- .../Vanara.PInvoke.Cryptography.csproj | 2 +- PInvoke/DwmApi/Vanara.PInvoke.DwmApi.csproj | 2 +- PInvoke/Gdi32/Vanara.PInvoke.Gdi32.csproj | 2 +- PInvoke/IpHlpApi/Vanara.PInvoke.IpHlpApi.csproj | 2 +- PInvoke/Kernel32/Vanara.PInvoke.Kernel32.csproj | 2 +- PInvoke/Mpr/Vanara.PInvoke.Mpr.csproj | 2 +- PInvoke/NTDSApi/Vanara.PInvoke.NTDSApi.csproj | 2 +- PInvoke/NTDll/Vanara.PInvoke.NTDll.csproj | 2 +- PInvoke/NetApi32/Vanara.PInvoke.NetApi32.csproj | 2 +- .../NetListMgr/Vanara.PInvoke.NetListMgr.csproj | 2 +- PInvoke/Ole/Vanara.PInvoke.Ole.csproj | 2 +- PInvoke/PowrProf/Vanara.PInvoke.PowrProf.csproj | 4 ++-- PInvoke/Security/Vanara.PInvoke.Security.csproj | 2 +- PInvoke/Shared/AssemblyReport.md | 22 ++++++++++++++++++++++ PInvoke/Shared/Vanara.PInvoke.Shared.csproj | 10 ++++------ PInvoke/Shared/Wdm.cs | 22 ++++++++++++++++------ PInvoke/Shell32/Vanara.PInvoke.Shell32.csproj | 2 +- PInvoke/ShlwApi/Vanara.PInvoke.ShlwApi.csproj | 2 +- PInvoke/TaskSchd/Vanara.PInvoke.TaskSchd.csproj | 2 +- .../User32.Gdi/Vanara.PInvoke.User32.Gdi.csproj | 2 +- PInvoke/User32/Vanara.PInvoke.User32.csproj | 2 +- PInvoke/UxTheme/Vanara.PInvoke.UxTheme.csproj | 2 +- PInvoke/VirtDisk/Vanara.PInvoke.VirtDisk.csproj | 2 +- PInvoke/WinINet/Vanara.PInvoke.WinINet.csproj | 2 +- PInvoke/Ws2_32/Vanara.PInvoke.Ws2_32.csproj | 2 +- Security/Vanara.Security.csproj | 4 +--- System/AssemblyReport.md | 13 +++++++++++++ System/Vanara.SystemServices.csproj | 8 +++----- UnitTests/Properties/AssemblyInfo.cs | 4 ++-- WIndows.Forms/Vanara.Windows.Forms.csproj | 4 +--- Windows.Shell/Vanara.Windows.Shell.csproj | 4 +--- 38 files changed, 94 insertions(+), 60 deletions(-) diff --git a/Core/AssemblyReport.md b/Core/AssemblyReport.md index cd8a2135..032eacce 100644 --- a/Core/AssemblyReport.md +++ b/Core/AssemblyReport.md @@ -19,6 +19,7 @@ GenericVirtualReadOnlyDictionaryy | A generic class that creates a read-only HexDempHelpers | Extension to dump a byte array. HGlobalMemoryMethods | Unmanaged memory methods for HGlobal. InteropExtensions | Extension methods for System.Runtime.InteropServices. +IntPtrConverter | Functions to safely convert a memory pointer to a type. IOExtensions | Extensions for classes in System.IO. ListChangedEventArgs | An `EventArgs` structure passed to events generated by an . MarshalingStream | A `Stream` derivative for working with unmanaged memory. diff --git a/Core/Vanara.Core.csproj b/Core/Vanara.Core.csproj index 6f921fb6..9544f097 100644 --- a/Core/Vanara.Core.csproj +++ b/Core/Vanara.Core.csproj @@ -9,7 +9,7 @@ * Memory stream based on marshaled memory Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.Core $(AssemblyName) @@ -30,7 +30,7 @@ Currently implements: Classes -BitHelper, ByteSizeFormatter, ComConnectionPoint, ComReleaser<T>, CorrespondingTypeAttribute, CoTaskMemoryMethods, EnumerableEqualityComparer<T>, EnumExtensions, EventedList<T>, FileTimeExtensions, Formatter, FormatterComposer, GenericSafeHandle, GenericVirtualReadOnlyDictionaryy<T>, HexDempHelpers, HGlobalMemoryMethods, InteropExtensions, IOExtensions, ListChangedEventArgs<T>, MarshalingStream, PinnedObject, ReflectionExtensions, SafeAllocatedMemoryHandle, SafeByteArray, SafeCoTaskMemHandle, SafeCoTaskMemString, SafeHGlobalHandle, SafeMemoryHandle<T>, SafeMemoryHandleExt<T>, SparseArray<T>, StringHelper, TryGetValueDelegate, VirtualDictionary<T>, VirtualReadOnlyDictionary<T> +BitHelper, ByteSizeFormatter, ComConnectionPoint, ComReleaser<T>, CorrespondingTypeAttribute, CoTaskMemoryMethods, EnumerableEqualityComparer<T>, EnumExtensions, EventedList<T>, FileTimeExtensions, Formatter, FormatterComposer, GenericSafeHandle, GenericVirtualReadOnlyDictionaryy<T>, HexDempHelpers, HGlobalMemoryMethods, InteropExtensions, IntPtrConverter, IOExtensions, ListChangedEventArgs<T>, MarshalingStream, PinnedObject, ReflectionExtensions, SafeAllocatedMemoryHandle, SafeByteArray, SafeCoTaskMemHandle, SafeCoTaskMemString, SafeHGlobalHandle, SafeMemoryHandle<T>, SafeMemoryHandleExt<T>, SparseArray<T>, StringHelper, TryGetValueDelegate, VirtualDictionary<T>, VirtualReadOnlyDictionary<T> Structures EnumFlagIndexer<T>, StrPtrAnsi, StrPtrAuto, StrPtrUni @@ -42,8 +42,6 @@ CorrepsondingAction, StringListPackMethod latest true ..\Vanara.snk - - true bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml diff --git a/HelpBuilder/HelpBuilder.shfbproj b/HelpBuilder/HelpBuilder.shfbproj index 5ccce1a8..16f0e968 100644 --- a/HelpBuilder/HelpBuilder.shfbproj +++ b/HelpBuilder/HelpBuilder.shfbproj @@ -29,7 +29,7 @@ False False True - 2.3.2 + 2.3.3 2 True C#, Visual Basic diff --git a/PInvoke/AclUI/Vanara.PInvoke.AclUI.csproj b/PInvoke/AclUI/Vanara.PInvoke.AclUI.csproj index b4e33090..43ce9644 100644 --- a/PInvoke/AclUI/Vanara.PInvoke.AclUI.csproj +++ b/PInvoke/AclUI/Vanara.PInvoke.AclUI.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows AclUI.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45 Vanara.PInvoke.AclUI $(AssemblyName) diff --git a/PInvoke/BITS/Vanara.PInvoke.BITS.csproj b/PInvoke/BITS/Vanara.PInvoke.BITS.csproj index 46c47db1..b6861b92 100644 --- a/PInvoke/BITS/Vanara.PInvoke.BITS.csproj +++ b/PInvoke/BITS/Vanara.PInvoke.BITS.csproj @@ -4,7 +4,7 @@ PInvoke API (interfaces, structures and constants) imported for Windows BITS (Background Intelligent Transfer Service). Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.BITS $(AssemblyName) diff --git a/PInvoke/ComCtl32/Vanara.PInvoke.ComCtl32.csproj b/PInvoke/ComCtl32/Vanara.PInvoke.ComCtl32.csproj index 8b418491..f78b590b 100644 --- a/PInvoke/ComCtl32/Vanara.PInvoke.ComCtl32.csproj +++ b/PInvoke/ComCtl32/Vanara.PInvoke.ComCtl32.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows ComCtl32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45 Vanara.PInvoke.ComCtl32 $(AssemblyName) diff --git a/PInvoke/CredUI/Vanara.PInvoke.CredUI.csproj b/PInvoke/CredUI/Vanara.PInvoke.CredUI.csproj index 4b65051e..207f313b 100644 --- a/PInvoke/CredUI/Vanara.PInvoke.CredUI.csproj +++ b/PInvoke/CredUI/Vanara.PInvoke.CredUI.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows CredUI.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45 Vanara.PInvoke.CredUI $(AssemblyName) diff --git a/PInvoke/Cryptography/Vanara.PInvoke.Cryptography.csproj b/PInvoke/Cryptography/Vanara.PInvoke.Cryptography.csproj index fe653867..3865b61e 100644 --- a/PInvoke/Cryptography/Vanara.PInvoke.Cryptography.csproj +++ b/PInvoke/Cryptography/Vanara.PInvoke.Cryptography.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows BCrypt.dll and NCrypt.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Cryptography $(AssemblyName) diff --git a/PInvoke/DwmApi/Vanara.PInvoke.DwmApi.csproj b/PInvoke/DwmApi/Vanara.PInvoke.DwmApi.csproj index 93543202..df74584f 100644 --- a/PInvoke/DwmApi/Vanara.PInvoke.DwmApi.csproj +++ b/PInvoke/DwmApi/Vanara.PInvoke.DwmApi.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows DwmApi.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45 Vanara.PInvoke.DwmApi $(AssemblyName) diff --git a/PInvoke/Gdi32/Vanara.PInvoke.Gdi32.csproj b/PInvoke/Gdi32/Vanara.PInvoke.Gdi32.csproj index bd57f3aa..c212296d 100644 --- a/PInvoke/Gdi32/Vanara.PInvoke.Gdi32.csproj +++ b/PInvoke/Gdi32/Vanara.PInvoke.Gdi32.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows Gdi32.dll Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45 Vanara.PInvoke.Gdi32 $(AssemblyName) diff --git a/PInvoke/IpHlpApi/Vanara.PInvoke.IpHlpApi.csproj b/PInvoke/IpHlpApi/Vanara.PInvoke.IpHlpApi.csproj index 850a1683..b2a11f3a 100644 --- a/PInvoke/IpHlpApi/Vanara.PInvoke.IpHlpApi.csproj +++ b/PInvoke/IpHlpApi/Vanara.PInvoke.IpHlpApi.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows IpHlpApi.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.IpHlpApi $(AssemblyName) diff --git a/PInvoke/Kernel32/Vanara.PInvoke.Kernel32.csproj b/PInvoke/Kernel32/Vanara.PInvoke.Kernel32.csproj index 735467be..e9c183e8 100644 --- a/PInvoke/Kernel32/Vanara.PInvoke.Kernel32.csproj +++ b/PInvoke/Kernel32/Vanara.PInvoke.Kernel32.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows Kernel32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Kernel32 $(AssemblyName) diff --git a/PInvoke/Mpr/Vanara.PInvoke.Mpr.csproj b/PInvoke/Mpr/Vanara.PInvoke.Mpr.csproj index 3eeaccf1..a568ce79 100644 --- a/PInvoke/Mpr/Vanara.PInvoke.Mpr.csproj +++ b/PInvoke/Mpr/Vanara.PInvoke.Mpr.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows Mpr.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Mpr $(AssemblyName) diff --git a/PInvoke/NTDSApi/Vanara.PInvoke.NTDSApi.csproj b/PInvoke/NTDSApi/Vanara.PInvoke.NTDSApi.csproj index 861b84bd..19e83d2c 100644 --- a/PInvoke/NTDSApi/Vanara.PInvoke.NTDSApi.csproj +++ b/PInvoke/NTDSApi/Vanara.PInvoke.NTDSApi.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows NTDSApi.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.NTDSApi $(AssemblyName) diff --git a/PInvoke/NTDll/Vanara.PInvoke.NTDll.csproj b/PInvoke/NTDll/Vanara.PInvoke.NTDll.csproj index b1bd323c..8d3591ce 100644 --- a/PInvoke/NTDll/Vanara.PInvoke.NTDll.csproj +++ b/PInvoke/NTDll/Vanara.PInvoke.NTDll.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows NtDll.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.NtDll $(AssemblyName) diff --git a/PInvoke/NetApi32/Vanara.PInvoke.NetApi32.csproj b/PInvoke/NetApi32/Vanara.PInvoke.NetApi32.csproj index 018f4c14..ffdd14aa 100644 --- a/PInvoke/NetApi32/Vanara.PInvoke.NetApi32.csproj +++ b/PInvoke/NetApi32/Vanara.PInvoke.NetApi32.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows NetApi32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.NetApi32 $(AssemblyName) diff --git a/PInvoke/NetListMgr/Vanara.PInvoke.NetListMgr.csproj b/PInvoke/NetListMgr/Vanara.PInvoke.NetListMgr.csproj index 94606983..6586f9d7 100644 --- a/PInvoke/NetListMgr/Vanara.PInvoke.NetListMgr.csproj +++ b/PInvoke/NetListMgr/Vanara.PInvoke.NetListMgr.csproj @@ -4,7 +4,7 @@ PInvoke API (interfaces, structures and constants) for Windows NetListMgr COM object. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.NetListMgr $(AssemblyName) diff --git a/PInvoke/Ole/Vanara.PInvoke.Ole.csproj b/PInvoke/Ole/Vanara.PInvoke.Ole.csproj index 3a631bf8..10828c58 100644 --- a/PInvoke/Ole/Vanara.PInvoke.Ole.csproj +++ b/PInvoke/Ole/Vanara.PInvoke.Ole.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows Ole32.dll, OleAut32 and PropSys.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Ole $(AssemblyName) diff --git a/PInvoke/PowrProf/Vanara.PInvoke.PowrProf.csproj b/PInvoke/PowrProf/Vanara.PInvoke.PowrProf.csproj index 4513709b..8f10159e 100644 --- a/PInvoke/PowrProf/Vanara.PInvoke.PowrProf.csproj +++ b/PInvoke/PowrProf/Vanara.PInvoke.PowrProf.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows PowrProf.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.PowrProf $(AssemblyName) @@ -28,7 +28,7 @@ Functions CallNtPowerInformation, CanUserWritePwrScheme, DeletePwrScheme, DevicePowerClose, DevicePowerEnumDevices, DevicePowerOpen, DevicePowerSetDeviceState, EnumPwrSchemes, GetActivePwrScheme, GetCurrentPowerPolicies, GetPwrCapabilities, GetPwrDiskSpindownRange, IsPwrHibernateAllowed, IsPwrShutdownAllowed, IsPwrSuspendAllowed, PowerCanRestoreIndividualDefaultPowerScheme, PowerCreatePossibleSetting, PowerCreateSetting, PowerDeleteScheme, PowerDeterminePlatformRole, PowerDeterminePlatformRoleEx, PowerDuplicateScheme, PowerEnumerate, PowerGetActiveScheme, PowerImportPowerScheme, PowerIsSettingRangeDefined, PowerReadACDefaultIndex, PowerReadACValue, PowerReadACValueIndex, PowerReadDCDefaultIndex, PowerReadDCValue, PowerReadDCValueIndex, PowerReadDescription, PowerReadFriendlyName, PowerReadIconResourceSpecifier, PowerReadPossibleDescription, PowerReadPossibleFriendlyName, PowerReadPossibleValue, PowerReadSettingAttributes, PowerReadValueIncrement, PowerReadValueMax, PowerReadValueMin, PowerReadValueUnitsSpecifier, PowerRegisterForEffectivePowerModeNotifications, PowerRegisterSuspendResumeNotification, PowerRemovePowerSetting, PowerReplaceDefaultPowerSchemes, PowerReportThermalEvent, PowerRestoreDefaultPowerSchemes, PowerRestoreIndividualDefaultPowerScheme, PowerSetActiveScheme, PowerSettingAccessCheck, PowerSettingAccessCheckEx, PowerSettingRegisterNotification, PowerSettingUnregisterNotification, PowerUnregisterFromEffectivePowerModeNotifications, PowerUnregisterSuspendResumeNotification, PowerWriteACDefaultIndex, PowerWriteACValueIndex, PowerWriteDCDefaultIndex, PowerWriteDCValueIndex, PowerWriteDescription, PowerWriteFriendlyName, PowerWriteIconResourceSpecifier, PowerWritePossibleDescription, PowerWritePossibleFriendlyName, PowerWritePossibleValue, PowerWriteSettingAttributes, PowerWriteValueIncrement, PowerWriteValueMax, PowerWriteValueMin, PowerWriteValueUnitsSpecifier, ReadGlobalPwrPolicy, ReadProcessorPwrScheme, ReadPwrScheme, SetActivePwrScheme, SetSuspendState, WriteGlobalPwrPolicy, WriteProcessorPwrScheme, WritePwrScheme Structures -BATTERY_REPORTING_SCALE, SYSTEM_POWER_CAPABILITIES, DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS, GLOBAL_MACHINE_POWER_POLICY, GLOBAL_POWER_POLICY, GLOBAL_USER_POWER_POLICY, MACHINE_POWER_POLICY, MACHINE_PROCESSOR_POWER_POLICY, POWER_ACTION_POLICY, POWER_POLICY, PROCESSOR_POWER_POLICY, PROCESSOR_POWER_POLICY_INFO, SYSTEM_POWER_LEVEL, THERMAL_EVENT, USER_POWER_POLICY +DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS, GLOBAL_MACHINE_POWER_POLICY, GLOBAL_POWER_POLICY, GLOBAL_USER_POWER_POLICY, MACHINE_POWER_POLICY, MACHINE_PROCESSOR_POWER_POLICY, POWER_POLICY, THERMAL_EVENT, USER_POWER_POLICY, BATTERY_REPORTING_SCALE, POWER_ACTION_POLICY, PROCESSOR_POWER_POLICY, PROCESSOR_POWER_POLICY_INFO, SYSTEM_POWER_CAPABILITIES, SYSTEM_POWER_LEVEL latest diff --git a/PInvoke/Security/Vanara.PInvoke.Security.csproj b/PInvoke/Security/Vanara.PInvoke.Security.csproj index 337207fc..b100f52e 100644 --- a/PInvoke/Security/Vanara.PInvoke.Security.csproj +++ b/PInvoke/Security/Vanara.PInvoke.Security.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows AdvApi32.dll, Authz.dll and Secur32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Security $(AssemblyName) diff --git a/PInvoke/Shared/AssemblyReport.md b/PInvoke/Shared/AssemblyReport.md index 3e5e1af8..e2e3cb9d 100644 --- a/PInvoke/Shared/AssemblyReport.md +++ b/PInvoke/Shared/AssemblyReport.md @@ -17,6 +17,7 @@ PInvokeClientExtensions | Extension methods for `PInvokeClient`. PInvokeDataAttribute | Captures information about P/Invoke calls. PRECT | Defines the coordinates of the upper-left and lower-right corners of a rectangle. PtrFunc | +RegistryTypeExt | Extension methods for registry types. SafeElementArray | A safe unmanaged array of structures allocated on the global heap with a prefix type (usually a uint or int) that determines the count of elements. SafeHANDLE | Base class for all native handles. SafeNativeArray | A safe unmanaged array of structures allocated on the global heap. Array size determined by allocated memory size divided by size of structure. @@ -29,7 +30,18 @@ WIN32_FIND_DATA | Contains information about the file that is found by the FindF ### Structures Struct | Description ---- | ---- +BusNumber | +CM_FULL_RESOURCE_DESCRIPTOR | The CM_FULL_RESOURCE_DESCRIPTOR structure specifies a set of system hardware resources of various types, assigned to a device that is connected to a specific bus. This structure is contained within a CM_RESOURCE_LIST structure. +CM_PARTIAL_RESOURCE_DESCRIPTOR | The CM_PARTIAL_RESOURCE_DESCRIPTOR structure specifies one or more system hardware resources, of a single type, assigned to a device. This structure is used to create an array within a CM_PARTIAL_RESOURCE_LIST structure. +CM_PARTIAL_RESOURCE_LIST | The CM_PARTIAL_RESOURCE_LIST structure specifies a set of system hardware resources, of various types, assigned to a device. This structure is contained within a CM_FULL_RESOURCE_DESCRIPTOR structure. +CM_RESOURCE_LIST | The CM_RESOURCE_LIST structure specifies all of the system hardware resources assigned to a device. COLORREF | The COLORREF value is used to specify an RGB color in the form 0x00bbggrr. +Connection | +DevicePrivate | +DeviceSpecificData | +Dma | +DmaV3 | +Generic | HACCEL | Provides a handle to an accelerator table. HANDLE | Provides a generic handle. HBITMAP | Provides a handle to a bitmap. @@ -65,7 +77,12 @@ HTHUMBNAIL | Provides a handle to a Windows thumbnail. HTOKEN | Provides a handle to an access token . HWINSTA | Provides a handle to a windows station. HWND | Provides a handle to a window or dialog. +Interrupt | LOGFONT | The LOGFONT structure defines the attributes of a font. +Memory40 | +Memory48 | +Memory64 | +MessageInterruptRaw | MSG | Contains message information from a thread's message queue. NTStatus | Formal replacement for the Windows NTStatus definition. In ntstatus.h, it is a defined UINT value. For .NET, this class strongly types the value. OBJECT_TYPE_LIST | The OBJECT_TYPE_LIST structure identifies an object type element in a hierarchy of object types. The AccessCheckByType functions use an array of OBJECT_TYPE_LIST structures to define a hierarchy of an object and its subobjects, such as property sets and properties. @@ -81,18 +98,23 @@ SECURITY_ATTRIBUTES | The SECURITY_ATTRIBUTES structure contains the security de SIZE | The SIZE structure specifies the width and height of a rectangle. SizeT | Managed instance of the SIZE_T type. SYSTEMTIME | Specifies a date and time, using individual members for the month, day, year, weekday, hour, minute, second, and millisecond. The time is either in coordinated universal time (UTC) or local time, depending on the function that is being called. +union | WIN32_FIND_DATA | Contains information about the file that is found by the FindFirstFile, FindFirstFileEx, or FindNextFile function. Win32Error | Represents a Win32 Error Code. This can be used in place of a return value. ### Enumerations Enum | Description | Values ---- | ---- | ---- ACCESS_MASK | Access flags. | SPECIFIC_RIGHTS_ALL, DELETE, STANDARD_RIGHTS_EXECUTE, STANDARD_RIGHTS_READ, READ_CONTROL, STANDARD_RIGHTS_WRITE, WRITE_DAC, WRITE_OWNER, STANDARD_RIGHTS_REQUIRED, SYNCHRONIZE, STANDARD_RIGHTS_ALL, ACCESS_SYSTEM_SECURITY, MAXIMUM_ALLOWED, GENERIC_ALL, GENERIC_EXECUTE, GENERIC_WRITE, GENERIC_READ +CM_RESOURCE | Contains flag bits that are specific to the resource type, as indicated in the following table. Flags can be bitwise-ORed together as appropriate. | CM_RESOURCE_DMA_8, CM_RESOURCE_MEMORY_READ_WRITE, CM_RESOURCE_PORT_MEMORY, DMAV3_TRANFER_WIDTH_8, CM_RESOURCE_INTERRUPT_LEVEL_SENSITIVE, CM_RESOURCE_DMA_16, CM_RESOURCE_CONNECTION_TYPE_FUNCTION_CONFIG, CM_RESOURCE_INTERRUPT_LATCHED, CM_RESOURCE_PORT_IO, CM_RESOURCE_MEMORY_READ_ONLY, CM_RESOURCE_CONNECTION_TYPE_SERIAL_I2C, DMAV3_TRANFER_WIDTH_16, CM_RESOURCE_INTERRUPT_LEVEL_LATCHED_BITS, CM_RESOURCE_CONNECTION_CLASS_GPIO, CM_RESOURCE_INTERRUPT_MESSAGE, CM_RESOURCE_DMA_32, CM_RESOURCE_CONNECTION_CLASS_SERIAL, DMAV3_TRANFER_WIDTH_32, CM_RESOURCE_CONNECTION_TYPE_GPIO_IO, CM_RESOURCE_CONNECTION_TYPE_SERIAL_SPI, CM_RESOURCE_MEMORY_WRITE_ONLY, CM_RESOURCE_MEMORY_WRITEABILITY_MASK, DMAV3_TRANFER_WIDTH_64, CM_RESOURCE_CONNECTION_TYPE_SERIAL_UART, CM_RESOURCE_CONNECTION_CLASS_FUNCTION_CONFIG, CM_RESOURCE_DMA_8_AND_16, CM_RESOURCE_INTERRUPT_POLICY_INCLUDED, DMAV3_TRANFER_WIDTH_128, CM_RESOURCE_MEMORY_PREFETCHABLE, CM_RESOURCE_PORT_10_BIT_DECODE, DMAV3_TRANFER_WIDTH_256, CM_RESOURCE_MEMORY_COMBINEDWRITE, CM_RESOURCE_DMA_BUS_MASTER, CM_RESOURCE_PORT_12_BIT_DECODE, CM_RESOURCE_PORT_16_BIT_DECODE, CM_RESOURCE_INTERRUPT_SECONDARY_INTERRUPT, CM_RESOURCE_MEMORY_24, CM_RESOURCE_DMA_TYPE_A, CM_RESOURCE_INTERRUPT_WAKE_HINT, CM_RESOURCE_DMA_TYPE_B, CM_RESOURCE_PORT_POSITIVE_DECODE, CM_RESOURCE_MEMORY_CACHEABLE, CM_RESOURCE_DMA_TYPE_F, CM_RESOURCE_PORT_PASSIVE_DECODE, CM_RESOURCE_MEMORY_WINDOW_DECODE, CM_RESOURCE_MEMORY_BAR, CM_RESOURCE_DMA_V3, CM_RESOURCE_PORT_WINDOW_DECODE, CM_RESOURCE_MEMORY_COMPAT_FOR_INACCESSIBLE_RANGE, CM_RESOURCE_PORT_BAR, CM_RESOURCE_MEMORY_LARGE_40, CM_RESOURCE_MEMORY_LARGE_48, CM_RESOURCE_MEMORY_LARGE_64, CM_RESOURCE_MEMORY_LARGE, CM_RESOURCE_INTERRUPT_MESSAGE_TOKEN +CM_SHARE_DISPOSITION | Indicates whether the described resource can be shared. | CmResourceShareUndetermined, CmResourceShareDeviceExclusive, CmResourceShareDriverExclusive, CmResourceShareShared +CmResourceType | Identifies the resource type. The constant value specified for Type indicates which structure within the u union is valid, as indicated in the following table. (These flags are used within both CM_PARTIAL_RESOURCE_DESCRIPTOR and IO_RESOURCE_DESCRIPTOR structures, except where noted.) | CmResourceTypeNull, CmResourceTypePort, CmResourceTypeInterrupt, CmResourceTypeMemory, CmResourceTypeDma, CmResourceTypeDeviceSpecific, CmResourceTypeBusNumber, CmResourceTypeMemoryLarge, CmResourceTypeNonArbitrated, CmResourceTypeConfigData, CmResourceTypeDevicePrivate, CmResourceTypePcCardConfig, CmResourceTypeMfCardConfig, CmResourceTypeConnection DrawTextFlags | The formatting options for DrawText. | DT_TOP, DT_LEFT, DT_CENTER, DT_RIGHT, DT_VCENTER, DT_BOTTOM, DT_WORDBREAK, DT_SINGLELINE, DT_EXPANDTABS, DT_TABSTOP, DT_NOCLIP, DT_EXTERNALLEADING, DT_CALCRECT, DT_NOPREFIX, DT_INTERNAL, DT_EDITCONTROL, DT_PATH_ELLIPSIS, DT_END_ELLIPSIS, DT_MODIFYSTRING, DT_RTLREADING, DT_WORD_ELLIPSIS, DT_NOFULLWIDTHCHARBREAK, DT_HIDEPREFIX, DT_PREFIXONLY FacilityCode | Enumeration of facility codes | FACILITY_NULL, FACILITY_RPC, FACILITY_DISPATCH, FACILITY_STORAGE, FACILITY_ITF, FACILITY_WIN32, FACILITY_WINDOWS, FACILITY_SECURITY, FACILITY_SSPI, FACILITY_CONTROL, FACILITY_CERT, FACILITY_INTERNET, FACILITY_MEDIASERVER, FACILITY_MSMQ, FACILITY_SETUPAPI, FACILITY_SCARD, FACILITY_COMPLUS, FACILITY_AAF, FACILITY_URT, FACILITY_ACS, FACILITY_DPLAY, FACILITY_UMI, FACILITY_SXS, FACILITY_WINDOWS_CE, FACILITY_HTTP, FACILITY_USERMODE_COMMONLOG, FACILITY_USERMODE_FILTER_MANAGER, FACILITY_BACKGROUNDCOPY, FACILITY_CONFIGURATION, FACILITY_STATE_MANAGEMENT, FACILITY_METADIRECTORY, FACILITY_WINDOWSUPDATE, FACILITY_DIRECTORYSERVICE, FACILITY_GRAPHICS, FACILITY_SHELL, FACILITY_TPM_SERVICES, FACILITY_TPM_SOFTWARE, FACILITY_PLA, FACILITY_FVE, FACILITY_FWP, FACILITY_WINRM, FACILITY_NDIS, FACILITY_USERMODE_HYPERVISOR, FACILITY_CMI, FACILITY_USERMODE_VIRTUALIZATION, FACILITY_USERMODE_VOLMGR, FACILITY_BCD, FACILITY_USERMODE_VHD, FACILITY_SDIAG, FACILITY_WEBSERVICES, FACILITY_WINDOWS_DEFENDER, FACILITY_OPC FacilityCode | Enumeration of facility codes | FACILITY_NULL, FACILITY_DEBUGGER, FACILITY_RPC_RUNTIME, FACILITY_RPC_STUBS, FACILITY_IO_ERROR_CODE, FACILITY_CODCLASS_ERROR_CODE, FACILITY_NTWIN32, FACILITY_NTCERT, FACILITY_NTSSPI, FACILITY_TERMINAL_SERVER, FACILTIY_MUI_ERROR_CODE, FACILITY_USB_ERROR_CODE, FACILITY_HID_ERROR_CODE, FACILITY_FIREWIRE_ERROR_CODE, FACILITY_CLUSTER_ERROR_CODE, FACILITY_ACPI_ERROR_CODE, FACILITY_SXS_ERROR_CODE, FACILITY_TRANSACTION, FACILITY_COMMONLOG, FACILITY_VIDEO, FACILITY_FILTER_MANAGER, FACILITY_MONITOR, FACILITY_GRAPHICS_KERNEL, FACILITY_DRIVER_FRAMEWORK, FACILITY_FVE_ERROR_CODE, FACILITY_FWP_ERROR_CODE, FACILITY_NDIS_ERROR_CODE, FACILITY_TPM, FACILITY_RTPM, FACILITY_HYPERVISOR, FACILITY_IPSEC, FACILITY_VIRTUALIZATION, FACILITY_VOLMGR, FACILITY_BCD_ERROR_CODE, FACILITY_WIN32K_NTUSER, FACILITY_WIN32K_NTGDI, FACILITY_RESUME_KEY_FILTER, FACILITY_RDBSS, FACILITY_BTH_ATT, FACILITY_SECUREBOOT, FACILITY_AUDIO_KERNEL, FACILITY_VSM, FACILITY_VOLSNAP, FACILITY_SDBUS, FACILITY_SHARED_VHDX, FACILITY_SMB, FACILITY_INTERIX, FACILITY_SPACES, FACILITY_SECURITY_CORE, FACILITY_SYSTEM_INTEGRITY, FACILITY_LICENSING, FACILITY_PLATFORM_MANIFEST, FACILITY_MAXIMUM_VALUE FileFlagsAndAttributes | File attributes are metadata values stored by the file system on disk and are used by the system and are available to developers via various file I/O APIs. | SECURITY_ANONYMOUS, FILE_ATTRIBUTE_READONLY, FILE_ATTRIBUTE_HIDDEN, FILE_ATTRIBUTE_SYSTEM, FILE_ATTRIBUTE_DIRECTORY, FILE_ATTRIBUTE_ARCHIVE, FILE_ATTRIBUTE_DEVICE, FILE_ATTRIBUTE_NORMAL, FILE_ATTRIBUTE_TEMPORARY, FILE_ATTRIBUTE_SPARSE_FILE, FILE_ATTRIBUTE_REPARSE_POINT, FILE_ATTRIBUTE_COMPRESSED, FILE_ATTRIBUTE_OFFLINE, FILE_ATTRIBUTE_NOT_CONTENT_INDEXED, FILE_ATTRIBUTE_ENCRYPTED, FILE_ATTRIBUTE_INTEGRITY_STREAM, SECURITY_IDENTIFICATION, FILE_ATTRIBUTE_VIRTUAL, FILE_ATTRIBUTE_NO_SCRUB_DATA, SECURITY_IMPERSONATION, SECURITY_DELEGATION, FILE_ATTRIBUTE_EA, SECURITY_CONTEXT_TRACKING, FILE_FLAG_FIRST_PIPE_INSTANCE, SECURITY_EFFECTIVE_ONLY, FILE_FLAG_OPEN_NO_RECALL, SECURITY_SQOS_PRESENT, FILE_FLAG_OPEN_REPARSE_POINT, FILE_FLAG_SESSION_AWARE, FILE_FLAG_POSIX_SEMANTICS, FILE_FLAG_BACKUP_SEMANTICS, FILE_FLAG_DELETE_ON_CLOSE, FILE_FLAG_SEQUENTIAL_SCAN, FILE_FLAG_RANDOM_ACCESS, FILE_FLAG_NO_BUFFERING, FILE_FLAG_OVERLAPPED, FILE_FLAG_WRITE_THROUGH FontFamily | Font families describe the look of a font in a general way. They are intended for specifying fonts when the exact typeface desired is not available. | FF_DONTCARE, FF_ROMAN, FF_SWISS, FF_MODERN, FF_SCRIPT, FF_DECORATIVE FontPitch | Specifies information about the pitch, the technology, and the family of a physical font. | DEFAULT_PITCH, FIXED_PITCH, TMPF_FIXED_PITCH, VARIABLE_PITCH, TMPF_VECTOR, TMPF_TRUETYPE, MONO_FONT, TMPF_DEVICE +INTERFACE_TYPE | The INTERFACE_TYPE enumeration indicates the bus type. | Internal, Isa, Eisa, MicroChannel, TurboChannel, PCIBus, VMEBus, NuBus, PCMCIABus, CBus, MPIBus, MPSABus, ProcessorInternal, InternalPowerBus, PNPISABus, PNPBus, Vmcs, ACPIBus, MaximumInterfaceType, InterfaceTypeUndefined LogFontCharSet | The character set. | ANSI_CHARSET, DEFAULT_CHARSET, SYMBOL_CHARSET, MAC_CHARSET, SHIFTJIS_CHARSET, HANGUL_CHARSET, HANGEUL_CHARSET, JOHAB_CHARSET, GB2312_CHARSET, CHINESEBIG5_CHARSET, GREEK_CHARSET, TURKISH_CHARSET, VIETNAMESE_CHARSET, HEBREW_CHARSET, ARABIC_CHARSET, BALTIC_CHARSET, RUSSIAN_CHARSET, THAI_CHARSET, EASTEUROPE_CHARSET, OEM_CHARSET LogFontClippingPrecision | The clipping precision defines how to clip characters that are partially outside the clipping region. | CLIP_DEFAULT_PRECIS, CLIP_CHARACTER_PRECIS, CLIP_STROKE_PRECIS, CLIP_MASK, CLIP_LH_ANGLES, CLIP_TT_ALWAYS, CLIP_DFA_OVERRIDE, CLIP_DFA_DISABLE, CLIP_EMBEDDED LogFontOutputPrecision | The output precision. The output precision defines how closely the output must match the requested font's height, width, character orientation, escapement, pitch, and font type. | OUT_DEFAULT_PRECIS, OUT_STRING_PRECIS, OUT_CHARACTER_PRECIS, OUT_STROKE_PRECIS, OUT_TT_PRECIS, OUT_DEVICE_PRECIS, OUT_RASTER_PRECIS, OUT_TT_ONLY_PRECIS, OUT_OUTLINE_PRECIS, OUT_SCREEN_OUTLINE_PRECIS, OUT_PS_ONLY_PRECIS diff --git a/PInvoke/Shared/Vanara.PInvoke.Shared.csproj b/PInvoke/Shared/Vanara.PInvoke.Shared.csproj index 18042700..407e4ff9 100644 --- a/PInvoke/Shared/Vanara.PInvoke.Shared.csproj +++ b/PInvoke/Shared/Vanara.PInvoke.Shared.csproj @@ -11,7 +11,7 @@ * Shared structures and enums (see release notes) Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Shared $(AssemblyName) @@ -32,20 +32,18 @@ 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 +AssociateAttribute, CoTaskMemStringMarshaler, FunctionHelper, IEnumFromIndexer<T>, IEnumFromNext<T>, Lib, Macros, NullTermStringArrayMarshaler, OBJECT_TYPE_LIST, OverlappedAsync, OverlappedAsyncResult, PInvokeClientExtensions, PInvokeDataAttribute, PRECT, PtrFunc<T>, RegistryTypeExt, 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 +BusNumber, CM_FULL_RESOURCE_DESCRIPTOR, CM_PARTIAL_RESOURCE_DESCRIPTOR, CM_PARTIAL_RESOURCE_LIST, CM_RESOURCE_LIST, COLORREF, Connection, DevicePrivate, DeviceSpecificData, Dma, DmaV3, Generic, 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, Interrupt, LOGFONT, Memory40, Memory48, Memory64, MessageInterruptRaw, MSG, NTStatus, OBJECT_TYPE_LIST, PACE, PACL, POINTS, PRECT, PSECURITY_DESCRIPTOR, PSID, RECT, ResourceId, SECURITY_ATTRIBUTES, SIZE, SizeT, SYSTEMTIME, union, 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 +ACCESS_MASK, CM_RESOURCE, CM_SHARE_DISPOSITION, CmResourceType, DrawTextFlags, FacilityCode, FacilityCode, FileFlagsAndAttributes, FontFamily, FontPitch, INTERFACE_TYPE, LogFontCharSet, LogFontClippingPrecision, LogFontOutputPrecision, LogFontOutputQuality, ObjectTypeListLevel, PInvokeClient, ProcessorArchitecture, REG_VALUE_TYPE, ResourceType, SECURITY_INFORMATION, SeverityLevel, SeverityLevel, ShowWindowCommand, STGM, SystemColorIndex, SystemShutDownReason latest true ..\..\Vanara.snk - - true bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml diff --git a/PInvoke/Shared/Wdm.cs b/PInvoke/Shared/Wdm.cs index 3eae260b..ab4ea844 100644 --- a/PInvoke/Shared/Wdm.cs +++ b/PInvoke/Shared/Wdm.cs @@ -664,7 +664,7 @@ namespace Vanara.PInvoke public uint Length; } - [StructLayout(LayoutKind.Sequential)] + [StructLayout(LayoutKind.Sequential, Pack = 2)] public struct Interrupt { /// The level @@ -692,7 +692,7 @@ namespace Vanara.PInvoke public UIntPtr Affinity; } - [StructLayout(LayoutKind.Sequential)] + [StructLayout(LayoutKind.Sequential, Pack = 2)] public struct MessageInterruptRaw { /// @@ -726,7 +726,7 @@ namespace Vanara.PInvoke public uint Reserved1; } - [StructLayout(LayoutKind.Sequential)] + [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct DmaV3 { /// Specifies the number of the DMA channel on the system DMA controller that is allocated to the device. @@ -754,9 +754,19 @@ namespace Vanara.PInvoke [StructLayout(LayoutKind.Sequential)] public struct DevicePrivate { + private uint data0, data1, data2; + /// The data - [MarshalAs(UnmanagedType.ByValArray, SizeConst = 3)] - public uint[] Data; + public uint[] Data + { + get => new[] {data0, data1, data2}; + set + { + data0 = value[0]; + data1 = value[1]; + data2 = value[2]; + } + } } [StructLayout(LayoutKind.Sequential)] @@ -854,7 +864,7 @@ namespace Vanara.PInvoke public uint Length64; } - [StructLayout(LayoutKind.Sequential)] + [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct Connection { /// diff --git a/PInvoke/Shell32/Vanara.PInvoke.Shell32.csproj b/PInvoke/Shell32/Vanara.PInvoke.Shell32.csproj index 17739c7b..3276fa7b 100644 --- a/PInvoke/Shell32/Vanara.PInvoke.Shell32.csproj +++ b/PInvoke/Shell32/Vanara.PInvoke.Shell32.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows Shell32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45 Vanara.PInvoke.Shell32 $(AssemblyName) diff --git a/PInvoke/ShlwApi/Vanara.PInvoke.ShlwApi.csproj b/PInvoke/ShlwApi/Vanara.PInvoke.ShlwApi.csproj index 3ef378fc..8ddedfda 100644 --- a/PInvoke/ShlwApi/Vanara.PInvoke.ShlwApi.csproj +++ b/PInvoke/ShlwApi/Vanara.PInvoke.ShlwApi.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows ShlwApi.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.ShlwApi $(AssemblyName) diff --git a/PInvoke/TaskSchd/Vanara.PInvoke.TaskSchd.csproj b/PInvoke/TaskSchd/Vanara.PInvoke.TaskSchd.csproj index 412f4992..ee9c5b74 100644 --- a/PInvoke/TaskSchd/Vanara.PInvoke.TaskSchd.csproj +++ b/PInvoke/TaskSchd/Vanara.PInvoke.TaskSchd.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported for Windows Task Scheduler 1.0 and 2.0 COM objects. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.TaskSchd $(AssemblyName) diff --git a/PInvoke/User32.Gdi/Vanara.PInvoke.User32.Gdi.csproj b/PInvoke/User32.Gdi/Vanara.PInvoke.User32.Gdi.csproj index 1ef69b87..281a957f 100644 --- a/PInvoke/User32.Gdi/Vanara.PInvoke.User32.Gdi.csproj +++ b/PInvoke/User32.Gdi/Vanara.PInvoke.User32.Gdi.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows User32.dll and specific to graphics or window management. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45 Vanara.PInvoke.User32.Gdi $(AssemblyName) diff --git a/PInvoke/User32/Vanara.PInvoke.User32.csproj b/PInvoke/User32/Vanara.PInvoke.User32.csproj index 33b2deb9..d8d32775 100644 --- a/PInvoke/User32/Vanara.PInvoke.User32.csproj +++ b/PInvoke/User32/Vanara.PInvoke.User32.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows User32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.User32 $(AssemblyName) diff --git a/PInvoke/UxTheme/Vanara.PInvoke.UxTheme.csproj b/PInvoke/UxTheme/Vanara.PInvoke.UxTheme.csproj index 7189d357..cb6f5b3f 100644 --- a/PInvoke/UxTheme/Vanara.PInvoke.UxTheme.csproj +++ b/PInvoke/UxTheme/Vanara.PInvoke.UxTheme.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows UxTheme.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45 Vanara.PInvoke.UxTheme $(AssemblyName) diff --git a/PInvoke/VirtDisk/Vanara.PInvoke.VirtDisk.csproj b/PInvoke/VirtDisk/Vanara.PInvoke.VirtDisk.csproj index 593f42da..aa7271b1 100644 --- a/PInvoke/VirtDisk/Vanara.PInvoke.VirtDisk.csproj +++ b/PInvoke/VirtDisk/Vanara.PInvoke.VirtDisk.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows VirtDisk.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.VirtDisk $(AssemblyName) diff --git a/PInvoke/WinINet/Vanara.PInvoke.WinINet.csproj b/PInvoke/WinINet/Vanara.PInvoke.WinINet.csproj index 8664fadb..021d311d 100644 --- a/PInvoke/WinINet/Vanara.PInvoke.WinINet.csproj +++ b/PInvoke/WinINet/Vanara.PInvoke.WinINet.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows WinINet.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.WinINet $(AssemblyName) diff --git a/PInvoke/Ws2_32/Vanara.PInvoke.Ws2_32.csproj b/PInvoke/Ws2_32/Vanara.PInvoke.Ws2_32.csproj index a9a6d5ba..ceb33851 100644 --- a/PInvoke/Ws2_32/Vanara.PInvoke.Ws2_32.csproj +++ b/PInvoke/Ws2_32/Vanara.PInvoke.Ws2_32.csproj @@ -4,7 +4,7 @@ PInvoke API (methods, structures and constants) imported from Windows Ws2_32.dll. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.PInvoke.Ws2_32 $(AssemblyName) diff --git a/Security/Vanara.Security.csproj b/Security/Vanara.Security.csproj index 1a5ef2b2..de275530 100644 --- a/Security/Vanara.Security.csproj +++ b/Security/Vanara.Security.csproj @@ -4,7 +4,7 @@ Classes for security related items derived from the Vanara PInvoke libraries. Includes extension methods for Active Directory and access control classes, methods for working with accounts, UAC, privileges, system access, impersonation and SIDs, and a full LSA wrapper. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.Security $(AssemblyName) @@ -32,8 +32,6 @@ AccountLogonRights, DesiredAccess, SystemPrivilege latest true ..\Vanara.snk - - true bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml diff --git a/System/AssemblyReport.md b/System/AssemblyReport.md index 1df24628..cd24ed04 100644 --- a/System/AssemblyReport.md +++ b/System/AssemblyReport.md @@ -21,6 +21,15 @@ NetworkInterfaceExt | NetworkListManager | Provides a set of methods to perform network list management functions. NetworkProfile | Represents a wireless network profile PathEx | Performs operations on String instances that contain file or directory path information. These operations are performed in a cross-platform manner. +PoweredDevice | Represents a device on the system that has power requirements. +PoweredDeviceCollection | Retrieves the list, optionally filtered, of the powered devices on the system. +PowerManager | Provides access to information about a device's battery and power supply status and configuration. This extends the capabilities Windows.System.Power.PowerManager to include more detail, schemes and devices. +PowerScheme | Represents a system power scheme (power plan). +PowerSchemeCollection | Represents a collection of all the power schemes available on the system. +PowerSchemeGroup | Represents a subgroup of a system power scheme (power plan). +PowerSchemeGroupCollection | Represents a collection of all the subgroups available under a power scheme on the system. +PowerSchemeSetting | Represents a setting on a subgroup. +PowerSchemeSettingCollection | Represents a collection of all settings for a subgroup and power scheme on the system. ProcessExtension | Extension methods for `Process` for privilegs, status, elevation and relationships. RegistryEventArgs | Argument used in `RegistryEventMonitor` events. RegistryEventMonitor | Watches the Windows Registry for any changes. @@ -49,7 +58,9 @@ BackgroundCopyJobPriority | Defines the constant values that specify the priorit BackgroundCopyJobSecurity | HTTP security flags that indicate which errors to ignore when connecting to the server. | AllowSilentRedirect, CheckCRL, IgnoreInvalidCerts, IgnoreExpiredCerts, IgnoreUnknownCA, IgnoreWrongCertUsage, AllowReportedRedirect, DisallowRedirect, AllowHttpsToHttpRedirect BackgroundCopyJobState | Defines constant values for the different states of a job. | Queued, Connecting, Transferring, Suspended, Error, TransientError, Transferred, Acknowledged, Cancelled BackgroundCopyJobType | Defines constant values that specify the type of transfer job, such as download. | Download, Upload, UploadReply +BatteryStatus | Indicates the status of the battery. | NotPresent, Discharging, Idle, Charging DeviceType | Represents the format of the virtual disk. | Unknown, Iso, Vhd, Vhdx, VhdSet +EnergySaverStatus | Specifies the status of battery saver. | Disabled, Off, On NetworkInterfaceAccessType | The interface access type. | Loopback, Broadcast, PointToPoint, PointToMultiPoint NetworkInterfaceAdministrativeStatus | Specifies the NDIS network interface administrative status, as described in RFC 2863. | Up, Down, Testing NetworkInterfaceConnectionType | Specifies the NDIS network interface connection type. | Dedicated, Passive, Demand @@ -57,6 +68,8 @@ NetworkInterfaceDirectionType | Specifies the NDIS network interface direction t NetworkInterfaceMediaType | The NDIS media type of a network interface. | Ethernet802_3, TokenRing, Fddi, Wan, LocalTalk, Dix, ArcnetRaw, Arcnet878_2, Atm, Wireless, IrDA, Broadcast, CoWAN, Ieee1394, InfiniBand, Tunnel, Native802_11, Loopback, WiMAX, IP NetworkInterfacePhysicalMedium | The NDIS physical medium type. | Unspecified, WirelessLan, CableModem, PhoneLine, PowerLine, DSL, FibreChannel, Ieee1394, WirelessWan, Native802_11, Bluetooth, InfiniBand, WiMAX, UWB, Ethernet802_3, TokenRing, IrDA, WiredWAN, WiredCoWAN, Other PathCharType | | Invalid, LongFileName, ShortFileName, Wildcard, Separator +PowerCapabilities | | PowerButtonPresent, SleepButtonPresent, LidPresent, SystemS1, SystemS2, SystemS3, SystemS4, SystemS5, HiberFilePresent, FullWake, VideoDimPresent, ApmPresent, UpsPresent, ThermalControl, ProcessorThrottle, FastSystemS4, Hiberboot, WakeAlarmPresent, AoAc, DiskSpinDown, AoAcConnectivitySupported, SystemBatteriesPresent, BatteriesAreShortTerm +PowerSupplyStatus | Represents the device's power supply status. | NotPresent, Inadequate, Adequate ProcessIntegrityLevel | Values which define a processes integrity level. | Untrusted, Undefined, Low, Medium, High, System ShareOfflineSettings | Offline settings for a shared folder. | OnlySpecified, All, AllOptimized, None Subtype | Represents the subtype of a virtual disk. | Fixed, Dynamic, Differencing diff --git a/System/Vanara.SystemServices.csproj b/System/Vanara.SystemServices.csproj index 35bd5074..ac41681a 100644 --- a/System/Vanara.SystemServices.csproj +++ b/System/Vanara.SystemServices.csproj @@ -4,7 +4,7 @@ Classes for system related items derived from the Vanara PInvoke libraries. Includes a class for working with virtual disks (including async methods), classes for BITS, and extensions for Process (privileges and elavation), FileInfo (compression info), and ServiceController (SetStartType) that pull extended information through native API calls. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45;netstandard2.0;netcoreapp2.0;netcoreapp2.1 Vanara.SystemServices $(AssemblyName) @@ -23,20 +23,18 @@ Currently implements: Classes -BackgroundCopyException, BackgroundCopyFileCollection, BackgroundCopyFileInfo, BackgroundCopyFileRange, BackgroundCopyFileRangesTransferredEventArgs, BackgroundCopyFileTransferredEventArgs, BackgroundCopyJob, BackgroundCopyJobCollection, BackgroundCopyJobCredential, BackgroundCopyJobCredentials, BackgroundCopyJobEventArgs, BackgroundCopyManager, Computer, FileInfoExtension, NetworkConnection, NetworkInterfaceExt, NetworkListManager, NetworkProfile, PathEx, ProcessExtension, RegistryEventArgs, RegistryEventMonitor, ServiceControllerExtension, SharedDevice, SharedDevices, SystemShutdown, VirtualDisk, VirtualDiskMetadata, Wow64Redirect +BackgroundCopyException, BackgroundCopyFileCollection, BackgroundCopyFileInfo, BackgroundCopyFileRange, BackgroundCopyFileRangesTransferredEventArgs, BackgroundCopyFileTransferredEventArgs, BackgroundCopyJob, BackgroundCopyJobCollection, BackgroundCopyJobCredential, BackgroundCopyJobCredentials, BackgroundCopyJobEventArgs, BackgroundCopyManager, Computer, FileInfoExtension, NetworkConnection, NetworkInterfaceExt, NetworkListManager, NetworkProfile, PathEx, PoweredDevice, PoweredDeviceCollection, PowerManager, PowerScheme, PowerSchemeCollection, PowerSchemeGroup, PowerSchemeGroupCollection, PowerSchemeSetting, PowerSchemeSettingCollection, ProcessExtension, RegistryEventArgs, RegistryEventMonitor, ServiceControllerExtension, SharedDevice, SharedDevices, SystemShutdown, VirtualDisk, VirtualDiskMetadata, Wow64Redirect Structures BackgroundCopyFileRange, BackgroundCopyJobProgress, BackgroundCopyJobReplyProgress Enumerations -BackgroundCopyACLFlags, BackgroundCopyCost, BackgroundCopyErrorContext, BackgroundCopyJobCredentialScheme, BackgroundCopyJobCredentialTarget, BackgroundCopyJobPriority, BackgroundCopyJobSecurity, BackgroundCopyJobState, BackgroundCopyJobType, DeviceType, NetworkInterfaceAccessType, NetworkInterfaceAdministrativeStatus, NetworkInterfaceConnectionType, NetworkInterfaceDirectionType, NetworkInterfaceMediaType, NetworkInterfacePhysicalMedium, PathCharType, ProcessIntegrityLevel, ShareOfflineSettings, Subtype +BackgroundCopyACLFlags, BackgroundCopyCost, BackgroundCopyErrorContext, BackgroundCopyJobCredentialScheme, BackgroundCopyJobCredentialTarget, BackgroundCopyJobPriority, BackgroundCopyJobSecurity, BackgroundCopyJobState, BackgroundCopyJobType, BatteryStatus, DeviceType, EnergySaverStatus, NetworkInterfaceAccessType, NetworkInterfaceAdministrativeStatus, NetworkInterfaceConnectionType, NetworkInterfaceDirectionType, NetworkInterfaceMediaType, NetworkInterfacePhysicalMedium, PathCharType, PowerCapabilities, PowerSupplyStatus, ProcessIntegrityLevel, ShareOfflineSettings, Subtype latest true ..\Vanara.snk - - true bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml diff --git a/UnitTests/Properties/AssemblyInfo.cs b/UnitTests/Properties/AssemblyInfo.cs index ded95260..389a4a43 100644 --- a/UnitTests/Properties/AssemblyInfo.cs +++ b/UnitTests/Properties/AssemblyInfo.cs @@ -16,5 +16,5 @@ using System.Runtime.InteropServices; [assembly: Guid("3c9e407f-9d0b-4b54-b181-ba5476b8d2dc")] // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.2.0")] -[assembly: AssemblyFileVersion("2.3.2.0")] +[assembly: AssemblyVersion("2.3.3.0")] +[assembly: AssemblyFileVersion("2.3.3.0")] diff --git a/WIndows.Forms/Vanara.Windows.Forms.csproj b/WIndows.Forms/Vanara.Windows.Forms.csproj index 4ead0ac3..0398bee0 100644 --- a/WIndows.Forms/Vanara.Windows.Forms.csproj +++ b/WIndows.Forms/Vanara.Windows.Forms.csproj @@ -4,7 +4,7 @@ Classes for user interface related items derived from the Vanara PInvoke libraries. Includes extensions for almost all common controls to give post Vista capabilities, WinForms controls (panel, commandlink, enhanced combo boxes, IPAddress, split button, trackbar and themed controls), shutdown/restart/lock control, buffered painting, resource files, access control editor, simplifed designer framework for Windows.Forms. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45 Vanara.Windows.Forms $(AssemblyName) @@ -35,8 +35,6 @@ BitmapProperty, BoolProperty, CloakingSource, CollapsiblePanelBorderCondition, C latest true ..\Vanara.snk - - true bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml diff --git a/Windows.Shell/Vanara.Windows.Shell.csproj b/Windows.Shell/Vanara.Windows.Shell.csproj index e70b5570..77ed0371 100644 --- a/Windows.Shell/Vanara.Windows.Shell.csproj +++ b/Windows.Shell/Vanara.Windows.Shell.csproj @@ -4,7 +4,7 @@ Classes for Windows Shell items derived from the Vanara PInvoke libraries. Includes shell items, files, icons, links, and taskbar lists. Copyright © 2017-2019 $(AssemblyName) - 2.3.2 + 2.3.3 net20;net35;net40;net45 Vanara.Windows.Shell $(AssemblyName) @@ -32,8 +32,6 @@ ChangeFilters, ExecutableType, FolderItemFilter, LibraryFolderFilter, LibraryVie latest true ..\Vanara.snk - - true bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml