Bot releases are hidden (Show)
Published by dahall over 2 years ago
Major Changes to .NET Version support
Breaking Changes due to dependency reduction
HBITMAP
and HICON
to System.Windows.Media.Imaging.BitmapSource
and all uses of IWin32Window
.POINT
struct to Vanara.PInvoke, changed all System.Drawing.Point
reference to POINT
, and optimized RECT and SIZE structures.Upgrade notes
- Replace all instances of
System.Drawing.Point
in Vanara methods and properties withVanara.PInvoke.POINT
- Replace all instances of
System.Windows.Forms.Form
andControl
andIWin32Window
with the raw window handle (HWND)- If you are missing other items from
System.Drawing
orSystem.Windows.Forms
look for new values or check the newVanara.Windows.Extentions
assembly.
New Assemblies
Additions
Fixes
Published by dahall almost 3 years ago
Additions
Fixes
Published by dahall almost 3 years ago
Additions
Fixes
Published by dahall about 3 years ago
Additions
NotifyIcon.GetBounds
extension methodSafeAnysizeStruct
so an IntPtr
field can be used for the array size.NOTIFYICONIDENTIFIER
and added constructors.Rtl*Heap
functionsShell32.IDeskBand
and supporting typesCOLORREF
by using a tuple (e.g. COLORREF c = (255,255,0);
)IsNullOrEmpty
property to StrPtrXX structures.IEquatable
support to GuidPtr
and StrPtr*
structs. …StrPtrUni
and sbyte* cast to StrPtrAnsi
.Fixes
SafeProcThreadAttributeList.Create
(#249)SHCreateDefaultContextMenu, SHCreateShellFolderView and SHCreateShellFolderViewEx
from ref
to in
.Published by dahall about 3 years ago
Additions
Fixes
Published by dahall about 3 years ago
Additions
Fixes
Published by dahall over 3 years ago
Additions
Fixes
Additions
Fixes
bool
.Vanara.PInvoke.CryptUI.CRYPTUI_WIZ_IMPORT_SRC_INFO.CRYPTUI_WIZ_IMPORT_SRC_INFO_UNION.pwszFileName
to blittable StrPtrUni
Published by dahall over 3 years ago
Additions
Fixes
Published by dahall over 3 years ago
Fixes
-windows
. (#212). This reduces package sizes by up to 70%. Thanks to @NN--- for identifying problem and providing fix.Additions
Published by dahall over 3 years ago
Additions
System.Array
and more interoperable.Fixes
Published by dahall over 3 years ago
Additions
Fixes
Published by dahall over 3 years ago
Fixes
Additions
WindowClass
to encapsulate information about a window class.Fixes
ImportWindowsDesktopTargets
feature to prevent NETSDK1136 build error (#200)Marshal.ReleaseComObject
where there exists a possibility that the interface could have been referenced by another object and changed to nulling the holding variable. See discussion thread #188.Additions
Macros.MAKEINTATOM
functionMiniDumpWriteDump
and supporting structs #204Published by dahall over 3 years ago
Fixes
Fixed access violation exception in ShellContextMenu when building a MenuItemInfo for separators (#195)
Additions
Finished work and added some helper methods on IScsiDsc
Added more SetupAPI functions
Added InteropExtensions.SizeOf(object) method to calculate the size of an object in native memory. It will handle blittalbe structures, primitives, strings and arrays or enumerable lists of those items.
Added SafeMemStruct.Append overloaded methods to extend memory and write in bytes, memory or objects and return a pointer to the newly written element.
Added SafeMemStruct.GetFieldAddress method to get the location of a field in the structure's memory.
Published by dahall over 3 years ago
This is a massive release with tons of additions, fixes and, unfortunately, breaking changes. I try to avoid them, but when stuff breaks and requires fixing, well, code has to change. PLEASE check your dependencies and assumptions with listed changes.
New Assemblies
BREAKING CHANGES
ActiveDirectoryExtension
on all platformsFixes
ShellContextMenu
from IDisposable
so that it correctly disposes the underlying IContextMenu
instance. #178MIB_UDPROW_OWNER_MODULE
(#189)MIB_UDP6ROW_OWNER_MODULE
and MIB_UDPROW_OWNER_MODULE
per issue #189Additions
LookupAccountSidLocal
per #184 comment.PropertyDescriptionList.GetValuesForShellItem
method to retrieve list of properties from a shell item. Useful for tooltips and like items retrieved from ShellAssociation
.ShellItem.ContextMenu
and Images
properties, enhanced GetHandler
method to check for correct interfaces, changed InvokeVerb
to use ShellContextMenu
SystemEventHandler
which provides a smart message window that will automatically spin up a thread, if needed, for the message pump. Converted ShellItemChangeWatcher from using NativeWindow to using SystemEventHandler to support console useShell32.ShellUtil
, added SHIL to pixel conversions and wrapper methods to handle getting images and icons from shell items and folders.Published by dahall almost 4 years ago
Additions
SHChangeNotify
overloads for strings and PIDLstime_t
class with conversion support to/from DateTime
HEVENT
handleFixes
Published by dahall almost 4 years ago
Added
Fixed
Published by dahall almost 4 years ago
Additions
Fixes
SHCreateItemFromParsingName
already does this.null
values. Added Extract extension method for safe
access to method.PreserveSig
with HRESULT
return values for ICategorizer
, ICategoryProvider
, IObjectWithFolderEnumMode
, IShellFolder
, IShellFolder2
, and IShellIcon
. Updated extension methods accordingly.Published by dahall almost 4 years ago
Let's just call this release Friday Fixes. Almost all these are bugs turned up after re-running a bunch of the tests
SafeCoTaskMemString
to string
. After much reading and testing I determined this was redundant with marshaling code in .NET.Published by dahall almost 4 years ago
Additions
Vanara.Collections.History
classFixes
Published by dahall about 4 years ago
Additions
Fixes