Bot releases are hidden (Show)
Published by dahall about 4 years ago
Additions
Fixes
Published by dahall about 4 years ago
Additions
Completed initial work on DbgHelp library that also includes ImageHlp.dll functions
Completed initial work for Magnification.dll
Added LoadCursor
overload with ResourceId
param
Added class StandardCursor
with values IDC_xx for LoadCursor
Added CreateWindow
"macro".
Added overloads for DialogBox
and DialogBoxParam
that take ResourceId
params instead of strings.
Added LibHelper class with Is64BitProcess and DoesWin32MethodExist methods
Added User32 EnumChildWindows
and GetChildWindow
methods
Enhanced AttributedControlDesigner
to allow for event filtering.
Added ShellFolder.IShellFolder
property to expose underlying COM interface
Added IntPtr SendMessage<TEnum, TWP>(HWND hWnd, TEnum msg, TWP wParam, IntPtr lParam = default)
Fixes
BREAKING CHANGE: Corrected GetClientRect
to have 'out rect' param rather than by ref.
BREAKING CHANGE: Corrected invalid WindowStyles.WS_SIZEFRAME
changing to WS_THICKFRAME
Changed errant IpHlpLib fields from FILETIME to SYSTEMTIME per #154
Added missing WindowStyles values
Changed WIN_CERTIFICATE.bCertificate
from IntPtr to byte
Changed RedirectedDesignerPropertyAttribute
to RedirectedDesignerItemAttribute
so it could be applied to events and methods.
Addressed #155 by adding GetMonitorInfo
overload that accepts MONITORINFOEX
Lots of fixes for ShellNamespaceTreeControl
(#153). Still not perfect (keyboard movement could be improved), but much better.
Fixed ShellFileOperations
throws an exception during the process of moving lnk files (#156)
Published by dahall about 4 years ago
Additions
XXPseudoConsole
functions from consoleapi.hShellFileOperations.AnyOperationAborted
and OwnerWindow
properties.ShellFileOperationDialog
with tests a property ShellFileOperations.CustomProgressDialog
to receive an instance of that dialog.BindContext
which wraps IBindCtx
ShellItemPropertyStore
to be created with a PROPERTYKEY
filter or an ICreateObject
BCRYPT_OID_LIST, BCRYPT_MULTI_OBJECT_LENGTH_STRUCT, BCRYPT_KEY_LENGTHS_STRUCT
) associated with BCrypt.PropertyName
AssociateStringAttribute
to associate a string with a code element.IShellFolder.GetUIObjectOf<T>
extension method overload to accept IntPtr[]ShellItem.InvokeVerb
method and testShellClipboardFormat
MarshalToPtr
methods with lock and unlock pointer functions and optional parameters.SafeAllocatedMemoryHandle.GetBytes()
publicFILEDESCRIPTOR.nFileSize
property to combine high/low fieldsVanara.Windows.Shell.NativeClipboard
to expose native clipboard functions that are not routed through COM and DataObject.Fixes
CreatePseudoConsole
HANDLE
params to HFILE
after some research. The function will take HFILE
and HPIPE
instances.IFileOperationProgressSink
to HRESULT
since this is a user implemented interface.IMemoryMethods
and ISimpleMemoryMethods
to contain method signatures instead of properties of method delegates. Then changed all derived memory classes to new interface definition. I believe most of this only affects internal classes so hopefully not a huge effect on your code.SafeMemoryHandleExt
that caused ToString(int...) to fail if memory size was not specifically set (like in parameter assignment).ShellNamespaceTreeControl.SelectedItem
designer errorPublished by dahall over 4 years ago
Additions
ShellFolder.BindToObject
and BindToStorage
methodsShellNamespaceTreeControl
GetIpNetTable2
.Fixes
lpVerb
and making it a ResourceId
type.UntypedNativeMemoryEnumerator
where enumerated type was not set.ShellFileOperation.UpdateProgress
event (#146)IEnumNextworkXX
interfaces and array parameter on Next methods along with unit test.EnumServiceStatus, EnumServiceStatusEx and EnumDependentServices
(#145)Published by dahall over 4 years ago
Additions
ShellFileOperations
KnownFolderIdExt.GetIShellFolder
methodFILEOP_FLAGS
valuesIShellFolder
Vanara.Windows.Shell.RecycleBin
classShellItem.GetHandler
calls.FileInUseHandler
to wrap functionality of IFileIsInUse
interface for a single file.Fixes
DNS_QUERY_OPTION
Published by dahall over 4 years ago
Additions
WallpaperManager
to Vanara.Windows.Shell to manage wallpapers.Fixes
COLORREF
when setting from a Color.IShellDispatchX.NameSpace
method parameter (#131)Published by dahall over 4 years ago
Additions
Fixes
Published by dahall over 4 years ago
Breaking Changes
Additions
Fixes
Published by dahall over 4 years ago
Fixes
TypeLoadException
with CRYPTUI_WIZ_DIGITAL_SIGN_INFO_UNION
(#115) which resulted in a slightly less usable structure. If one wishes to use the pwszFileName
field, they will have to use a pointer to a Unicode string instead of the string.DnsApi
mostly stemming from trying to use structures in callback delegates.Published by dahall over 4 years ago
Solution layout changes
Additions
Vanara.PInvoke.DnsApi
and supporting unit test supporting dnsapi.dll.ISimpleMemoryMethods
(subset of IMemoryMethods
with just alloc and free) and MemoryMethodsFromSimple<TSimple>
which implements most of IMemoryMethods
using just the methods from ISimpleMemoryMethods
. GenericStringMarshalerBase
and GenericStringMarshaler
as custom string marshalers that can be typed against an IMemoryMethods
implementation. The converted LocalStringMarshaler
and CoTaskMemStringMarshaler
to use that new class.SafeAnysizeStruct
to enable reuse with objects that don't use a single field to determine the length of the array.GET_X_LPARAM
and GET_Y_LPARAM
to Macros
class and fixed HIWORD
and LOWORD
functions to use unchecked to not lose values. (#114)PROPERTYKEY
constantsSafeEventHandle
explict IntPtr operator and IntPtr parameter overloads for SetEvent
and ResetEvent
.ObjectIdentifiers
static class with constants used by WinEventProc. (#113)Fixes
ThumbnailToolbarButtonCollection
Published by dahall over 4 years ago
Additions
SOCKET.ToString
overload.CreateFromStructure
method to SOCKADDR
.CertFindCertificateInStore
Fixes
SizeT
which could affect anticipated behavior: All conversions to ordinals now look for max value and will return converted value's max value. No more invalid conversions.SafePSECURITY_DESCRIPTOR
not disposing using LocalFree
by changing default constructor.WSAQUERYSET.dwNameSpace
to NS enum and added constructor to take a namespace.WSAQUERYSET2W
strings to be marshaled strings.BackgroundCopyCost
Published by dahall over 4 years ago
Additions
Fixes
Published by dahall over 4 years ago
Additions
NTStatus
struct to expose ToHRESULT()
methodFixes
Published by dahall over 4 years ago
Additions
Fixes
Published by dahall almost 5 years ago
Additions
Fixes
Published by dahall almost 5 years ago
Additions
Published by dahall almost 5 years ago
Additions
Vanara.PInvoke.Printing
.Vanara.PInvoke.Gdi32
.Fixes
PIDL[]
, which can't be marshaled, by using IntPtr[]
.IEnumIDList.Next
method declaration to support multiple items.CLSCTX
valuesPublished by dahall almost 5 years ago
Additions
Fixes
Published by dahall almost 5 years ago
Fixes
Published by dahall almost 5 years ago
Additions
Fixes